This Motorola Moto G official firmware flash file (stock ROM) can help you easily un-brick or restore your device to its default or factory state.

If you have previously rooted or modified the system (or other) partition of the phone in any way, flashing this stock ROM will overwrite all existing modified system files to replace with factory software.

If you have you have important data on the phone (like contacts, messages, app data, etc), please back them up because you could loose data after flashing.

Charge the phone to at least 50% so that the flashing process will not be interrupted by low battery. Interrupting the firmware installation means bricking your phone.

Download the firmware file from the link below and follow the recommended flashing instructions immediately after the download options. Please report any broken links discovered.

Download Motorola Moto G firmware

Moto G XT1039 Firmware

File Name XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml.zip
Size 588MB
Android version 5.1
Firmware Download

Moto G 4G XT1040 Firmware

File Name XT1040_PEREGRINE_RETBR_5.1_LPBS23.13-35.5-1_cid12_CFC.xml
Size 588 MB
Android version 5.1
Firmware Download

Moto G XT1032 Firmware

File Name XT1032_FALCON_RETBR_5.1_LPBS23.13-56-2_cid12_CFC.xml.zip
Size 557 MB
Android version 5.1
Firmware Download

Moto G XT1033 Firmware

File Name XT1033_FALCON_RETBR_DS_5.1_LPBS23.13-56-2_cid12_CFC.xml.zip
Size 557 MB
Android version 5.1
Firmware Download

Important! Always backup existing firmware before flashing any firmware.

How to flash Motorola Moto G firmware via fastboot

To flash Motorola official factory firmware via fastboot- boot your phone into fastboot mode (press and hold volume down + power button simultaneously); connect USB cable to phone and then Computer. Now run the following commands via command window, ONE BY ONE. See how to install ADB and Fastboot drivers.

Note: Don’t copy/paste and run the entire fastboot commands. The file names here may differ from the firmware you have download and this will brick your phone. And if you brick your phone, that’s entire your fault. Also be sure that you’re flashing the correct firmware that matches your phone build number.

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 system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

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 erase clogo

fastboot oem fb_mode_clear

fastboot reboot

If you have any questions or other contribution please post in comments section for assistance.