fastboot flash image usage

//
// power on mobile phone
//
power on mobile phone

//
// reboot bootloader
//
android/out/host/linux-x86/bin$ sudo adb reboot bootloader

//
// flash lk image
//
android/out/host/linux-x86/bin$ sudo fastboot flash aboot ~/working_space/XXX_project/android/out/target/product/msm8937_64/emmc_appsboot.mbn

//
// flash boot image
//
android/out/host/linux-x86/bin$ sudo fastboot flash boot ~/working_space/XXX_project/android/out/target/product/msm8937_64/boot.img

//
// flash system image
//
android/out$ sudo fastboot flash system ~/working_space/XXX_project/android/out/target/product/msm8937_64/system.img

...
...
...

//
// reboot
//
android/out/host/linux-x86/bin$ sudo fastboot reboot

posted @ 2017-09-26 22:16  wangchangruei  阅读(603)  评论(0编辑  收藏  举报