Created
October 6, 2015 03:42
-
-
Save chipcerio/b0f87b7ae6dbab346575 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WARNING!!! | |
# flashing factory images using this method erases the user data | |
# including third-party apps installed | |
# make sure you have downloaded the Android SDK to perform adb & fastboot commands | |
$ adb reboot bootloader | |
# some devices may not have radio.img | |
$ fastboot flash bootloader bootloader.img | |
$ fastboot flash radio radio.img | |
# DO NOT skip this step | |
$ fastboot reboot-bootloader | |
$ fastboot flash recovery recovery.img | |
$ fastboot flash boot boot.img | |
$ fastboot flash system system.img | |
# for Nexus 9 only | |
$ fastboot flash vendor vendor.img | |
$ fastboot flash cache cache.img | |
$ fastboot flash userdata userdata.img | |
# profit! | |
$ fastboot reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment