1、獲取appPackage和appActivity
adb shell "dumpsys window windows | grep -E 'mCurrentFocus'"

2、刪除內(nèi)置的APK
獲取包名的地址:adb shell pm path 包名
掛載系統(tǒng)讀寫權(quán)限:adb remount
刪除包:adb shell rm? 包名的地址
最后adb reboot重啟就OK
3、打開關(guān)閉wifi
1.切換root權(quán)限
# adb root; adb remount
2.關(guān)閉wifi
# adb shell svc wifi disable
3.打開wifi
# adb shell svc wifi enable