Skip to content

Instantly share code, notes, and snippets.

@tunitowen
Created November 7, 2013 13:02
Show Gist options
  • Save tunitowen/7354248 to your computer and use it in GitHub Desktop.
Save tunitowen/7354248 to your computer and use it in GitHub Desktop.
Shell script to enable ADB over TCPIP
#!/bin/sh
IP_ADDRESS=$(adb shell ifconfig wlan0 | awk '{print $3}')
echo $IP_ADDRESS
adb tcpip 5555
adb connect $IP_ADDRESS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment