GrapheneOS is an open-source, privacy- and security-hardened mobile operating system built on the Android Open Source Project (AOSP). Among mobile platforms it occupies a specific niche: it keeps compatibility with Android apps while adding exploit mitigations, stricter sandboxing and finer permission controls that stock Android does not provide.
The project is developed by a non-profit and supports only a narrow set of devices, currently recent Google Pixel phones, because it depends on hardware security features such as a secure element, verified boot with a user-installable key and timely firmware updates. It ships without Google apps or Google Play services by default, yet it can run them in a sandboxed, unprivileged form when the user chooses.
How GrapheneOS hardens Android
GrapheneOS hardens Android by reducing attack surface and making memory corruption bugs harder to exploit, rather than by adding a separate security app layer. Most changes sit deep in the system: the memory allocator, the compiler settings, the kernel configuration and the permission model.
A central component is hardened_malloc, a memory allocator designed to detect and block heap corruption, use-after-free and similar bug classes. The project also enables stronger control-flow and stack protections, restricts dynamic code loading for system processes and tightens SELinux policies. Together these measures aim to turn a working exploit into a crash.
The table below summarizes the main hardening layers and what each one defends against.
| Layer | Measure | Threat addressed |
|---|---|---|
| Memory allocator | hardened_malloc with guard regions and randomization | Heap corruption and use-after-free |
| Kernel | Reduced attack surface and stricter configuration | Privilege escalation |
| Boot chain | Verified boot with a relocked bootloader | Persistent tampering and evil maid attacks |
| App sandbox | Stricter SELinux and seccomp policies | Escape from app isolation |
| Browser | Vanadium, a hardened Chromium-based browser and WebView | Web-based exploitation |
Privacy features and permission controls
GrapheneOS extends the Android permission model so users can deny access that stock Android grants silently. The most cited example is the Network permission toggle, which removes an app’s internet access entirely; stock Android treats network access as an install-time permission that users cannot revoke.
The following table lists the privacy controls that most clearly distinguish GrapheneOS from a standard Android build.
| Feature | What it does | Practical benefit |
|---|---|---|
| Network permission | Blocks all network access for an app | Offline apps cannot send data |
| Sensors permission | Blocks accelerometer, gyroscope and similar sensors | Limits fingerprinting and motion tracking |
| Storage Scopes | Gives an app access only to chosen files | Avoids broad storage permission |
| Contact Scopes | Shares selected contacts instead of the whole list | Protects the address book |
| Auto-reboot timer | Restarts the phone after a set idle period | Returns data to the encrypted at-rest state |
| USB-C port control | Disables data on the port when locked | Reduces physical attack surface |
Additional options include a duress PIN that wipes the device when entered, per-profile isolation through multiple user profiles, and MAC address randomization per connection. These features matter most for people facing targeted threats or forensic extraction, but they also improve everyday privacy.
Sandboxed Google Play and app compatibility
Sandboxed Google Play is the GrapheneOS compatibility layer that lets Google Play services run as ordinary apps without special system privileges. On stock Android, Play services are privileged components with broad access; on GrapheneOS they receive only the permissions the user grants, like any other app.
This design allows most mainstream apps, including those that need push notifications through Firebase Cloud Messaging, to work normally. Users can also install Play services in only one profile, keeping a separate profile free of Google software. Compatibility is high but not complete: some banking and payment apps rely on Play Integrity attestation and may refuse to run on an operating system that Google has not certified, even though GrapheneOS keeps a locked bootloader.
GrapheneOS compared with other systems built on Android
GrapheneOS differs from other AOSP-based systems mainly in its security model and device policy. Many custom ROMs prioritize broad device support and customization, while GrapheneOS prioritizes verified boot, fast patching and exploit resistance, even at the cost of supporting few devices.
| Platform | Main focus | Device support | Google services |
|---|---|---|---|
| GrapheneOS | Security hardening and privacy | Recent Pixel phones only | Optional, sandboxed |
| Stock Android on Pixel | Full Google integration | Pixel phones | Privileged, built in |
| LineageOS | Longevity and broad device coverage | Many devices | Not included, often added |
| /e/OS | De-Googled consumer experience | Selected devices | Replaced by microG |
| Manufacturer skins | Vendor features and design | Vendor devices | Privileged, built in |
A key technical distinction is bootloader relocking. GrapheneOS installs its own verified boot key and expects the user to relock the bootloader, restoring the full chain of trust. Many custom ROMs run with an unlocked bootloader, which weakens protection against physical tampering. GrapheneOS also discourages root access, because a rooted system breaks the security model it is designed to enforce.
Installation, updates and limitations
GrapheneOS is installed through an official web installer or command-line tools that flash factory images and then relock the bootloader. Updates arrive as signed over-the-air packages, typically within days of monthly Android security bulletins, and use seamless A/B updates so the phone keeps working during installation.
The decision table below helps match typical needs with a suitable choice.
| Need | Fit | Reason |
|---|---|---|
| Journalist or activist protection | Strong | Hardening and duress features target real attacks |
| Privacy with mainstream apps | Good | Sandboxed Google Play keeps most apps working |
| Contactless payments with Google Wallet | Poor | Google certification is required |
| Older or non-Pixel phone | Not possible | Only supported Pixel models are allowed |
| Heavy customization and root | Poor | The security model excludes root |
- Device support ends when the manufacturer stops shipping firmware, so the supported list changes over time.
- Some apps detect a non-certified system and refuse to run, which users should test before relying on the phone.
- Hardening reduces risk but does not guarantee immunity; user behavior and app choices still decide much of the exposure.
In everyday language
GrapheneOS is a replacement system for certain Google Pixel phones. It still runs normal Android apps, but it is built to be much harder to break into and to share less of your data by default.
Think of it as the same house with stronger locks, thicker walls and more doors you control. You can stop an app from using the internet, give it only the photos you pick, or keep Google apps in a separate space. The trade-off is that it runs only on a few phones, and a handful of apps, such as some payment services, may not work.
Seen in the real world
An investigative reporter who travels to border crossings and protests installs GrapheneOS on a supported Pixel phone. Work contacts and an encrypted messenger live in the owner profile without Google services, while a second profile runs sandboxed Google Play for maps and a ride-hailing app.
The reporter sets the auto-reboot timer to 18 hours, disables USB data while the phone is locked and configures a duress PIN. Field recording apps receive no network permission, so audio files cannot leave the device unnoticed. The outcome is a phone that handles everyday tasks while making seizure, forensic extraction and silent data collection considerably harder.