Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "Fastboot Tool Ver 7.0"
- fastboot $* getvar product 2>&1 | grep "^product: WT86047"|| fastboot $* getvar product 2>&1 | grep "^product: WT88047"|| fastboot $* getvar product 2>&1 | grep "^product: MSM8916"
- if [ $? -ne 0 ] ; then echo "Missmatching image and device"; exit 1; fi
- fastboot $* flash partition `dirname $0`/images/gpt_both0.bin
- fastboot $* flash tz `dirname $0`/images/tz.mbn
- fastboot $* flash sbl1 `dirname $0`/images/sbl1.mbn
- fastboot $* flash rpm `dirname $0`/images/rpm.mbn
- fastboot $* flash aboot `dirname $0`/images/emmc_appsboot.mbn
- fastboot $* flash hyp `dirname $0`/images/hyp.mbn
- fastboot $* flash tzbak `dirname $0`/images/tz.mbn
- fastboot $* flash sbl1bak `dirname $0`/images/sbl1.mbn
- fastboot $* flash rpmbak `dirname $0`/images/rpm.mbn
- fastboot $* flash abootbak `dirname $0`/images/emmc_appsboot.mbn
- fastboot $* flash hypbak `dirname $0`/images/hyp.mbn
- fastboot $* erase boot
- fastboot $* flash modem `dirname $0`/images/NON-HLOS.bin
- fastboot $* flash system `dirname $0`/images/system.img
- fastboot $* flash cache `dirname $0`/images/cache.img
- fastboot $* flash userdata `dirname $0`/images/userdata.img
- fastboot $* flash recovery `dirname $0`/images/recovery.img
- fastboot $* flash boot `dirname $0`/images/boot.img
- fastboot $* flash persist `dirname $0`/images/persist.img
- fastboot $* flash sec `dirname $0`/images/sec.dat
- fastboot $* flash splash `dirname $0`/images/splash.img
- fastboot $* reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement