How to Restore Stock Firmware on any Moto G series

Motorola has been finding it hard to sustain itself in this ever-evolving Android smartphone market. It can also not push out timely security or firmware updates for its devices. Note that Motorola brought in its iconic Razr phone in a new form factor. The clamshell phone has a foldable display, but it falls apart when it comes to the processor and camera, considering the device’s price. Back in the day, and, till now, the Moto G series is the best and most successful lineup Motorola could come up with. And if you own a Moto G series smartphone and are looking for ways to restore stock firmware on your device, then, you are at the right place.

As in this post, we will guide you on restoring the stock firmware on any Moto G series smartphone. If you are stuck with a buggy custom ROM or there are some important feature that is only available with the stock firmware, then, this guide is exactly for you. Moreover, the guide is easy to follow but we would recommend you to follow each of the steps in order any issues. So, without any further ado, let us take a look at the article itself;

featured motorola

How to Restore Stock Firmware on any Moto G series

Before we head-on with the procedure to restore the stock firmware on any Moto G series phone, let us take a look at the list of supported devices that this guide is helpful for:

  • Moto G (1st Gen)
  • Moto G (2nd Gen)
  • Moto G (3rd Gen)
  • Moto G4 (4th Gen)
  • Moto G5 and G5 Plus
  • Moto G5S and G5S Plus

Download Moto G Stock Firmware

Note that you need to download the correct firmware for your Moto G phone according to the model and variant. Because flashing the wrong firmware can permanently damage your device. You can press the below link to get the correct firmware for your Moto G series smartphone:


  • Note that you need to have an unlocked bootloader in order to flash stock firmware on your device.
  • You need to download the latest USB drivers for your phone.
  • Install SDK tools on your PC.
  • Make sure to backup your phone because this process will wipe off everything on your device.
  • Charge your Motorola smartphone to at least 60%.

Steps to Restock Firmware of Moto G

  1. Go to Settings then to About phone and find your build number.
  2. Enable the Developer Option on your device. To do this go to Settings>> About>> Software Information>> More. Tap on the Build Number 7-8 Times until you see a message “Developer option enabled”.
  3. Now head back to Settings>> Enable the OEM Unlock by going to Settings>> Developer Option and Enable USB Debugging.
  4. Now, download the factory image for your specific Moto G series phone.
  5. Extract the content of the file into the same folder where you have extracted the platform tools.
  6. Open the CMD or command prompt by pressing the Shift + Right-click combination on the same folder where you have extracted the contents of the ADB and Fastboot Tools.
  7. Type in the below commands in the CMD and press Enter;
    adb reboot bootloader
  8. Once your smartphone is in bootloader mode, you need to enter the following command:
    fastboot devices
  9. Your device’s serial number will be shown after entering the above command.
  10. Enter the below command to start flashing the stock firmware on your Moto G series phone. (Note that if you downgrading then your do not flash gpt.bin and bootloader.img/motoboot.img files.)
    fastboot oem fb_mode_set
    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 modemst1fastboot erase modemst2
    fastboot flash fsg fsg.mbn
    fastboot erase cache
    fastboot erase userdata
    fastboot erase customize
    fastboot oem fb_mode_clear
  11. Once everything is successfully done, enter the below command:
    fastboot reboot
  12. That’s it!

So, there you have it from my side in this post. I hope you guys liked this post and were able to restore the stock firmware of your Moto G Android smartphone. Moreover, you can go ahead and flash any custom recovery like TWRP to root your device and open the world of customizations. Let us know in the comments if you successfully restored the stock firmware using the above method or not. Until the next post…Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.