连接:
adb connect IP:5555
2.模拟按键
adb shell input keyevent “value”
3.adb shell下查看系统盘符
adb shell df
4.adb shell下挂载系统
adb shell
busybox mount -o remount,rw /system
5.adb shell 下移除USB设备
adb shell
vdc unshare /mnt/sdcard ums
6.adb shell 下查看内核信息
cat /proc/kmsg &
7.查看build配置的值(以heap为例)
adb shell getprop | grep heap
8.通过sendevent 模拟按键以及鼠标
直接用input实现:
adb shell input keyevent 3
adb shell input tap 250 250
adb shell input swipe 250 250 300 300
9.查看屏幕显示的fps
开启系统属性:debug.sf.fps=1
然后直接logcat -s SurfaceFlinger -v time
(看SurfaceFlinger里面打印出来时多少