Created
September 11, 2013 21:09
-
-
Save ChimeraCoder/6529812 to your computer and use it in GitHub Desktop.
script to start android tethering from bash
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 shell input keyevent 3 # home | |
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings | |
adb shell input keyevent 20 # down | |
adb shell input keyevent 20 # down | |
adb shell input keyevent 20 # down | |
adb shell input keyevent 20 # down | |
adb shell input keyevent 66 # enter | |
adb shell input keyevent 20 # down | |
adb shell input keyevent 20 # down | |
adb shell input keyevent 66 # enter | |
adb shell input keyevent 66 # enter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment