Skip to content

Instantly share code, notes, and snippets.

@divide-by-zero
Last active November 6, 2015 10:16
Show Gist options
  • Save divide-by-zero/efafd5a037f3437943bf to your computer and use it in GitHub Desktop.
Save divide-by-zero/efafd5a037f3437943bf to your computer and use it in GitHub Desktop.
for /F "usebackq tokens=3" %%s in (`adb shell ifconfig wlan0`) DO set ip=%%s
echo %ip%
adb tcpip 5555
adb connect %ip%:5555
adb devices
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment