Home » Download Stock Firmware of Moto G5 [Back To Stock, Unbrick, Fix Bootloop]
development download

Download Stock Firmware of Moto G5 [Back To Stock, Unbrick, Fix Bootloop]

The Moto G5 sports a 13-megapixel rear camera with PDAF (phase detection autofocus), an f/2.2 aperture  and dual-tone LED flash. The 5-megapixel front camera sports an 84-degree wide angle lens.It comes with Snapdragon 430 Octacore Processor.It comes with 2800 mAh battery capacity which can last for a day with mixed usage.You can expand its memory upto 128 GB via a micro SD-Card.In this article,we will guide you to install stock rom in your Moto G5.

Image result for Moto G5


Gammerson.com is not responsible for any damage happened to your device(s) while following this guide, Proceed at your own risk.


  • This method is only for the MOTO G5 .Donot try it on any other device.
  • It is advisable to take a backup of your device before proceeding further.
  • Ensure that your phone has at least 70-80% charged to prevent the accidental shutdown in-between the process.


  • Download Stock ROM for Moto G5 XT1677 CEDRIC NPP25.137-15 – Download
  • Download Stock Firmware for Moto G5 NPP25.137-33 XT1677 CEDRIC – Download, Mirror

2. Download Motorola Drivers

3.Minimal Adb fastboot Drivers

Steps to Install stock rom in Moto G5

1.Download Moto G5 and G5 Plus Stock Firmware from bottom of this page.

2.Now install Motorola Driver and ADb Fastboot driver on the desktop.Then extract stock firmware in the ADB fastboot folder.

3.Now Press Shift and Right click any where in the ADB fastboot folder and Click on open command prompt here.

4.Now Turn Of your device and turn on by pressing volume down button and Power button simultaneously until you boots into Bootloader as like below image.

5.Then Connect your device with your computer via usb cable.

  1. Now Type the following command One by one in the command prompt.

mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash dsp adspso.bin
mfastboot flash oem oem.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot erase customize
mfastboot erase clogo
mfastboot oem fb_mode_clear
mfastboot reboot

7.One done you have succesfully installed Stock rom in your Moto G5 plus or unbrick your device

If you find any problem regarding this, please let me know in the comment Box

About the author

Himalaya Saxena

A web developer, Tech Enthusiast, debugger, blogger, and programmer.
I have the thirst to learn and create :)

Add Comment

Click here to post a comment