Our company uses a few devices for in house tasks. I have the SU binary flashed to my devices. I have proprieteary apps installed that access the SU through hardcoded shell commands. My devices are completeley locked and cannot install new apps (no package installer, custom recovery, and re-engineered USB ports) so I don't really have any security concerns. At the present we rely on a 3rd party SuperUser app to grant privaleges to our own apps. Is there a way to Automatically grant SU priveleage to all the apps on the device (we trust them all - because we wrote them) without prompting the user? Understanding that a few SU apps do have a feature to "allow all" I still ask because I would like to avoid using 3rd party software completely.
Can I just remove the SU app, or do I need to write a replacement?
su
binary? – Irfan Latif Feb 12 '19 at 02:30/data/adb/magisk.db
. You need to figure that out to makesu
work without UI app. I'm not sure how strongly this oldsu
binary is hooked to the UI app. – Irfan Latif Feb 15 '19 at 01:17su
binary that works independently without permission manager app. I'm not sure if any such working thing exists. Another workaround would be to create a database or config file (whereversu
saves permission granted/denied policy) for all possibly installed apps and put that database on all devices. – Irfan Latif Feb 24 '19 at 18:05