[GUIDE] Moto G - Restore stock firmware

Search This thread

Jamie Jackson

Member
Apr 26, 2010
24
0
Falls Church, VA
Convert Global GSM to US GSM?

Had the same problem, fixed it by using Blur_Version.172.44.4.falcon_umts.AWSRetail.en.US

I've got a couple problems, and I'm not sure which one you were referring to...

Are you saying you also have the Global GSM version, had also been having trouble with slow (edge) data in the US, and fixed it by installing the US version's firmware? In other words, you turned your Global into a US and have normal data speed?

If I misunderstood, please set me straight.
 

DaElsta

New member
Jun 4, 2014
3
0
Solved?

Guys, you are my last hope.

My Moto G doesn't wanna boot up, no matter what I do. I flashed stock GB,DE, both 4.3 and 4.4 I've even tried the GPE images.
The issue is the same with every rom.
It flashes without any issues, but the only thing that is working is the bootloader.
When I try to boot into Android or the stock recovery the bootloader warning comes up, vibrates once, black screen (if I choose to boot into Android the Windows starts to install its drivers) and reboots. And the whole process stars again.

Philz's recovery works. Wipes and installs roms (the same issue as with stock images) and I checked the partition, the filesystems are OK, fsck doesn't find any issue.
TWRP tries to boot but the phone reboots.

Any idea?

Update: I've flashed GB 4.4 images (for a hundredth time) and the mfastboot getvar all returns ro.build.fingerprint[1]: 4.3/14.10.0Q3...etc so if I'm right, the system partition is somehow not overwritten or what? :S
If someone with a working 4.4 phone could post a screenshot from the return of mfastboot getvar all, that would be helpful.

Hey, did you solve it somehow? I have the exact same problem.

Thanks
 

aanataliya

Member
Apr 9, 2013
6
0
failed to upgrade kitkat and stuck at boot loader warning in moto g

hi,
I was trying to update KitKat to my GSM moto G. unfortunately it failed with error 7 after 40%. I tried toggling signature and then repeat the steps but it failed again at 70%. Now I am unable to start my phone. It doesn't switch off as well. It keeps on and stuck on bootloader warning screen.

can anyone suggest me what to do? Can I go back to jelly bean? how?

thanks
 

bukithd

Senior Member
Jun 26, 2011
518
71
Virginia
I am getting an "Invalid PIV signed image" error when trying to downgrade my Moto G. Its on 4.4.3 right now. It's the US GSM version XT1034. I am tring to just reset everything to stock and lock it back up but the instructions in the OP just aren't getting me there. Any help?
 

Erovia

Senior Member
Sep 16, 2012
818
262
@DaElsta: sadly not :( It looks like to me it is hardware related. Anyways, someone with more experience with this device has some ideas.
 

ToastnButter

Senior Member
Sep 23, 2011
189
90
Rybnik/Kraków
I am getting an "Invalid PIV signed image" error when trying to downgrade my Moto G. Its on 4.4.3 right now. It's the US GSM version XT1034. I am tring to just reset everything to stock and lock it back up but the instructions in the OP just aren't getting me there. Any help?

You people should really pay attention.
You cannot downgrade from 4.4.3.
Thank you.
 

Jocantonio

Senior Member
Jun 15, 2012
208
15
Anzoategui
i really need you help, i have XT1032 global unlocked, i bought from amazon but i live in venezuela, which one of the firmware should i had to download¿ pls....:(
 

Jamie Jackson

Member
Apr 26, 2010
24
0
Falls Church, VA
I'm in the US, and I have a Moto G 16 GB Global, purchased direct from Motorola. I'm running Cyanogenmod 11, but I'm only getting edge data speeds, so I want to revert to stock to check if the problem exists there. The phone has only a single SIM slot, FWIW.

First, is this the XT1032?

Also, which download is appropriate? (I had problems with the first two, but I'll defer reporting them unless I know that one of them is recommended.)
  • Android 4.4.2 - Blur_Version.172.44.4.falcon_umts.Retail.en.US - 6A590558998E8E48718546CA2C996678
  • Android 4.4.2 - Blur_Version.172.44.4.falcon_umts.Retail.en.US - 6B0F1A213D3B052206F2F09D98CFFABF
  • Android 4.3 - Blur_Version.14.14.16.falcon_umts.Retail.en.US - 0C78F9D2D97F585170579AAA8B1CA312
  • Something else?

Finally, I'm on Linux. I assume that linux-fastboot should be used in place of mfastboot (both are in the motorola fastboot zip). True? If so, please make a note in the instructions for non-Windows users?

Thanks,
Jamie

-----------------------------------------------

Update 1:



Thanks. However, using linux-fastboot (from the OP-supplied Motorola fastboot zip) and this package, I get:

Code:
bubbles US_retail_XT1034_KXB20.9-1.8-1.4_CFC.xml # ./linux-fastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...

...where it just sat for 10 minutes, until I killed it.

I then tried normal (non-Motorola) fastboot and got:

Code:
bubbles US_retail_XT1034_KXB20.9-1.8-1.4_CFC.xml # fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...

...where it also got hung.

Bump, please. I'm still looking for which firmware to flash to go back to stock on a (Motorola.com-purchased) Moto G Global GSM after Cyanogenmod 11. (If you respond, please give the MD5, as some of the "Firmware Versions" are not unique.)
 

rocketrazr99

Senior Member
Dec 11, 2012
80
11
If you just follow the guide above then no, your unlocked bootloader and warning will remain after flashing.

The procedure for relocking the bootloader is to issue the following command in fastboot before flashing:

Code:
mfastboot oem lock begin

then after flashing but before rebooting enter the following:

Code:
mfastboot oem lock

This should lock the bootloader BUT I have seen reports that even after re-locking there is still a warning screen saying that the bootloader has been previously unlocked!

Yup, the warning remained on my eternally bootlooping Moto G. I think it is a total loss. Came to me as a favor to fix it, but after many attempts to flash firmware, it won't stop bootlooping. Anyone know of way to get past this or is it trash?
 
  • Like
Reactions: Jamie Jackson

remo0073

Senior Member
May 28, 2014
506
185
ITALY
Bump, please. I'm still looking for which firmware to flash to go back to stock on a (Motorola.com-purchased) Moto G Global GSM after Cyanogenmod 11. (If you respond, please give the MD5, as some of the "Firmware Versions" are not unique.)

You phone is XT1032
Please verify that on your Moto G Box

You should download and install this firmware

Android 4.4.2
Blur_Version.174.44.1.falcon_umts.Retail.en.US


Arter install the firmware, you will get the OTA to Android 4.4.3 (Blur_Version.210.12.32.falcon_umts.Retail.en.US)
 

Jamie Jackson

Member
Apr 26, 2010
24
0
Falls Church, VA
You phone is XT1032
Please verify that on your Moto G Box

I've got Cyanogenmod 11 on there, ATM, so the only hint seems to be the baseband version: MSM8626BP_1032.340.63.00R

You should download and install this firmware

Android 4.4.2
Blur_Version.174.44.1.falcon_umts.Retail.en.US


Arter install the firmware, you will get the OTA to Android 4.4.3 (Blur_Version.210.12.32.falcon_umts.Retail.en.US)

Okay, that* is one I haven't tried yet, so I'll try flashing tonight.

*Android 4.4.2 - Blur_Version.174.44.1.falcon_umts.Retail.en.US Retail US 475.5 MiB 0AF66B57981A6A71A19531F1E89A8CC1
 

Jamie Jackson

Member
Apr 26, 2010
24
0
Falls Church, VA
I've got Cyanogenmod 11 on there, ATM, so the only hint seems to be the baseband version: MSM8626BP_1032.340.63.00R



Okay, that* is one I haven't tried yet, so I'll try flashing tonight.

*Android 4.4.2 - Blur_Version.174.44.1.falcon_umts.Retail.en.US Retail US 475.5 MiB 0AF66B57981A6A71A19531F1E89A8CC1

Thanks, remo0073, that was the right version.

Status:
When I got the phone, a Moto G 16GB Global XT1032 (from Motorola.com), I immediately flashed Cyanogenmod 11, but I was getting Edge network only, and awful download speeds of ~0.09Mbps (T-Mobile; Washington, DC area).

I wanted to know whether this was a problem with the phone or the CM11 ROM, since I'd heard that some Moto G Global model T-Mobile users had Edge-only in many areas.

To get back to stock, I downloaded the 0AF66B57981A6A71A19531F1E89A8CC1 package, and installed from Linux with the following (the linux-fastboot command is from the Motorola fastboot zip attached in the OP).

Code:
sudo ./linux-fastboot oem lock begin

sudo ./linux-fastboot flash partition gpt.bin
sudo ./linux-fastboot flash motoboot motoboot.img
sudo ./linux-fastboot flash logo logo.bin
sudo ./linux-fastboot flash boot boot.img
sudo ./linux-fastboot flash recovery recovery.img
sudo ./linux-fastboot flash system system.img_sparsechunk1
sudo ./linux-fastboot flash system system.img_sparsechunk2
sudo ./linux-fastboot flash system system.img_sparsechunk3
sudo ./linux-fastboot flash modem NON-HLOS.bin
sudo ./linux-fastboot erase modemst1
sudo ./linux-fastboot erase modemst2
sudo ./linux-fastboot flash fsg fsg.mbn
sudo ./linux-fastboot erase cache
sudo ./linux-fastboot erase userdata

sudo ./linux-fastboot oem lock

This worked, with the exception that boot image was still the white-background unlock warning.

To get rid of that, I downloaded original_logo.zip (from http://xdaforums.com/showpost.php?p=47971145&postcount=1), extracted, then flashed it with:

Code:
sudo ./linux-fastboot flash logo logo.bin

After reverting to stock, I have 3G and reasonable speeds:

Download: 6.51Mb/s
Upload: 0.80Mb/s

I'm not sure whether or not this "restores" one's warranty or not, though. Probably not, I'm guessing, since part of the unlocking process involves a Motorola request.
 

remo0073

Senior Member
May 28, 2014
506
185
ITALY
I think your warranty is not fully restored
Go to bootloader mode
If your status code is 0 (zero) warranty is ok
But if it is 2 or 3 your warranty is void

Inviato dal mio XT1032 utilizzando Tapatalk
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 356
    Pre-requisites:

    a) Download and install Motorola Drivers:
    http://xdaforums.com/showthread.php?t=2550635

    b) Download and extract the stock firmware of your choosing from:
    Looks like this link is now broken :'-( http://sbf.droid-developers.org/phone.php?device=14
    The firmwares with '_umtsds' in the file name are for the 'dual-sim' versions of the Moto G, it's probably not a good idea to flash these onto single sim phones, or vice-versa.

    Edit: More firmwares for international retail and carrier devices can be found here:
    http://www.filefactory.com/folder/c6cdedc45a775d27

    Edit: The firmware files have been updated most of the firmware archives are now in .tar.gz archives which include Motorola fastboot and flashing scripts for OSX, Linux and Windows.

    On windows the .tar.gz archives need to be opened and extracted using a 3rd party archive manager. e.g. 7-zip, or PeaZip, Windows cannot extract these files natively, Linux and OSX can.

    I used the retail British firmware (fastboot_falcon_retgb_user_4.3_14.10.0Q3.X-76-LGG-8_54_release-keys-cid7-Retail_GB.tar.gz), extracted to c:\

    c) If the firmware file you downloaded is a .xml.zip file then download Motorola Fastboot View attachment mfastboot-v2.zip (attached to this post) and extract the .exe into the same folder as the stock firmware files (the same folder as the .bin and .img files). If your firmware is a .tar.gz file then skip this step.

    d) Get ADB (if you don't already have this, I suggest downloading and installing Minimal ADB and Fastboot by shimp208:
    https://drive.google.com/file/d/0B1S0LCuXCnnmOWhnUk1ZWVdQakE

    Disclaimer:

    Follow these instructions at your own risk. If something goes wrong don't blame me!

    I have only tested this on a UK Retail Moto G with an unlocked bootloader, however as these are the original stock signed image files from Motorola it should work on all devices.

    See notes at the bottom of this post for downgrading from 4.4.2 to 4.3.

    Edit: tkm89 reports that he was able to use this guide to restore Stock Retail British firmware on a bootloader locked Tesco-mobile Moto G


    Steps to restore stock firmware:

    1) Reboot the phone into bootloader mode. There are 2 ways to do this.
    I) The 'hardware' way.
    a) Unplug the USB cable and power off the phone.
    b) Press and hold 'Volume down' then power on the phone.
    c) Connect USB cable to your computer.​

    II) The 'software' way.
    a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
    b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
    c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
    d) Open "Minimal ADB and Fastboot". Type:
    Code:
    adb reboot-bootloader

    You should see the Moto G bootloader screen with the following options:
    Code:
    Normal Powerup
    Recovery
    Factory
    Switch Console [NULL: null]
    Barcodes
    BP Tools
    2) Open a command prompt / terminal (Start -> cmd.exe in Win7) and browse to the folder with the extracted firmware.

    In my case:
    Code:
    cd c:\falcon_retgb_user_4.3_14.10.0Q3.X-76-LGG-8_54_release-keys-cid7-Retail_GB

    3a) If you downloaded and extracted a firmware in .tar.gz format

    In windows, run the 'flashall.bat' script Type:
    Code:
    flashall.bat /eu
    The "/eu" switch forces userdata to be erased from the device, this is the same as a factory reset or wipe this is recommended when restoring stock firmware.
    In Linux/OSX run the flashall.sh script. Type:
    Code:
    chmod +x flashall.sh
    ./flashall.sh

    Downgrading:
    The scripts will fail with an error on downgrading from 4.4.2 to 4.3. Open the script in a text editor (notepad) and delete (or comment) the following:
    Lines 89-90 in the flashall.bat file:
    Code:
    CALL :fastboot_flash partition gpt.bin
    IF %errorlevel% NEQ 0 EXIT /b 1
    Lines 120-121 in the flashall.sh file:
    Code:
    run $fastboot -s "$serial_number" flash partition gpt.bin
    if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi

    3b) If you downloaded and extracted a firmware in .xml.zip format.

    Flash each of the partitions in sequence using mfastboot, you need to enter the following commands one-by-one checking that each one returns an [OKAY]
    Code:
    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_sparsechunk1
    mfastboot flash system system.img_sparsechunk2
    mfastboot flash system system.img_sparsechunk3
    mfastboot flash modem NON-HLOS.bin
    mfastboot erase modemst1 
    mfastboot erase modemst2 
    mfastboot flash fsg fsg.mbn
    mfastboot erase cache 
    mfastboot erase userdata 
    mfastboot reboot
    Downgrading:
    The 1st command "mfastboot flash partition gpt.bin" will fail on 4.4.2 to 4.3 downgrade. Skip this command if you are downgrading and continue with the other commands, which should work.​

    4) Wait, you should now be rebooted into a fully stock Moto G firmware.
    8
    Firmware Lolipop

    Mirror
    XT1032 BR 5.0.2
    Google Drive : DOWNLOAD

    XT1033 BR 5.0.2

    Google Drive : DOWNLOAD

    XT1033 Asia 5.0.2

    Google Drive : DOWNLOAD

    MFastboot
    Google Drive : DOWNLOAD

    :fingers-crossed:
    5
    Now I have this message
    C:\Motorola\falcon_retbr_ds_user_4.3_14.10.0Q3.X-76-LCG-8_60_release-keys-cid12-
    Brasil_BR>mfastboot flash system system.img
    sending 'system' (524288 KB)...
    OKAY [ 18.111s]
    writing 'system'...
    Multi-Flash is not supported any more!
    Please download latest fastboot from: xxxxxx

    the link don´t work
    Can you try mfastboot.exe from the attached zip. This is taken from the south american firmware release.
    5
    High speed mirrors for

    XT1032_RETAIL-EU_4.4.4_KX21.14-L1.40_36_cid7_CFC_1FF.xml.zip:
    http://tweaksparadise.com/download/rawdealer/index.php?action=list&folder=65490


    XT1032_RETAIL-DE_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.xml.zip:
    http://tweaksparadise.com/download/rawdealer/index.php?action=list&folder=65444

    I hope it will be useful for someone. :)
    5
    Im on US 4.4.2 ROM @ UK XT1032. I tried to downgrade to Retail UK 4.3 ROM and Im using motorola fastboot. Im getting error "Preflash validation failed" when I enter the command "fastboot flash partition gpt.bin" inside of the UK 4.3 ROM folder.

    Open the flashall.bat in Notepad and remove the following two lines:

    Code:
    CALL :fastboot_flash partition gpt.bin
    IF %errorlevel% NEQ 0 EXIT /b 1

    The gpt.bin cannot be downgraded so the flashing fails and stops the rest of the script from running. Removing those lines will allow the script to flash everything else and you'll have a working phone. This also works for other 4.3 roms in tar.gz format like the German and French ROMs.