【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"