am start -n packageName/.ActivityName 打开Activity
adb shell am broadcast -a Intent 发送广播
adb reboot shutdown
adb reboot recovery
adb root
adb reboot remount
adb remount
adb shell dumpsys window w |findstr \/ |findstr name= 获取当前APP包名
adb shell getenforce 查看状态
adb shell setenforce 0 //设置成permissive 模式
adb shell setenforce 1 //设置成enforce 模式
adb shell getprop <属性名> 获取系统属性值
adb shell setprop <属性名><<属性值> 设置系统属性值
adb shell screencap -p /sdcard/screen.png 截图
adb pull /sdcard/screen.png E:/image/
adb shell pm path +apk包名 获取app安装路径
adb shell pm clear com.android.systemui 清除应用数据
adb shell dumpsys package com.tencent.mm | findstr versionName 查看apk包信息
adb logcat | grep -Ei --color "settings|false" 过滤多个条件
adb shell settings get secure(system) nfc_payment_foreground
adb shell dumpsys battery set level 1
adb shell lshal|grep hardware 查看hal服务
adb shell input keyevent 26 点亮屏幕
adb shell dumpsys meminfo +包名 查看内存
adb shell setprop vendor.switch.vusbd vusbd
adb shell setprop sys.usb.config mtp,adb 解决no debuggable process 问题
adb shell stop,adb shell start重启framework而不是重启手机