(OK) Host 中,【adb connect】【adb shell】VirtualBox 中的 lineageOS-14.1

来源:互联网 发布:小米5只有3g网络不能用 编辑:程序博客网 时间:2024/06/16 16:26



--------------------------------------------- host 中
adb kill-server
adb connect 192.168.56.3

iptables -F; iptables -X;  // iptables -t mangle -F; iptables -t mangle -X
nc -l 192.168.56.1 9899 < /root/.android/adbkey.pub
--------------------------------------------- VirtualBox 中
nc 192.168.56.1 9899 > /data/misc/adb/adb_keys
--------------------------------------------- host 中
adb connect 192.168.56.3
adb shell
---------------------------------------------


0 0