Wireless ADB

A while ago it was discovered how to use ADB over Wi-Fi. Immediately wanted to make an app for that, however a vacation came in between. When I returned some others had attempted something similar, but I wasn't satisfied, so I still created that app.

The operation mode can be set to Automatic, USB (forced) and Wireless (forced). It also supports configuring the port for ADB to listen on, automatic partial wake and Wi-Fi locks (active whenever ADB is in wireless mode - both forced and automatic), broadcasting the current IP and port, status bar notifications showing the information needed to connect, and a Wi-Fi network whitelist.

It even comes with a (Windows, .NET 2.0) desktop application to automate the connection process! The desktop app supports multiple devices and connection preferences as well, and lives in your system tray.

The Automatic mode is where all the magic is. It will automatically enable wireless mode for ADB whenever the phone is on one of the whitelisted networks, but (optionally) not if you are connected through USB, and (optionally) keeping the CPU and Wi-Fi awake while wirelessly connected.

In my environment, with multiple Android developers and even more Android devices, my main Android development device is usually hooked up through USB. However, when I disconnect it and turn Wi-Fi on (or if it was already on to begin with), Wireless ADB automatically switches to wireless mode, and the Wireless ADB Listener application on my computer will immediately detect the connection and setup ADB. And if I plug the device back in, ADB will switch back to USB mode automatically as well!

At the same time, when one of my other Android devices switches to wireless mode, the listener application will prompt if I want to connect, and it will completely ignore the Android devices that are not mine.

Wireless ADB has now reached version 1.0 and is available from the Android Market.

Comments

Posted by Jug6ernaut on 10-09-2010 at 18:52:52
Awesome stuff. Revolutionary :D
Posted by SatScan on 10-09-2010 at 19:33:14
Great stuff!
I just got it from the market!
Thanks!
Grtz,
Posted by Chainfire on 13-09-2010 at 19:35:00
Updated to 1.1, easier reconnect, slight changes.
Posted by visitor on 26-09-2010 at 20:42:02
Any plans for a Linux version?
Posted by Chainfire on 30-09-2010 at 15:18:31
Not at the moment, but you do not need the PC version to connect with it... In the tray it shows the command you need to type to connect ADB to the phone (also works on Linux), for example:

adb connect 192.168.1.20:5555

After that, adb shell and whatnot just work as if it's connected through USB.

If anyone wants to build a Linux "autoconnect" tool, I can probably post the details about the broadcast that is sent... Shouldn't be difficult for someone who knows Linux well.
Posted by tom on 08-12-2010 at 15:45:08
Hi, I purchased and I love it but I can't find a way to let the pc listener application to work through the windows 7' firewall. It only work if I completely disable it. I've tried to create a rule for the .exe but no way. There must be a way, can you please take a look at it?
Posted by tom on 08-12-2010 at 16:25:27
Ok, I've found it myself, just create an inbound rule for port UDP 5550 and it works :)
Posted by tom on 20-09-2011 at 15:28:14
Just started to develop for an android tablet and I miss this little utility. I can't find it on the market (I'm a paid user). Maybe you can update the app to be compatible with tablets?






You may use tags like [b], [u], [i], [url], [quote], [code], [pre], etc