# GrapheneOS

**GrapheneOS** 是一个基于 Android 开源项目（AOSP）的开源移动操作系统，专注于隐私与安全加固，对 [Google Pixel](https://www.edgepedia.org/zh/google-pixel) 设备提供官方正式支持<sup>[1](https://grapheneos.org/faq)</sup><sup> • </sup><sup>[2](https://github.com/0xInvariant/GraphenoOS-Guide/blob/main/README-en.md)</sup>。它由 GrapheneOS 基金会开发，该基金会是一家注册于加拿大的非营利组织，资金来源为捐赠<sup>[3](https://www.tomshardware.com/software/operating-systems/grapheneos-refuses-to-comply-with-age-verification-laws)</sup><sup> • </sup><sup>[4](https://www.tomsguide.com/phones/google-pixel-phones/i-just-tried-this-privacy-focused-version-of-android-for-pixel-phones-and-im-very-impressed)</sup>。该项目曾名为 CopperheadOS，后改称 AndroidHardening，最终定名为 GrapheneOS<sup>[5](https://grapheneos.org/history/)</sup>。

| 关键事实 | 详情 |
|---|---|
| 基础 | 加固版 Android 开源项目（AOSP）移动操作系统<sup>[2](https://github.com/0xInvariant/GraphenoOS-Guide/blob/main/README-en.md)</sup> |
| 官方支持设备 | Pixel 6 至 Pixel 10 系列、Pixel Tablet 和 Pixel Fold，第八代及之后的 Pixel 设备享有最低 7 年支持保证<sup>[1](https://grapheneos.org/faq)</sup> |
| 曾用名 | CopperheadOS，2018 年与其企业赞助方决裂后改称 AndroidHardening，再改为 GrapheneOS<sup>[5](https://grapheneos.org/history/)</sup> |
| 沙盒化 Google Play | 官方 Google Play 版本在标准应用沙盒中运行，不获得任何特殊访问权限或特权，通过兼容层启用<sup>[6](https://grapheneos.org/features)</sup> |
| 浏览器 | Vanadium，一个加固版 Chromium 分支，同时充当网页浏览器和系统 WebView<sup>[7](https://github.com/zontasticality/grapheneos-org-security-research)</sup> |
| 内存加固 | hardened_malloc，一个以安全为核心的内存分配器，支持 Bionic（Android）、musl 和 glibc<sup>[8](https://github.com/GrapheneOS/hardened_malloc/blob/main/README.md)</sup> |
| Pixel 之外的扩展 | 2026 年 3 月 2 日在 MWC 上宣布与摩托罗拉（Motorola）建立合作伙伴关系；搭载 GrapheneOS 的摩托罗拉手机预计于 2027 年推出<sup>[3](https://www.tomshardware.com/software/operating-systems/grapheneos-refuses-to-comply-with-age-verification-laws)</sup> |

## 历史

2015 年末，一家公司注册成立，成为该项目的主要赞助方，当时项目名为 CopperheadOS。项目的历史页面称，各方曾商定 GrapheneOS 将继续由 Daniel Micay 独立拥有和控制；2018 年，该公司 CEO 试图接管项目，夺取了基础设施并拿走了捐款；项目在原赞助方缺席的情况下继续推进<sup>[5](https://grapheneos.org/history/)</sup>。决裂之后，项目先后更名为 AndroidHardening 和 GrapheneOS，项目方声明今后绝不会再与任何特定赞助方或公司紧密绑定<sup>[5](https://grapheneos.org/history/)</sup>。原赞助方对这场纠纷的说法则有所不同，项目的历史页面将这一分歧描述为一场针对该项目持续进行的虚假信息运动<sup>[5](https://grapheneos.org/history/)</sup>。

该项目目前依靠捐赠维持，拥有多名全职和兼职开发者<sup>[5](https://grapheneos.org/history/)</sup>。

## 设备支持

GrapheneOS 对 [Pixel 6](https://www.edgepedia.org/zh/pixel-6)、6a、6 Pro、7、7a、7 Pro、8、8a、8 Pro、9、9a、9 Pro、9 Pro XL、9 Pro Fold、10、10a、10 Pro、10 Pro XL 和 10 Pro Fold，以及 Pixel Fold 和 Pixel Tablet 提供官方正式支持<sup>[1](https://grapheneos.org/faq)</sup>。项目方建议新购机者只选择第八代及之后的 Pixel 设备，因为这些设备提供自发布起最低 7 年的支持保证（此前为最低 5 年），且其 ARMv9 CPU 核心支持硬件内存标记<sup>[1](https://grapheneos.org/faq)</sup>。默认情况下，GrapheneOS 启用硬件内存标记，以保护基础操作系统和已知兼容的用户安装应用免受漏洞利用尝试<sup>[1](https://grapheneos.org/faq)</sup>。

许多其他设备在源码层面受支持，无需修改现有源码树即可构建，但项目方表示，对大多数设备而言，无论投入多少移植工作，硬件和固件都无法提供合理安全的设备<sup>[1](https://grapheneos.org/faq)</sup>。运营商锁定的 Pixel 变体可能阻止安装，因为运营商 ID 会禁用引导加载程序解锁，因此项目方建议购买不绑定运营商的设备<sup>[9](https://grapheneos.org/install/cli)</sup>。

2026 年 3 月，摩托罗拉与 GrapheneOS 在 MWC 上宣布建立长期合作伙伴关系，将该操作系统引入未来的摩托罗拉硬件，终结了其长期以来对 Pixel 设备的独家支持<sup>[3](https://www.tomshardware.com/software/operating-systems/grapheneos-refuses-to-comply-with-age-verification-laws)</sup>。GrapheneOS 表示预计将在 2027 年摩托罗拉手机发布时准备就绪，先支持非折叠设备，随后支持未来的 Razr Fold 和 Razr Ultra 等折叠机型；项目方声明当前一代摩托罗拉设备不满足其要求<sup>[10](https://www.androidcentral.com/phones/motorola/waiting-for-grapheneos-motorolas-2027-phones-are-up-first-and-foldables-are-included)</sup>。

## 安全特性

GrapheneOS 的加固针对其认定的最严重两大类漏洞：远程和本地代码执行，其中大多数是内存破坏漏洞<sup>[6](https://grapheneos.org/features)</sup>。

**内存加固。** 项目的 hardened_malloc 是一个以安全为核心的通用内存分配器，提供 malloc API，并针对堆破坏漏洞提供大幅加固；其设计相比传统分配器还减少了元数据开销和碎片浪费<sup>[8](https://github.com/GrapheneOS/hardened_malloc/blob/main/README.md)</sup>。它支持 Bionic（Android）、musl 和 glibc，并可移植到其他基于 Linux 的环境<sup>[8](https://github.com/GrapheneOS/hardened_malloc/blob/main/README.md)</sup>。在 ARMv9 设备上，用户空间操作系统代码启用了分支目标识别（BTI）和指针认证码（PAC）返回地址保护<sup>[6](https://grapheneos.org/features)</sup>。

**安全应用孵化。** 在标准 Android Zygote 模型中，每个应用都作为模板进程的克隆被孵化，共享相同的初始内存内容和布局，这削弱了基于随机秘密值的保护机制，如地址空间布局随机化（ASLR）、栈金丝雀、堆金丝雀、随机化堆布局和内存标记<sup>[11](https://grapheneos.org/usage)</sup>。GrapheneOS 的安全应用孵化系统避免在应用之间共享地址空间布局和其他秘密值；偏好更快冷启动和更低内存占用的用户可以将其禁用<sup>[6](https://grapheneos.org/features)</sup><sup> • </sup><sup>[11](https://grapheneos.org/usage)</sup>。

**攻击面缩减。** 不必要的代码被剥离，NFC、蓝牙和 UWB 等可选无线电默认禁用，USB-C、pogo 引脚和摄像头访问也默认在锁屏状态下禁用<sup>[6](https://grapheneos.org/features)</sup>。USB-C 端口设置有五种模式，默认在设备锁定时于硬件和操作系统两个层面阻止新的 USB 连接<sup>[6](https://grapheneos.org/features)</sup>。

**验证启动与更新。** 更新包带有由更新客户端验证的内部签名，除非使用特殊签名的降级包，否则降级攻击会被阻止，验证启动和硬件支持的密钥库作为最后一道保护层<sup>[12](https://grapheneos.org/releases)</sup>。项目方声明，它无法遵从政府命令，基于 IMEI 等信息针对特定用户的设备构建、签名并推送恶意更新<sup>[11](https://grapheneos.org/usage)</sup>。

## 沙盒化 Google Play

GrapheneOS 默认不包含 Google 应用和服务，但一个兼容层允许在标准应用沙盒中安装和使用官方 [Google Play](https://www.edgepedia.org/zh/google-play) 版本，在其中它们不获得任何特殊访问权限或特权<sup>[6](https://grapheneos.org/features)</sup>。在其他 Android 系统上，Google Play 绕过应用沙盒并获得大量高权限访问；兼容层则教会它在完整沙盒内工作<sup>[6](https://grapheneos.org/features)</sup>。用户可选择是否安装以及安装在哪些配置文件中，摄像头、位置和网络访问等标准 Android 权限控制与其他应用一样适用于 Play 服务<sup>[6](https://grapheneos.org/features)</sup>。同一兼容层的扩展使官方 [Android Auto](https://www.edgepedia.org/zh/android-auto) 版本能以较低权限级别运行<sup>[6](https://grapheneos.org/features)</sup>。

这一设计意味着大多数应用（包括许多银行应用）可正常运行，但一些依赖 Play Integrity API 或更严格完整性检查的应用可能无法工作<sup>[13](https://franklinetech.com/what-breaks-on-grapheneos/)</sup>。GrapheneOS 发布了认证兼容性指南，鼓励应用开发者使用标准 Android 硬件认证 API 并允许其官方发布签名密钥，而不是通过 Play Integrity API 封杀第三方操作系统<sup>[14](https://grapheneos.org/articles/attestation-compatibility-guide)</sup>。

## 内置应用与浏览器

该系统预装一组最少的第一方应用，包括 GrapheneOS Camera、沙盒化加固版 PDF Viewer 和 Vanadium 浏览器<sup>[6](https://grapheneos.org/features)</sup>。Vanadium 是一个加固版 Chromium 分支，同时充当网页浏览器和系统 WebView，包含按站点内容过滤、减少用户代理数据、默认启用混合后量子密码学等功能<sup>[6](https://grapheneos.org/features)</sup><sup> • </sup><sup>[7](https://github.com/zontasticality/grapheneos-org-security-research)</sup>。几乎所有远程服务默认禁用或已移除；默认情况下，系统仅连接 GrapheneOS 服务器以获取组件更新，如证书颁发机构更新和 DNS-over-HTTPS 连通性检查<sup>[6](https://grapheneos.org/features)</sup>。

## 安装与更新

有两种官方支持的安装方式：推荐大多数用户使用的基于 WebUSB 的网页安装器，以及面向技术用户的命令行指南，后者允许在不信任项目服务器基础设施的情况下安装<sup>[1](https://grapheneos.org/faq)</sup>。项目方不建议使用第三方安装指南，称其往往已过时<sup>[1](https://grapheneos.org/faq)</sup>。多家公司在项目许可下销售预装 GrapheneOS 的设备，但项目方与这些公司均无关联，也不为其背书，官方建议是购买受支持的设备并自行安装操作系统<sup>[1](https://grapheneos.org/faq)</sup>。

更新通过无线方式自动推送，在可用时使用增量包，版本依次经过 Alpha、Beta 和 Stable 渠道<sup>[12](https://grapheneos.org/releases)</sup>。对于不再接收固件或驱动安全更新的生命周期终止设备，项目方提供扩展支持版本，作为用户过渡到当前代设备的权宜之计<sup>[1](https://grapheneos.org/faq)</sup>。

## 验证与独立评估

GrapheneOS 记录了其对可复现构建的支持，原则上任何人都可以从源码构建并与官方版本比对；构建文档指出，发布签名会替换 dm-verity 树和 APK 签名，只有获得相同私钥才能复现，因此比对时必须排除签名<sup>[15](https://grapheneos.org/build)</sup>。2026 年 2 月的一份组织安全分析发现，没有公开证据表明有独立第三方公开完成了针对官方版本的完整可复现构建比对，并指出 Vanadium 和若干独立应用以预编译二进制形式发布，未附带哈希文件<sup>[7](https://github.com/zontasticality/grapheneos-org-security-research)</sup>。此后，一位独立研究者对 Pixel 8 Pro 的 GrapheneOS 版本运行了自动化可复现性测试，发布 diffoscope 报告和官方构建的验证启动哈希，以便 Auditor 应用认证的哈希可以确认设备运行的是受测版本<sup>[16](https://github.com/lucasbeiler/reproducible-builds-grapheneos)</sup>。

独立安全研究也从外部审视了该操作系统：2026 年一项使用 AndroVET 框架覆盖 14 个基于 Android 的定制操作系统的研究共检测到 332 个漏洞实例，其中 GrapheneOS 案例研究确认了该发行版中 15 个缺失的补丁<sup>[17](https://www.iris.unisa.it/handle/11386/4960916)</sup>。

## 政策立场

2026 年 3 月，项目方声明不会遵从要求操作系统在设置时收集用户年龄数据的新兴法律，称 GrapheneOS 将在不要求个人信息、身份证明或账户的情况下保持可用，如果其设备因法规而无法在某一地区销售，那也没办法<sup>[3](https://www.tomshardware.com/software/operating-systems/grapheneos-refuses-to-comply-with-age-verification-laws)</sup>。该声明发布之前，巴西《数字儿童与青少年法》（第 15.211 号法律）于 2026 年 3 月 17 日生效，对未能实施年龄验证的操作系统提供商处以每次违规最高 5000 万雷亚尔的罚款；声明也发布于加利福尼亚州《数字年龄保证法》（AB-1043）2027 年 1 月 1 日生效之前<sup>[3](https://www.tomshardware.com/software/operating-systems/grapheneos-refuses-to-comply-with-age-verification-laws)</sup>。

## 评价

评测者普遍认为日常体验接近原生 Android。TechRadar 在 Pixel 8 Pro 上进行为期一个月的测试，报告没有明显耗电或性能下降，并将 GrapheneOS 描述为对移动体验损害最小的隐私导向选项之一<sup>[18](https://www.techradar.com/phones/android/its-without-a-doubt-one-of-the-least-detrimental-privacy-focused-solutions-to-your-mobile-experience-i-spent-a-month-testing-grapheneos-and-it-almost-made-me-ditch-my-android-phone-entirely)</sup>。Tom's Guide 发现通过网页安装器安装简单直接，并指出该操作系统在初始状态下基本不受 Google 影响，其内置应用商店仅有 14 个应用，而银行应用是主要的兼容性摩擦点<sup>[4](https://www.tomsguide.com/phones/google-pixel-phones/i-just-tried-this-privacy-focused-version-of-android-for-pixel-phones-and-im-very-impressed)</sup>。

## References

1. [Frequently Asked Questions, GrapheneOS](https://grapheneos.org/faq)
2. [GrapheneOS Guide, 0xInvariant (GitHub)](https://github.com/0xInvariant/GraphenoOS-Guide/blob/main/README-en.md)
3. [GrapheneOS refuses to comply with new age verification laws for operating systems, Tom's Hardware](https://www.tomshardware.com/software/operating-systems/grapheneos-refuses-to-comply-with-age-verification-laws)
4. [I just tried this privacy-focused version of Android for Pixel phones, Tom's Guide](https://www.tomsguide.com/phones/google-pixel-phones/i-just-tried-this-privacy-focused-version-of-android-for-pixel-phones-and-im-very-impressed)
5. [History, GrapheneOS](https://grapheneos.org/history/)
6. [Features overview, GrapheneOS](https://grapheneos.org/features)
7. [GrapheneOS Institutional Security Assessment, zontasticality (GitHub)](https://github.com/zontasticality/grapheneos-org-security-research)
8. [hardened_malloc README, GrapheneOS (GitHub)](https://github.com/GrapheneOS/hardened_malloc/blob/main/README.md)
9. [CLI install guide, GrapheneOS](https://grapheneos.org/install/cli)
10. [Waiting for GrapheneOS? Motorola's 2027 phones are up first, Android Central](https://www.androidcentral.com/phones/motorola/waiting-for-grapheneos-motorolas-2027-phones-are-up-first-and-foldables-are-included)
11. [Usage guide, GrapheneOS](https://grapheneos.org/usage)
12. [Releases, GrapheneOS](https://grapheneos.org/releases)
13. [What Breaks on GrapheneOS: Apps That Don't Work (2026), Franklinetech](https://franklinetech.com/what-breaks-on-grapheneos/)
14. [Attestation compatibility guide, GrapheneOS](https://grapheneos.org/articles/attestation-compatibility-guide)
15. [Build, GrapheneOS](https://grapheneos.org/build)
16. [reproducible-builds-grapheneos, lucasbeiler (GitHub)](https://github.com/lucasbeiler/reproducible-builds-grapheneos)
17. [The Clone Strikes Back: Efficient Vulnerable Code Detection in Custom Android-based Systems, IRIS Università di Salerno](https://www.iris.unisa.it/handle/11386/4960916)
18. [I spent a month testing GrapheneOS, TechRadar](https://www.techradar.com/phones/android/its-without-a-doubt-one-of-the-least-detrimental-privacy-focused-solutions-to-your-mobile-experience-i-spent-a-month-testing-grapheneos-and-it-almost-made-me-ditch-my-android-phone-entirely)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › 操作系统 › 类Unix与Linux › Android与移动变体

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/grapheneos

English original: https://www.edgepedia.org/grapheneos
