-
-
Save djeraseit/0806487932cb98b1ad84f31d02b3db60 to your computer and use it in GitHub Desktop.
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/bash | |
# Enable usb tethering by adb shell (works on Android 10, Honor 10 Lite) | |
# Additional links: https://android.stackexchange.com/questions/29954/is-it-possible-to-activate-the-usb-tethering-android-setting-from-the-command | |
# https://stackoverflow.com/questions/20226924/is-it-possible-to-usb-tether-an-android-device-using-adb-through-the-terminal/24346101 | |
adb shell svc usb setFunctions rndis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment