Skip to content

Instantly share code, notes, and snippets.

@mrsid96
Created February 5, 2017 14:47
Show Gist options
  • Save mrsid96/540113cad2991043452f43bd242f6cd9 to your computer and use it in GitHub Desktop.
Save mrsid96/540113cad2991043452f43bd242f6cd9 to your computer and use it in GitHub Desktop.
How to setup ADB WiFi
Attach mobile via USB and type:
## adb tcpip 5555
To find the mobile ip type:
## adb shell ip -f inet addr show wlan0
The ip address will be shown in second line like this:
## inet 192.168.1.233/24 brd 192.168.1.255 scope global wlan0
where 192.168.1.233 is the ip address of your mobile.
Remove USB cable and type:
## adb connect mobile-ip:5555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment