Skip to content

Instantly share code, notes, and snippets.

@thoughtsunificator
Last active August 29, 2023 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thoughtsunificator/f319675c844ff0f74d8d895b561281c7 to your computer and use it in GitHub Desktop.
Save thoughtsunificator/f319675c844ff0f74d8d895b561281c7 to your computer and use it in GitHub Desktop.
Android Enable usb tethering on plug

:loop adb wait-for-usb-device reverse tcp:8081 tcp:8081 adb shell service call connectivity 33 i32 1 s16 text adb wait-for-usb-disconnect goto loop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment