mac 设置外置网卡
IP: 192.168.1.5 子网掩码: 255.255.255.0 路由器: 192.168.1.4
// install uninstall 的方式 ssh root@192.168.1.4 pwd: root cd /var/ enable_androidDB.sh
adb connect 192.168.1.4:5555 adb install -t /Users/wenhao/workSpace/ezia-fueling-fe-fueling/app/build/outputs/apk/debug/app-debug.apk
// 重启 adb shell reboot
|
基本命令
adbkill-server 重启 adb start-server adb kill-server adb version adb root adb install adb shell am start adb devices adb -s 10.129.164.6:5555 install test.apk adb tcpip 5555 adb connect 192.168.1.4:5555 adb -s 192.168.1.4:5555 shell wm size adb devices 确认链接状态(<device-ip-address>:5555 device)链接成功 adb kill-server 在重来 adb disconnect <device-ip-address>
adb shell pm list packages adb shell pm list packages -s adb shell pm list packages -3
adb uninstall packagename adb shell pm clear packagename adb shell dumpsys packagename https:
adb remount adb install -t /Users/wenhao/workSpace/ezia-fueling-fe-fueling/app/build/outputs/apk/debug/app-debug.apk 安装失败
冷启动 adb shell am start -S -W com.maezia.fawmqb.carwash/com.ezia.fawmqb.carwash.main.MainActivity
|
log
adb logcat -c
adb logcat >log.txt
保存日志
adb logcat -v time >D:\log.txt
push
adb push /app-debug.apk system/priv-app/
adb push system/priv-app/fueling.apk ./
提权限 安装删除权限
ssh 连接上
cd /var/
sh disable-dm-verity.sh