This page contains binary image files that allow you to restore your Nexus device's original factory firmware. You will find these files useful if you have used the
Android Open-Source Project, flashed custom builds on your device, and wish to return that device to its factory state.
These files are for use only on your personal Nexus 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.
Flashing InstructionsTo flash a device using one of the system images below (or one of your own), you need the latest fastboot tool. You can get it from one of the sources below.
Once you have the fastboot tool, add it to your PATH environment variable (the flash-all script below must be able to find it). Also be certain that you've set up USB access for your device, as described in the
Using Hardware Devicesguide.
Caution: Flashing a new system image deletes all user data. Be certain to first backup any personal data such as photos.
To flash a system image:
- Download the appropriate system image for your device below, then unzip it to a safe directory.
- Connect your device to your computer over USB.
- 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. For example, to put a Nexus 5 ("hammerhead") into fastboot mode, press and hold Volume Up + Volume Down + Power as the device begins booting up.
- If necessary, unlock the device's bootloader by running:fastboot flashing unlockor, for older devices, running:fastboot oem unlockThe target device will show you a confirmation screen. (This erases all data on the target device.)
- Open a terminal and navigate to the unzipped system image directory.
- Execute the flash-all script. This script installs the necessary bootloader, baseband firmware(s), and operating system.
Once the script finishes, your device reboots. You should now lock the bootloader for security:
- Start the device in fastboot mode again, as described above.
- Execute:fastboot flashing lockor, for older devices, running:fastboot oem lock
Locking bootloader will wipe the data on some devices. After locking the bootloader, if you want to flash the device again, you must run fastboot oem unlock again, which will wipe the data.
"ryu" for Pixel CVersion | Download | MD5 Checksum | SHA-1 Checksum |
6.0.1 (MXB48J) | Link | 133f378c8ec34fd63c0a4018b80245bd | 0abf3abeec0c5048da293af33fa5db5d19ca5bb7 |
6.0.1 (MXB48K) | Link | 2cc2f1af72ee6d758989e68e44d065af | 8ff1217af54384e93949e4d811156f5cf02608c6 |
6.0.1 (MXB48T) | Link | c624cb301321975d0689cb8172d47151 | 43820b34778fa95c188556c73b26e91c728cbfd0 |
"angler" for Nexus 6PVersion | Download | MD5 Checksum | SHA-1 Checksum |
6.0.0 (MDA89D) | Link | 896bd9f0c04e7cc027ea979b753cdb1c | 956d70f72e35ac3f110c3d0fdcb3a780b44da182 |
6.0.0 (MDB08K) | Link | 7d184642424e183ec77324dc6576aee8 | 5719a7795e8c1edf8c285a3046830f8c0f0870ec |
6.0.0 (MDB08L) | Link | a4c98cfc6a7f50dc6989603bc07e1841 | 7294b489a9cb931f9b3b98adbbd73da39bc966df |
6.0.0 (MDB08M) | Link | f7464cbaa4bfff29c551a8de92882b01 | dbc179403ce935ae9a0cb5297cae4a39e3e5de5d |
6.0.0 (MMB29N) | Link | 6f7a77005d4b73792108f68152f9b250 | b1463752d920c8b2c500ecdf246335aff8620aeb |
6.0.1 (MMB29M) | Link | 86bcc1c70e52d51b305e8449a1efc046 | 8c31db3ff02fb5226799eb5f456c6a69986ea752 |
6.0.1 (MMB29P) | Link | 793a9d79b93e6427af96166777147457 | 25ed956019fb15e9b7f36959d25dd0954ac2b863 |
6.0.1 (MMB29Q) | Link | bc44a06770f886c6896daecef2bd7d77 | 239acdde53f32709b801247f95349dc3d0750459 |
"bullhead" for Nexus 5XVersion | Download | MD5 Checksum | SHA-1 Checksum |
6.0.0 (MDA89E) | Link | 1da307ca29aac7fab620c463fc936a94 | 29247942177a9a083548c6a95e60c3547199665b |
6.0.0 (MDB08I) | Link | d1c8f63a4e449868d533c324c79b615e | 64536fcf713b219acf18a23157fa0d253ed2f059 |
6.0.0 (MDB08L) | Link | c387484c8206e61ffe58f548ce01acff | b3f1796524301a02b82074c5509900d60ff4c152 |
6.0.0 (MDB08M) | Link | f5233f827a44f99e26722e349f3c9445 | 5867cc27a23257a47688fe180ec272f1152ddde2 |
6.0.1 (MMB29K) | Link | b0dc5f572f5ec6cb58aeebef487211a2 | a5eaf7150ee2dbe78901a2f9c515a8de2cf3a37b |
6.0.1 (MMB29P) | Link | de5566e931c290d3bfeba8cc55e46649 | b3dae7eb2ff8e2dca81888a23f31a6d1c1b7a88a |
6.0.1 (MMB29Q) | Link | c13147e7be70c2b4e03451709b066812 | 197bd207b357f7e6c7d1df435833910c9bc44fa3 |