How to flash Android Oreo on your Nexus or Pixel

At today’s big Eclipse-centered event, Google formally took the veil off of Android 8.0 Oreo. After several preview builds, the final, stable version is now preparing to land. While it shouldn’t take very long for the update to formally hit select Nexus and Pixel devices, but for those that don’t like waiting, you can manually flash it to a supported device.

So what devices will work with Oreo? The Nexus 5X, Nexus 6P, Pixel C, Pixel, Pixel XL, and Nexus Player all made the cut. As for how hard it is to flash? Actually, it’s pretty easy. There are a few hoops to go through, but nothing too difficult. Of course, as with everything flashing, you’re doing so at your own risk.

For those that are familiar with flashing, there’s really nothing new about this process with Android Oreo. If you’re never flashed an update at all, this guide will take you through everything you need to know about the process.


What will you need before you get started?

  • A compatible Nexus or Pixel device along with a USB cable to connect it to your computer.
  • The Android SDK installed on your machine with ADB and Fastboot command successfully working. Here’s a tutorial on how to do that.
  • You’ll also need the appropriate factory image for your device. Go to this website to download them and make sure you get the right one for your device. It’s worth it to spend a moment to make sure you have the right one rather than have to deal with the issues of downloading the wrong one.
  • You’ll also need 7zip or a similar program that can handle .tgz and .tar files. You can download 7zip for free here.
  • You will also need to unlock your bootloader. Beware, this will erase your data. It’s also worth noting that flashing a factory image will also erase your data. Make sure to back it up!

Unlocking your bootloader

Before you get started, if your phone’s bootloader has never been unlocked, you’ll need to do a few extra steps before manually installing Android O. Remember, opening the bootloader will reset your phone, losing all personal data.

With that out of the way:

  1. If you haven’t already, you’ll need to turn on developer options. To do so, you just need to go to “About Phone” and tap seven times on “Build Number”.
  2. From there, enable USB debugging and OEM unlock on your Nexus/Pixel device. These can be found in “developer options” section.
  3. Go ahead and plug in your device to your PC via USB cable now.
  4. Open a command window on the PC.
  5. Boot your Pixel device into bootloader mode using the following command: adb reboot bootloader (if it requests you to authorize this, say yes)
  6. Your device will boot into bootloader mode. From here type the command: fastboot flashing unlock
  7. For the Pixel family, you’ll get a confirmation screen. Press Volume Up to highlight yes, and power to select it. This will begin bootloader unlocking process.
  8. Once unlocked, your device will reboot into bootloader mode. Now you simply need to type fastboot reboot.
  9. During this reboot, your device will go through a factor reset. This part is now over.

How to manually install Android Oreo on a Nexus or Pixel device

Keep in mind that this process is pretty straightforward, but things can and do go wrong if you don’t carefully follow instructions. With that out of the way, here’s what you need to do:

  1. If you aren’t in the bootloader menu still, you’ll need to go back in. From here, you’ll want to test that your device and PC are communicating by typing fastboot devices — if it comes back with your device’s serial number, you’re golden. If not, you’ll probably need to hit up Google search for some troubleshooting.
  2. Next, it’s time to prepare the factory image you downloaded earlier. On your computer, use 7zip to extract the .tgz file you downloaded. Use 7zip a second time to extract the .tar file you extracted from the .tgz. When you’re done, you should have a folder with several files in it.
  3. Copy all of these files and paste them in the platform-tools folder in the Android SDK on your computer. If you followed the above tutorial, this should be under the C drive, then under Program Files (x86) on Windows. Linux users, you know where you put it.
  4. There are two flash-all files. If you’re in Windows, you’ll want to double click the one that has the gear logo and says “Windows Batch File” on the right. If you’re on Linux, you’ll want to double click the flash-all.sh.
  5. At this point a box should pop up and you should see the installation taking place. While this is going on, do not unplug your device for any reason. Let it do its thing.
  6. Once the installation process as finished, your device will automatically reboot and you should see the Android O boot animation start up. You can now safely disconnect your device from your computer.

That should be it. If this method doesn’t work for you for whatever reason, there are a few other ways to go about things and to figure out the method that works best for you, we suggest either ask away in the comments to see if anyone can help you out, or hit up Google search. Additionally, checkout the Android Authority Forums and ask there if you can’t quite get things figured out. Good luck, have fun, and we hope you enjoy the latest preview!

No comments:

Powered by Blogger.