I'm trying to restart a module from an Android system app, but I can't get it run because su doesn't allow for system apps.
I tried modifying su to set system apps as root but it still gives me permission error.
if(myuid == AID_SYSTEM) {
myuid = AID_ROOT;
}
Does anyone know how I can run a root command from a system app? I have full access to the AOSP and root access from command line.
Thanks, Edd
android:sharedUserId="android.uid.system"
ROOT_UID