Flasher is a shell script generator which helps you to flash the Android factory image without removing user data.
You can use it instead of flash-all.sh
or flash-all.bat
.
You can install android-flasher with pip
$ pip install android-flasher
- Install.
- Move to the unzipped factory image directory.
- Execute
android-flasher
in terminal. - Now reboot and enter the bootloader.
- Execute the
flasher.sh
script.
If you meet an error like fastboot: command not found
, add following line in your .bash_profile
.
export PATH="/path/to/android/sdk/platform-tools:$PATH"
Warning: You need to unlock your device's bootloader first!
Copyright (c) 2015 Minsoo Park