How to Flash a Pixel Factory Image (Android Flash Tool and Fastboot)
You can flash Pixel factory image files in two official ways: in your web browser with Google’s Android Flash Tool, or manually with fastboot and the flash-all script that comes inside the image. Both methods need an unlocked bootloader and both erase everything on the phone, so back up first. This guide covers both methods, the codename you need, relocking, and the errors that stop most flashes.
What a Pixel Factory Image Is
A factory image is the complete official software for one Pixel model in a ZIP file: bootloader, radio (modem) firmware and the Android system. Google publishes them on its Factory Images for Nexus and Pixel Devices page. Flashing one returns the phone to stock software, which helps when a Pixel will not boot, when you leave a beta, or when you need a specific (even older) build.
Google says that when it fits your goal, sideloading a full OTA image is usually easier and safer. It has the same effect as the matching factory image but needs no bootloader unlock and does not wipe the phone.
Which official method should you use?
| Method | Bootloader unlock | Erases data | Best for |
|---|---|---|---|
| Pixel Update and Software Repair | Not needed | Not designed to, but back up anyway | Reinstalling or updating the current software. It cannot downgrade. |
| Full OTA sideload | Not needed | No | Fixing a failed update |
| Factory image (Android Flash Tool or fastboot) | Needed | Yes | Any listed build, older builds, leaving a beta, deep software problems |
If you only want to repair the current software, try Pixel Update and Software Repair first. You need a computer and a USB cable, then you follow the on-screen steps.
Requirements
- A supported Pixel. Android Flash Tool supports Pixel 2 and newer phones.
- A computer with a WebUSB browser such as Google Chrome or Microsoft Edge 79 or newer (for Android Flash Tool).
- The Google USB Driver on Windows. Google says it is required for adb on Windows with Google devices. macOS and Linux do not need a USB driver. See our Android USB driver guide for Windows 11 if the phone is not detected.
- The latest SDK Platform-Tools (adb and fastboot) for the manual method, from the official Platform-Tools page. The newest stable version listed in November 2026 is 37.0.1 (July 2026).
- A good USB cable plugged straight into the computer, with no hub or adapter.
- A full backup, because unlocking and flashing erase photos, apps and settings.
- At least 75% battery, the level Google asks for before system updates.
- OEM unlocking must be available. On some carrier SIM-locked phones the bootloader cannot be unlocked at all.
Find your Pixel’s codename
Every factory image file name starts with a codename. Download only the image whose codename matches your phone.
| Series | Model: codename |
|---|---|
| Pixel 6 | Pixel 6: oriole, Pixel 6 Pro: raven, Pixel 6a: bluejay |
| Pixel 7 | Pixel 7: panther, Pixel 7 Pro: cheetah, Pixel 7a: lynx |
| Fold and Tablet | Pixel Fold: felix, Pixel Tablet: tangorpro |
| Pixel 8 | Pixel 8: shiba, Pixel 8 Pro: husky, Pixel 8a: akita |
| Pixel 9 | Pixel 9: tokay, Pixel 9 Pro: caiman, Pixel 9 Pro XL: komodo, Pixel 9 Pro Fold: comet, Pixel 9a: tegu |
| Pixel 10 | Pixel 10: frankel, Pixel 10 Pro: blazer, Pixel 10 Pro XL: mustang, Pixel 10 Pro Fold: rango, Pixel 10a: stallion |
| Pixel 11 | Pixel 11: cubs, Pixel 11 Pro: grizzly, Pixel 11 Pro XL: kodiak, Pixel 11 Pro Fold: yogi |
Method 1: Flash a Pixel Factory Image with Android Flash Tool
Android Flash Tool is Google’s own website. It downloads and flashes the image for you, with no tools to install.
- On the phone, open Settings > About phone and tap Build number seven times to turn on Developer options.
- Open Settings > System > Developer options and turn on OEM unlocking and USB debugging.
- Connect the phone to the computer. If adb is already running on the computer, stop it with
adb kill-server, because the browser needs the USB connection. - Open Android Flash Tool in Chrome or Edge and click Allow ADB access.
- Click Add new device, select your Pixel and click Connect. On the phone, tick Always allow from this computer and tap OK.
- Select the connected phone in the browser. If the bootloader is still locked, the tool guides you through unlocking it. Warning: unlocking erases all data.
- Choose a build from the list. To simply return to the current public release, Google offers a shortcut at flash.android.com/back-to-public.
- Check the options (for example wiping the device or force-flashing all partitions), then click Install. The phone reboots into fastboot mode by itself. Do not touch the cable.
- When Flash Complete appears, disconnect the phone. It boots into the new build.
On a new computer the browser asks you to select the phone again mid-way. This is normal and happens only once.
Method 2: Flash Manually with Fastboot
Use this when the browser method fails or you want full control. Our fastboot commands list explains each command.
- Download SDK Platform-Tools for your computer and extract it. Open a terminal or Command Prompt in that folder.
- Download the factory image ZIP for your codename from Google’s factory images page, check the SHA-256 checksum, and extract it. You get
flash-all.bat(Windows),flash-all.sh(macOS and Linux), the bootloader and radio images, and animage-....zipfile. Copy them into the Platform-Tools folder or add that folder to your PATH. - Turn on OEM unlocking and USB debugging as in Method 1.
- Restart into fastboot mode with
adb reboot bootloader. If the phone will not start, turn it off and hold Volume Down + Power (Pixel 6 and later) for up to 30 seconds until the Fastboot mode screen appears. - Run
fastboot devices. A serial number means the connection works. - Unlock the bootloader with
fastboot flashing unlockand confirm on the phone with the volume and power buttons. This erases all user data. Skip this step if the bootloader is already unlocked. - Run the script:
flash-all.baton Windows or./flash-all.shon macOS and Linux. It flashes the bootloader, restarts into the bootloader, flashes the radio, restarts again and finally runsfastboot -w update image-....zip. The-woption wipes user data. - Wait until the phone restarts into Android. Do not close the window or unplug the cable while the script is running.
Relock the Bootloader
Google recommends relocking the bootloader when the flash is complete. Do it before you set the phone up, because locking also resets the device.
- Make sure the official build starts normally.
- Restart into fastboot mode with
adb reboot bootloaderor the button combination. - Run
fastboot flashing lockand confirm on the phone. - Let the phone reset and start, then set it up and restore your backup.
Relock only while unmodified Google software is installed.
Older Builds That Will Not Flash (Anti-Rollback)
Some monthly updates raise the bootloader’s anti-rollback version, after which older builds cannot be flashed and booted. Google lists two cases:
- Pixel 10, 10 Pro, 10 Pro XL and 10 Pro Fold: after the May 2026 update, older Android 16 builds will not flash and boot.
- Pixel 6, 6 Pro, 6a, 8, 8 Pro and 8a: after the May 2025 update, older Android 15 builds will not flash and boot.
For these builds, Google recommends that after the phone first boots the new build, you sideload the full OTA image of the same build and reboot, so that both slots hold a bootable image.
Troubleshooting
The browser or fastboot does not find the phone
Try another cable and a port directly on the computer, preferably a rear USB-A port. On Windows, install the Google USB Driver. Close other programs that use adb.
OEM unlocking is greyed out
Connect the phone to the internet and wait so it can check in. If the option is still grey, Google suggests dialing *#*#CHECKIN#*#*. If it stays unavailable, the carrier has probably locked the phone and the bootloader cannot be unlocked.
The flash stopped halfway or the phone will not boot
Turn the phone off, hold Volume Down + Power to enter fastboot mode, and flash again with the same tool. You can skip the adb steps because the phone is already in fastboot mode. If it still loops, see our boot loop fixes.
flash-all.sh stops with a fastboot version message
The script checks the fastboot version before it starts. Download the latest Platform-Tools and run the script again.
Related Guides
- Fastboot Commands List Explained (With Examples)
- Android USB Driver for Windows 11 (All Major Brands)
- Phone Stuck in a Boot Loop? Universal Fixes for Android Phones
- Android 17: Release Date, Features and Supported Phones
- Restore Google Pixel XL to Stock / Flash Factory Images
FAQ
Does flashing a Pixel factory image erase my data?
Yes. Google states that flashing a factory image requires a full device reset. Unlocking the bootloader also erases the phone, and the flash-all script uses -w, which wipes user data.
Can I flash a factory image without unlocking the bootloader?
No. If your bootloader is locked and you only want to fix or reinstall the current software, sideload the full OTA image or use Pixel Update and Software Repair. Neither of these needs an unlocked bootloader.
Does relocking the bootloader wipe the phone again?
Yes. fastboot flashing lock locks the bootloader and resets the device, so relock before you restore your data.
Can I use Android Flash Tool to install an older Android version?
Yes, if Google still lists that build for your model and anti-rollback does not block it. Pixel 11 phones launched with Android 17, so there is no Android 16 build for them.
https://droid-developers.com/flash-pixel-factory-image/https://droid-developers.com/wp-content/uploads/2026/11/flash-pixel-factory-image-featured-1024x538.jpghttps://droid-developers.com/wp-content/uploads/2026/11/flash-pixel-factory-image-featured-150x150.jpgFlash ToolsHow ToStock RomYou can flash Pixel factory image files in two official ways: in your web browser with Google's Android Flash Tool, or manually with fastboot and the flash-all script that comes inside the image. Both methods need an unlocked bootloader and both erase everything on the phone, so back up...Fahim MahmudFahim Mahmud[email protected]AdministratorDroid-Developers
Leave a Reply