Factory Images for Nexus and Pixel Devices

This page contains binary image files that allow you to restore your Nexus or Pixel device's original factory firmware. You will find these files useful if you have flashed custom builds on your device, and wish to return your device to its factory state.

Note that it's typically easier and safer to sideload the full OTA image instead.

If you do use a factory image, please make sure that you re-lock your bootloader when the process is complete.

These files are for use only on your personal Nexus or Pixel devices and may not be disassembled, decompiled, reverse engineered, modified or redistributed by you or used in any way except as specifically set forth in the license terms that came with your device.

Updating Pixel 6, Pixel 6 Pro, and Pixel 6a devices to Android 13 for the first time

After taking an Android 13 update and successfully booting the device post update, an Android 12 build resides in the inactive slot (seamless updates for more information on slots) of the device. The inactive slot contains an older bootloader whose anti-rollback version has not been incremented. If the active slot is then flashed with a build that fails to boot, the fallback mechanism of seamless updates kicks in and the device tries to boot from the inactive slot. Since the inactive slot contains the older bootloader, the device enters an unbootable state.

To avoid hitting this state, if you are flashing a Pixel 6, Pixel 6a, or Pixel 6 Pro device with an Android 13 build for the first time, please flash the bootloader partition to the inactive slot after successfully updating and booting into Android 13 at least once. This can be done by following these steps:

Option 1 (recommended): After a successful boot into Android 13 for the first time, sideload the full OTA image corresponding to that build and reboot the device to ensure that both slots have a bootable image.

Option 2 (using factory images): If you flashed your device with the factory image after unlocking the bootloader, after a successful boot into Android 13 for the first time

  1. Check on current active slot:

        adb reboot fastboot
        fastboot getvar current-slot
    

    If the command above returns the current-slot as ‘a’, your active slot should be ‘a’ and the other slot is ‘b’, if not, your active slot is ‘b’ and the other slot is ‘a’.

  2. Extract the contents of the factory ROM .zip file, identify the bootloader image in the extracted files, and follow the sequence of events as listed below to flash the bootloader to both the slots. Substitute the name of the bootloader image with that of your device for the Pixel 6 and Pixel 6a.

  3. The commands listed below show the steps that should be followed for a Pixel 6 Pro device. Substitute the name of the bootloader image for the Pixel 6 and Pixel 6a if you are using those devices.

        # If your active slot is ‘a’
        fastboot --slot=other flash bootloader bootloader-raven-slider-1.2-8739948.img
        fastboot set_active b
        fastboot reboot bootloader
        fastboot set_active a
        fastboot reboot bootloader
        fastboot reboot
    
        # If your active slot is ‘b’
        fastboot --slot=other flash bootloader bootloader-raven-slider-1.2-8739948.img
        fastboot set_active a
        fastboot reboot bootloader
        fastboot set_active b
        fastboot reboot bootloader
        fastboot reboot
    

While it may be possible to restore certain data backed up to your Google Account, apps and their associated data will be uninstalled. Before proceeding, please ensure that data you would like to retain is backed up to your Google Account.

Downloading of the system image and use of the device software is subject to the Google Terms of Service. By continuing, you agree to the Google Terms of Service and Privacy Policy. Your downloading of the system image and use of the device software may also be subject to certain third-party terms of service, which can be found in Settings > About phone > Legal information, or as otherwise provided.

Acknowledge I have read and agree with the above terms and conditions.