[Tip] Automatically enable tether on android

KenWalker

Junior Member
Joined
May 28, 2019
Messages
175
Reaction score
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
 
Back
Top