- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想知道如何在自定义 ROM 上强制执行 signatureOrSystem 权限。
Docs说:
A permission that the system grants only to applications that are in the Android system image or that are signed with the same certificates as those in the system image.
这个证书在哪里?如果我使用的是自定义 ROM,比如 CyanogenMod,我能否获得他们的证书(我假设该证书是免费提供的)并签署我的应用程序以便它可以使用这样的权限(当然仅限于该 ROM)?
谢谢;)
最佳答案
对于 CygenMod,平台 key 在这里:https://github.com/CyanogenMod/android_build/tree/gingerbread/target/product/security .
从 Android 4.4 开始,将应用程序放在“/system/priv-app”中也将允许授予标记为“signatureOrSystem”的权限,而不管应用程序使用什么 key 进行签名。理论上,较旧的机器人会对“/系统”上的应用程序执行相同的操作。但是,我无法让它发挥作用。
从 Android 5.1 开始,/system/priv-app 中的所有应用可能必须位于具有其名称的子文件夹中才能工作。
注意:“/system/priv-app”的特殊处理目前是一个未记录的特性。
关于android - 自定义 ROM 上的 signatureOrSystem 权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5688352/
我想知道如何在自定义 ROM 上强制执行 signatureOrSystem 权限。 Docs说: A permission that the system grants only to applic
我是一名优秀的程序员,十分优秀!