Last active
August 29, 2015 14:22
-
-
Save nhirata/fb70d9fb747b25c0b6ec to your computer and use it in GitHub Desktop.
flashimg.sh
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
#!/bin/sh | |
adb reboot bootloader | |
fastboot devices | |
fastboot flash system system.img | |
fastboot flash boot boot.img | |
fastboot flash userdata userdata.img | |
fastboot flash cache cache.img | |
fastboot flash recovery recovery.img | |
fastboot reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment