This guide explains how to easily install the just announced Android 9.0 Pie update on your Pixel or Pixel 2. Following months of beta tests, Android Pie is finally ready for a few phones. You can wait for the over-the-air notification, or manually install it with our help below.
Android 9.0 Pie comes with some exciting new changes that will affect your phone or your apps. Eligible devices include the Pixel, Pixel XL, or Google’s Pixel 2 and Pixel 2 XL. Google didn’t release software for any Nexus devices. The beta is open to 11 different phones though.
Read: 10 Android Pie Release Date Tips
Today we’ll use a system image file to flash Android Pie early. The Android 9.0 System Image is a download that contains all the files needed to install a stock version of Android P on your Pixel device. This is essentially everything you need to know, and what you’d download as an OTA update for regular Android updates.
Those who’ve already signed up for the beta can expect an over the air update notification to arrive any moment now, which is the easiest way. That said, in previous years those on the beta program received updates last. Meaning the fastest way is to just use Oreo and wait for the OTA notification, or manually install it with this guide.
This is something you can do from Windows, Mac, Linux or ChromeOS. There are multiple ways to do this, and lots of things that can go wrong, but below are the easiest steps without spending hours setting up all of Google’s developer software.
How to Install ADB on Windows, Mac, Ubuntu & ChromeOS
Before you can flash the Android 9.0 Pie update to your Pixel or Pixel 2 you need to install ADB and Fastboot on your computer. This is a program that runs on your PC/Mac to connect to your Android device through a USB cable and flash Android software to a device.
Installing ADB and Fastboot is one of the most annoying parts of installing Android factory images, but several tools make it dead simple these days. Alternatively, Google has an entire guide on ADB and flashing the files.
Those running Windows can download a 15 second adb installer to simplify the process and get up and running in only a few minutes.
Download the ADB installer for Windows. Find the file, right-click on it and choose Run as Administrator. When prompted you need to give the app access to run as an administrator. After the app launches type a Y and enter to select yes to Install ADB & Fastboot, to install ADB/Fastboot systemwide and to install Drivers. When a new window pops up follow the steps to install the drivers.
After this, you are now ready to install Android Pie on your device.
How to Install ADB on Mac, Linux & ChromeOS
Nexus Tools makes it easy to install ADB on a Mac, Linux or even ChromeOS. Simply open a Terminal on the computer and paste in the code from XDA. Open a terminal by going to search, and just type Terminal to open it. Then copy/paste that code to get started.
This will install ADB and Fastboot on Mac, Linux and Chrome OS without the need to do anything else. It’s extremely easy and avoids all the ADB package mess that typically takes much longer to complete.
After the script finishes type ADB or Fastboot to start running either process. This is how you start flashing files or system images provided by Google. Remember to head to settings > developer options and enable USB Debugging first. Not to mention newer devices need to enable “OEM Unlock” in developer options so you can unlock the bootloader and flash the latest software. If you did this when you flashed Android O last year, you don’t need to do it again.
Manually Install Android Pie Today
The first thing you need to do is download the Android Pie factory images. A factory image is basically a file that contains everything you’d get from an over the air software update. Click the links below for each device and agree to the terms and download it. Then, continue following our instructions.
As usual, only select devices are included in this list right now. Those being the Pixel, Pixel XL, Pixel 2 and Pixel 2 XL. The Nexus 5X or 6P will not get Android P. Click the links below to download the new update.
Download the file and then keep reading to get Android Pie. Next, you need to unzip these files to a folder you can easily access. We unzipped it to our MAC desktop. After you have the Android P system image unzipped you need to find it. Then type cmd into the address bar on Windows, or open a terminal and direct it to this new folder on Mac, Linux or Chrome OS. Reminder, if you’re on a MAC you need to make sure terminal is running inside the folder you just unzipped. Right-click, open Terminal at Folder.
If your Pixel is not bootloader unlocked you should do that first. We could not install Android Pie on a locked device. This will wipe it out completely and erase all user data, settings, pictures, etc. Repeat, this will erase everything! If you installed any prior betas, you already did this, so skip it.
Open a Terminal in the adb folder and type the command below then hit enter.
adb reboot bootloader
In Fastboot type:
fastboot oem unlock
Then hit enter. Follow the on-screen instructions and choose to erase the device. Wait a minute or so for it to unlock. This removes everything on your device. If you don’t want to wipe out your phone, wait for the second Android P developer preview, as an easy update beta program will likely arrive with it.
Google Pixel users will need to use “fastboot devices” and then “fastboot flashing unlock” to unlock the bootloader. Then proceed to reboot and follow our steps.
Flash the Android Pie Images
Next, open the folder containing the unzipped Android 9.0 Pie System Image file you just downloaded from our instructions above. Type cmd in the address bar. Then, type the multiple commands posted below and hit enter. Or copy and paste them to avoid making mistakes. On a Mac, you can open Terminal in the folder by enabling terminal shortcuts in settings. This is key for Mac users. Head to System Preferences and select Keyboard > Shortcuts > Services. Find “New Terminal at Folder” in the settings and click the box. Now when you’re in Finder, just right-click a folder and you’re shown the option to open Terminal. Or just do it from the desktop where you unzipped the Factory image as shown below.
Once in the terminal simply copy and paste the commands below to install Android 9.0 to your Pixel or Pixel 2. The first line is the command for Windows, then Mac second.
This will flash all the needed files. If you are on a Mac or other computer you will need to type;
This will push all the files and update your device to the new Android Pie software. The files will start sending and installing and your device may reboot. The logo boot screen may stay for a long time. Do not unplug the device. This may last 10 minutes or longer the first time. When Android prompts you to complete setup you can unplug your Pixel. It took less than five minutes for us.
It’s worth noting that some users may experience a “mke2fs failed with status 1” or a similar error depending on what device you’re flashing. If you see the status 1 failure, you simply need to edit the flash_all script and remove the “-w” line at the bottom of the file. This is a step most do anyways so they don’t “wipe” out the device while flashing the latest software. For whatever reason, wiping userdata fails for some. In the factory image file you downloaded, open and edit the flash_all file and scroll to the bottom. Remove the -w as shown in red. This prevents the flash from wiping out your device, and gets around the status 1 error.
Then, another error “missing system.img” might surface, causing the install to fail. This is because the way you’re trying to flash the update. Instructions on how to get around this are right here. Essentially users will need to unzip the update.zip folder and move all the images to the original folder we mentioned above. Then manually flash them one by one, vs the flash-all command we’re using here. Only do this if you run into issues with missing images. It takes a few more steps but works all the same. It flashed just fine on my Pixel XL using a Mac.
When the process finishes you can enter your information or Gmail account and start using Android Pie and everything is has to offer. For what it’s worth, the Android digital wellbeing controls are still missing. Google opened a digital wellbeing beta program, for those interested.
If you don’t want to delete your entire device, don’t manually install Android Pie per our instructions above. Instead, try the Android Beta Program which sends the files easily and quickly to you. If the beta program is still open enroll your Pixel, flash Android P betas, then you’ll instantly get an upgrade to the new official software.
If you’re not experienced with ADB, we recommend skipping these steps and waiting for the official update to hit your device. We’re expecting easy to install over-the-air updates to hit Pixel devices within the next 24-48 hours.
Additionally, those who choose to wait for the OTA update do not need to wipe out their device. It installs right over Android 8.0, 8.1 or Android P betas and keeps all user data. Drop a comment below if you have any questions, problems, or concerns. Otherwise, take a slice out of Google’s Pie and let us know how you like it.