AuroraStore 中文文档 下载 App

Device Owner 权限配置 — GrapheneOS 用户的静默安装方案

Device Owner 是什么

Device Owner(设备所有者)是 Android 企业级管理框架(Android Enterprise)中的最高权限级别。一个应用被设为 Device Owner 后,它可以:

为什么和 Aurora Store 有关

GrapheneOS 用户特别关心这个组合:GrapheneOS 的安全模型不允许 Shizuku 直接调用系统隐藏 API(它对 shell uid 做了更严格的限制),但 GrapheneOS 原生支持把一个应用设为 Device Owner。

Aurora Store 自 v4.4.5 起支持 Device Owner 模式的静默安装。如果 Aurora Store 本身被设为 Device Owner,它就可以在 GrapheneOS 上实现和 Shizuku 一样的后台静默安装效果。

配置步骤(GrapheneOS)

步骤一:开启 Device Owner 能力

设置 → Apps → Special access → Device Owner → 添加 Aurora Store

或者在首次安装 Aurora Store 时,GrapheneOS 会提示「将 Aurora Store 设为 Device Owner 以启用静默安装」→ 确认。

步骤二:启用 Device Owner + Session 组合安装

侧栏 → Settings → Installer → 选择 Device Owner + Session 模式

这个组合比纯 Device Owner 更安全——它保持 Session Installer 的安全基础,但在后台静默安装环节用上 Device Owner 的权限。

步骤三:验证

批量更新几个应用——如果没有任何弹窗、后台直接完成 → 配置成功。

非 GrapheneOS 设备

在 LineageOS / CalyxOS / 原生 AOSP 上也可以设 Device Owner,但方法不同:

所以 Device Owner 模式主要面向 GrapheneOS 用户——GrapheneOS 简化了这个流程,让用户可以在已刷好的系统上直接设。

安全考虑

把 Aurora Store 设为 Device Owner 是一把双刃剑: