Skip to content

Instantly share code, notes, and snippets.

@Nullizer
Last active December 21, 2016 14:16
Show Gist options
  • Save Nullizer/b1c27828d44ecc105b8af60138d2fa3d to your computer and use it in GitHub Desktop.
Save Nullizer/b1c27828d44ecc105b8af60138d2fa3d to your computer and use it in GitHub Desktop.
#!/bin/fish
for packageName in (cat packages.txt)
echo 正在限制 $packageName 的自动唤醒
adb shell cmd appops set $packageName RUN_IN_BACKGROUND ignore
end
#!/bin/bash
adb shell pm grant com.asksven.betterbatterystats android.permission.BATTERY_STATS
adb shell pm grant com.asksven.betterbatterystats android.permission.DUMP
adb shell pm grant com.uzumapps.wakelockdetector android.permission.BATTERY_STATS
com.gracecode.android.gojuon
com.sorcerer.sorcery.iconpack
com.shazam.android
com.sankuai.meituan
eu.chainfire.perfmon
org.tvp.kirikiri2
me.ele
org.zwanoo.android.speedtest
bbc.mobile.news.ww
com.Fraom.NucleoUI
com.ygkj.chelaile.standard
com.melodis.midomiMusicIdentifier.freemium
net.oneplus.forums
com.tencent.qqlive
com.tencent.weread
com.zhihu.daily.android
com.theme.mumu.flat
com.baidu.tieba
com.nytimes.android
com.baidu.BaiduMap
com.zhihu.android
com.coolapk.market
com.oneplus.bbs
com.zavukodlak.candycons
net.xelnaga.exchanger
com.theinitium.news
com.sonyericsson.trackid
com.zhihu.circlely.android
com.tmall.wireless
com.gombosdev.ampere
nexbit.icons.moonshine
company.yak.vuejsdocumentation
com.alensw.PicFolder
com.sspai.client
com.netease.cloudmusic
tv.danmaku.bili
com.eg.android.AlipayGphone
com.boc.bocop.container
com.csair.mbp
cn.dxy.android.aspirin
com.xiaomi.smarthome
com.tencent.map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment