KenWalker
Junior Member
- May 28, 2019
- 175
- 99
I was looking for something like this
found it after googling
thought others can use it ..
this is helpful for people using mobiles to create proxies
run this via a script anytime a new phone is connected
and it will auto start phone tether
adb shell am start -n com.android.settings/.TetherSettings
adb shell input keyevent 20
adb shell input keyevent 20
adb shell input keyevent KEYCODE_ENTER
sleep 2
adb shell input keyevent 4
found it after googling
thought others can use it ..
this is helpful for people using mobiles to create proxies
run this via a script anytime a new phone is connected
and it will auto start phone tether
adb shell am start -n com.android.settings/.TetherSettings
adb shell input keyevent 20
adb shell input keyevent 20
adb shell input keyevent KEYCODE_ENTER
sleep 2
adb shell input keyevent 4