How to Flash Stock Firmware Manually on Google Pixel & Pixel XL

Pixel and the Pixel XL are the newest smartphones from Google. These new devices mark a departure from the Nexus line and move up to the premium end of the market, both in terms of specifications and pricing. However, regarding development on these devices, there is not much change. Let us see how to install stock firmware (factory images) on Google Pixel and Pixel XL manually.

You might want to install factory images (stock firmware) on Google Pixel and Pixel XL for various reasons. Update the device to latest Android version, bricked while rooting or installing a custom recovery, problem updating the device via OTA etc. are the main reasons for installing stock firmware manually on Pixel and Pixel XL.

google-pixel

Below is the detailed guide on installing stock firmware on Pixel/Pixel XL. It will fix all the issues with your phone as well unroot it, if you already rooted it.

Before start note that the below method will wipe your device completely, so backup any important data you have on the phone before proceeding. The guide assumes that you have ADB and Fastboot setup on your computer.

How to Flash Stock Firmware Manually on Google Pixel & Pixel XL

1. Download Factory Images for Google Pixel (sailfish) and Pixel XL (marlin) from Google here.

2. Enable USB debugging and OEM Unlock on your Pixel device

3. Unlock the bootloader of your phone. To do so, connect your phone to your PC, then open a command window and issue the below commands one by one:

adb reboot bootloader
fastboot flashing unlock
fastboot reboot

4. Now, unzip the downloaded factory image and copy all the content to the ADB installation folder

5. Enable USB debugging, if not and then connect your Pixel phone to the PC with the USB cable.

6. Go to the ADB folder (where you have saved the unzipped firmware) and run (double click) the ‘flash-all.bat’ script

7. Your phone will start flashing the firmware. Once the process finished your phone will reboot.

Set up your device and enjoy! Any question? Leave it in the comment section below.

I'm Jayaprakash, an avid writer and web publisher since 2006. I’m enjoy reading web articles, tech magazines, tinkering with computers and mobile phones in my leisure time.

2 Comments

  1. Jonathan

    Dec 7, 2016 at 5:30 am

    I have a Verizon Pixel with unlocked bootloader. Will flashing the full stock image relock my bootloader?

    • Jayaprakash

      Dec 8, 2016 at 3:37 am

      No, flashing firmware will not lock the bootloader