Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shri-kanth/bb7cdb674547d74f020e6278f1d0ccf4 to your computer and use it in GitHub Desktop.
Save shri-kanth/bb7cdb674547d74f020e6278f1d0ccf4 to your computer and use it in GitHub Desktop.
Android ADB over Wifi

Android ADB over Wifi

Here is a simple way to use ADB over wifi with your device. Make sure that ADB can reach your device over the network.

  1. Connect device to usb

  2. Restart the ADB daemon to listening on TCP port

     adb tcpip 5555
    
  3. Get the ip address of the device

     adb -d shell ip -f inet addr show wlan0  
    
  4. Connect ADB daemon to the ip address and port

     adb connect <ip address from above>:5555
    

To set ADB back to usb debugging.

adb usb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment