I need to execute su commands from my application.
I tried execSuCmd from KhadasApi with no luck. Then I tried Runtime.getRuntime().exec(), no luck either…
The main issue seems to be from SELinux (avc).
Do you have any solution for this behavior ? I don’t want to use Magisk as the user does not have physical access to the board and recompiling the Android system image should be the last solution.
I have the latest Android firmware VIM3_Pie_V210908 and I sign my apk with my own jks.