Connect device by IP
suggest changeOn a rooted device, run these commands in a terminal on the device. su is required. Factory images do not include it.
su
setprop service.adb.tcp.port 5555
stop adbd
start adbd
From the computer, connect with adb. The address and the port are separated by a colon:
adb connect 192.168.0.101:5555
And you can disable it and return ADB to listening on USB with
setprop service.adb.tcp.port -1
stop adbd
start adbd
From a computer, if you have USB access already (no root required)
It is even easier to switch to using Wi-Fi, if you already have USB. From a command line on the computer that has the device connected via USB, issue the commands
adb tcpip 5555
adb connect 192.168.0.101:5555
Replace 192.168.0.101 with device IP
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents