Stock firmware is very useful in many case like if you want to revert back to Stock Rom from any custom roms Like CM 12,Pac rom,Resurrection remix remix,Slim Lp and many more or is you faced any bootloop while flashing any custom roms or if you forget to take that stock nandroid backup while flashing any rom.
This will also help in unbricking your Moto G 3rd gen easily if you bricked it by flashing any wrong thing.So lets start the step by step guide to Flash Stock rom in Moto G 3rd gen.
Warning The author is not responsible, if you damage or brick your device. Do it at your own risk and follow the instructions properly.
Note:Only flash The Stock Rom of your device Variant.
►Included stock Firwmares are of XT1540 , XT1541 , XT1542 , XT1543 , XT1544 , XT1548 , XT1550 Motorola Moto G 3rd generation .
►Included both for 1GB and 2 GB variants.
#How to Install Stock Firmware of Moto G 3rd gen
5.Then Connect your device with your computer via usb cable.
6. Now Type the following command One by one in the command prompt.
NOTE: system.img_sparsechunks may differ in number + name – Always check contents of folder you’re working with.
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
7.Done! you have successfully Flash Stock firmware in your Moto G 3rd gen.