yashsingh1/xdaforums huggingface dataset:
[Moto G General] AgentChaos:
yes but that would require to unlock the bootloader which will void the warranty. first check if the mode to 3g is set in mobile network settings
[Moto G General] atembleque:
Thaks!

I'll do it, the warranty is not a problem, we are so far from EEUU and it must be difficult to use the warranty
[Moto G General] atembleque:
Sorry, but may you please tell me if the steps I will follow are the correct ones?

1. Unlock bootloader

2. Flash original firmware KK for the xt1063 (the phone is an xt1064)

3. Update to lollipop

4. Maybe flash a costom recovery and root, if she wants it
[Moto G General] jos90:
Hi guys i'm stucked in this process: mfastboot flash system system.img_sparsechunk1

This is the error i've got:

target max-sparse-size: 256MB

error: cannot load 'system.img_sparsechunk1': No error

What shall I do? I'm restoring 4.4.4 firmware EURetail on 4.4.4 EURetail Moto G (same firmware, as reinstalling) to get a clean ROM Stock for the next lollipop update.. Can you please tell me what's wrong? :(

EDIT: Resolved, filename was different from what i've written in terminal! (sparsechunk.0 inseatd of sparsechunk0)

Anyway at the end of all flashing processes, the moto G didn't reboot on itself, so i chose Normal power on the ADB Menu. When the phone turn on, i didn't see any change: still all the same apps as before were installed, like root and busybox, that means that it didn't format partition somehow, even if each command returned an OKAY. So what do I have to do to get a clean ROM for the next update? :eek:
[Moto G General] lfuentes:
Thanks, but you could have said it BEFORE the list of commands to execute.
[Moto G General] h4ni:
thanks

real thanks for your hard work

best regards
[Moto G General] help_me_if_u_can:
please check this screen, after every step I am getting [OKEY] but after that Failure...and my phone steel bricked, is that means that I do not have permissions and I need to Unlock Bootloader to install this firmware???
[Moto G General] spiritflare:
Stuck at bootloader unlocked because ...

Please make a note of this on your guide - a lot of people are going to cut and paste your verbatim instructions and it will fail, because some of the stock firmware files they download contain 4 system.img files and your instructions say to flash 0, 1, 2.

system.img_sparsechunk.0

system.img_sparsechunk.1

system.img_sparsechunk.2

system.img_sparsechunk.3.

If you dont flash all of them, it won't boot and it will be stuck at the bootloader.

So people - if you are stuck at bootloader unlocked and have no idea wtf went wrong, check your firmware files you extracted and count the system.img files and make sure you flash all 4:

example:

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
[Moto G General] help_me_if_u_can:
I unlocked bootloader but after OKEY it steel gives me Fail, Why??? what is wrong?????
[Moto G General] Frascar:
I might just being stupid but im trying to look for the stock ROM for MOTO G XT1032 i live in the UK and my mobile network is 3. i've tried a couple of different ROMs on the list and after i install them i can't connect to the mobile network.

If any of you could help that would be really kind and much appreciated.

many thanks
[Moto G General] atembleque:
Did you check your APN after install that ROMs?
[Moto G General] Frascar:
Thanks for the quick reply and yes i have it is all correct it just doesn't seem to turn the mobile network receiver on at all. it won't even search for networks.
[Moto G General] Bakapo:
Error in flashing

Hi, i'm trying to revert my Moto G from GPE to NON-GPE editon by flashing a stock firmware. I have downloaded the same file of OP and even if I delete the instruction from the script, it does block on the second (flash motoboot). I tried to skip and go flashing logo, boot and recovery and the other files, but it gives me an error in mfastboot flash system system.img_sparsechunk1. I can still flash the 4.4.4. brazilian GPE, but I want to return to stock NON-GPE because I can't install custom roms. How can I do?
[Moto G General] remo0073:
Have a look at first post in this page.

http://xdaforums.com/showthread.php?p=58092095

Sent from my Moto G
[Moto G General] Bakapo:
I saw, It says you should flash ALL files, but I can't even flash the first one..
[Moto G General] :
You have to flash the one that matches your system version... Any random one won't work
[Moto G General] Bakapo:
How can I discover my sytem version??
[Moto G General] :
Settings, about, system version
[Moto G General] Bakapo:
I have Model Number, Android version, Baseband version, Kernel version and Build number. Which is "system version"?
[Moto G General] lept_2014:
It's between Kernel version and Build number. Check it again.
[Moto G General] Bakapo:
Look at the attached screenshots
[Moto G General] priban:
Hello!

This Methods did always work for me, however i tried to switch from GPE 5.0.1 to CM12 which didnt work because of the "can`t mount /system" error.

Now everytime i try to reflash the Stock Rom it stays in Bootloop, any ideas?
[Moto G General] lept_2014:
Check this other...

http://xdaforums.com/attachment.php?attachmentid=3112603&d=1421128435

Maybe in GPe there isn't "System Version", because there is only One System Version ;)
[Moto G General] Bakapo:
:( How can I restore Non-GPe firmware? I can't install custom roms :(
[Moto G General] priban:
http://xdaforums.com/android/help/fixing-status-1-error-cm12-t2992195/post57929278#post57929278

Maybe this can help for the "can´t mount system" Error. It would be nice if someone could look into it.

Edit: Maybe its a failure of the updater script for some models?
[Moto G General] priban:
Fix for "unable to mount /system" Error

Okay sorry for that double posting, but i managed do find a solution to the error message while installing cm12 oder any other lollipop rom.

It seems like the system-partition size of the GPE 4.4.4 differs from the stock or cm12. Thats why i always got the error status 1 (installation aborted).

I tried to downgrade to 4.4.4 and 4.4.2 with no luck, always the same. But then i found a modified gpt.bin wich lets you "update" to the old stock 4.4.2 partition sizes.

So i flashed this gpt.bin and then the other files of the stock gpe 4.4.2. After the first boot i directly flashed the 13/01/15 nightly of cm and everything works as far as i can say now.

Here is the gpt.bin-file: http://xdaforums.com/showpost.php?p=54103676&postcount=2

Thanks to Saphire007 for uploading.
[Moto G General] Bakapo:
Errors I got

I get these errors while trying to flash stock firmware. I bought it from Amazon and it came from France so I downloaded RETAIL-FR firmware

C:\Users\Attilio\Desktop\RETAIL-FR_4.4.2_KLB20.9-1.10-1.9_cid7_CFC_1FF_v8.xml>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1940 KB)...
OKAY [ 0.158s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.464s

If I use the script I get:

C:\Users\Attilio\Desktop\RETAIL-FR_4.4.2_KLB20.9-1.10-1.9_cid7_CFC_1FF_v8.xml>fashall.bat
Motorola Mobility flashall script version 1.4

Flashing Options:
- flash persist: 0
- flash userdata: 0
- erase userdata: 0
- erase cache: 0

Waiting for fastboot enumeration...

Fastboot device is ready!!

Flashing GPT and bootloader images...

8226 HW detected...

Flashing motoboot

Executing ".\Windows\fastboot.exe flash motoboot motoboot.img"
target max-sparse-size: 256MB
sending 'motoboot' (1940 KB)...
OKAY [ 0.149s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.440s
.\Windows\fastboot.exe flash motoboot motoboot.img failed!!

How can I solve this?
[Moto G General] AgentChaos:
if your moto g has been updated to 4.4.4 or higher, you cant downgrade the bootloader, so skip motoboot step

thats why its failing, and you need to unlock the bootloader.
[Moto G General] ig0r260892:
still can't understand... does the OP method work if i have cyanogenmod 12?

i want to go back to stock(4.4.4 is fine) and lock it (to send it to repair by warranty)

not gpe, motorola stock xt1032
[Moto G General] _Drifter_:
I Know (because i already tried) that is no problem reversing from 5.0.1 GPE for 4.4.4 GPE. But, from 4.4.4 GPE to 4.4.4 Stock UK Motorola have any problem? Can be done by fastboot without any problem?
[Moto G General] objr:
Hi, I wanted to give a try to Lollipop so I converted my UNROOTED XT1032 gbRetail to GPe and after that I was noticed to upgrade to Lollipop 5.0.1.

After the download, I pressed the reboot and install button so that the device went to install the upgrade on recovery.

(I noticed that the upgrade bar didn't complete since there was still a quoter to end the process) The device rebooted and stayied on the google unlocked booting image for like quoter an hour. I went to XDA and followed a thread to restore a 4.4.4 XT1033 retail on my device. Everything was working back to normal again.

The only problem is that everytime I reboot the device, my screen flickers like there was a magnetic interference on the screen.

Do anyone have a answer on why this happens? Can it be restore as it was?

And anytime I try to convert to GPe and upgrade to lollipop, the same thing happens, still locked to the google unlocked booting image. Is there any help for this?

I couldn't even flash any CM base cos the process went failed on recovery.

Any help?

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G General] lept_2014:
You can do it without any problem.

4.4.4 GPe and 4.4.4 Stock have same bootloader, but they have different gpt, so you must flash gpt.bin first:

mfastboot flash partition gpt.bin
mfastboot reboot-bootloader
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 modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
pause
mfastboot erase cache
mfastboot erase userdata
pause
mfastboot reboot

---------- Post added at 02:07 PM ---------- Previous post was at 01:53 PM ----------

Don't use firmware 4.4.2!!

You can try with this Factory Image: XT1032_RETAIL-FR_4.4.4_KXB21.14-L1.40_37_cid7_CFC_1FF.xml.zip

If you came from 5.0.1 GPe and want go to 4.4.4 Stock, you must to know that the bootloader cannot be downgrade so you must flash this sequence:

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
pause
mfastboot erase cache
mfastboot erase userdata
pause
mfastboot reboot
[Moto G General] nikolov47:
What are the chances to instal stock retail.ASIA or retail.BR rom over my retail.UK on XT1032 and update with the Soak Test Lollipop? And should I unlock the bootloader?
[Moto G General] help_me_if_u_can:
anyoneeee......I am getting Fails on every Step of Flashing my device, and I have Unlocked Bootloader....What could be a problem????????
[Moto G General] _Drifter_:
Thanks.

But... im confuse, can I go from 5.0.1 GPE directly to 4.4.4 Stock? I was thinking go from 5.0.1 GPE to 4.4.4 GPE than 4.4.4 Stock, if I can go directly to 4.4.4 Stock, it will be faster.

And dont understand this:

This will make the phone reboot back to the OS or reboot again to the Bootloader? If the phone reboot to the OS, can this make any problem? I already have a problem with the Moto G when downgrading from 4.4.4 to 4.4.2 and dont want to mess up again :D

By the way, on the sequence to flash the ROM, the ''pause'' thing, is to ignore right?

Sorry for asking alot of things but I really dont want to end with a brick... again ;)
[Moto G General] lept_2014:
In theory is possible, but i haven't tested it. But i've tested the other way:

1st downgrade to 4.4.4 GPe

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

then change to 4.4.4 Stock, and works fine!

mfastboot flash partition gpt.bin (from 4.4.4 Stock)
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

Ups. My mistake! :p

I already have corrected my mistake. Thanks ;) [mfastboot reboot-bootloader is the right command]

The "pause" things... you can ignore, or not if you want check everything is happening ok in the command prompt window.
[Moto G General] _Drifter_:
Thanks alot, that was really helpful ;)
[Moto G General] flyjazz:
I've installed BR,Asia and GPE lollipop on a XT1032. You need a unlocked bootloader for GPE. My understanding is that it may be possible to flash stock Motorola lollipop firmware on locked bootloader. I'm currently running Asia 5.0.2 and I like it. Keep in mind Asia and Brazil Lollipop are for the XT1033,so you will see references on the phone to SIM 2. I wasn't a fan of the GPE lollipop,even though it was meant for the XT1032. When the Motorola lollipop XT1032 update is released,I'll be flashing back to XT1032 EU 4.4.4 and updating via OTA or recovery.
[Moto G General] ig0r260892:
guys, something is wrong :'(

i used this zip CC_XT1032_4.4.4_KXB21.14-L1.61_cid9_CFC.xml.zip and followed the stepps. the only thing that didnt work was oem lock(yes i executed oem lock begin before, and oem lock after).

the rom booted and all, but i couldn't relock the bootloader so it's pointless for me to remain on stock.

now i want to go back and flash cyanogenmod.. so i flashed TWRP and when trying to wipe before flashing rom zip - it fails, with folowing messages for all partitions

[COLOR="Red"]E : unable to mount ' /data'[/COLOR]

and then in "Select partitions to Wipe: " menu i have a message from TWRP saying

Repair or Change File System

help please :crying:

flashing partitions via fastboot fails too, remote failure

some (i)relevant info: my moto g is xt1032 16gb, it was never converted it to gpe
[Moto G General] Qaso:
Make sure you are using the newest TWRP (2.8.4.0). Then inside recovery -> Wipe -> Advanced Wipe -> Select problematic partitions -> Repair or Change File System and play with it. Try to change file system first from ext4 to ext4 and then repair. This worked for me.

Also make sure you are using f2fs file system for /data partition.
[Moto G General] help_me_if_u_can:
dude, I can install TWRP on my xt1032 16gb global gsm, unlocked bootloader, because Remote Failure...??????? what is wrong???? is there any help???
[Moto G General] amit694:
moto g Brazilian lollipop to cm11

right now i am on brazilian lollipop 5.0.2 with just unlocked bootloader

so now i want to flash cm11 custom rom....so for that i have to flash kitkat bootloader first

so can i just use boot.img file of kitkat bootloader of indian moto g ...which is provided on motorola forums site as fix

or can i just use Brazilian kitkat rom to downgrade to kitkat bootloader

Anyone tried this or know about it...﻿
[Moto G General] njofra13:
Hello,

I installed gpe lollipop on xt1032 (8 gb version) and now I would like to go back to the original version (uk version kit kat non GPE).

I'm a little confused with the posts before, so if someone could put links to files I have to download (UK version kit kat non GPE) and what is the correct procedure to restore back to the stock version because I am not an advanced user, and I'm a little lost.

Thnx ...
[Moto G General] richland6600:
anyoone have link for xt1032 enUS retail global ?

the link on page one is dead

thanks
[Moto G General] jglm4u:
And anyone has the link for xt1031?
[Moto G General] njofra13:
I've managed to downgrade from 5.01 gpe to 4.4.4. gpe so now i would like to restore stock uk kit kat version (xt 1032 8gb) so if some one have links and steps how to do that it would be great ....

Thanks
[Moto G General] nekher:
Thank you so much for this.

I had managed to hurt this little fella...and i wasnt able to make it back to life.

Just one little thing for those who may have the same issue (wich is kind of self explanatory but...well..)

In the commands you should enter, it said:

mfastboot flash system system.img_sparsechunk1

mfastboot flash system system.img_sparsechunk2

mfastboot flash system system.img_sparsechunk3

In my particular img file, that didnt work, well..because it was not named like that.

The files i had were named

system.img_sparsechunk.0

system.img_sparsechunk.1

system.img_sparsechunk.2

so obviously, i started by the number 0 and go along...

It worked perfectly, so if anyone else also has this problem, they probably can assume its safe to do the same.

Im using the CLARO-AR-SS_4.4.4_KXB21.14-L1.40_37 img

so, thnks!
[Moto G General] njofra13:
Found these files from link on the first page, so I'm interested is any one of this ok for uk retail kit kat (xt 1032 8gb):

1. XT1032_RETAIL-GB_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.xml.zip

or

2. RETAIL-GB_FALCON_KLB20.9-1.10-1.24-1.1_cid7_CFC_1FF.xml.zip

Thanks
[Moto G General] lept_2014:
Try with number 1, is newer.

I think the second is a earlier version than 4.4.4 (maybe 4.4.2)
[Moto G General] njofra13:
I've managed to downgrade from 5.0.1 gpe to 4.4.4 gpe and than to uk retail 4.4.4 (xt1032 8gb version) , but only problem is that screen flickers on boot up, so is there a solution for that problem?

Thanks
[Moto G General] flyjazz:
Yes,if you upgrade to Lollipop. It's an issue with the upgraded bootloader 41.18 and the kernal during boot-up initialization. Just power on/off the screen once and it's gone. I rarely ever reboot the phone,so not too much of an issue for me.. Once the OTA Lollipop update for the XT1032 is available;problem solved.
[Moto G General] remo0073:
http://xdaforums.com/showthread.php?p=56579534

Sent from my Moto G
[Moto G General] danielsinnema:
How about downgrading from 5.0.1 GPE Lollipop to 4.4.4 GPE KitKat? Is it the same procedure?

---------- Post added at 07:38 PM ---------- Previous post was at 07:01 PM ----------

Please tell me exactly how you downgraded from 5.0.1 GPE to 4.4.4 GPE.

Did you use this http://xdaforums.com/showthread.php?t=2542219 tutorial and did you skip the first command?

Thanks in advance.
[Moto G General] Carlos_EVH:
Hi guys, I have one question.

My moto G is running the 41.05 bootloader and android 4.4.4 because i skept the OTA and updated my moto g with the optimized versions of 4.4.4 but I need to update now the bootloader to 41.13 because with the 41.05 version CM12 and TWRP's don't work, the only I have is a endless bootloop.

Can I upgrade the bootloader installing only the gpt.bin and the motoboot.img and then reboot through adb?
[Moto G General] lept_2014:
See you on the other side. ;)

---------- Post added at 21:43 ---------- Previous post was at 21:29 ----------

You can use the first part of THIS
[Moto G General] ig0r260892:
moto g xt1032 16gb

my phone can't even detect a sim card now after flashing the baseband from stock 4.4.4 :(

before trying to flash stock firmware i had this baseband:

MSM8626BP_1032.340.63.00[COLOR="Red"]R[/COLOR]

does someone have it in NON-HLOS.bin and fsg.mbn?

(not sure which of them really is the baseband so i have been flashing both this files and so far tried every xt1032 versions from OP link but none of them is MSM8626BP_1032.340.63.00R... the best i found was MSM8626BP_1032.340.63.00B).

also does someone know if it will fix my radio or i just ****ed it up and only service center can fix it?
[Moto G General] lept_2014:
Which ROM did you flashed?

I use this ROM: RETAIL-EU_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF and the baseband is MSM8626BP_1032.390.81.01P (you can look for inside 'NON-HLOS.bin').

Maybe you have flashed a different ROM to which you need. You can find a lot of ROMs in this WebSite.

Check THIS. I think will be useful for you
[Moto G General] SivaprasadB:
recovery not working

i have rooted my phone and flashed cwm recovery.

i have tried all the steps but when i select recovery it is going into recovery, instead it is showing android symbol with error

phone is working normal but recovery is not working

please help :(
[Moto G General] lept_2014:
It's happening when you have a stock recovery. Press and hold vol up button for 5 sec and then press also power button once. Then release both buttons.
[Moto G General] CreasingMass Dev:
RETAIL_XT1032_4.4.4_KXB21.14-L1.61_cid9_CFC mirror:

https://docs.google.com/file/d/0B6RNTe4ygItBeUd1WXZFaEY4UjA
[Moto G General] Q07:
where i get flashall.bat ?

sorry to ask

but where i can download flashall.bat ?​
[Moto G General] lept_2014:
It's inside ROM ZIP, but all ROMs hasn't got one.

Check if your ROM is in .tar.gz format (section 3a) ) or in .xml.zip format (section 3b) )
[Moto G General] amey_v:
Please help! How to downgrade from 5.0.2 to 4.4.4 asian

Hi can u please tell me how to downgrade from captured asian ver soak test OTA 5.0.2 to stock asian 4.4.4 firmware also i read about screen flicker issue will that be gone after upgrading to Lollipop? :confused:
[Moto G General] thelastemperor24:
I have XT1031 with firmware 4.4.4 Blur_Version.210.12.57.falcon_cdma.Boost.en.US. I want to install firmware 4.4.2 Blur_Version.173.44.43.falcon_cdma.ACG.en.US. Do I need to unlock bootloader to downgrade firmware version from 4.4.4 to 4.4.2? Or do I just skip the motoboot step during flashing?
[Moto G General] digi0ps:
Small help guys.

Am on CM 11 on XT1032.

I want the Lollipop update.

So if I flash the stock 4.4.4 ROM I can get the OTA right?!
[Moto G General] remo0073:
Yes

;)

Sent from my Moto G
[Moto G General] happyseaurchin:
Thanks. How do I know which firmware?

I downloaded one, but when I go to the point of flashing the sparsechunk files, the image was too large. Clearly, I am using the wrong firmware.
[Moto G General] tyrael_pl:
error

hi,

so Minimal ADB and Fastboot tells me error: device not found. im kinda annoyed. I got the motorola device manager installed and the phone is visible as "android device --> motorola adb interface"

perhaps im doind something wrong. do i run the "adb reboot-bootloader" command while IN fastboot menu? or do i run it while phone is booted up to system? Ok nvm, i think i got to do the same thing twice...

Edit:

I have successfully reverted to retail en.GB 4.3 from a tesco branded 4.3. Thank you.
[Moto G General] michalurban:
Id just found out that I had not Stock but Tesco version - and now Ive successfully unlocked my MotoG and flashed UK retail. Thanks a lot! :)

PS: I wasnt able to use the command "adb reboot-bootloader" - it said "error: device not found" ... but fastboot was ok and the flashall batch went fine ...