Android adb over Wifi

You can connect to Android device adb through TCP/IP (Wi-Fi) connection. This is very useful if you want to check usb connection or charging discharging feature while debugging. Your PC and device has to be in same network and you need to know the IP address of your device. To do this connect your device over usb. Check it is in debug mode by

$ adb devices
List of devices attached 
TA93404MC8    device

Start the adb in TCP/IP mode in port 5555 (default port). You can use other port (8888, etc).

$ adb tcpip 5555

Then connect to your device over Wi-Fi

$ adb connect xxx.yyy.zzz.ppp
connected to xxx.yyy.zzz.ppp:5555

where xxx.yyy.zzz.ppp is the IP address of your device.

Then run

$ adb devices
List of devices attached 
TA93404MC8    device
xxx.yyy.zzz.ppp:5555    device

Then unplug the device over usb, and run

$ adb logcat

It should show the logs of your device.

To return back to usb mode, run

$ adb usb

You may have to connect your device over usb to do this.

Advertisements
Android adb over Wifi

3 thoughts on “Android adb over Wifi

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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