Install Android Oreo on Nexus 6P: Step-by-Step Guide
In this article
You can install Android Oreo on a Nexus 6P by flashing the official factory image from Google using a computer with fastboot. This wipes the phone completely, so back up first. The Nexus 6P officially received Android 8.0 Oreo, and Google published factory images and OTA files for it. The method below uses the factory image and fastboot, which works even if the phone will not boot normally. Make sure you have the correct model (Huawei Nexus 6P, codename angler) and that your computer can run the Android SDK Platform Tools. The steps are for Windows, macOS, and Linux; menu labels in the phone may differ slightly by version and region.
What You'll Need
- A Nexus 6P (angler) with an unlocked bootloader. If it is locked, unlocking erases all data, so do that first.
- A USB-C cable and a computer with a working USB port.
- Android SDK Platform Tools installed (includes fastboot and adb). You can download them from the official Android developer site.
- The correct factory image for the Nexus 6P from Google's official factory images page. Choose the latest Oreo build for angler.
- A backup of your data: photos, messages, contacts, and app data. The process erases everything.
- A charged battery (at least 70%) and a stable internet connection for the download.
Step-by-Step
- Back up your phone. Use Google backup or copy files to a computer. This step is not optional because unlocking or flashing wipes all data.
- Enable Developer Options and USB debugging. On the phone, go to Settings > About phone and tap Build number seven times. Then go to Settings > Developer options and turn on USB debugging. Labels may vary slightly by version.
- Unlock the bootloader if it is locked. This erases all data. Connect the phone to the computer, open a terminal or command prompt in the Platform Tools folder, and run
adb reboot bootloader. Once in fastboot mode, runfastboot flashing unlock(orfastboot oem unlockon older devices). Confirm on the phone screen. Reboot and set up the phone again, then re-enable USB debugging. - Download and extract the factory image. From Google's official factory images page, download the Oreo image for angler. Extract the archive to a folder. Inside you will find another archive; extract that too so you see files like
flash-all.bat(Windows) orflash-all.sh(macOS/Linux). - Connect the phone and enter fastboot mode. With USB debugging on, run
adb reboot bootloader. The phone screen should show the fastboot interface. Verify the connection withfastboot devices; it should list your device serial number. - Run the flash-all script. Open a terminal or command prompt in the extracted folder. On Windows, double-click
flash-all.bator run it from the command line. On macOS or Linux, run./flash-all.sh. The script flashes the bootloader, radio, and system images, then reboots. Do not disconnect the phone during this process. - Wait for the reboot. The first boot after flashing can take several minutes. The phone may show the Google logo for a while. Do not interrupt it.
- Set up Android Oreo. Once the phone boots, complete the setup wizard. Restore your backup if you made one. Check Settings > About phone to confirm the Android version is 8.0 Oreo.
Common Mistakes
- Forgetting to back up. Unlocking the bootloader and flashing a factory image erase all data. There is no way to recover it afterward.
- Using the wrong factory image. The Nexus 6P is codename angler. Flashing an image for another device can brick it.
- Not unlocking the bootloader first. The flash-all script will fail if the bootloader is locked.
- Disconnecting the phone during flashing. This can leave the phone in an unbootable state. Keep the cable connected until the script finishes.
- Using outdated Platform Tools. Download the latest official Platform Tools to avoid fastboot errors.
- Skipping the driver installation on Windows. If
fastboot devicesshows nothing, install the official Google USB driver.
Tips
- Use a USB port directly on the computer, not a hub, to avoid connection drops.
- Keep the phone charged and the computer plugged in during the process.
- If you only want Oreo without wiping data, you can try the OTA sideload method with adb, but it requires the correct OTA file and a locked bootloader is fine. The factory image method is more reliable for a clean install.
- After flashing, you can relock the bootloader with
fastboot flashing lock, but only if you are sure you will not need to flash again soon. Relocking also wipes data. - Check the SHA-256 checksum of the downloaded factory image to ensure it is not corrupted.
Troubleshooting
If the flash-all script fails, read the error message in the terminal. Common issues include a locked bootloader, a missing fastboot driver, or a corrupt download. Re-download the factory image and verify the checksum. If fastboot devices does not list your phone, try a different USB cable or port, and on Windows install the Google USB driver. If the phone is stuck on the Google logo after flashing, boot into recovery mode (press and hold Power and Volume Down, then use the volume keys to select Recovery) and perform a factory reset. If fastboot commands return an error about unknown command, update Platform Tools. If the phone is completely unresponsive, hold Power for about 10 seconds to force a restart, then try again. In rare cases, you may need to flash individual partitions manually using fastboot, but the flash-all script usually handles everything. If you continue to have problems, ask on a reputable Android forum with the exact error text.
Frequently Asked Questions
Do I need to root my Nexus 6P to install Oreo?
No. Flashing a factory image does not require root. You only need an unlocked bootloader.
Will installing Oreo erase my data?
Yes, if you use the factory image method. Unlocking the bootloader also erases data. Back up first.
Can I install Oreo without a computer?
No, the official method requires a computer with fastboot. There is no supported way to flash a factory image directly on the phone.
What is the difference between the factory image and the OTA?
The factory image wipes the device and installs a clean system. The OTA updates an existing system without wiping, but it must match your current build.
Is Android Oreo the last official update for the Nexus 6P?
The Nexus 6P received Android 8.0 Oreo and later security updates, but it did not officially receive Android 9 Pie. Oreo is the last major version.
Can I relock the bootloader after installing Oreo?
Yes, with fastboot flashing lock, but relocking wipes data and can cause issues if the system is not fully stock. Only relock if you are sure.