วันศุกร์ที่ 10 กรกฎาคม พ.ศ. 2558

Trying to setup ADB wireless, stuck at “adb tcpip 5555”

http://stackoverflow.com/questions/26605254/trying-to-setup-adb-wireless-stuck-at-adb-tcpip-5555



You can emulate what apps do with these steps on your device with root and android terminal emulator:
$ adbd stop
$ setprop service.adb.tcp.port 5555
$ adbd start
Then use adb connect XXX.XXX.XXX.XXX where XXX.XXX.XXX.XXX is your ip address found from:
$ ifconfig wlan0 | awk '/inet addr/ {print $2}' | cut -d: -f2
You can check if your connection is establed using netstat | grep 5555. You should see a tcp entry with your ip address and port for adb connectivity.
shareimprove this answer

If your device is rooted then it is very simple to establish a wireless connection, you don't even need a USB cable. Download this app from Google Play https://play.google.com/store/apps/details?id=com.ttxapps.wifiadb&hl=en
It worked for me at least, and as can be seen from the app rating it works for almost all.
shareimprove this answer

ไม่มีความคิดเห็น:

แสดงความคิดเห็น