KitKat Factory Images for All Nexus Devices
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.

Factory images for Google Pixel Watch
devices are also available.

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


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.
Start the device in fastboot mode with one of the following methods:


Using the adb tool:
With the device powered on, execute:
adb reboot bootloader

Using a key combo: Turn the device off, then turn it on and immediately
hold down the relevant
key combination
for your device.

Flash the Android 13 bootloader to the inactive slot. The following command
is specific to a particular build of a Pixel 6 Pro device. Substitute the
name of the bootloader image determined in the first step above, if
different, for the image file name argument.
    fastboot --slot=other flash bootloader bootloader-raven-slider-1.2-8739948.img

If the flash was successful this command will print OKAY [ ... ]. Do not
proceed unless this command completes successfully.
After flashing the inactive slot bootloader to an Android 13 bootloader,
reboot to that slot to ensure that the bootloader will be marked as
bootable. Important: Please run the exact sequence of commands as listed
below. Don't forget to enter the full line fastboot reboot bootloader when
rebooting. Failure to do so may leave your device in an unbootable state.
    fastboot set_active other
    fastboot reboot bootloader
    fastboot set_active other
    fastboot reboot bootloader

Reboot into the current OS. Either press the power button to boot or use the
following fastboot command:
    fastboot reboot



Terms and conditions

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.




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


  

  
