1.快速查找到需要查找的进程,将其停止,
查找包含installer的应用
adb shell ps -ef |grep installer
u0_a26 1545 302 0 23:08:55 ? 00:00:00 com.android.vending:instant_app_installer
u0_a25 2241 301 1 23:12:16 ? 00:00:00 com.google.android.packageinstaller
强制停止一个应用
adb shell am force-stop com.google.android.packageinstaller
快速启动一个Activity
adb shell am start -n test.sprd.helloworld/.HelloWorldActivity
2. 快速打开状态栏时间显示秒针功能:
手机连接adb依次执行如下命令:
adb root
adb remount
adb shell pm enable com.android.systemui/com.android.systemui.tuner.TunerActivity
adb shell am start -n com.android.systemui/com.android.systemui.tuner.TunerActivity