![How To Flash a Factory [.img] of Nexus Devices How To Flash a Factory [.img] of Nexus Devices](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbij24bBkOZ-IgVsGFZdfPSaKXlAjPyiN-m-6fKIxxv36VsERwCLBkyH4XeUmQ5JwzRe5EV_8WFKB_1eaYXH1KtjIDSDGG_21gZzv72heGxoGJ3Z7b6Lo-gmoxoZJewHsAqgxht8Hm8Ng/s1600/nexus_1.jpg)
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.
- Using the adb tool:
With the device powered on, execute:
- If necessary, unlock the device's bootloader by 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-allscript. This script installs the necessary bootloader, baseband firmware(s), and operating system.
- Start the device in fastboot mode again, as described above.
- Execute:
fastboot oem lock
fastboot oem unlock again, which will wipe the data.
Caution: Flashing a new system
image deletes all user data. Be certain to first backup any personal data such as photos.
0 comments:
Leave a Reply