Questions
- How do I in
Android 10toggle on /off thehotspotusing adb Suswitch on / off forshell- How do I turn on Magisk manager && goto security options && there turn on / off the option to grantsu to shell.(see attached screenshot ) usingadb
This question is here since it pertains to programabiliy of Android not an admin question.
So far
Using this guide I can using this commmand come to the point of simulating the action of entering hotspot settings
adb shell am start -n com.android.settings/.TetherSettings
Hoever after that i am left with a situation that needs to perform a toggle switch on to turn on my Hostpot and in case of Magisk Manager I Need to get inside and then go to security options and turn off Su for Shell . How can above both be accomplished


toggle on hotspotand some activity ofmagisk managerthat can be called viaadb. I am not an Android dev but now feel like i should open a few things under the hood – user1874594 Aug 27 '21 at 02:47