How to Flash Android 9.0 Pie Factory Image on your device

Google finally took the curtain of the next Android version called Android 9 Pie. The update is currently available to Google Pixel, Pixel XL, Pixel 2, and Pixel 2 XL. After the rumors of many names that Google had in mind, they named it with Simple ‘Pie’. Here you will find the useful subject on how to install Android 9.0 Pie Factory Image on your device. 

Android Pie brings new features such as Swipe Gesture navigation, Rotation suggestion, Adaptive Battery, Adaptive Brightness, App actions, Text selection, revamp to Quick Settings and Volume section, Smart replies, and Notification Panel. There is the new Digital Wellbeing feature for enabling an efficient and controlled use of smartphones.

This guide is useful for all Android 9 Pie supported device. Simply follow the guide and enjoy the latest sweet of Android version on your phone.

How to install Android 9.0 Pie Factory Image manually?

You need to assure that; your device is visible to your computer. Also, make sure that ADB tools are already installed on your computer. If not, download the Android SDK. Keep reading if u hasn’t unlocked your bootloader.

Type the command “ADB devices” in the built-in Terminal (MacOS/Linux) or Command Prompt (Windows) app; if you find your device is already listed there, it is ready.  If you can’t see that, assure that the device has turned on ADB debugging in Settings.

Bootloader Unlocking

  • Don’t waste your time on this part if you know that the device is unlocked already. Else, you should confirm that before you can flash a factory image, your phone’s bootloader is unlocked. It is a security feature that needs your device to be completely clean. If it is locked, you can’t keep your data.
  • Go to the Settings app, tap on the System option, and head to “Developer options, if you need to unlock your bootloader. go to the “About phone” page and tap the Android build number several times, if you don’t see Developer options. Confirm that “OEM unlocking” is toggled on.
  • To go to the device’s bootloader and check if your device is in the locked state, choose the command “adb reboot bootloader”. Make sure your device is on the bootloader screen and use the “fastboot oem unlock” command if the bootloader on your Pixel device is locked. you should use the “fastboot flashing unlock_critical” command if that didn’t work.
  • To confirm that you want to unlock your bootloader, you should see some prompts on your device. Then can go on with this guide and your device will be cleaned completely.

Download and prepare the factory image

  • Grab the Android 9 Pie build for your device from Google’s preview factory image page. After downloading the compressed file, extract it then.
  • There will be a .zip file titled inside the extracted compress file, and after you extract that file, you can see the bootloader, OS image, vendor image, and a radio image.

[su_note note_color=”#fffde3″]Note: modify the “flash-all” script to save your data[/su_note]


After the necessary changes, you scan ave your file and open up a command-line program.

Run the script and install Android 9 Pie

You should boot into your bootloader to flash the factory image, as we did earlier to check to unlock status. To get there again Execute the command “adb reboot bootloader”. Similarly, while holding the volume down and power keys at the same time, you could start up the device to boot into the bootloader. Now enlighten your command line to the file directory with the flash-all script and then run your script.

On Unix/Mac, run “./”

On Windows, run “flash-all.bat”


You will be able to see that script running on-screen. It could take up to a few minutes for the image to install. The script will automatically reboot your phone when after the image is installed. The first boot could take a while and you have to wait about 10 minutes before confirming that you’ve entered a bootloop.

If the flash-all script not working on the devices, you should flash all of the images manually. It requires a few extra steps to assure your device is in the proper bootloader state. Then follow these instructions:

First, flash the bootloader, reboot, next radio, and then reboot the bootloader again:

Fastboot flash bootloader <bootloader file name here>.img

Fastboot reboot-bootloader

Fastboot flash radio <radio file name here>.img

Fastboot reboot-bootloader

Flash the image:

Fastboot flash -w update <image file name here>.zip

If it doesn’t happen automatically, manually reboot your device.

Fastboot reboot

You should have Android 9 Pie, after the device boots. If you chose to renew the flash-all script, all of your data should be solid.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.