[英]How to do I obtain root privilege by an app running as system-uid?
I've set sharedUserId
as "android.ui.system" in manifest and gotten it to run as system(uid), so now the apk has system privileges. 我在清单中将sharedUserId
设置为“ android.ui.system”,并使其以system(uid)身份运行,因此现在apk具有系统特权。
What should I do if I want to obtain root privilege on Android devices if the Android devices haven't been rooted yet (ie, there is no su)? 如果尚未植根Android设备(即没有su),我想在Android设备上获得root特权,该怎么办?
Though you have added System userId in the manifest file, the root access is not granded. 尽管您已在清单文件中添加了系统userId,但根访问权限不是必需的。 There are additional checks like Signature match check. 还有其他检查,例如签名匹配检查。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.