Android debug (adb) over TCP/IP

Tested on a HTC G1 and on a x86 computer running Android port:

On a terminal emulator, or remote shell connected to the device:

To enable:
setprop service.adb.tcp.port 5555
stop adbd
start adbd

From the host PC:
./adb connect
./adb logcat
./adb …

To disable:
setprop service.adb.tcp.port -1
stop adbd
start adbd

After disabling, ADB will continue to work using USB cable

1 thought on “Android debug (adb) over TCP/IP

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s