Android Enthusiasts Asked on October 29, 2021
I try to be able to stop USB tethering.
I tried:
adb shell am stop com.android.settings/.TetherSettings # Unknown command: stop
adb shell am kill com.android.settings/.TetherSettings # nothing
adb shell service call connectivity 33 i32 0 s16 text # works
Latest works, but I don’t know if it’s very reliable like am
commands
Related, but the opposite, Is it possible to activate the "USB Tethering" Android setting from the command line?
You can run this command:
adb shell svc usb setFunctions
This should reset the USB mode/configuration to charging only.
Answered by Firelord on October 29, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP