Advertisement
Guest User

Untitled

a guest
Sep 30th, 2020
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. echo "Fastboot Tool Ver 7.0"
  2.  
  3. fastboot $* getvar product 2>&1 | grep "^product: WT86047"|| fastboot $* getvar product 2>&1 | grep "^product: WT88047"|| fastboot $* getvar product 2>&1 | grep "^product: MSM8916"
  4.  
  5. if [ $? -ne 0 ] ; then echo "Missmatching image and device"; exit 1; fi
  6. fastboot $* flash partition `dirname $0`/images/gpt_both0.bin
  7. fastboot $* flash tz `dirname $0`/images/tz.mbn
  8. fastboot $* flash sbl1 `dirname $0`/images/sbl1.mbn
  9. fastboot $* flash rpm `dirname $0`/images/rpm.mbn
  10. fastboot $* flash aboot `dirname $0`/images/emmc_appsboot.mbn
  11. fastboot $* flash hyp `dirname $0`/images/hyp.mbn
  12.  
  13. fastboot $* flash tzbak `dirname $0`/images/tz.mbn
  14. fastboot $* flash sbl1bak `dirname $0`/images/sbl1.mbn
  15. fastboot $* flash rpmbak `dirname $0`/images/rpm.mbn
  16. fastboot $* flash abootbak `dirname $0`/images/emmc_appsboot.mbn
  17. fastboot $* flash hypbak `dirname $0`/images/hyp.mbn
  18.  
  19. fastboot $* erase boot
  20. fastboot $* flash modem `dirname $0`/images/NON-HLOS.bin
  21. fastboot $* flash system `dirname $0`/images/system.img
  22. fastboot $* flash cache `dirname $0`/images/cache.img
  23. fastboot $* flash userdata `dirname $0`/images/userdata.img
  24. fastboot $* flash recovery `dirname $0`/images/recovery.img
  25. fastboot $* flash boot `dirname $0`/images/boot.img
  26. fastboot $* flash persist `dirname $0`/images/persist.img
  27.  
  28. fastboot $* flash sec `dirname $0`/images/sec.dat
  29. fastboot $* flash splash `dirname $0`/images/splash.img
  30. fastboot $* reboot
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement