Advertisement
metalx1000

Moto G 2014 Titan - Flash Stock Images

Oct 14th, 2019
783
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.71 KB | None | 0 0
  1. #!/bin/sh
  2. ######################################################################
  3. #Copyright (C) 2019  Kris Occhipinti
  4. #https://filmsbykris.com
  5.  
  6. #This program is free software: you can redistribute it and/or modify
  7. #it under the terms of the GNU General Public License as published by
  8. #the Free Software Foundation, either version 3 of the License, or
  9. #(at your option) any later version.
  10.  
  11. #This program is distributed in the hope that it will be useful,
  12. #but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. #GNU General Public License for more details.
  15.  
  16. #You should have received a copy of the GNU General Public License
  17. #along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18. ######################################################################
  19.  
  20. #Motorola Moto G 2014 flash all stock images
  21.  
  22. fastboot flash partition gpt.bin
  23. fastboot reboot-bootloader
  24.  
  25. sleep 5
  26.  
  27. echo "FLASHING BOOTLOADER..."
  28. fastboot flash motoboot motoboot.img
  29.  
  30. echo "FLASHING LOGO..."
  31. fastboot flash logo logo.bin
  32.  
  33. echo "FLASHING BOOT IMG..."
  34. fastboot flash boot boot.img
  35.  
  36. echo "FLASHING RECOVERY IMG..."
  37. fastboot flash recovery recovery.img
  38.  
  39. echo "FLASHING SYSTEM IMG..."
  40. fastboot flash system system.img_sparsechunk.0                                                  
  41. fastboot flash system system.img_sparsechunk.1
  42. fastboot flash system system.img_sparsechunk.2
  43. fastboot flash system system.img_sparsechunk.3
  44.  
  45. echo "FLASHING MODEM..."
  46. fastboot flash modem NON-HLOS.bin
  47. fastboot erase modemst1
  48. fastboot erase modemst2
  49. fastboot flash fsg fsg.mbn
  50.  
  51. echo "ERASING CACHE..."
  52. fastboot erase cache
  53.  
  54. echo "REBOOTING..."
  55. fastboot reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement