Hi all,
I am struggling to grant root access to apps on my fresh android userdebug-build, following this instruction:
https://variwiki.com/index.php?title=Android_NXP_Guide&release=RELEASE_Q10.0.0_1.0.0_GA_DART-MX8M-MI...
As it is a userdebug build, I have no troubles to get root access via adb. But my boss wants me to grant root access on this developer board for a certain apk.
I tried already to patch the boot.img with magisk official and canary-build and flashed the patched images successfully via fastboot. But still no luck.
I think, there must be a way to include the su package somehow into the system img, to get root access for all installed apps. Do you have an idea?
Also any other hint would be great.
Thank you so much!
Hi wolfg,
I think the way is to add sepolicy file to give app permission.
https://source.android.google.cn/security/selinux/build?hl=zh-cn
Best Regards
Zhiming