yashsingh1/xdaforums huggingface dataset:
[Moto G General] bill010:
MOTO G XT1032 hab check errorrs

Hi,

Iam facing a difficulty flashing any ROM on my Moto G

Soft Bricked

XT1032

Unable to get into Recovery however able to access fastboot

RSD Lite does not work

Tried a few roms

i get habcheck errors for boot and recovery while entering the commands

eventually phone get to he motorola logo and goes into a blank blue screen >>BRICKED

Can anybody help me

Commands where i encounters habcheck errors are>>

mfastboot flash boot boot.img

mfastboot flash recovery recovery.img
[Moto G General] Eurofighter_ty:
Do you have the bootloader unlocked ?
[Moto G General] bill010:
yes it is unlocked

GETVAR ALL RESULTS IF YOU WANNA LOOK INTO IT>>

F:\G\mfastboot-v2\mfastboot-v2>mfastboot.exe getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 4113

(bootloader) product: falcon

(bootloader) secure: yes

(bootloader) hwrev: 0x83C0

(bootloader) radio: 0x1

(bootloader) emmc: 16GB Sandisk REV=06 PRV=07 TYPE=17

(bootloader) ram: 1024MB Hynix S4 SDRAM DIE=4Gb

(bootloader) cpu: MSM8226 CS

(bootloader) serialno: TA89003TA0

(bootloader) cid: 0x0007

(bootloader) channelid: 0x00

(bootloader) uid: 129CEC010F000000000000000000

(bootloader) unlocked: yes

(bootloader) iswarrantyvoid: yes

(bootloader) mot_sst: 3

(bootloader) max-download-size: 536870912

(bootloader) reason: Volume down key pressed

(bootloader) imei:

(bootloader) meid:

(bootloader) date:

(bootloader) sku:

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time: "Tue Jun 14 2:56:12 UTC 2016"

(bootloader) ro.build.fingerprint[0]: motorola/falcon_vffrsl/falcon_umts

(bootloader) ro.build.fingerprint[1]: :4.4.4/KXB21.14-L1.40/36:user/rele

(bootloader) ro.build.fingerprint[2]: ase-keys

(bootloader) ro.build.version.full[0]: Blur_Version.210.12.40.falcon_umt

(bootloader) ro.build.version.full[1]: s.SFRSL.en.FR

(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1

(bootloader) ro.build.version.qcom[1]: .04.04.02.048.020

(bootloader) version-baseband:

(bootloader) kernel.version[0]: Linux version 3.4.42-gb89c9dd (hudsoncm@

(bootloader) kernel.version[1]: ilclbld32) (gcc version 4.7 (GCC) ) #1 S

(bootloader) kernel.version[2]: MP PREEMPT Fri Jun 20 02:19:14 CDT 2014

(bootloader) sdi.git: git=MBM-NG-V41.13-0-gdc5aeaf

(bootloader) sbl1.git: git=MBM-NG-V41.13-0-g683cb0c

(bootloader) rpm.git: git=MBM-NG-V41.13-0-g71b1aae

(bootloader) tz.git: git=MBM-NG-V41.13-0-ga27c415

(bootloader) aboot.git: git=MBM-NG-V41.13-0-g7dc8e78

(bootloader) qe: qe 0/1

(bootloader) ro.carrier: unknown

all: listed above

finished. total time: 0.061s
[Moto G General] Eurofighter_ty:
Try to reflash the latest stock firmware for your device. All of it ! including the GPT partition.

Here are the commands:

mfastboot.exe flash partition gpt.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
[Moto G General] bill010:
Thanks for the help

Tried the above commands and flashed this ROM >> falcon_retbr-user 5.1 LPB23.13-56 57

Still the same issue, gets stuck at the moto logo and ends up in a Blue screen

hab check errors for boot and recovery remained
[Moto G General] mapamapa1:
Hello, I don't know much about this but I bricked my phone when I was trying to unroot it. The reason for me trying to unroot it was because I couldn't upgrade to the newest Android OS like 6 months ago or something.

I followed some guide but when I was gonna choose what stock ROM I was gonna use I just tried one of them because I had no idea what they were and my phone got bricked, probably picked the wrong one.

Now I'm back trying to resurrect my dead phone. I can enter the fast boot menu but nothing else. If I exit the fastboot menu it's stuck on the white "bootloader unlocked" screen until battery runs out, can't even turn it off.

My phone is a 1st gen Moto G bought in Sweden. Would very much appreciate help with how I can save this phone and what ROM to use. Thanks!

edit: Downloaded the XT1032_RETAIL-EU_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.xml.zip

Trying to do according to the guide.

When I do "mfastboot flash partition gpt.bin" I get "version downgraded for primary_gpt"

And when I try "mfastboot flash motoboot motoboot.img" I get "version downgraded for tz"

edit2: Gonna try AIO_XT1032_4.4.2-KXB20.9-1.10-1.9_CFC_1FF.xml.zip instead

Same thing with this one although "mfastboot flash boot boot.img" actually worked and didn't get stuck on downloading to the phone. "mfastboot flash system system.img_sparsechunk1" got stuck just as with the previous ROM.

So I downloaded MoeMoes brasilian lolipop ROM because it was the most thanked post of all time, and I think I got it working! I hope there's no problems because it's Brasilian.
[Moto G General] urdarpan:
moto g 1st gen

need android 5.1 firmware for moto g 1st gen.

the links posted in the thread doesn't have the 5.1 firmwares
[Moto G General] thank you very much:
Thank you oh so very much i was ready to give up thanks man!!!!!!!!!!
[Moto G General] Plasmap2:
Hey can someone please help me, idk which firmware to get. if it helps i bought my phone in 2015 (november i think) its a moto g 2nd gen
[Moto G General] ShlCar347:
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

These commands are more than enough to get the job done, but make sure that you flash all the system.img_sparsechunk files.

I used this mfastboot files to flash: http://www.mediafire.com/download/skbiwcal9cw6z4q/mfastboot-v2.zip

I hope this helps!
[Moto G General] Sapila:
After trying to flash stock rom from CM marsh im stuck at warning screen unlocked bootloader, can anyone please help me?
[Moto G General] Edgedancer:
I have the same problem on my fiance's phone. I cannot get it working
[Moto G General] bakarotiart:
every step gives me a failure

C:\Users\Baka\Desktop\XT1032>mfastboot flash motoboot motoboot.img

target max-sparse-size: 256MB

sending 'motoboot' (1953 KB)...

OKAY [ 0.094s]

writing 'motoboot'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 0.109s

C:\Users\Baka\Desktop\XT1032_FALCON-MOVISTAR-AR_5.0.2_LXB22.46-32_34_cid12_CFC_1FF.xml_2>mfastboot.exe flash partition gpt.bin

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.047s]

writing 'partition'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 0.078s
[Moto G General] ThaHaloMilitia:
I'm having a problem finding the right firmware. I have the XT1644 Moto G 4th Gen. Base band is (8952_70009.08.03.45a ATHENE_RETUSA_CUST)
[Moto G General] Ctafolla2:
This is for the moto g 1st gen
[Moto G General] ThaHaloMilitia:
No it's not. XT1644 is Moto G 4th Gen 64GB

---------- Post added at 04:46 PM ---------- Previous post was at 04:46 PM ----------

Never mind disregard that post lol
[Moto G General] Bob128:
Hi,

Sorry for silly things or questions, i'm still a beginner and i hope i checked everything, but i didn't find a solution for my problem here:

I had CM 13 installed on my Moto XT1032 and I want to go back to normal Android 5.1 now. I think it's also important to mention that I deleted the SuperSU App (yes i know, silly idea...i also tried to flash it again like i did before, but didn't work)

I followed the tutorial, i can access the phone when it's normally connected with my computer:

List of devices attached

adb server version (35) doesn't match this client (36); killing...

* daemon started successfully *

TA93004GON device

but when i try to flash with "mfastboot flash partition gpt.bin" and so on it only says <waiting for device> and the list of devices is also empty.

I'm not sure if the Motorola Drivers are installed correctly, the Motorola Device Manager says there are no Updates, but it also says current version N/A. I also installed the Google Drivers, as lept_2014 mentioned on 20th April 2015 (is there a specific folder where the drivers should be?).

I hope someone can help me, thank you so much!

Bob
[Moto G General] DiamondJohn:
The firmware flash (ie "mfastboot flash partition gpt.bin") uses fastboot, not adb. so to check before you start, test "fastboot devices".
[Moto G General] Bob128:
You're right, when i try fastboot devices nothing happens. So how can i solve this?
[Moto G General] surajsj:
How to revert back to normal from gpe... Plz urgent help needed... No other stock roms arent booting other than gpe stock rom
[Moto G General] Bob128:
If anyone else has the problem, i deleted Android studios, adb, drivers and so on and installed everything new, then it worked...
[Moto G General] DiamondJohn:
By reinstalling, you probably replaced the dll and fastboot exe. I have found that ensuring the latest version is in the directory I am working from (or explicitly supplying the path) usually gets it working.

They may not be the latest, but the version that works for me has an MD5 as bellow:

fastboot.exe 53811d6d1255e45d4779787ec142f9eb

AdbWinApi.dll ed5a809dc0024d83cbab4fb9933d598d

AdbWinUsbApi.dll 0e24119daf1909e398fa1850b6112077
[Moto G General] munlar:
Does relocking the bootloader garantee that the flashed ROM is 100% unmidified stock from Motorola?
[Moto G General] alfick3:
No, the bootloader will still show a different state. It's been a long time, but basically it's something like state 1 for locked from the factory, state 2 for unlocked and if you re-lock it it'll show state 3. Now, like I said, it's been a long time since I've read that so I may not be entirely correct. But, there is an indicator (some may call it a flag) in the bl that will indicate locked, unlocked or relocked.
[Moto G General] munlar:
Ok, but what I meant is when the bootloader is relocked, does this garantee that the flashed rom is the one from Motorola without any modifications? Or in another way, when I have a locked bootloader will this avoid the boot of any rom that is not 100% original from Motorola? This is an intresting question as most OEM don't release their roms so we have to trust the roms we find on the net.
[Moto G General] alfick3:
I'm not quite sure what you are meaning, I guess. If you download the Moto firmware from the site, it will be guaranteed Moto firmware. It's not really a ROM. A ROM will only include the system aaand maybe some other partitions. The Moto firmware will include everything; radios, bootloader, system, etc. If I remember right, if you use mfastboot (Motorola's version of fastboot) you can flash the firmware with a locked bootloader, and when you run the lock command it will want you to actually flash firmware. If you are trying to use just the fastboot command the bootloader had to be unlocked.
[Moto G General] munlar:
What I mean is simple: Does a locked bootloader imply that the running firmware is 100% original from Motorola(without modifications, hacks, malware etc.), i.e. does a locked bootloader make it impossible to run a firmware that's not exactly the one released by Motorola? This way we could make sure when we flash a stock firmware we find on the internet it is really bit for bit the one from Motorola, because the bootloader accepts it.

Locking the bootloader also worked with fastboot.
[Moto G General] alfick3:
OK. Here's the deal. If you get the f/w from the link on the op (the file factory one), it will be the stock factory f/w. There's no doubt about that. I've flashed my 1st gen Moto G with f/w from that link and had full official f/w upon boot. I'm not sure why you are concerned about it. Get it only from that link and it'll be official. Lock your bootloader our not, it's up to you.
[Moto G General] _that:
You don't doubt the authenticity of a firmware downloaded from some file sharing site? :confused: Only if you check the signature there is no doubt about it.

I guess the locked bootloader will definitely not allow flashing a firmware without a valid Motorola signature - not sure if it also prevents booting it.
[Moto G General] alfick3:
The op isn't just some file sharing website; those are official Motorola f/w. But i guess you need to be as cautious as you need to be.
[Moto G General] xanxavier:
nevermind

thanks for all the information, its really helped
[Moto G General] icacc:
XT1039 Boot up failed

Hi, I have an European XT1039 which stopped working. It's in a bootloop, meaning after boot it shows a blank screen. If I boot it up again, the same happens. Can only access the boot selection menu. Even if I try to boot in recovery mode, I get the message "Boot up failed". All other options lead to the same blank screen.

From imei dot info I found that it is a XT1039 Moto G LTE.

I tried flashing two different ROMs from this firmware dot center website for the XT1039 but none of them worked. Could someone help finding out exactly which one I should flash or whether there is anything else that I should be doing instead? (Website names are funny because xda prevents new users from posting links to outside the forum)

Few variables that might help (obtained with "fastboot.exe getvar all"):

- ro.build.fingerprint: "motorola/peregrine_retgb/peregrine:4.4.4/KXB21.14-L1.56/52:user/release-keys"

- ro.build.version.full: "Blur_Version.21.11.56.peregrine_retgb.retgball.en.GB"

- ro.build.version.qcom: "AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.020"

Every help is greatly appreciated!!!
[Moto G General] Disease8:
C:\Users\DJF\Desktop\moto go firmware stock>mfastboot flash system system.img_sparsechunk2

target max-sparse-size: 256MB

error: cannot load 'system.img_sparsechunk2': No error
[Moto G General] DiamondJohn:
Check that the file exists:

cd /D "C:\Users\DJF\Desktop\moto go firmware stock\"
dir "system.img_sparsechunk2"

I also try moving everything to a simple directory structure. ie move everything to c:\temp\ and try running it from there, instead of from a directory with spaces in the name.
[Moto G General] thatRAHULfellow:
it shows (bootloader) preflash validation failed

failed remote failure

in every step.

is it because i relocked my bootloader previously?

please help me man i am losing my ****

been trying a lot
[Moto G General] DiamondJohn:
I wouldn't attermpt any flashing with a locked bootloader.
[Moto G General] jilebi:
Hi,

I have a US Moto G LTE XT1045 Cricket with CID0x10 and stock ROM 4.4.4. Bootloader is locked and phone is not rooted. I have scanned through this entire thread, but could not find a conclusive answer. Hence, the following question. Can somebody please help/share?

I would like to upgrade to Stock ROM Lollipop 5.1 from ATT posted on XDA, filename - XT1045_PEREGRINE_ATT_5.1_LPB23.13-61_cid1_CFC.xml.zip, using fastboot. I am planning to only flash the system partition using the following commands

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 system system.img_sparsechunk.4

Please let me know - will it work even if bootloader is locked and CID does not match (0x10 for cricket vs 0x01 for ATT)? or Will it brick? Should I use some other commands? Thanks!
[Moto G General] Ripplez01:
when you type the commands into cmd.exe what do we do if it says [FAILED] instead of [OKAY]?
[Moto G General] _that:
Mark all the text in the command window and paste it here.
[Moto G General] Ripplez01:
these are the commands that said failed:

F:\root\unroot\AIO_XT1032_4.4.2-KXB20.9-1.10-1.9_CFC_1FF.xml>mfastboot 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.313s

F:\root\unroot\AIO_XT1032_4.4.2-KXB20.9-1.10-1.9_CFC_1FF.xml>mfastboot flash motoboot motoboot.img

target max-sparse-size: 256MB

sending 'motoboot' (1940 KB)...

OKAY [ 0.091s]

writing 'motoboot'...

(bootloader) Motoboot: Preflash validation for tz

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.356s
[Moto G General] _that:
Looks like you're attempting to downgrade (which is not supported and can brick your device) or to flash a firmware not compatible with your phone.
[Moto G General] sancamcal:
When I connect Moto G by USB and use the bootloader upgrader, program gives me this error message:

Ok, you have selected xt1032...

now, for the xt1032 variant there are some options,

let me know wich one should I install:

[a] 41.18

41.19

[c] 41.1A

if helps you, here is the current:

or you can read it in the phone screen

version-bootloader: 4105

finished. total time: -0.000s

Someone can help me please?
[Moto G General] sancamcal:
If i have 41.05 bootloader, what stock firmware i have to download? I read that flash incorrect one could brick my phone.. And, if i have TWRP i need to flash first stock recovery or if make with the instructions of the post i need that?
[Moto G General] lost101:
Simply flash the latest available firmware image.

[INDEX] Moto G [Falcon][Peregrine] Factory Firmware Images​
[Moto G General] sancamcal:
Thanks for the interest!! When i go to this link, it says that flash since TWRP, but i have read in the first post that i have to make through fastboot commands... How is the easiest/safest way? Many thanks in advance!
[Moto G General] lost101:
Factory Firmware Images can only be flashed via Fastboot. Follow the instructions exactly.
[Moto G General] sancamcal:
I follow the instructions exactly and after screen with warning logo, stuck on boot and shows the android with all the inners out and can see for a moment the message below "No command". I used XT1032_FALCON_RETEU_5.1_LPBS23.13-56-2_cid7_CFC.xml, the last one Euro retail i found. What i made wrong??
[Moto G General] vishwanath828:
help

I have followed your instructions and now its showing the warning bootloader unlock message and the android mascot is running with "erasing" message below it....is it ok??
[Moto G General] Linuxser:
Hello.

I have a two years xt1040 to repair because suddenly stopped work. The phone has installed Lollipop5.1 (because the look of the bootup) but I ignore if came from factory with 4.4.x

The problem is related with screen/touch. Becomes black after boot (lights on but screen is black).

I can see the boot logo until the cyan M and then the screen just goes all black and phone does nothing.

The first thing I did was to unlock bootloader to be free of test. I was able to unlock .

There is no problem to boot into recovery and I was able to install CWM to format everything. In fact, I decided to format any partition using CWM and then reinstall some stock ROM

I already make an attempt to revert at stock with different roms and none of them have worked. I only tested with 5.1 roms.

Bootloader is 41.16 and I'm stuck with it. (Seems USB debug was no enabled when the phone was working) And the bootloader version stops me to install any version of Cyanogen or Resurrection.

Any ideas if fix this is possible?

Getvar is weird. Says nothing about 5.1
[Moto G General] dukdukgoos:
Do I have to use the Motorola drivers? I seem to have drivers already (maybe Universal ADB Drivers from my Nexus 7?) that allow me to boot into fastboot mode, not sure if those drivers are enough or I need to install the official Moto ones...
[Moto G General] _that:
If "fastboot devices" sees your device, your driver is fine.
[Moto G General] Adrao123:
Hey...

I'm getting this error.

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:system: not found

error: cannot load 'system.img_sparsechunk1'

EDIT: Never mind... I had to rename it to sparsechunk.1
[Moto G General] Jesach:
I have XT1621 Dual Sim, how I know this version XT1621_ATHENE-LATAM_MPJ24.139-23.4_cid50_subsidy-LATAM_CFC.xml.zip have dual sim? Or all XT1621 it's only for devices with dual sim? :confused:

__________________

Solved :)
[Moto G General] eclipz420:
So I did this.. and now it's just doing a constant reboot :/ I tried installing the zip using sideload and it won't work :/

using moto g xt1034
[Moto G General] _that:
Not sure if troll ... the OP doesn't mention any sideloading or any recovery-installable zip.
[Moto G General] DaveG46:
So I hate to be the one to ask help but I'm struggling now, (I'm using windows 10 and a XT1032) I've downloaded the drivers and extracted firmware etc, connected my phone and got into the bootloader via the software way. As my firmware is C:\Users\David\Downloads\XT1032_FALCON_RETGB_5.1_LPBS23.13-56-2_cid7_CFC.xml I've entered mfastboot flash partition gpt.bin

But I just end up with 'mfastboot' is not recongnized as an internal or external commond, operable program or batch file

in the cmd window.

I'm probably missing something simple but any advice would be great thanks
[Moto G General] _that:
Apparently mfastboot.exe is neither in your current directory nor in your PATH.

I don't know what " in the cmd window however I'm getting 'mfastboot'" means.
[Moto G General] DaveG46:
Ah typo from me there, should have just read "in cmd window"
[Moto G General] figit090:
Omg it worked!!!

DUDE!!!! After several nights of trying, I finally found your post, and a file with my most recent republic wireless firmware to complete the fix!! MY PHONE WORKS AGAIN!!! It was stuck in a black screen upon boot and no amount of trying fixed it. Thank you so...SO MUCH.

Saved me $200.
[Moto G General] shankymkp:
?

i am getting a mfastboot error...adbwindll is missing from the system while trying to run mfastboot flash partition.gpt ...what the hell am i missing here??
[Moto G General] Gribe:
I'm getting this trying to follow this tutorial with the same image. What's wrong ?
[Moto G General] Darkyputz:
Hello...

My Verizon bootloader locked XT1028 got stuck on Motorolla Logo and i try to get it fixed by reflshing firmware...

Now i went here: https://xdaforums.com/moto-g/development/rom-stock-motorola-lollipop-rom-t3017510 to get untouched firmware...

But when i unpack that, than there is not flash.bat as mentioned or the set of files i would expect like gpt or motoboot which i would need for mfastboot...

Can someone help me with finding the right firmware that i can reflash with locked bootloader? Verizon phones are not entitled to be opened on bootloader...tried everything...

Or is the phone fried becasue reflash ONLY wih open bootloader?!

Thx for any ideas...

I now found a "XT1028_FALCON_VERIZON_5.1_LPB23.13-33.7_cid2_CFC.xml.zip" which contained the *.img files i was expecting...

Started with "mfastboot flash partition gpt.bin" and got: "(bootloader) Preflash validation failed"

When trying "mfastboot flash partition motoboot.o=img" or the following, i get:

Here are my phone info:
[Moto G General] sakana280:
OP instructions worked for me. I was on 4.4.4 OTA'ed from 4.3(?) then rooted. I restored 4.4.4 (same version) to avoid "preflash validation failed" that seems to occur if you try to restore 4.3 over 4.4 (I tried this originally!). Other minor thing to note is the zip i used (XT1033_ASIA-DS_4.4.4_KXB21.14-L1.40_34_cid7_CFC_1FF.xml.zip) had sparsechunk numbering from 0 to 2 rather than 1 to 3 as in OP, but I just flashed them in numerical order and all good.
[Moto G General] levone1:
Has anyone rolled back from 5.1 to 4.4? I tried using Moto tool, but always error when flashing kk, but works fine for 5.1... (Xt1028)