I am creating an "embedded" system based on Android, and at the moment I am trying to introduce an update to the firmware of the audio module.
There is a binary file that does this, but the catch is that this requires root access (it cannot access GPIO otherwise).
Thus, the problem has now shifted to providing access to the executable file (and only that executable should not do full root).
I have been doing this for several days and have tried a bunch of things without success.
Things I've already tried:
I ran out of ideas or things to try. What else can I do?
EDIT
I could not do binary startup as root, but I was able to run the shell script after loading from init.rc, where there is root access, and export / change the permissions of the specific gpio that I needed. This allowed access to it without root access, which is required later.