Skip to content

Instantly share code, notes, and snippets.

@llelectronics
Created October 22, 2025 08:29
Show Gist options
  • Select an option

  • Save llelectronics/90818132b33157f4c97acf3e54845ca1 to your computer and use it in GitHub Desktop.

Select an option

Save llelectronics/90818132b33157f4c97acf3e54845ca1 to your computer and use it in GitHub Desktop.
pm list packages -e -3 | grep -E "zalo|facebook|gm|telegram|instagram|ugc|discord|whatsapp|twitter|mastodon|sms|reddit|wechat" | sed -e "s/^package://" >/data/local/tmp/b.txt
wlist=""
for word in $(cat /data/local/tmp/b.txt); do wlist="$wlist$word;"; done
echo $wlist
cmd settings put system millet_white $wlist
cmd settings put global low_power_sticky 1
cmd settings put secure miui_optimization 0
cmd settings put secure sync_on_wifi_only 0
cmd settings put system background_power_saving_enable 0
cmd settings put system deviceLevelList "v:1,c:3,g:3"
cmd settings put system power_center_wakeup_notification 1
cmd settings put system wakeup_for_keyguard_notification 1
@llelectronics
Copy link
Author

HyperOS 3.0 might additionally need this command here for it to work properly.

cmd settings put system cloud_lowlatency_whitelist com.tencent.mm,com.tencent.mobileqq,com.whatsapp,com.tencent.tmgp.sgame,com.netease.onmyoji.mi,com.UCMobile,com.qiyi.video,com.kugou.android,com.smile.gifmaker,com.baidu.searchbox,com.taobao.taobao,com.ss.android.article.news,com.sina.weibo,com.eg.android.AlipayGphone,com.qihoo.browser,com.tencent.mtt,com.qq.reader,com.snda.wifilocating,com.funshion.video.mobile,com.pplive.androidphone,com.letv.android.client,com.hunantv.imgo.activity,com.tencent.qqlive,com.tencent.news,com.netease.newsreader.activity,com.ss.android.article.video,com.youku.phone,com.chaozh.iReaderFree,cn.jj,com.mfp.jelly.xiaomi,com.supercell.clashofclans.mi,com.tencent.tmgp.cf,com.cmplay.tiles2_cn.mi,com.qqgame.hlddz,com.happyelements.AndroidAnimal,com.ztgame.bob,com.wepie.snake.new.mi,com.tencent.peng,com.happyelements.AndroidClover.mob,com.supercell.boombeach.mi,com.qqgame.happymj,com.netease.my.mi,com.tencent.feiji,com.tencent.qqgame.xq,com.tuyoo.tudoudizhu.mi,air.xiangqi,com.zplay.popstarclassic,com.tencent.tmgp.pvz2hdtxyyb,com.cnvcs.xiangqi,com.tencent.qqgame,com.og.danjiddz.xyhdx,com.twitter.android,org.telegram.messenger,com.reddit.frontpage,org.joinmastodon.android,com.discord,app.revanced.android.gms,com.instagram.android,app.revanced.android.apps.youtube.music,com.google.android.apps.youtube.producer,app.revanced.android.youtube,com.google.android.ims,org.thoughtcrime.securesms,com.facebook.katana,com.mgoogle.android.gms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment