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