Skip to main content
clean-up
Source Link
Andrew T.
  • 16.5k
  • 10
  • 76
  • 127

Is it possible to activate the "USB Tethering" Android setting Activate USB tethering from the command line?

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?

Is it possible to activate the "USB Tethering" Android setting from the command line?

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 ?

Edit1:

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

Related, but the opposite Is it possible to disable USB tethering from command line?

Activate USB tethering from the command line

I would like to activate USB tethering from within a bash script.

I've found TetherSettings action name from

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

Is there any possibility to run a command line with adb shell to change it?

 

Related, but the opposite: Is it possible to disable USB tethering from command line?

added 138 characters in body
Source Link
Gilles Quénot
  • 735
  • 1
  • 6
  • 15

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 ?

Edit1:

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

Related, but the opposite Is it possible to disable USB tethering from command line?

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 ?

Edit1:

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

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 ?

Edit1:

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

Related, but the opposite Is it possible to disable USB tethering from command line?

Make title match question and answers in terms of specificity
Source Link

Can I change some Is it possible to activate the "USB Tethering" Android settingssetting from the command line?

Can I change some Is it possible to activate the "USB Tethering" Android settingssetting from the command line?

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 ?

Edit1:

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

Can I change some Android settings from the command line?

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 ?

Edit1:

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

Is it possible to activate the "USB Tethering" Android setting from the command line?

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 ?

Edit1:

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
edited tags
Link
Izzy
  • 91.3k
  • 74
  • 346
  • 961
Loading
Tweeted twitter.com/#!/StackAndroid/status/251381044874457088
deleted 250 characters in body; edited title
Source Link
Gilles Quénot
  • 735
  • 1
  • 6
  • 15
Loading
added 16 characters in body
Source Link
Gilles Quénot
  • 735
  • 1
  • 6
  • 15
Loading
added 235 characters in body
Source Link
Gilles Quénot
  • 735
  • 1
  • 6
  • 15
Loading
added 290 characters in body
Source Link
Gilles Quénot
  • 735
  • 1
  • 6
  • 15
Loading
edited tags
Link
ale
  • 19.7k
  • 34
  • 111
  • 161
Loading
Source Link
Gilles Quénot
  • 735
  • 1
  • 6
  • 15
Loading