Created
April 14, 2016 12:19
-
-
Save mthierry/6ec5533955d5b874645f967a14194f9f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#boot | |
#fastboot boot /usr2/Shared/android_ring1_ppgtt_bk/image/dist/bxt_rvp-flashfiles-eng.michelth/loader.efi | |
adb reboot bootloader | |
read -r -p "Continue flashing? [y/N] " response | |
response=${response,,} # tolower | |
if [[ $response =~ ^(yes|y)$ ]] | |
then | |
#fastboot oem unlock | |
sleep 5 | |
#flash | |
fastboot flash boot boot.img | |
fi | |
read -r -p "Reboot? [y/N] " response | |
response=${response,,} # tolower | |
if [[ $response =~ ^(yes|y)$ ]] | |
then | |
#flash | |
fastboot reboot | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment