yashsingh1/xdaforums huggingface dataset:
[Moto G General] inthepooper:
Having problems going from America Movil 4.4.2 to US Retail 4.4.2

when mflashboot boot.img and several other steps I get:

(bootloader) Preflash validation failed

FAILED (remote failure)

Not quite sure what it is I'm doing wrong, or if I just cant flash US Retail (that would be a bit ****ty).

Thoughts?
[Moto G General] xperiaminipro86:
hi there.

i had a problem during kitkat update and after my phone rebooted it showed a black screen (but screen light is on). I suppose something went wrong during the update, and so i decided to use recovery from moto g menu.

the fact is that although i can access to the recovery menu, when i click on recovery i see motorola logo and than black/light screen, even if i am following the istructions from motorola.

so i decided to flash the stock firmware (en.eu, for my italian moto g) [4.3_14.10.0Q3.X-76-LGG-8-2_2 right?]

but after flashing i continue to see that black screen.

the moto g is brand new, so i dont know what it might have happened. i'm not a newbie and this is the first time an update gives me such problems.

can somebody help me?
[Moto G General] wilco375:
Flash without flashall?

Can I also flash the tar.gz file myself (without using flashall.bat, just like with a .xml.zip file)? If so, which commands do I have to type?
[Moto G General] benjaminv:
Many thanks for replying. I have a further question that I have not unlocked the BL is that necessary for downgrading.
[Moto G General] miklosbard:
it is necessary to search and read before asking questions that are already answered multiple times.

Sent from my phone
[Moto G General] benjaminv:
Thanks i am on the same boat as yours, not bothered to unlock the BL so now i can flash back following the instruction.
[Moto G General] benjaminv:
Many thanks you guys are geniuses! Updated to 4.4.2 variety of pain now has come back to stock GB Retail 4.3.

Noted: you dont need to unlock the bootloader if you havent done so.

One problem is there isn't anyway to get rid of the update reminder. Can only postpone it to 23:59 hours.

Also can confirm that the OTG is back to native now. Won't go for 4.4 again till google fix this.

Praising error remains as in original stock ROM.
[Moto G General] plewis1981:
Sorry for the stupid question, I have downloaded the tesco UK 4.3 ROM in .tar.gz format and was wondering why I need to open a command prompt window? Do I not just need to run the .bat file if I add the adb and fastboot files to the ROM directory?

I am not quite sure what is ment by "open a command prompt window and navigate the the ROM directory" dose this mean enter the ROMs address (eg c/stock4.3) followed by the commands shown in the op.
[Moto G General] thesebastian:
2 quick questions:

1A ) Is the GPE firmware available?

1B ) If so, can i flash the full GPE firmware (with the bootloader, kernel, baseband, recovery and everything) to the Global Moto G version (from United Kingdom) to transform it to a GPE Moto G? (AFAIK both versions have the same model number).
[Moto G General] plewis1981:
Hi all me again, I downgraded from stock 4.4 to stock 4.3 yesterday my phone was at 70% battery when I flashed but when the phone booted it was displaying a full battery. Also the time is incorrect in the battery stats.

I have read about people having such issues and wanted to no if I should be worried.
[Moto G General] icondeg:
HELP!!!!

i have some problem flashing my devices moto g

i use ubuntu, and i need help!!!!

first i check my devices and start from fastboot okay without any problems

the problems is when i try to flash system

i use the following comands and i recive this message:

sudo 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.022s

icondeg@icondeg-OptiPlex-745:~/downloads$ sudo fastboot flash system system.img_sparsechunk2

target reported max download size of 536870912 bytes

erasing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.038s

icondeg@icondeg-OptiPlex-745:~/downloads$ sudo fastboot flash system system.img_sparsechunk3

target reported max download size of 536870912 bytes

erasing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.008s

is there a way to flash on ubuntu?

i format system (horrible mistake) and i need to know is there any way to flash on ubuntu

thx in advance!!!
[Moto G General] Cooptx:
[MENTION=2227007]icondeg[/MENTION] did you unlock your bootloader?
[Moto G General] t-bon3:
You need to use the Motorola specific version of fastboot, not the default one from the SDK. You can find the moto fastboot binary in one of the '.tar.gz' images from the http://sbf.droid-developers.org/ site. e.g. http://sbf.droid-developers.org/download.php?device=14&file=148

I've also attached the fastboot linux binary to this post.
[Moto G General] nicodbgh:
I cannot flash from asian version to a brazilian version:

D:\falcon_retbr_ds_user_4.3_14.10.0Q3.X-76-LCG-9_61_release-keys-cid12-Brasil_B

>flashall.bat /eu

Motorola Mobility flashall script version 1.4

Flashing Options:

- flash persist: 0

- flash userdata: 0

- erase userdata: 1

- erase cache: 0

Waiting for fastboot enumeration...

Fastboot device is ready!!

Flashing GPT and bootloader images...

Executing ".\Windows\fastboot.exe flash partition gpt.bin"

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.029s]

writing 'partition'...

(bootloader) This may take a few seconds, if a

(bootloader) different partition table is being

(bootloader) flashed since we need to backup

(bootloader) and restore a few partitions

(bootloader) Flashing primary GPT image...

(bootloader) Flashing backup GPT image...

OKAY [ 0.437s]

finished. total time: 0.466s

8226 HW detected...

Flashing motoboot

Executing ".\Windows\fastboot.exe flash motoboot motoboot.img"

target max-sparse-size: 256MB

sending 'motoboot' (1940 KB)...

OKAY [ 0.108s]

writing 'motoboot'...

(bootloader) flashing tz ...

(bootloader) flashing rpm ...

(bootloader) flashing sdi ...

(bootloader) flashing aboot ...

(bootloader) flashing sbl1 ...

OKAY [ 1.371s]

finished. total time: 1.479s

Flashing modem SW...

Executing ".\Windows\fastboot.exe flash modem NON-HLOS.bin"

target max-sparse-size: 256MB

sending 'modem' (47996 KB)...

OKAY [ 1.671s]

writing 'modem'...

OKAY [ 0.776s]

finished. total time: 2.447s

Executing ".\Windows\fastboot.exe flash fsg fsg.mbn"

target max-sparse-size: 256MB

sending 'fsg' (103 KB)...

OKAY [ 0.070s]

writing 'fsg'...

OKAY [ 0.075s]

finished. total time: 0.145s

Executing ".\Windows\fastboot.exe erase modemst1"

erasing 'modemst1'...

OKAY [ 0.027s]

finished. total time: 0.027s

Executing ".\Windows\fastboot.exe erase modemst2"

erasing 'modemst2'...

OKAY [ 0.058s]

finished. total time: 0.058s

Flashing AP Images...

Executing ".\Windows\fastboot.exe flash logo logo.bin"

target max-sparse-size: 256MB

sending 'logo' (619 KB)...

OKAY [ 0.102s]

writing 'logo'...

OKAY [ 0.179s]

finished. total time: 0.281s

Executing ".\Windows\fastboot.exe flash boot boot.img"

target max-sparse-size: 256MB

sending 'boot' (10240 KB)...

OKAY [ 0.440s]

writing 'boot'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 1.012s

.\Windows\fastboot.exe flash boot boot.img failed!!

In upper part in the phone i see "Device is LOCKED". Satatus Code: 0

Need to unlock it or is another problem?

Thanks.

SOLVED!! You need an unlocked bootloader.
[Moto G General] alonsoch:
Hi, this is very important buddys.... all the models, all variants, dual sim or single sim, had the same commands? or this commands change in specific model, i'm thinking in include the function restore (for all variants on my tool) and i need to know if this command work on all devices... thanks...

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
[Moto G General] invictussevenfold:
I think, you should ignored a failed comand, I've tried flash moto g dual sim with these comand and work.

just remove "m" from mfastboot comand
[Moto G General] robin0800:
The UK GB ones use .0 .1 .2 for the system .imgs
[Moto G General] mackb44:
This is what i was missing too! Thanks for pointing it out
[Moto G General] ruggedknot:
Restored stock - wifi not working :(

The walkthrough was easy to follow from the OP and I could quickly restore the stock firmware, 4.3 down from 4.4.2 - unfortunately, the wifi isn't working anymore.

It isn't even getting activated and my MAC address is absent as well.

Upon looking into solutions, I came across this thread where it seems to be the theme. However, the information wasn't as crisp and concise as the OP here (link below) and I would appreciate any help in figuring this out and solving it.

Wi-fi problem thread : http://xdaforums.com/showthread.php?t=2619553

P.S I realize this is taking away from the topic of the thread but considering this is the most active thread, thought I'd try asking help from the regulars.

Thank you kindly.
[Moto G General] ShOrTyNaToR:
For the german retail firmware 4.4.2 you have to use the following commands:

mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2

instead of

mfastboot flash system system.img_sparsechunk1
mfastboot flash system system.img_sparsechunk2
mfastboot flash system system.img_sparsechunk3

Otherwise it will fail !
[Moto G General] papawil01:
hi, which one to use with dual sim 16gb (xt1033) in the philippines (asia)? thanks
[Moto G General] Faruko:
no sparsechunk images on my firmware ? is that normal ? or am i doing something wrong ?

no, tried everything possible and nothing sparsechunk doesnt work

IMPORTANT: For the Movistar (Chile) use "fastboot flash system system.img" NO SPARSECHUNK !!!

worked like a charm :D
[Moto G General] jman1234:
OMG thank you for this thread OP. I just got this phone yesterday and I managed to root it, but then I tried to install a custom rom and everything went downhill from there. The ROM never booted and was stuck on the loading screen so I tried to do a factory reset and wiped the system too. I was stuck in TWRP with no OS installed and I wasn't able to mount the SD card so I couldn't try any other rom. I thought I lost my new phone after only a day (lol how pathetic would that have been?). Seriously, thank you.
[Moto G General] gohanSS:
I bought a XT1032 US version with the optimized radio for world operation, but I'd like to have the italian language on it, so I am trying to flash the EU retail version but it always fails on the boot.img with "preflash validation failed". Is there anything I can do?

Never mind, I upadate to 4.4.2 and has italian in it.
[Moto G General] nicodbgh:
Have you unlocked your bootloader?

Enviado desde mi XT1033 mediante Tapatalk
[Moto G General] gohanSS:
No unlock yet. But I flashed the updated us version and it has Italian.
[Moto G General] CheekyLeek:
Thanks! Managed to downgrade to 4.3 without unlocking the bootloader.
[Moto G General] brenopapito:
flashall.bat /eu

wipe sd card?
[Moto G General] alonsoch:
Yes

Enviado desde mi XT1032 mediante Tapatalk
[Moto G General] ukiy00:
Hi,

I'm planning to restore stock firmware... but there is "emmc_appsboot.mbn" file in some xml.zips.

Do i need to flash this file also, i don't see step for that in OP?
[Moto G General] matixz3:
worked perfectly, thanks!
[Moto G General] cedarknoll:
worked great on xt1031.

thanks!
[Moto G General] maurocds:
my phone boots into fastboot when power on, rom is working but does not boot rom by default

any help?
[Moto G General] Rodrimax:
Really need help here

Ok, i was using the moto g cyanogenmod unofficial version rom on my phone, and i wanted to install the newest version, but i got stuck in a bootloop, so i heard of this thread, installed my version (Chile, Movistar) and everything worked BUT the wifi, so i cant do most stuff i wanted to do, earlier in the thread i guy said he downgraded from 4.4.2 to 4.3 which gave him the same problem, so i assume is the cyanogen mods fault for upgrading my moto g to 4.4, so, How do i fix this? need quick reply please

Also, sorry for bad english
[Moto G General] Petrovski80:
This thread should be stickied. :good:
[Moto G General] r30orozco:
Thanks man, your method unbricked my phone!

Modifying some camera stuff, I reboot my phone and suddenly did not booted system anymore, it was just stuck on "Unlocked Bootloader" logo. I was so frustrated LOL but your method saved my XT1032, i'm from México, with carrier TELCEL. Again, thank you so much :laugh:
[Moto G General] theepicflyer:
Mine just gets stuck at waiting for device! Someone help. I've reinstalled drivers. The device appears as Motorola ADB Interface. It is in bootloader. I've installed mfastboot v2. Any other ideas?
[Moto G General] RollVGE:
thank's

hey, that's great I flashed GPE image in my Moto G and don´t liked, use this method for restore mi Moto G to Stock and be easy :good:, thank's for the tutorial :highfive:
[Moto G General] fkinscker:
ask firmware

which one is for indonesia? or global? thanks
[Moto G General] SHEER TERROR:
When the new update that fixes OTG is released, will we get new firmware releases?
[Moto G General] seafood99:
Sorry if this question has been covered before, but I am new with this and would like to be 100% sure, I got a retailEU device and would like to flash back to stock 4.4.2 so I can get the lastest firmware update from motorola.

Can i savely use Blur_Version.174.44.9.falcon_umts.Retail.en.GB, although mine is EU?
[Moto G General] robin0800:
You can but GB don't have the up date yet
[Moto G General] twist3d0n3:
can i use "Blur_Version.174.44.9.falcon_umts.Retail.en.GB" to convert my GPE phone to non-GPE? reason i ask as i want to start flashing roms, but as i understand it GPE has a different partition format?

thanks in advance.
[Moto G General] robin0800:
Yes I Believe the first file you flash, the gpt one, will set up your new partitions correctly.

Note if at any time using a gpe rom you can reverse this.
[Moto G General] twist3d0n3:
brilliant, thank you very much :)
[Moto G General] alran:
I have the same problem as someone in page 28, my firmware contains also the file emmc_appsboot.mbn and I don't know how to use it...

Edit: seconds after the above I f-read the xml file in the firmware zip archive and found the answer mfastboot flash aboot emmc_appsboot.mbn
[Moto G General] zaynar:
XT 1033 .. Help.

Which firmware shall I choose.. I am not on any contracts.. I can use any GSM.. I have XT1033 ( Dual Sim ) . Asia version.

Should I Download the --- Blur_Version.14.85.4.falcon_umtsds.AsiaRetail.en.03

Thats the only one for Asia..

What does Blur_Version mean..? :confused:

Would it work on my XT1033 in India..? :confused:

Please help as after upgrading to 4.4.2 I'm facing regular Network problems / Drops..

and I'm not alone... Google it and you'll see..

Please somebody Help Me.. :crying:

Regards,

Jayesh N ( zaynar )
[Moto G General] yash.sharma99@yahoo.com:
Same question

I think we'll have to flash 4.3 first then update it to 4.4.2 using WiFi or download the update from outside and flash it through stock recovery.

But the BIG question is - WHEN I UPDATED TO KITKAT, IT SAID YOU CANNOT DOWNGRADE. DOES THAT MEAN I CAN'T FLASH 4.3 EVEN FROM ADB????

ANSWER ME DEVS!:rolleyes::confused::o
[Moto G General] twist3d0n3:
i got an unsigned warning on (iirc) sparsechunk1 (or 0 in my case) - will this block the OTA update??
[Moto G General] zaynar:
4.4.2 >>> 4.3 Rollback.

Warning -- I'm not a DEV.. ( yeah LOL ) :)

With all the positive responses...I think it's possible to roll back to 4.3 after upgrading to 4.4.2 ... but I'm not sure with the XT1033 ( The version Flipkart got to us )

BTW Yash do you remember the exact name of the 4.3 firmware ( asia retail one ) Did it start with falcon something...??? :confused::confused:

I wanna roll back to 4.3 so badly... :silly:

Just want to confirm the firmware then I'm ready to Rock..
[Moto G General] LysergicSommelier:
Moto G UK retail GB succesfully flashed to retail DE without unlocking bootloader, awesome ;)
[Moto G General] tozzifan:
I had to unroot 4.4.2 to install the february minor OTA and did the same: I flashed just the recovery and the 3 system files). It worked: phone unrooted with all data, the OTA installed smoothly.

Cheers

(XT1032, No Carrier, French)
[Moto G General] rocalino:
Without unlocking bootloader?
[Moto G General] mokkami:
Seems like you haven't read the OP?

But at least you are in the right Thread.
[Moto G General] LysergicSommelier:
Yes, simply in fastboot mode with locked bootloader and flash gone succesful without problems.
[Moto G General] fabschixD:
Does anyone know if it's working on win 8.1 too???

I'wanna flash the German retail 4.4.2 over my rooted 4.4.2. It's a .xml.zip and i've already downloaded mfastbootv2
[Moto G General] eastdata:
Edit the flashall script to:

fastboot flash system system.img

...if that is the system image file included in the archive.

Make sure the PATH environment variable includes the path to ping and find executables--do a search to see if those files exist. If they do, add this at the beginning of the flashall script (on a line after [MENTION=279333]ECHO[/MENTION] off).

SET PATH=C:\Windows\system32;%PATH%

...assuming that "C:\Windows\system32" is the path to those files--change that portion to the path they were found in.
[Moto G General] fuchini:
Hi, searched both websites in the OP and couldn't find my firmware version. Does anyone have 14.81.2.falcon_umtsds.Latam.en.01 or can I flash an other one??

In those websites there are some Latam firmwares but it seems it's for Argentina.
[Moto G General] eastdata:
I'm waiting for an AsiaRetail KitKat firmware so I don't need to downgrade and reflash an update. Anyone know when the firmware for KitKat will be uploaded to the site in the OP? I dying to root this thing. :P

Do I have to request it somewhere?
[Moto G General] darkzero28:
Yes, Just did it today :good:
[Moto G General] itsnoahyo:
C:\sdk\sdk\platform-tools>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.42

i get the same failures for all 3 chunks. i dont get it.

EDIT: failed with fastboot flash, worked with mfastboot flash.
[Moto G General] sherlock_holmes:
Thanx a lot OP , got my bootlooped phone working again
[Moto G General] theepicflyer:
I got that message! How did you get it to work? Help!

EDIT: Solved. OP the sparsechunk lines at the end is sparsechunk.1

Must have DOT apparently

YAY Thank You! Mine works perfectly! Flashed GB KitKat On Retail GB over CM11!
[Moto G General] fabschixD:
That's nice for you^^

But i've downloaded all the drivers and "minimal adb and fastboot" but my notebook says that adbwinapi.dll is missing!
[Moto G General] darkzero28:
I have android sdk installed. Maybe that is the difference.
[Moto G General] mokkami:
Isn't this dll in the minimal adab installation folder?

Normally it shhould be there.
[Moto G General] fabschixD:
Yes, the .dll is in the folder.But if i type mfastboot in cmd.exe (in the folder where the system images are) it says adbwinapi.dll missing!

look imageshack.com/a/img138/4747/1n0v.png
[Moto G General] eastdata:
Put all the files in the same folder as adb/fastboot and try or open a cmd window from where adb/fastboot is and type:

set path=.

cd /d <path where image files are here>

Then do what you intended to do.

/edit

Use mfastboot or the fastboot included with the firmware, rename it if you have to.

Alternatively, open a cmd window in the firmware root and type:

set fastboot=.\windows\fastboot.exe

Then do what you intend to do.
[Moto G General] fabschixD:
EDIT: The .dll is in the Minimal adb folder in /Programsx86 not in the folder where the firmware + mfastboot.exe is!
[Moto G General] eastdata:
Copy the two DLL's adbwinapi.dll and adbwinusbapi.dll into the firmware folder and give it a go.

:angel:
[Moto G General] m3nphls:
Just have a question. After flashing my Moto G from stock US to UK Retail, my service from T-Mobile went from 3G and just showing edge. Does it disable frequencies on the phone by installing another version?
[Moto G General] Tag49:
downgrade = ok

Hi,

Juste downgrading from 4.4.2 to 4.3 for the french version : Blur_Version.14.71.8.falcon_umts.Retail.en.FR

Everything seems to work perfectly.

Having just a bug with battery : before downgrade, the battery was ~50%, and after it display 100%...

Thank you.

And a question : where comes from the stock firmware of http://sbf.droid-developers.org/phone.php?device=14 ?
[Moto G General] Lusbell:
Ty work like a charm for me with TELCEL_MX-FALCON-KXB20.9-1.10-1.9_cid12_CFC_1FF_v7_SVC.xml
[Moto G General] kdemertzis:
I am getting a loop...

trying again but getting hab check failed for boot!???????

I DID IT IN THE END!
[Moto G General] Tag49:
So a few hours later, my battery went from 90% to 40%.

And I just found a problem that I had not before : in recovery mode, I can not wipe cache partition. When I select this option, it display the SDcard's folders (Android, Music, Ringtone, Pictures, etc.)
[Moto G General] eastdata:
It was a known bug in 4.3 recovery and was reported to Motorola.

http://xdaforums.com/showthread.php?t=2543869
[Moto G General] AceDuff93:
Hi guys, I've been owning a Moto G since fall december. Never had a problem with it, now I'm on 4.4.2 Retail UK, bootloader unlocked, rooted and CWM and I made a mistake, cause a small update (the one fixing OTG support etc) popped up and I accepted to Update the phone. As you know, OTA updates can't work when phones are modified. So I've been trying endlessly to flash a full stock with no success: I downloaded UK retail firmware 4.4.2 but when I write this command "mfastboot flash partition gpt.bin" an error occurs, saying "target max sparse size" and so I can't flash this way. Thinking that maybe something was modified with recovery or whatever, I tryed to bypass the problem by using MotoTool and trying to convert my Moto G into GPE, cause this way maybe the tool could flash a working stock firmware, but when gflashinf was over, the firmware was still retail UK. At this point I don't really know what to do. This update is not important to me, but it keeps on popping up and it's really annoying. Also, I feel like something is wrong with my Moto G and that really bothers me.

So please, if you could help me, I'd really really appreciate it. Thank you very much in advance.
[Moto G General] ekabon:
i guys, im flashing Retail UK firmware and when i get to this step "mfastboot flash system system.img_sparsechunk0" i get this error "target max-sparse-size: 256MB". Help please!
[Moto G General] AceDuff93:
Had the same error as you, as you can see in the post above. Tried almost any possible solution but nothing worked. I suspect that it's something that has to do with the rom or, with the method used to install a custom recovery through superboot, but I can't prove so.

Anyway, the only solution I found was downloading Cyanogen and install it via ADB Sideload, causa CWM wouldn't be able to explore sd card for unknown reasons. Cyanogen seems to be working fine, tomorrow I might downgrade to stock 4.3 and upgrade via OTA to 4.4.2...That's the only possible solution I haven't tried yet.
[Moto G General] eastdata:
I noticed that the fastboot.exe from the tar.gz files is different in size from the fastboot.exe linked in the OP.

If you want the version from the tar.gz let me know.