I need a way to enable/disable tethering via API. Most of the solutions posted here have been applicable to android 4.4 or below.
I've already gone through the following solutions (none worked):
- Is it possible to USB tether an android device using adb through the terminal?
- Detect USB tethering on android
- Enable/Disable USB or Wifi tethering programmatically on android
I'm aware that the API supporting this is typically only for system apps (regular apps don't have the MANAGE_USB permission), but is there any way to go about this for android 5.1.1?