改动系统system权限
1.
cp sud /system/xbin/sud
chmod 755 /system/xbin/sud // note: su chmod 成755
2.
cp su /system/xbin/su
chmod 6755 /system/xbin/su //note: su chmod 成6755
3.cp install-recovery.sh /system/etc/install-recovery.sh
chmod 755 /system/etc/install-recovery.sh //note: install-recovery.sh 成 755
4.reboot
改动build.prop
service.adb.tcp.port=5555
机器开机连上wifi:假设机器连接的WIFI ip地址为:192.168.0.117
sudo ./adb connect 192.168.0.117:5555
提示:already connected to 192.168.0.117:5555
sudo ./adb shell