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?