Have you accidentally messed up your phone, removed the OS, don’t feel right on custom ROMs, or want to turn in your Moto G smartphone for servicing? Here today at DroidOrigin, we will assist you on, how to restore stock firmware on Moto G. The process is easy, and only requires you to flash the stock firmware/factory image via fastboot commands. The supported device list includes the following, in simple words, only the following could be restored using this tutorial.
- Moto G (1st, 2nd, & 3rd Gen)
- Moto G Turbo Edition
All you will need, is the factory image for your model and variant. Be careful while searching for this, flashing the wrong files may permanently damage your phone. The procedure is nearly same for all the devices and could be followed correctly with a little awareness.
Manually flashing firmware may soft-brick your Moto G if done wrong. DroidOrigin or any of its members shall not be held responsible for any damage to your phone. However, we will definitely assist you if you come across any such situation.
- Moto G 1st Gen Factory Images (Thanks to lost101): Link
- Moto G 2nd Gen Factory Images (Thanks to Lucas Eugene): Link
- Moto G 3rd Gen & Turbo Edition Factory Images (Thanks to lost101): Link
- Your Moto G must have an unlocked bootloader. If it doesn’t, follow the steps here.
- Install Motorola drivers: Link
- Install Android SDK on your Windows machine for ADB and fastboot. Alternatively, you can also use standalone package only if you know how to use it.
- This process will erase your device completely, so backup your phone completely, include the internal storage.
- Charge your Moto G to at least 60% battery level to avoid any sudden shut downs, during the procedure.
- Enable USB debugging on your Moto G. You can follow the steps here.
Restore Stock Firmware on Moto G
- Download the factory image corresponding to your Moto G variant and model. Extract the downloaded firmware.
- Go to the folder where the firmware has been extracted.
- On an empty space inside the folder, press SHIFT key and right-click on an empty space. Select Open command window here from the pop-up that appears.
- Connect your phone to the PC, and make sure it is unlocked. Enter the following command in the command-line window:
adb reboot bootloader
- Your Moto G smartphone will now enter bootloader mode. This is where we will flash the factory image.
- Once it has, make sure that fastboot detects your device by entering the following command:
- The above command will return an output with the device ID and mode-name.
- Enter the following commands now to flash the factory image. There may be a chance that your device or variant has an extra or a less number of system.img_sparsechunk file, so make sure to flash accordingly. If you are downgrading your Moto G’s firmware, do not flash gpt.bin and bootloader.img/motoboot.img file.
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 modemst1 fastboot erase modemst2 fastboot flash fsg fsg.mbn fastboot erase cache fastboot erase userdata fastboot erase customize fastboot oem fb_mode_clear
- Once everything is done, reboot the phone:
Now this is how you can restore stock firmware on Moto G and its pretty easy for anyone to follow. If you have any queries or feel stuck, let us know via the comments below.