yashsingh1/xdaforums huggingface dataset:
[Moto G General] MalachiMegara:
Trouble shooting

I've just tried it and have always gotten a "failure report" when entering the lines:

"mfastboot flash system system.img_sparsechunk1

mfastboot flash system system.img_sparsechunk2

mfastboot flash system system.img_sparsechunk3"

For all those having the same issue: CHECK THE FILE NAMES OF YOUR STOCK VERSION. In mine there was an additional "." right before the number of the sparsechunk. Also my sparsechunks were called 0,1 and 2. So I altered my commands to:

mfastboot flash system system.img_sparsechunk.0

mfastboot flash system system.img_sparsechunk.1

mfastboot flash system system.img_sparsechunk.2

Sometimes it's the tiniest of things that cause the whole operation to fail!
[Moto G General] eitanh1982:
firmware

hi i bought my moto g (1st gen NOT DUAL-SIM NO LTE) at spain.

can anybody tell what is the firmware please?
[Moto G General] remo0073:
Go in

Settings -> Info

Eventually post a screenshot
[Moto G General] lept_2014:
XT1032_RETAIL-EU_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.
[Moto G General] eitanh1982:
thanks
[Moto G General] OOPMan:
Will these instructions work for downgrading from the Lollipop 5.0.2 OTA to 4.4.4?
[Moto G General] hannyso:
If u want ,you can use my video in your thread!!

If u want you can use my video in your thread!! Its for getting stock Kitkat from lollipop.

Here is the link - [YOUTUBE]v62wKz5lkfA[/YOUTUBE]
[Moto G General] lept_2014:
With some conditions:

* You must have your bootloader unlock

* The two first commands will fail, so if you want, don't flash them.

The final commands sequence would be:

mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata

And finally, if you want:

mfastboot reboot
[Moto G General] Berties123:
If you downgrade you will brick the phone.
[Moto G General] madscientistdam:
hey

i just followed this tutorial video it was real easy and worked a treat all i had to do was click the button and let it do its thing https://www.youtube.com/watch?v=MZS-rov4AU4
[Moto G General] butthurtlocker:
really need help!

Hey guys im really struggling and could use some help. Have a telus xt1032 and no matter what i do am stuck at warning boot loader unlocked screen. Can anyone offer any help?? please and thank you
[Moto G General] sidhrth89:
restore problem in xt1033

first i flash gpe rom in xt1033 but there is some poblem in rom so i am trying to flash stock rom using fastboot using

mfastboot.exe flash partition gpt.bin

mfastboot.exe flash motoboot motoboot.img

mfastboot.exe flash logo logo.bin

mfastboot.exe flash boot boot.img

mfastboot.exe flash recovery recovery.img

mfastboot.exe flash system system.img_sparsechunk.0

mfastboot.exe flash system system.img_sparsechunk.1

mfastboot.exe flash system system.img_sparsechunk.2

mfastboot.exe flash system system.img_sparsechunk.3

mfastboot.exe flash modem NON-HLOS.bin

mfastboot.exe erase modemst1

mfastboot.exe erase modemst2

mfastboot.exe flash fsg fsg.mbn

mfastboot.exe erase cache

mfastboot.exe erase userdata

after completed this process when device was roboot it show gpe rom

how can i restore stock rom now

:crying:

please help me
[Moto G General] lept_2014:
Try this:

1º - Downgrade to GPe 4.4.4 (without flashing 'motoboot.img').

mfastboot flash partition gpt.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
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

2º - Change GPe 4.4.4 to Motorola STOCK 4.4.4 BR (without flashing 'motoboot.img', but yes 'gpt.bin').

mfastboot flash partition gpt.bin
mfastboot reboot-bootloader
pause
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
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

3º - Upgrade to Motorola STOCK 5.0.2 BR (flashing everthing).

mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot reboot-bootloader
pause
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
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
mfastboot reboot
[Moto G General] mapline:
5.02 downgrade problem

Hi

Tried 5.02 ota liked layout but hit problems with battery life and tasker so decided to down grade.

Unlocked Moto G 1032 and nothing works except 1 usa rom 4.4.3 by rootjunkysdl but causes a ripple on screen after power on. Stops after first screen lock offf/on.

Difference on unlocked Bootloader screen is Status code 3 instead of 0 which means unlock

Try UK rom 2 and on Start just Unlocked Bootloader screen keeps cycling.

Can I downgrade to stock UK 4.4.X and any thoughts or help please on problems?

Thanks

Michael
[Moto G General] Ordinair:
I tried flashall.bat with a non-gpe Moto G. But it failed. What to do now? Also, my battery doesn't charge and auto boots at power off. So i only got a couple of hours to fix it I think.
[Moto G General] mapline:
Restore Moto G

Hi

I tried this "youtube.com/watch?v=SRV2qoQX-P4" and it worked for me .

Moto G Downgrade Lollipop To Kitkat 4.4.3 Tutorial by shadowsniperhuddz

I had unlocked my bootloader his shows locked.

Hope it works for you.
[Moto G General] Ordinair:
Thnx. I'll give that a try.
[Moto G General] Okrimmirko:
Hi guys.

Currently I got Android 4.4.2 on my Moto G. The phone is rooted. I was trying to flash it to stock so I could install the updates OTA (if I try to do it as it is now, the phone gets into a boot loop).

The firmware in OP start at 4.4.2 lowest.... so I'm not actually downgrading. Does this make any difference?

I downloaded the (Moto G LTE XT1039) RET-EU-SS_4.4.3_KXB21.14-L1.31_cid7_CFC_1FF.xml.zip file.

I'm getting stuck at step 3b. I write in the first command and just get "waiting for device" back. USB debugging is turned on, the bootloader is unlocked, it says the usb is connected...

I'm not sure what I'm doing wrong. Help please :)
[Moto G General] lept_2014:
When you are in bootloader/fastboot mode, your PC needs Google's Drivers from 'Android SDK Tools (only)'
[Moto G General] Apeleon:
To help those using mfastboot, you can do this on dos instead of doing it one by one, put it in a text editor and format is like this

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.0&

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&

mfastboot reboot

Just add an & symbol after each line, tells does that do this command once the previous command is complete.
[Moto G General] bjoostema:
xt1028 4.4.2 firmware

Hey guys, I have searched this thread high and low and I apologize if I missed something, but I need some assistance. I got a moto g prepaid xt1028 from best buy for 25 bucks. My turbo is locked down tight so I figured I would use this phone for my tweaking needs. I cannot, for the life of me, find the 4.4.2 firmware anywhere. Every link I have Googled just leads to an "error" page. I am trying to downgrade from 4.4.4 which came on the device, to 4.4.2 so I can unlock the BL. Any help in pointing me in the right direction would be greatly appreciated. Thanks guys. I'm also not seeing a really clear answer, is this even possible? Sorry again if this was answered somewhere, I couldn't find it.
[Moto G General] Okrimmirko:
I installed full Android SDK before, and now I installed what you linked in your post. Didn't help :(

To clarify, I'm not getting any errors or something like that. I just get "waiting for device", and nothing else happens (on pc or phone).
[Moto G General] lept_2014:
But you need open 'SDK Manager.exe' from Android SDK pack. And then at the bottom of list, you choose Google Drivers to download them.

Ok, I did it for you, and here are.

Now with this drivers, you must try to recognize properly your Moto G in your Windows.
[Moto G General] Okrimmirko:
I installed that driver before I asked the first question here (when I was rerooting the phone after factory reset). I had a similar problem before, but that got fixed when I installed the driver. Current problem persists.

As I said in my first post, bootloader says usb is connected (it didn't say so before I installed the driver).

I'll transcribe what the bootloader says:

AP Fastboot Flash Mode (S)

41.05 (sha-f4ab363,2013-12-06 12:32:04)

CPU: MSM8226 CS

eMMC: 16GB Toshiba RV=06 PV=01 TY=17

DRAM: 1024MB Samsung S$ SDRAM DIE=4GB

Battery OK

Device is UNLOCKED. Status Code: 3

Transfer Mode: USB Connected

Boot Mode Selection Menu

Vol Up Selects, Vol Down Scrolls

Normal Powerup

Recovery

Factory

Switch console [NULL: null]

Barcodes

BP Tools

Fastboot Reason: Volume down key pressed

USB connected

Sorry if I'm missing something that's supposed to be obvious... but it isn't obvious to me ;)
[Moto G General] lept_2014:
Sometimes, there're problems with all of this if you've Windows 8.x

Have you tried all of this in another Computer, or with another usb-cable?
[Moto G General] Okrimmirko:
I didn't. I'll try that. Thanks :)
[Moto G General] bbabel:
Hello everyone. I received the lollipop update and it didn't work, that's why I'm here trying to install stock rom once again. The problem is I can't install any firmware for my Moto G TX1008 because all the firmwares are 4.4.4, and since the failed update I think my boot version updated because I can't install motoboot. When I try to do it, it says:

target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.105s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.376s

All the other files flash without issues.

In the motoboot file my phone says "version downgraded for tz", which leads me to a everlasting motorola logo at boot without initializing my phone. I'm pretty sure it's the lack of the motoboot file which gets me there...

Any thoughts? Thank you.

---------- Post added at 06:48 PM ---------- Previous post was at 05:48 PM ----------

In case this helps anyone in the future:

I didn't install the stock firmware because of my problem (read my last post) so I installed CyanogenMod. I read you couldn't install CM12 (Lollipop) because of the boot's software version, so I tried it this time since my original issue was due to a failed stock firmware update (which in fact updated the boot version and that's why I couldn't install the stock firmware version 4.4.4).

In some site I read you couldn't install CM 12.1 using ClockWork Recovery, so I installed Philz_Touch Recovery from here and managed to install the last CM 12.1 nightly to my phone. Now I'm happy with Android Lillipop 12.1.

I hope this helps someone.
[Moto G General] gathritegloria60:
Null
[Moto G General] Betho180:
I will try on XT1040 with network problem
[Moto G General] everb00b:
I tried to flash the new EU Retail, but getting bootloop on Bootloader Unlocked screen.

tried to reflash and nothing, can't get pass it.
[Moto G General] Scramble:
factory firmware

I used a stock rom and added touch recovery and bootscreen fix for unlocked bootloader to restore my phone to factory before installing CM. Install the the adb and fastboot drivers (included) and put the phone into bootloader/fastboot mode before opening command window in the folder and running factory.bat. Note that the system image is split into 4 sparsechunk files!

All the files you need download here:

https://www.4shared.com/zip/pptA0Cp6ce/XT1039_GB_444_CWM_touch_605_fi.html
[Moto G General] lept_2014:
You must use all of this commands:

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.0
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
mfastboot reboot

It's the same that in KitKat with one exception. Now there is 'mfastboot flash system system.img_sparsechunk.3'.
[Moto G General] Assassindeity:
In the boost mobile version 4.4 you have to put in "mfastboot flash system system.img_sparsechunk4". I tried it and now I'm able to get it to work.
[Moto G General] P.Kosunen:
<steps interface="AP">
<step operation="flash" partition="partition" filename="gpt.bin" MD5="bb2948cba133ba7394ba5581faff3c7f" />
<step operation="flash" partition="motoboot" filename="motoboot.img" MD5="87b36a8a9fb67cdd7e1f3f3f26e669ca" />
<step operation="flash" partition="logo" filename="logo.bin" MD5="ec4333cee6df4da225664fed23de05f0" />
<step operation="flash" partition="boot" filename="boot.img" MD5="58c6cc12a0fca78668e8b5c59bd2c38d" />
<step operation="flash" partition="recovery" filename="recovery.img" MD5="29f19a6b903ebf58e6fc8e6e7bd0457d" />
<step operation="flash" partition="system" filename="system.img_sparsechunk.0" MD5="541c22bfdae7a63f919b525ba0cea46c" />
<step operation="flash" partition="system" filename="system.img_sparsechunk.1" MD5="13d671666e9e3a0fc635c0955f425e63" />
<step operation="flash" partition="system" filename="system.img_sparsechunk.2" MD5="df85b29d7c0be1685a762b3fb68b53c1" />
<step operation="flash" partition="modem" filename="NON-HLOS.bin" MD5="1242e49d0ee2c3ac5df118cfbb952a72" />
<step operation="erase" partition="modemst1" />
<step operation="erase" partition="modemst2" />
<step operation="flash" partition="fsg" filename="fsg.mbn" MD5="cea8f2d78f33921fe93922e625c1bce2" />
<step operation="erase" partition="cache" />
<step operation="erase" partition="userdata" />
</steps>

You can get commands from xml file in firmware package.
[Moto G General] outerspacebuddy:
You are a life saver.

---------- Post added at 03:02 AM ---------- Previous post was at 03:01 AM ----------

Great help. Thank you so much.
[Moto G General] kkhaskarali:
cm 12.1 to stock 5.0.2

Any body can help meeee

how to restore moto-g xt1033 from cm 12.1 to stock 5.0.2
[Moto G General] rchile:
Guys i forgot this two commands

mfastboot erase modemst1

mfastboot erase modemst2

Still the stock rom booted well and everything is working should i flash it again with those two commands ?
[Moto G General] lept_2014:
It's not necessary.

If you want, you can flash only these two commands.
[Moto G General] lonaysta:
The link to download stock firmwares seems to be broken. Besides, anyone has the full firmware for Lollipop 5.0.2, Stock US retail XT1034?
[Moto G General] alfick3:
That version hasn't been released yet.
[Moto G General] Darksl1der:
Nothing helps at all..

Black screen stuck after animation. Device in read-only mode.

Can't fix anyhow. Tried almost everything..

Latest x64 Motorola drivers.

Used RSD Lite 6.2.4 (old versions can't see device) and flashed full stock, using Flashfile.XML and Servicefile.XML.

Succesfully completed, no errors, but everything actually unchanged.

Same with manual/script flashing device through fastboot/mfastboot.

Everything is ok in terminal, but actually nothing changes at all.

Used Factory Reset and fastboot erase cache, fastboot erase user data.

Got something like this:

Cannot compete formating because of RAW filesystem of userdata and cache partitions.

The fun thing is that I've recovered this device from hard-brick(qusb_bulc), but can't fix this issue caused with no reason. Just plain phone using, battery drained and got this.
[Moto G General] Febo00:
Oh, god, theres so many of them D:

I have an xt1032, 16GB GLOBAL, bought unlocked from amazon.

Which is the appropriate firmware? I'm currently in 4.4.3 stock, unlocked bootloader, and TWRP. I want to return everything to stock as it came from the factory so I can get OTA updates.

Did a quick search on this thread and "Android 4.4.2 - Blur_Version.174.44.1.falcon_umts.Retail.en.US	Retail US	475.5 MiB	0AF66B57981A6A71A19531F1E89A8CC1" was mentioned, but I don't see it in the folder.
[Moto G General] lept_2014:
There is a new 'US Retail' ROM: US_retail_XT1032_KXB21.14-L1.32_CFC. It's KitKat 4.4.4.
[Moto G General] Febo00:
You're sure that that is the Global version and not the US version? also, I can flash 4.4.4 even if i'm in 4.4.3, right?
[Moto G General] lept_2014:
¿? ¿Global? I didn't say anything about 'Global'. You talked about 'Blur_Version.174.44.1.falcon_umts.Retail.en.US', and I found a updated version. Nothing else.

Anyway, there isn't 'Global version'. There is a US Retail version, a EU Retail version, a BR Retail version, a GB Retail version, a FR Retail version, a ASian Retail version, etc...

And you can flash a 4.4.4 version over 4.4.3 without any problem for this.
[Moto G General] lept_2014:
That's my fault. Because I said 'US_retail_XT1032_KXB21.14-L1.32_CFC' was 4.4.4 and that is wrong. It's 4.4.3 :D
[Moto G General] Febo00:
hahaha no problem then :D I got 4.4.4 OTA and it installed correctly. No lollipop yet, thogh :crying:

Do you think the unlocked bootloader will be a problem when 5.1 does come?

And thanks for the support, man. :highfive:
[Moto G General] deepss1:
I was on 5.1 GPE, bricked now

want to downgrade to 4.4.x Blur version.

Someone please guide me.

Thank you.
[Moto G General] Skizion:
Someone please help me. I installed this version "ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml". I did it exactly how it said, and it works. But now the phone shuts down whenever I do something. Also it's not connected to boost mobile in any way. I need help now!

It can't turn on wifi either. Just bluetooth. I have the boost mobile model. "XT1031"
[Moto G General] lept_2014:
That's weird.

There is another ROM for you model: 'USC_XT1031_4.4.2_KXB20.9-1.10-1.9_CFC_1FF.xml' But I don't know which is better for you.

Did you do wipes, from commands?

mfastboot erase cache
mfastboot erase userdata

Or you can try to do again all process to flash the ROM.

---------- Post added at 10:03 ---------- Previous post was at 09:51 ----------

What kind of brick?

Anyway, you must flash a STOCK ROM 5.0.2, e.g.: XT1032_FALCON-RETEU_5.0.2_LXB22.46-28.1_1_cid7_CFC_1FF

You must use this secuence of commands:

mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot reboot-bootloader
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
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
mfastboot reboot

With this, your BL will downgrade safely from 41.19 to 41.18. Remember you have to have your battery full before this process.
[Moto G General] saintextreme97:
i keep getting this when i try to flash what can i do to fix this? us retail

root@ChrUbuntu:/home/user# fastboot flash system system.img_sparsechunk1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.019s
[Moto G General] sas007:
version downgraded for primary_gpt

Hi guys desperatly need some guildence.

I am trying to come from UK tesco to UK retail ( Blur_Version.14.71.8.falcon_umts.Retail.en.GB) but everytime i use the flashall.bat this comes up on device screen

cmd:getvar:max-sparce-size

cmd:download:0000000

cmd:flash-partition

version downgraded for primary_gpt (in pink/red)

I have tried going back to tesco but just get the same i have tried 10 times always the same on screen in flashboot.

cmd:getvar:max-sparce-size

cmd:download:0000000

cmd:flash-partition

version downgraded for primary_gpt (in pink/red)

Please any help most appreciated as only boots back to flashboot now...
[Moto G General] twelve:
Try pressing up volume key worked for me
[Moto G General] Brushstroke:
You're amazing, OP. I seriously thought my new phone was hosed until I did this. Now I'm unlocked and on the stock firmware for US GSM Retail version.
[Moto G General] sas007:
Cheers i eventually stumbled around to doing that..still i would like to know what it all means so i can sort it out and get rid of the tesco firmware.
[Moto G General] kykemejia:
It is mandatory to run the command:

mfastboot erase userdata

This command delete all information on the internal memory???
[Moto G General] sas007:
Okay many thanks..can you please make a tutorial of how its meant to be done properly with easy to follow steps for those who are not so cleaver.??

would be great if you could.
[Moto G General] suhridkhan:
this thread is a lifesaver.. clear and concise instructions .. many many thanks..
[Moto G General] dmartin1989:
I installed cwm on moto g and wiped everything including sd data.now my problem is my device is bricked!when i tryed to revert back to stock i get partion validation failed....plz help me
[Moto G General] imlovelyed:
how i can skip this message but on linux i mean i dont have windows pc so i need to do this in terminal on linux. i wanna go back to tesco version. all info is about how to do it on windows, ./flashall.sh dont work
[Moto G General] sas007:
from OP Run the 'flashall.bat' script in windows or './flashall.sh' in Linux/OSX
[Moto G General] imlovelyed:
i know that and i did that with de 4,3 version , than i updated it to 4.4 but now i wanted go back to tesco 4.3 but i cant

it's showing

"version downgraded for primary_gpt"

after ./flashall.sh

what i should do after that ??
[Moto G General] sas007:
Sorry mate i have no idea i did it about ten times and that was the outcome everytime..
[Moto G General] imlovelyed:
ok thanks anyway ;) nah my bad luck
[Moto G General] SetPT:
I need some help, i've tried the tutorial and all went well, but now it gets stuck on boot animation :\

I've done the procedure twice...

I've the bootloader unlocked

EDIT: Solved.
[Moto G General] KroQ:
How you solve that? I've got the same

EDIT:

Factor reset i CWM recovery helped!
[Moto G General] imlovelyed:
Linux

can someone help me ?? what i should do after that it's not working on comands like "fastboot flash motoboot motoboot.img" coz its waiting for device but on moto g it's showing nothing only that it's plugged on usb
[Moto G General] miklosbard:
just a suggestion, but try to re-download the package, since some validation failed..

Sent from my phone