How to Restore Moto G 2014 to Stock Firmware and Lock the Bootloader

Moto G 2014 is launched at IFA 2014 event which was held this month. Moto G 2014 aka Moto G 2nd Gen is the successor to the Moto G which was launched in November last year. Moto G 2014 features a 5 inch IPS LCD capacitive touch screen display with 720 x 1280 pixels resolution. It is powered by 1.2 GHz Quad-Core Cortex-A7 processor coupled with 1GB RAM and 8/16 GB onboard storage, which is expandable up to 32GB via microSD card. Moto G 2014 runs on Android 4.4.4 Kitkat firmware.

Restore Moto G 2014 to Stock Firmware and Lock the BootloaderHow to Install TWRP Recovery on Moto G 2nd Gen (Moto G 2014) – Guide Motorola Moto G 2014 Root Moto G 2nd Gen (Moto G 2014)

Earlier we have written on How to install TWRP Recovery on Moto G 2014 and Root Moto G 2014 and today we have brought a method to restore Moto G 2014 to Stock firmware and re-lock the Bootloader. So if you are in a situation where you want to claim your warranty and want to relock the Bootloader then follow the below procedure.

Pre Requisites:

  • Backup your apps, data etc. to a safe location, as we are going to flash the stock ROM, which will erase all of your data.
  • Charge your device to at least 75%, to avoid it from shutting down in between the flashing process.
  • Make sure USB Debugging is enabled on your device.
  • Download and install USB Drivers suitable for your device from here.


We should not be held liable or responsible in any manner for any damage occurred to your Moto G 2014. So understand the risk involved and proceed further at your own risk.

How to Restore Moto G 2014 to Stock Firmware and lock bootloader:

1. Download the Moto G 2014 Stock firmware (XT1063, XT1064, XT1068, XT1069) from here to your PC and extract it to a folder.

2. Download mini fastboot kit from here to your PC and extract it to the same folder where firmware file exists. [Mirror]

3. Power off Moto G 2014.

4. Enter into Bootloader Mode. To do so, press and hold Volume Down + Power button simultaneously for few seconds.

5. Connect Moto G 2014 to PC using OEM data cable.

6. Open the folder where you have extracted the mfastboot files and press and hold the Shift Key and right click anywhere at the empty space and from the list select open command window here.

7. Now a Command Prompt will open.

8. Now in CMD type: adb reboot-bootloader

9. Now open the command window from inside the firmware folder and type the following commands one by one and press enter after each command:

10 If you want to lock the bootloader of your device then type the following command and press enter. mfastboot.exe oem lock

11. Now reboot your device by issuing the following command: mfastboot.exe reboot

12. Now Moto G 2014 will reboot. If it stuck or unable to pass the bootloader, then power off Moto G 2014 and enter into Bootloader Mode and issue the following commands: mfastboot.exe erase cache

13. That’s all now you have successfully restored Moto G 2014 to Stock Firmware and locked the Bootloader.

Do let us know in the comment section if you face any issues, while trying to restore Moto G 2014 to Stock Firmware and Lock the Bootloader.