Created
December 5, 2020 09:26
-
-
Save spvkgn/1c120f06fca6de3400f49a773f71a9a7 to your computer and use it in GitHub Desktop.
Enable ADB over TCP/IP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
adb -d tcpip 5555 && sleep 1 | |
adb -d connect `adb -d shell ip -4 addr show wlan0 | grep -oP 'inet \K[0-9.]*'`:5555 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment