Install Android Oreo on Nexus and Pixel Devices
In this article
Yes, you can install Android Oreo (8.0 or 8.1) on supported Nexus and Pixel devices by flashing the official factory images from Google. This process upgrades your device to Android 8.x, giving access to new features like notification dots, picture-in-picture mode, and improved battery management. However, it requires unlocking the bootloader, which erases all data, so backing up first is essential. These steps apply only to official Google-supported devices with available Oreo factory images. Menu labels may vary slightly by device model or Android version.
What You'll Need
- A compatible Nexus or Pixel device (see FAQ for list)
- A computer with macOS, Windows, or Linux
- USB cable to connect the device
- At least 4GB of free storage on the computer
- USB debugging enabled on the device
- Google's platform-tools (ADB and Fastboot) installed
- Stable internet connection
- Backup of all personal data (photos, messages, apps)
Step-by-Step
- Back up all important data using Google Backup or a third-party tool. Unlocking the bootloader will erase everything on the device.
- Enable Developer Options on your device by going to Settings > About Phone and tapping Build Number seven times.
- In Developer Options, enable USB Debugging and OEM Unlocking. OEM Unlocking may appear only after USB Debugging is on.
- Download the latest platform-tools from the official Android developer site. Extract the zip file to a known folder on your computer.
- Download the correct factory image for your specific device and Android Oreo version from Google’s factory image page. Ensure the model number and version match exactly.
- Extract the downloaded factory image zip file into its own folder. Do not move or rename files inside.
- Connect your device to the computer using the USB cable. Allow USB debugging if prompted on the phone.
- Open a command prompt or terminal window in the platform-tools folder. On Windows, shift-right-click and select "Open PowerShell window here." On macOS or Linux, navigate using cd command.
- Reboot the device into bootloader mode by running:
adb reboot bootloader - Wait for the device to show the bootloader screen (black with Android robot). Ensure it is connected by running:
fastboot devices— this should list your device. - In the terminal, navigate to the extracted factory image folder and run the flashing script:
flash-all.baton Windows or./flash-all.shon macOS/Linux. This command automatically unlocks the bootloader, wipes data, and flashes system, boot, and radio images. - Wait for the process to complete. The device will flash several partitions, reboot multiple times, and may take 5–10 minutes. Do not disconnect during this time.
- After the final reboot, the device will boot into Android Oreo. Complete the initial setup as if it were new.
- Re-enable USB debugging and restore your data from backup if desired.
Common Mistakes
- Using the wrong factory image for the device model — always confirm the exact device codename (e.g., marlin, sailfish, taimen).
- Skipping OEM Unlocking in Developer Options — this prevents bootloader unlock and halts the flash-all script.
- Interrupting the flashing process — unplugging during flash-all can brick the device.
- Not backing up data — unlocking the bootloader wipes all user data permanently.
- Running flash-all without ADB and Fastboot in the same folder — causes "command not found" errors.
Tips
- Keep the device charged to at least 70% before starting to avoid shutdowns during flashing.
- Use the original USB cable to reduce connection issues.
- Verify the factory image checksum if available to ensure file integrity.
- After installation, check for any post-update patches or OTA downloads in Settings > System > System Update.
- For developers, relock the bootloader after flashing by running
fastboot flashing lock, but only after confirming the OS works correctly.
Troubleshooting
If the device does not enter bootloader mode, try manually holding Volume Down + Power until the menu appears, then select bootloader with volume keys and confirm with power. Iffastboot devices returns nothing, reinstall USB drivers (on Windows) or check cable connection. On macOS, ensure USB permissions are granted. If the flash-all script fails mid-process, re-run it after rebooting the device back into bootloader. If the phone boots but shows bootloop or system errors, re-flash using the same image. If the device is soft-bricked (stuck on logo), re-run flash-all after confirming fastboot sees the device. Never attempt to flash factory images on unsupported models — this can cause permanent damage.