yashsingh1/xdaforums huggingface dataset:
[Moto G General] rdnatty:
Hi, I'm facing the same problem as yours. Did it work for you? Do let me know. Thanks.
[Moto G General] G0rr:
Better safe than sorry

In my case, I have the 2014 8Gb XT1032 Global GSM unlocked version with a bootloader 41.19 version and the CM Recovery 12.1 as well.

I'm kinda afraid to hard brick the phone in case I choose a firmware bellow lollipop because of the bootloader version.

Can you tell me which firmware from the list would be most suitable to install.

Thanks
[Moto G General] G0rr:
Hab check fails...hab check fails everywhere

Hi guys,

Once again I ask for your help.

I have a XT1032 8gb Global GSM unlocked with a 41.18 bootloader version.

Due to a huge f...mistake, I ended up clearing all my phone data and stuck with the bootloader and, eventually installed a CM 12.1 recovery before someone suggested me to try this.

The thing is, I tried several times to reinstall different firmwares from the list but everytime I get to the boot and recovery code lines I end up getting an "hab check fail" for both of them.

fastboot flash boot boot.img
fastboot flash recovery recovery.img

I tried normal fastboot and, since I don't seem to manage to get the mfastboot to work, I've been placing (suggestion from another thread http://xdaforums.com/moto-g-2014/development/unix-mfastboot-linux-mac-os-x-how-to-t2941888) the mfastboot-V2 files in the directories of the firmwares and using:

chmod +x linux-fastboot
sudo ./linux-fastboot

With all the different firmwares (all lollipop) I tried several times with no avail, always getting the "hab check fail" message on my screen. Apart from this, everything goes smoothly until I reboot my phone and get stuck with the Google black screen or the bootloader warning.

I'm really lost here and afraid if I try a kitkat firmware I end up bricking my phone for good. I don't know if this is relevant, but all my attempts have been made on a Mate 1.10.2.

I appreciate any suggestion or help.
[Moto G General] Der_K:
Try install from SD card if it's available.

Well this CM Recovery is working??

If it is, do you have an option to install an update.zip from SD card or anything?

If your model is this one, you can install a ROM Directly from SD Card.

images.fonearena.com/blog/wp-content/uploads/2015/07/Motorola-Moto-G-3rd-Gen-2015_fonearena-12.jpg
[Moto G General] G0rr:
It's a 1st Gen Moto G, so no external memory.

Regarding the rest, the CM Recovery seems to be working fine, but everytime I try to "adb push" an update file into the phone memory, the phone turns out either offline or isn't recognized. I tried updating all the fastboot and adb, as well as MTP in case it was a usb matter but with no result. If I go to "Apply Update" in the CM Recovery and choose from internal storage, there's nothing there - no directories.

Thanks for the suggestion anyway.

Update:

Actually due to sheer stubbornness and many attempts, I finally managed to turn on the phone and it's working perfectly now.

Thanks for this thread
[Moto G General] Der_K:
HOW??? I've been a real stubborn too (for a entire week now) and 'till now, I got nothing...

..::EDIT::.. :victory:

I've downloaded a 5.1 stock rom (BLUR VERSION - From this link: http://xdaforums.com/moto-g/general/rom-retail-stock-rom-captured-ota-t3192870 ) for OTA update and tryied to flash only the gpt.bin from this rom with the other parts of 4.4.4 and... "IT'S ALIVE!!!" - Frankenstein, Doc. Victor :highfive:
[Moto G General] cr00mz:
Hello

I am in need of some assistance. Been trying to update to a new version of Android. However i keep receiving failed to update messages. So i figured i would wipe the phone clean. I went to recovery (PhilZ) and took the option to wipe everyhting (flash new ROM). However i am encountering some problems. The phone is now stuck at "Warning bootloader unlocked". So i cant really 'access' my phone. I tried sideloading a .zip firmware via PhilZ Recoverymod, but the problem is that my device does not show up as connected.

What can i do?`I've killed the adb server and restarted it several times, restarted phone and computer several times, without any luck. Whenever i go in to fastboot mode and insert the USB cable, it still says "Connect USB data cable".

Help would be very much appreciated
[Moto G General] Der_K:
Hi cr00mz,

I think i didn't understand well what's happening to you, but, if the problem is in your computer, and assuming you are using windows, try this:

Open the CMD and tipe:

netstat -aon|findstr 5037

find process id of 0.0.0.0

make sure it's adb.exe

tasklist|findstr 1980

kill this process

taskkill /f /t /im adb.exe

get ADB back to normal

Hope it helps...

But just in case your problem is on the phone, can you please, tell us what is the model of it??

Ty ;)

By the way, just to be sure, try to uninstall and reinstall your device adb drivers :)
[Moto G General] cr00mz:
The model is XT1032. I've already tried reinstalling the adb drivers.

The main problem is i cannot gain access to the phone, there does not seem to be an android software on it anymore as i think i have accidentally removed it. All i have now is the Philz Touch 6 recovery mod. I tried sideloading a new firmware, but the problem is i cannot get the device to show up on 'list of devices attached'.

---------- Post added at 05:49 PM ---------- Previous post was at 05:24 PM ----------

And since i cannot properly start up my phone, i cannot enter Developer options and enable USB-debugging.

---------- Post added at 05:51 PM ---------- Previous post was at 05:49 PM ----------
[Moto G General] itisdieter:
Following the steps is the OP, entering each command was successful and I got Okay after each step.

I am now on step 4 - 4) Wait, you should now be rebooted into a fully stock Moto G firmware.

Should the device reboot itself once complete, or do I neeed to reboot it? It has been 14 minutes since I completed the procedure.

Thanks for your help!

ETA - mfastboot reboot and I am up and running, thanks for this thread!
[Moto G General] itisdieter:
This resolved the issues I had with my bricked device, thanks for helping out!
[Moto G General] :
Solution for PIV

I think this may help you.. I had the same problem and I got the problem is with OEM lock. Remove OEM lock commands and then try to flash through fastboot. OEM lock requires signature verification for system image. And Motorola changed their OEM signature that's why this problem is there.
[Moto G General] Xenphor:
I'm trying to restore the 5.1 stock firmware on my XT1031 but it gets stuck at the bootloader unlocked screen and then goes into recovery in a loop. I ran the following commands successfully many times but still no luck:

What else can I do?
[Moto G General] Q++:
Downgrade to Stock from CM13

Good day everyone,

I need to flash a stock rom on my Moto G (1st gen falcon x1032) to be able to use the unlock code from my carrier (Yes, i know i should have thought about that before jumping to CM).

I've read in several places, specially in CM13 nightly's official page that it is not possible to flash CM12 once upgraded to CM13. Does this prevents from ever going back to any Android 5.x or Andrdoid 4.x version?

I did not take any backup of my device prior to flashing CM12/13.

Thanks for your help!.
[Moto G General] scott1256ca:
I'm having some trouble restoring a 1st gen moto g

It's a telus phone xt1032

running lollipop 5.1

I downloaded the bins from the links in the first post

here http://xdaforums.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795

and ran the instructions from this thread.

This does not seem to properly update my phone, since when I reboot I get the "Warning Bootloader Unlocked" msg.

So I reran starting with

mfastboot oem unlock begin

reran cmds

mfastboot oem lock

but then I got

FAILED (status read failed (Too many links))

but it seemed to lock the bootloader, I just get the wrong image starting up, not the android one.

Is it just logo.bin??? Does that matter?

Just in case I reran with fastboot instead of mfastboot. Behaviour seems the same as with mfastboot.

Any ideas where I can go to proceed?

Any way to tell actual contents of logo.bin? I assume it is just a picture.
[Moto G General] objr:
Hello, I have 41.1A bootloader! I was on CM13

Is it safe for me to factory flash stock 5.0.2 with the appropriate method instead of stock 5.1?
[Moto G General] niklas86:
Many thanks.

Android 5.1 was not launching anymore on my XT1039 after I replaced the screen (It was launching the usual start screen then was black )

I use the GB firmware XT1039_PEREGRINE_RETGB_5.1_LPB23.13-17.3_cid7_CFC.xml, followed the instructions and everything worked perfectly.

I first tried unsuccessfully with (Moto_G_LTE_XT1039)_RET-GB-SS_4.4.4_KXB21.14-L1.46_cid7_CFC_1FF.xml before I realized that a 5.1 version was available on the website mentioned in the OP.
[Moto G General] B44Z:
Go ahead. It's completely safe. I, myself, have flashed the stock 5.0.2 firmware a number of times. Last I did was 3-4 days back. I was on cm13 too.
[Moto G General] h2odiver:
I have a xt1034 that is rooted with cm 13 but had a bootloop issue that arose after making a backup using twrp. I am trying to restore back to original. I have downloaded the proper files and am having an issue on the first command.

target reported max download size of 536870912 bytes

sending 'partition' (32 KB)...

OKAY [ 0.073s]

writing 'partition'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.403s

Can someone please point me in the right direction?

Is this an error because I am trying to downgrade ? I using AWSRETAIL_XT1034_4.4.4_KXB21.14-L1.61_cid9_CFC.xml with adb fastboot
[Moto G General] alfick3:
If you had lollipop before you put CM13 on, you have a lollipop bootloader so can't put KitKat on
[Moto G General] h473rj:
nope, i just flash 4.4.2 from 4.4.4 ...beacouse this f tw@t in thread http://xdaforums.com/showthread.php?t=2581548 who f@ck peoples phones this method......

anyway, i got stock 4.4.2 now, philz recovery, su with update binaries and still ota notification update to 4.4.4 ;)

i got many Q to, cause OP have to little information about this metod flash stock, for example: downgrade to 4.3 is describe but what about downgrade 4.4.4 to 4.42:) i got fail flash in 2 lines - gpt and motoboot.... but rest was ok, and i have (miracle?) 4.4.2 stock.....

So OP has to be more specific, 200 page of ppl FAQ about this and that is to many:) Maybe someone give a OP necessary update;)

cheers
[Moto G General] B44Z:
Use flashable zips to downgrade.
[Moto G General] h473rj:
flashable via fastboot? pls specific;)

i just flash OP method KK from LP and i have LP bootloader 41.1A.... none i see talks about that, is it safe, OP has to many holes

NONE says loud and clear: after upgrade to LP we r stuck with LP bootloader!

No i was back from LP and i have animations glitches on boot in KK ...... nice OP very nice, i dont see sane ppl here who runs the main threads
[Moto G General] sLaughteRguy:
Animation glitches are normal after flashing KK on LP bootloader and that was quite a loud topic when people first tried it. You lock your screen once after booting - pow, no more glitches. Nothing more.
[Moto G General] B44Z:
Flash the zips via recovery. You must not flash the firmware to downgrade. I guess it's simple enough, idk where's the problem with that.
[Moto G General] h473rj:
Was topic, long time ago.... but i dont se a f word in alll OP about downgrade. etc... this is bs
[Moto G General] smihaila:
Did anyone manage to flash into a Republic Wireless XT1031 Lollipop 5.1 phone, other flavors of XT1031 falcon CDMA stock firmware that is either:

- Not Republic Wireless (i.e. Verizon, Boost or US Cellular)

- Or, still Republic Wireless, but a lower Android OS version (i.e. 4.4.3 or 4.3)?

No matter what I try, the locked bootloader refuses to flash key partitions (boot.img, the sparse system partition files etc).

Some other discussion forums at XDA are mentioning about a CID (carrier id?) mismatch? For example RW has cid = 6, while US Cellular and Boost use cid = 5, and Verizon has cid = 2.

Heard also from this looong thread that other people had certain degree of success rates with locked bootloader accepting other f/w flavors for the same phone hardware?

I'm not necessarily looking for rooting this RW Moto G XT1031 phone - I'm only interested in getting the damn RW system software app out of the firmware, so that I can use the phone on other Sprint MVNOs, such as RingPlus, Ting or Tello. Actually, I'm already switched to RingPlus and the phone, with the stupid stock RW firmware, can handle inbound voice calls perfectly. The only issue is with outbound voice calls - the RW own app seems to be inserted itself somewhere at lower level inside Android's OS modules, so that each time I have to dial out a phone number (the Dialer app being used doesn't make a difference), the freaking RW app kicks in and detects my dial out attempt and it's telling me that I have no service / call will not be accepted.

Thank you.
[Moto G General] frank_1985:
Can't download

The download link is broken...
[Moto G General] billotheretardo:
Well it doesn't work for me. I have everything that is needed but when I try to execute the first line it says that Adbwinapi.dll is missing :(
[Moto G General] pushkaraj_d:
hello guys

i am facing a strange problem. i have returned to stock android from cm12.1

but i messed up with twrp mount settings and i got some error about "persist"

somehow i flashed stock recovery and official lollipop. now i am not able to connect to wifi. that button switches off immediately,

mobile network works fine. there is no issue with router. even after installing cm12.1 i faced same issue.

Pls help
[Moto G General] cheppiroma:
Dear master t-bon3,

I try restore my device to stock, the steps in page one almost all resulting in [OKAY] but one step to erase user data ended like this:

And when i reboot, it stuck on "Warning Bootloader Unlocked" page. Is there anything i done is wrong? Thanks before.. ;)
[Moto G General] zzoemie:
Access denied message on execution of fastboot flash system.img_sparsechunk ...

Hi,

I recieved a sms with a question, "is this you phone", as i was replying my phone rebooted.

Then my moto G XT1032 was hanging on the android startup screen.

I dicided to do a recovery.

It did not work,it got stuck on the erase of user data part.

Then I dicided to flash the moto G with XT1032_FALCON_RETEU_5.1_LPB23.13-56_cid7_CFC.xml.

Al went well until i got to the part "fastboot flash system.img_sparsechunk.1, 2 and 3" there i got an acces denied message.

The device rebooted.

After the reboot te only thing i get is a flashing dead android guy.

What should i do or what can i do next.

Greetings

zzoemie
[Moto G General] Saadjamil36:
The first two commands come back as Failed
[Moto G General] Thilan1:
preflash validation failed

First two lines failed. What should I do ? My bootloader version is 41.1A

---------- Post added at 05:46 AM ---------- Previous post was at 05:35 AM ----------

You should check the first two lines. They should have been fialed too...

It's stucked in there because there is no is installed.
[Moto G General] ErvinsAndroid:
Please don't use filefactory, use mega instead or google drive.

File factory asks for money, 13 $ for faster speeds and limits downloads per hour. Why use that when you can use a better service?
[Moto G General] nechi4:
Thanks, it's working. Great post!
[Moto G General] OTELION:
Restore stock firmware motog xt 1068

C:\adb fastboot\adb+fastboot>fastboot flash motoboo

motoboot.img

target reported max download size of 536870912 bytes

sending 'motoboot' (2184 KB)...

OKAY [ 0.125s]

writing 'motoboot'...

(bootloader) Motoboot: Preflash validation for tz

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.417s

I NEED SOME HELP WITH THIS
[Moto G General] Pixelado:
I gotta say you saved me a lot of time just by reporting this haha, had exactly the same issue. Guess we're just not supposed to skip android versions on this model (and perhaps other motos as well).

On a side note: my phone didn't freeze at the "bootloader unlocked" logo, but on the "dead android" recovery logo. At least it didn't stay on a blinking loop as before, so evidently flashing 5.0.2 did something.

There goes ~1.2GB worth of data just to get CM12 hahaha
[Moto G General] Spluwicho:
is possibile back from 5.1 to 4.4.4
[Moto G General] lost101:
[ROM][4.4.4][STOCK][FLASHABLE ZIP] Stock Motorola KitKat ROM Collection​
[Moto G General] shekhubaba:
[MENTION=1006674]lost101[/MENTION] Hi i have moto g 2013 soft bricked during OTA on 07.06.2016

i have flashed successfully flashed stock rom

Retail Asia - XT1033_FALCON_ASIA_DS_5.1_LPBS23.13-56-2_cid7 (Newer Build)

no error during flash

still it will not boot up properly

I can access bootloarder twrp recovery adb

i have bootloader 41.1A

i was on lollipop 5.1 earlier

is format of /Data i.e.ext4 or f2fs has some connection with my problem of not booting despite suceessful flashing
[Moto G General] rokban:
its safe ,just skip the motoboot command:)
[Moto G General] lost101:
/data must be f2fs.
[Moto G General] shekhubaba:
my /data is f2fs & /system is ext4

i heard that gpe also had the same problem during ota and there is gpt.bin sollution for gpe version

is there any kind of gpt to fix my moto stock 5.1 dual sim moto xt1033 india
[Moto G General] lost101:
It would help to see a log of the firmware flashing process. Copy and paste command prompt screen. Take screenshots if necessary. You have to make sure you flash all included sparsechunk files:

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​
[Moto G General] synescu:
have You tried to edit script flashall.sh and comment # ?

#run $fastboot -s "$serial_number" flash partition gpt.bin

#if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
[Moto G General] masa86:
I deleted those lines to be able to flash it.
[Moto G General] synescu:
I had the same problem but solved just flashing default 4.3 GB maybe you can try KitKat US RETAIL GLOBAL GSM XT1032
[Moto G General] masa86:
Can you copy your phones \firmware\image\keymaster* files I think there's the problem. Cause there was wifi fix zip what I run in cwm and It replaced those files.

Edit:

Wifi didnt work even in lastest xt1032 cyanogenmod 11 rom?

Wifi works only in josalaito 4.4.2 rom.. I did this > http://xdaforums.com/showpost.php?p=49344728&postcount=214

Josalaitos rom is 172.44.4.falcon_umts.AWSRetail.en.US without baseband.
[Moto G General] krazie1:
Great tutorial, will use if I ever install a custom rom and want to go back.
[Moto G General] hasck:
Sorry if this has already been said, but I used that guide to unroot 4.3 (to get the 4.4 OTA).

I thought doing all this would wipe my device (especially the erase steps), so I only flashed the three system images. This unrooted my phone, and I was able to update. No data lost whatsoever.

Not sure if that is something that should be recommended, but it worked fine for me (XT1032 Telus/Koodo Canada)
[Moto G General] masa86:
No one else got this wifi wierdness?

In Josalaito rebuild 4.4.2 wifi didn't work at first and I found fixv2.zip and flashed it in cwm and then wifi works but now it only works in that Josaitos build.

Now I'm trying to come back to stock.

I've done like post 1 says to the letter and there is no errors after I deleted gpt.bin lines in flashall.bat.

My phone is xt 1032 GB retail 16Gb and I downloaded and flashed successfully

Android 4.3 Blur_Version.14.71.8.falcon_umts.Retail.en.GB.

I cannot activate wifi and it wont show any wlans.

I tried cm11 and custom stock roms like nexus g, kitkat+1.1 and no wifi or mac address found.

Used cwm and wiped data/caches in between flashes.

Soon going to find local motorola service center and say that restore my phone back to stock.
[Moto G General] synescu:
to go back to stok does not format /data

wiping data in the recovery sometimes fails

you could try this

mfastboot erase cache

mfastboot erase userdata

mfastboot reboot

or

fastboot -w
[Moto G General] zoological:
fastboot -w seems not to work for me, i want to go back to stock but my user data seems to not be affected by wiping data in recovery.

Plus when i follow the guide in the first post this seems not to work either, cause i get this:

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.026s]

writing 'partition'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.436s

.\Windows\fastboot.exe flash partition gpt.bin failed!!

please help, my phone is bricked, it keeps prompting error messages og gapss when i get to the home. I can't use it.
[Moto G General] synescu:
have you edited the script deleting?

run $fastboot -s "$serial_number" flash partition gpt.bin

if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
[Moto G General] zoological:
Nope.

You mean the flashall batch file, right?

i can't find such line in the script
[Moto G General] synescu:
CALL :fastboot_flash partition gpt.bin

IF %errorlevel% NEQ 0 EXIT /b 1
[Moto G General] zoological:
Thanks, now the script worked, the device sel rebooted but i still got my user data and 4.4 broken stock kit kat on it. How can that even be possible

EDIT: i mean, yesterday i updated with ota via wifi, no problems at all.

Today my phone is bricked with error messages regarding google appas

And if i install the stock firmware like you helped me to do right now, i still get the 4.4 icons, all user data and stuff. I can't factory reset my phone.
[Moto G General] synescu:
Never tried this one windows but sins was not truly worked if you still have kk and that .bat file will not wipe data
[Moto G General] zoological:
is there a way to certainly and fully wipe phone? Even with custom rom or something. It's useless right now, bricked.

And all of this applying an official ota via softare update in settings. I'm so upset with this
[Moto G General] synescu:
Yes with the guide from the first page we're you have to paste each command on terminal with a US firmware or ask someone ho knows better
[Moto G General] GalaxyTepi:
Help me!

Hello, I would need to flash the firmware, as I have the phone in boot-loop. However, following the procedure described in the first page, downloading the firmware Blur_Version.14.71.8.falcon_umts.Retail.en.GB, after giving the command "flashall.bat / eu" gives me the error screen that I attach to the post. Device appears on an inscription in pink "version for primary.gpt downgraded." What can I do to fix this? Mine is an 8GB Uk, Locked Bootloader, unrooted moto g.

P.S. Sorry for my english, I'm Italian xD
[Moto G General] GalaxyTepi:
Up? ç.ç
[Moto G General] synescu:
tray this

Quote:

Originally Posted by michalurban View Post

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.