I would like to activate "USB tethering" from within a bash script, so is there any possibility to run a command line with
adb shell to change some Android settings ?
The following command open the needed settings but don't change anything alone :
am start -n com.android.settings/.TetherSettings
I've found TetherSettings action name from
aapt dump xmltree com.android.settings.apk AndroidManifest.xml | less +/ether