You install GrapheneOS on a Pixel by unlocking the bootloader, flashing the factory image with the official web installer, and then locking the bootloader again; the whole process takes about 30–45 minutes. The web installer works on Pixel 4 through Pixel 9 series devices (and the Pixel Tablet) running Chrome, Firefox, or Edge on a desktop. You need a USB-C cable, a computer, and a Pixel that is not carrier-locked to a US carrier that blocks bootloader unlocking.
- Back up your Pixel to Google Drive or a local computer—flashing wipes all data. Go to Settings > System > Backup and turn on backup, or copy files manually.
- Charge the phone to at least 80% and keep it plugged in during the flash.
- Enable Developer Options: go to Settings > About phone, tap “Build number” 7 times until “You are now a developer” appears.
- Turn on OEM unlocking: in Settings > System > Developer options, toggle “OEM unlocking” on. If it is greyed out, your device is carrier-locked or the option is hidden—see the troubleshooting section.
- Connect the Pixel to your computer with a USB-C cable, and set the USB mode to “File transfer” (tap the notification and choose it).
- Open the official GrapheneOS web installer at grapheneos.org/install/web in a desktop browser (Chrome, Firefox, or Edge).
- Follow the on-screen instructions: the installer will download the factory image, reboot the phone into the bootloader, flash the OS, and reboot. Do not unplug the cable until it says “Done.”
- After the first boot, lock the bootloader again for security: go back to Settings > System > Developer options and toggle “OEM unlocking” off, then reboot into the bootloader (power off, hold Power + Volume Down) and select “Lock bootloader” with the volume keys and Power. This wipes the phone again, so set it up after locking.
Which Pixel Models Are Supported
GrapheneOS supports Pixel 4, 4 XL, 4a, 4a (5G), 5, 5a, 6, 6 Pro, 6a, 7, 7 Pro, 7a, 8, 8 Pro, 8a, 9, 9 Pro, 9 Pro XL, and the Pixel Tablet. It does not support the Pixel Fold or the Pixel 9 Pro Fold because the foldable form factor is not yet supported. Check the official GrapheneOS device list before starting; if your model is not listed, the installer will refuse to flash it.
What You Need Before You Start
You need a Pixel that has an unlockable bootloader. Most phones sold directly by Google or through carriers that allow bootloader unlocking work. US carriers like Verizon and AT&T lock the bootloader on their Pixel models, so those phones cannot be flashed. If you bought the phone second-hand, check that the previous owner did not have a Google account lock (FRP) still active—you must be able to sign in to the existing Google account before flashing. You also need a computer running Windows, macOS, or Linux, and a USB cable that supports data transfer (not just charging). The web installer does not require you to install Android SDK or platform tools; it handles everything in the browser.
How the Web Installer Works
The web installer uses WebUSB to talk to your phone’s bootloader. It downloads the correct factory image for your device model automatically, verifies its signature, and flashes it. The installer will ask you to reboot into the bootloader (fastboot mode) twice: once to unlock the bootloader, and once to flash the OS. During the flash, you’ll see a progress bar on the computer screen. If the installer gets stuck, wait 2–3 minutes—it can be slow on some USB ports. Do not close the browser tab or unplug the cable mid-flash; that can brick the phone (though it is usually recoverable with the official factory images).
Troubleshooting: Bootloader Unlock Option Greyed Out
If “OEM unlocking” is greyed out in Developer options, your phone is either carrier-locked or the setting is hidden because the device is already unlocked but the toggle is disabled. For carrier-locked phones, you must contact the carrier to request an unlock; they may require you to have owned the phone for a certain period or paid it off. If you bought the phone from a carrier and it is still under contract, unlocking may not be possible.
Another cause: if you have a Google account on the phone that was set up by a previous owner, the toggle may be disabled until you remove that account. Sign out of all Google accounts, then check again. If the toggle is still greyed out after a factory reset, the bootloader is permanently locked by the carrier—GrapheneOS cannot be installed on that device.
What Happens After Flashing: First Boot and Setup
After the installer finishes, the phone reboots into GrapheneOS. The first boot takes 2–5 minutes. You’ll see a setup wizard similar to stock Android but without Google apps. You can choose to install Google Play services later from the Apps section in the GrapheneOS settings—this is optional and done via the “Google Play services” toggle. The default setup asks you to create a PIN or password; use at least a 6-digit PIN for security. After setup, go to Settings > Security and verify that “Bootloader” shows “Locked.” If it says “Unlocked,” follow the steps in the main instructions to lock it.
How to Verify the Installation Worked
After locking the bootloader, the phone will wipe itself again. Set it up fresh, then check the following: go to Settings > About phone, and you should see “GrapheneOS” as the build. Go to Settings > Security > System updates and confirm the device is up to date.
To verify the bootloader is locked, reboot into the bootloader (power off, hold Power + Volume Down) and look for “LOCK STATE – locked” at the top of the screen. If it says “unlocked,” go back to the bootloader menu and select “Lock bootloader” again. Also, open the GrapheneOS camera app and take a test photo to confirm the camera works—some users report camera issues if the wrong image was flashed, but that is rare.
How Long Does the Battery Last After Flashing?
Battery life on GrapheneOS is generally similar to or slightly better than stock Android because it lacks Google Play services by default. If you do not install Google Play services, expect a 10–20% improvement in standby time. If you do install them, battery drain will be comparable to stock. For reference, a Pixel 8 with GrapheneOS and no Google apps can last about 1.5 days with moderate use (screen-on time of 6–7 hours). With Google Play services, expect about 1 day. To extend battery life, go to Settings > Battery > Battery Saver and turn it on at 20%.
Updating GrapheneOS Later
GrapheneOS updates come as over-the-air (OTA) updates, just like stock Android. Go to Settings > System > System updates to check for and install updates. You do not need to re-flash the phone for updates. The web installer is only for the initial installation. If you ever want to go back to stock Android, you can use the same web installer to flash the stock factory image from Google, but that is outside the scope of this guide.
Common Mistakes and How to Avoid Them
The most common mistake is using a USB cable that only charges. Use the original cable that came with the phone or a known data cable. Another mistake is starting the flash with less than 50% battery—the installer may fail midway. Also, do not skip the step of enabling OEM unlocking before starting; if you do, the installer will fail at the bootloader unlock step. Finally, if you have a Windows computer, ensure you have the latest USB drivers installed; otherwise the browser may not detect the phone. If the installer says “No device found,” try a different USB port (preferably a USB 3.0 port on the back of a desktop) and re-plug the cable.
| Device | Bootloader Unlockable? | Supported by GrapheneOS? |
|---|---|---|
| Pixel 8 (unlocked from Google) | Yes | Yes |
| Pixel 8 (Verizon) | No | No |
| Pixel 7a (AT&T) | No | No |
| Pixel 6 (unlocked from Google) | Yes | Yes |
| Pixel Fold | Yes (but not supported) | No |