Skip to content

Instantly share code, notes, and snippets.

@srayhunter
Last active June 22, 2022 16:41
Show Gist options
  • Save srayhunter/fd0ace2cd0abc43281a6 to your computer and use it in GitHub Desktop.
Save srayhunter/fd0ace2cd0abc43281a6 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