【shell】分享高通平台刷版本简单的一个shell脚本

#!/bin/sh
adb wait-for-device
adb reboot bootloader
echo "start download"
wait 5
sudo fastboot flash boot boot.img
echo "\n"
sudo fastboot flash system system.img
echo "\n"
sudo fastboot flash userdata userdata.img
echo "\n"
sudo fastboot flash aboot emmc_appsboot.mbn
echo "\n"
sudo fastboot flash splash splash.img


sudo fastboot reboot

echo "finish\n"

posted @ 2017-07-27 17:14  爱啦啦  阅读(492)  评论(0编辑  收藏  举报