Skip to content

Instantly share code, notes, and snippets.

@iamkarlson
Created February 14, 2020 13:44
Show Gist options
  • Select an option

  • Save iamkarlson/5ef2a104dd819900093e017c308b2392 to your computer and use it in GitHub Desktop.

Select an option

Save iamkarlson/5ef2a104dd819900093e017c308b2392 to your computer and use it in GitHub Desktop.
Reconnect to Android via TCP over wifi
adb tcpip 5555 && adb connect "$(adb shell "ip addr show wlan0 | grep -e wlan0$ | cut -d\" \" -f 6 | cut -d/ -f 1"):5555"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment