Following the great success of the original Moto G and the 2nd Gen. Moto G, the best-seller for Motorola, the company has now released the 3rd generation of the phone. The Moto G is known for offering outstanding features and performance at an incredible price and this factor is the greatest reason behind its success. Moreover, Moto G has already been updated to the latest firmware 5.1.1 and its users are waiting for the next update.

The new Moto G brings exciting improvements over its predecessor and sports a 5.0-inch Corning Gorilla Glass 3 screen. It has a 720 x 1280 HD display and comes in both 1GB and 2GB RAM. Moto G 3rd Gen comes with 1.4 GHz Qualcomm MSM8916 Snapdragon 410 processor and possesses an Adreno 306 GPU.

It supports microSD slot expandable up to 32GB with 8/16 GB Internal memory. The primary camera of 13 MP secondary camera of 5 MP is an advantage over its predecessors and 2070 mAh battery makes it last longer. The phone comes with the latest Android 5.1.1 version and will be updated to Android M.

If you have for any reason flashed a custom ROM, unlocked the bootloader or have made changes to the system and want to restore your Moto G 3rd Gen to stock firmware then this detailed guide will help you do just that.

The Moto G 2015 is already available and if you have already got hold of it, bookmark this tutorial for future reference. Suppose you have a rooted Moto G and you have also installed a custom recovery, you might get into a situation at some point of time when you’ll have to flash the official firmware to recover your phone.

If you have for any reason flashed a custom ROM, unlocked the bootloader or have made changes to the system and want to restore the stock firmware and lock the bootloader then this guide will help you do just that. By installing the stock firmware, you can unroot your device and return to stock recovery.


XT1540 [5.1.1]

XT1541 [5.1.1]

XT1542 [5.1.1]

XT1543 (DUAL SIM) [5.1.1]

XT1544 (DUAL SIM with HDTV)[5.1.1]

XT1548 (CDMA)

XT1550 (DUAL SIM) [5.1.1]


The method described below has been tested. However, we do not hold any responsibility for a happy ending in all cases. Just follow the guide carefully and at your own risk.

Getting Prepared

  • Download the specific 3 rd Gen. Moto G 2015 firmware from the above Downloads section for your variant.
  • Download mini fastboot kit: 
  • Download and install Motorola USB Drivers (alternate link) your computer.
  • Enable USB Debugging on your Moto G 2015: go to Settings> About and tab Build version 7 times to unlock Developer options. The go to Settings> Developer options and enable USB Debugging.
  • Backup your apps and data as flashing the firmware would wipe them all. Use these apps to backup your data.
  • Last but not the least, charge your phone to ensure at least 70% battery.

Restore Moto G 2015 to Stock

  1. Download the firmware file and extract it to a folder.
  2. Extract and copy its content to the same folder where the extracted firmware files exist.
  3. Reboot your Moto G into the Bootloader Mode. You can do it using either of the methods given below:
    • Turn off your phone and then press and hold the Volume Down + Power buttons simultaneously for a few seconds.
    • Connect your Moto G to the computer using the USB cable. Open the firmware folder where you have copied the mfastboot files. Launch a command window, type the following command and press the Enter key:
      adb reboot-bootloader
  4. Now here is how to flash the stock firmware. Make sure the device is connected via USB cable and launch a command window from inside the firmware folder and type the following commands one by one:
    mfastboot flash partition gpt.bin
    mfastboot flash motoboot motoboot.img
    mfastboot flash logo logo.bin
    mfastboot flash boot boot.img
    mfastboot flash recovery recovery.img
    mfastboot flash system system.img_sparsechunk.1
    mfastboot flash system system.img_sparsechunk.2
    mfastboot flash system system.img_sparsechunk.3
    mfastboot flash modem NON-HLOS.bin
    mfastboot erase modemst1 
    mfastboot erase modemst2 
    mfastboot flash fsg fsg.mbn
    mfastboot erase cache 
    mfastboot erase userdata
  5. If you also want to lock your phone’s bootloader, type the following command and hit the Enter key:
    mfastboot oem lock
  6. Finally, reboot your device by typing:
    mfastboot reboot
  7. Your Moto G will reboot now but if it is unable to pass the boot screen, try this: turn off the device, go to Bootloader mode, launch command window wipe cache and user data by issuing these commands:
    mfastboot erase cache 
    mfastboot erase userdata
    mfastboot reboot
  8. To re-lock the bootloader on your Moto G 2015, type the following command and hit the Enter key:
    mfastboot oem lock

Wait till your phone boots up. Done! You have successfully restored your Moto G 2015 to stock! If you have any queries the get to us via the comments section.