Skip to content

Instantly share code, notes, and snippets.

@sharat9211

sharat9211/adb-wifi

Created Jul 17, 2019
Embed
What would you like to do?
Useful adb commands for working with devices over wifi
//The information below is taken from https://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp
//To connect to an adb device over wifi
adb tcpip 5555
adb connect <ip_address_of_device>:5555
//To find out ip address of the device
adb shell ip -f inet addr show wlan0
//To disconnect
adb disconnect <ip_address_of_device>:5555
//To tell the ADB daemon return to listening over USB
adb usb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment