Is there a way to use adb directly via bluetooth instead of always via usb?


Thanks for the adb wireless solutions below, but I am looking for something that works well on hotel or public wifi. Bluetooth short-range might be the only way to go about it.

  • I rewrote this so as not to be a development question (off-topic). – Matthew Read Jan 13 '12 at 20:50

Personally, I use ADBWireless (alternate link) with my G1 on CM5 because I had problems with the USB driver working correctly between my computer and my G1. However, I had problems with this app in CM4 (to test against Android 1.6) on my G1. I was able to get it to work on CM4 with Remote ADB.

Note, however, that these connect to the device via ADB via wifi, not Bluetooth.

You'll pull up a command line on your computer and type adb connect xxx.xxx.xxx.xxx:5555 (x's being your ip address of the phone over wifi). You'll have to run this in the platform-tools directory of your Android SDK, or you need to add your Android SDK platform-tools directory to your global PATH variable so you can run adb from anywhere.

Your phone will show up as its ip_address:port_number in the list of devices to push your application to, just as if it was plugged in directly via usb.

  • AFAIK, debugging over WiFi is not secure, because Android device doesn't authenticate host, so anyone can break into WiFi network and mess with your phone. – Display Name Nov 12 '15 at 6:49

Non-Rooted Solution:

  • Enable USB-debugging in the developer setting and connect your phone to your computer via USB.
  • Run the adb command, adb tcpip 5555 (Make sure port 5555 is not blocked by any firewall programs)
  • To get your Wi-Fi IP address assigned to your device,

    adb shell and then netcfg and run the adb command adb connect <IP_ADDRESS>.

    For example, adb connect

  • Now you can disconnect the usb cable and run adb shell, adb install, or adb push commands via your Wi-Fi.

  • Inorder to switch back to USB mode and disable the Wireless mode, run the following adb command.

    adb usb

  • You can also simply reboot your phone to switch back to the USB mode.

Rooted Solution:

  • Install WiFi ADB and run adb commands wirelessly if your phone is rooted.
  • This app requires Developer tools enabled and no need to use USB cable if you are rooted.
  • An edit is required: adb connect <IP_ADDRESS>:<PORT>. You can choose any port above 1024 , 5555 isn't mandatory. And, I don't see adb upload in adb usage options. Do you mean adb push? // Lemme check about adb wireless without port though! – Firelord Aug 3 '15 at 16:44
  • I see, 5555 is default for ADB, and if you don't mention PORT in adb connect then ADB takes 5555 as default value. – Firelord Aug 3 '15 at 16:50
  • @Firelord Oops, Yes I meant adb push. Thanks for the correction and you can update my answer if something is wrong. ;) – Lucky Aug 3 '15 at 17:00
  • Nah! It's always a good idea to ask the user to update as long as the user is active on the website. Reason: because you might be wrong, or the user might not be willing to get the answer edited. :) – Firelord Aug 3 '15 at 17:05
  • 1
    @SargeBorsch Check out this workaround if you are concerned about connecting you device and debugging via WiFi. stackoverflow.com/a/19485468/1793718 – Lucky Nov 12 '15 at 10:13

I haven't tried this myself, how about trying ADBWireless. It uses Wifi instead of Bluetooth.

  • 1
    Link appears to be broken. Do you know if the homepage has moved? – eldarerathis Nov 25 '13 at 15:22

I'm using Easy Remote and it works well on Android 2.3.7. You can find downloads and information on its website.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.