Android Debugging Tidbits: #4: adb over Wi-Fi

04 Feb

If there is no USB cable around to connect to your Android phone device, however Wi-Fi is available then you don’t have to worry about using ‘adb’.

There are two ways to it:

  1. Use ready tools available in the market (like, this one) or
  2. Take control over the situation and be a geek to do all by yourself in the simplest manner as mentioned below.

Just follow a few commands and you should get started using ‘adb’!

On your phone’s terminal:

setprop service.adb.tcp.port 5555
stop adbd
start adbd

Note: As Wi-Fi is enabled on device, find out the IP assigned (say,

On your computer/laptop:

adb connect device_wifi_ip_address:5555


adb connect

Additional Cases:

CASE I : Wi-Fi to USB
If you want to switch from Wi-Fi to say USB, you can use following sequence of commands:

setprop service.adb.tcp.port -1
stop adbd
start adbd

CASE II : USB to Wi-Fi
You are already using abd over USB and would like to shift to Wi-Fi, try following commands:
(assuming your device IP is

adb tcpip 5555
adb connect

To go back to USB mode:

abd usb

All the best!

Leave a comment

Posted by on February 4, 2011 in Android, Technical


Tags: , , ,

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 )

Google photo

You are commenting using your Google 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

%d bloggers like this: