yashsingh1/xdaforums huggingface dataset:
[Moto G Q&A, Help & Troubleshooting] Enrih:
Hi all

I have dhe same problem with my Moto G 1st gen.

it loads into bootloader same screen as the picture in the following link:

https://xdaforums.com/moto-g/help/how-to-revive-hard-bricked-moto-g-t2833798

but i can not change status code from 0 to 3 unlock bootloader. I can not flash gpt.bin and motoboot.img. flash 5.1 tryes to load image room but reponse is FAIL.

Please help it is getting frustrating.

Thank you
[Moto G Q&A, Help & Troubleshooting] Enrih:
moto g 1st gen brcked

C:\Users\Enri\Desktop\moto g ROOT\Stock Android to GPe>mfastboot flash partition gpt.bin

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.016s]

writing 'partition'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.300s

C:\Users\Enri\Desktop\moto g ROOT\Stock Android to GPe>mfastboot flash motoboot motoboot.img

target max-sparse-size: 256MB

sending 'motoboot' (1953 KB)...

OKAY [ 0.107s]

writing 'motoboot'...

(bootloader) Motoboot: Unknown partition name

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.140s

C:\Users\Enri\Desktop\moto g ROOT\Stock Android to GPe>mfastboot flash boot boot.img

target max-sparse-size: 256MB

sending 'boot' (10240 KB)...

OKAY [ 0.363s]

writing 'boot'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.401s

C:\Users\Enri\Desktop\moto g ROOT\Stock Android to GPe>mfastboot flash recovery recovery.img

target max-sparse-size: 256MB

sending 'recovery' (10240 KB)...

OKAY [ 0.369s]

writing 'recovery'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.401s

C:\Users\Enri\Desktop\moto g ROOT\Stock Android to GPe>mfastboot flash system system.img_sparsechunk.0

target max-sparse-size: 256MB

sending 'system' (255843 KB)...

OKAY [ 8.085s]

writing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 8.123s

C:\Users\Enri\Desktop\moto g ROOT\Stock Android to GPe>mfastboot flash system system.img_sparsechunk.1

target max-sparse-size: 256MB

sending 'system' (245954 KB)...

OKAY [ 7.767s]

writing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 9.721s

C:\Users\Enri\Desktop\moto g ROOT\Stock Android to GPe>mfastboot flash system system.img_sparsechunk.2

target max-sparse-size: 256MB

sending 'system' (235703 KB)...
[Moto G Q&A, Help & Troubleshooting] aha360:
Well, seeing as my Moto G LTE (Peregrine - XT1039) just got bricked recently, I've tried to follow this guide, but however, when I plug the device in, it says "Unknown USB Device (Device Descriptor Request Failed)" - can anyone suggest any way to fix this if that is possible?

http://imgur.com/a/UT5dq
[Moto G Q&A, Help & Troubleshooting] BrandonCJesus:
Download the drivers

You must install the qualcom drivers or wait for windows to detect it and install them.

Go to the next page and download the file called "Riff BOX JTAG drivers + Driver Signature Enforcement Overrider" follow the instructions

https://xdaforums.com/moto-g/help/how-to-revive-hard-bricked-moto-g-t2833798
[Moto G Q&A, Help & Troubleshooting] aha360:
I tried installing that but to no avail. Eventually though, I DID unbrick it, by doing the following:

• I disassembled the phone, and disconnected the battery connector, and reconnected it as my phone wouldn't respond to ANY key-presses and the phone was getting warm even though the screen was off - I LEFT THE PHONE OPEN AS THE PHONE KEPT GOING OFF AND IT WOULD NOT RESPOND TO BUTTON PRESSES, SO IF THE PHONE WENT OFF AUTOMATICALLY. I COULD JUST RECONNECT THE BATTERY CONNECTOR AND REBOOT IT IN FASTBOOT MODE.

• I tried to reboot the phone and enter into recovery mode but to no avail, meaning that the phone's OS/recovery installations are corrupted

• I held down the POWER & VOLUME DOWN buttons to enter into Fastboot Mode

• I downloaded all the necessary files on this page and installed the ADB/Fastboot/Motorola USB drivers, and I acquired the official stock ROM (Lollipop) for the Moto G LTE (https://www.reddit.com/r/MotoG/comments/4ftchc/official_firmware_collection_for_all_moto_g/)

• I then extracted the contents of the stock ROM to a folder of my choice (X:\Stock) and then extracted the MFastboot ZIP file contents to the "X:\Stock" directory.

• I opened a command-line interface by having the "X:\Stock" window open, holding down the Shift button, right-clicking the mouse and chose "Open command line window here".

• After that, I then typed in the following commands (https://xdaforums.com/showthread.php?t=2542219 & http://forum.frandroid.com/topic/199705-roms-stock-moto-g-4g-eneu-xt1039/ & https://www.youtube.com/watch?v=vniMC_Mv0mY&app=desktop):

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

Once all that is done, I then decided to reinstall TeamWin Recovery and restored my LineageOS install from a TWRP backup I made in February 2017.

Also, if you want to keep all your user data, you can ignore the "mfastboot erase userdata" command, although it would be preferred to erase said data for stability purposes.

As to how I managed to brick my phone, I installed EFIDroid on my Moto G LTE, and I tried to reboot the phone, but when I tried pressing the power and volume buttons, the phone would not respond and the screen was black. At least it works now - thank you all for your help.
[Moto G Q&A, Help & Troubleshooting] BrandonCJesus:
Can I...

can you enter on the bootloader?

can i help you in another thing?
[Moto G Q&A, Help & Troubleshooting] aha360:
Could you please clarify the question that you are asking?

As for me booting into "Bootloader/Fastboot mode", I can do that, as shown below:

Oh wait - my brain is retarded - I figured out what you were trying to say weeks later, which is that you asked whether I wanted you to help me out with anything else, in which I meant to say "no", as everything has been sorted out now. Thanks for your help though [MENTION=7733825]BrandonCJesus[/MENTION] and sorry for misunderstanding you.

By the way, here's a picture of the phone in working order, running LineageOS 14.1 with the LG G4 Xwidget skin (Xwidget app):
[Moto G Q&A, Help & Troubleshooting] doru25:
Hello, mine is showing "greeting device for command mode" and later it shows "FAILED (blank-flash:greet-device:error reading packet)"

I already tried repairing drives, tried various MBM CI (4.3, 4.4.2, 4.4.4) by using too Motoflasher

On Qboot.ini it shows

[diag error.0x0001090D]

count=2

message="blank-flash:greet-device:error reading packet"

last-seen="Thu Mar 16 17:29:55 2017, Hora oficial do Brasil"

first-seen="Thu Mar 16 17:22:52 2017, Hora oficial do Brasil"

chip=

chip.sn=0x0

chip.id=0x0

chip.rev=0

chip.sv-sbl=0

qboot.version=2.4

hostname=DESKTOP-DVMSD26

[diag blank-flash]

fail=2

pass=0

yield=0.00%

dphu=100.00

Any help is appreciated
[Moto G Q&A, Help & Troubleshooting] Enrih:
Try with 5.1 Flasher lollipop
[Moto G Q&A, Help & Troubleshooting] doru25:
Thanks, but it was the first thing that i tried
[Moto G Q&A, Help & Troubleshooting] aha360:
For those who could not be able to install the defective device as a Qualcomm HS-USB QDLoader 9008, remember to boot into your OS on your phone, enable USB debugging and then approve of any USB debugging privileges on your device and type this:

adb reboot edl

Once that is done, your phone WILL boot into EDL mode, and then your device, assuming you have NOT installed the Qualcomm drivers, will appear in Device Manager on Microsoft Windows in the following manner:

> Other Devices
--> QHSUSB__BULK

After that, install the drivers manually, as per the instructions mentioned on the first page, WHILST using the drivers mentioned on the original/first post, OR you can use the drivers attached on this post, but do so at your own risk.

This has been tested on a corrupted, read-only bug-affected Moto G 2014 device I have got a hold of, whilst trying to unbrick it, but unfortunately, it looks like the eMMC is corrupted beyond software-level repair.

Source/thanks: http://xiaomitips.com/guide/how-to-manually-install-qualcomm-qdloader/

If, however, you cannot boot into EDL mode via the Android Debug Bridge feature, follow the instructions here, if you have got nothing to lose: https://xdaforums.com/android/software-hacking/guide-how-to-reboot-to-edl-fastboot-t3394292 - UPDATE: as it turns out, this command DOES NOT work on the Moto G 2014, and most likely WILL NOT work on the Moto G 2013 as well.

Alternatively, you could try to force QCOM mode via the fastboot mode on the device: https://xdaforums.com/moto-g/general/fastboot-hidden-fastboot-commands-t3472398
[Moto G Q&A, Help & Troubleshooting] carlopes05:
help me pls, I have a error: FAILED (blank-flash:greet-device:error reading packet) android 5.1
[Moto G Q&A, Help & Troubleshooting] gaurav.28ch:
Thanx a ton buddy. I had a hard bricked Moto G - XT 1033, lying dead for close to 2 years. Now alive & ticking following your instructions. And what a feeling to see it back in action !!

** I tried flashing with ASIA factory firmware - XT1033_FALCON_ASIA_DS_5.1_LPB23.13-56_cid7. But both SIM's were not getting recognized.

Then flashed Stock ROM 4.4.4. & working perfectly well.

(Didn't try newer build XT1033_FALCON_ASIA_DS_5.1_LPBS23.13-56-2_cid7 though)

Just a small glitch, I get a flickering screen when phone boots up. But disappears on turning off the display & then turning it back On.

** Lot of people are complaining about battery status being stuck at low level. My advice would be to check the status every 2 hours by switching off the device & then on again. That refreshed the battery status as OK for me , otherwise displayed as low.
[Moto G Q&A, Help & Troubleshooting] koshikas:
screen is flickering as mentioned is sue to incompatibilities between bootloader and the ROM kernel. (i.e.: you will get it with KK bootloader with LP or post-LP ROM or vice versa)
[Moto G Q&A, Help & Troubleshooting] gaurav.28ch:
Yes I am aware of that. Hardly an issue. Just a simple Off & On of display on reboot gets rid of it.
[Moto G Q&A, Help & Troubleshooting] ArunjunaiRajan:
My phone is detected as Motorola ADB device in Windows 10.....How to make it detected as Qualcomm HS-USB QLoader 9008
[Moto G Q&A, Help & Troubleshooting] shankar77299:
Bricked Moto g help please

My Moto g is bricked that I can't flash any rom. It says device failure. When I try to flash bootloader it says single image flash failure. Help me out
[Moto G Q&A, Help & Troubleshooting] fjgonzales88:
tambien tengo el mismo problema, no me permite instalar ninguna room
[Moto G Q&A, Help & Troubleshooting] PlayerMathinson:
Error please help asap

It is giving following error:

(blank-flash:sdl-transfer-image:sdl-hello:error sending packet)

Help me asap please
[Moto G Q&A, Help & Troubleshooting] Max Horn:
Thank You

Thank You. God bless you!
[Moto G Q&A, Help & Troubleshooting] fernando_jack:
HELP

Man, only you can save me...

My fastboot screen is exactly like this image, but I am stuck in there!!

-- Using vol down and vol up, either 'Normal Powerup', 'Recovery', 'Factory', 'BP Tools' or 'QCOM' attempt give the same error: the screen flashes that image of "Warning unlocked..." and results "Boot up failed" in yellow.

-- Using fastboot in PC, I succeed executing all the commands to flash one by one all files of the stock firmware, but when rebooting, the same ****ing fastboot stuck happens..

-- I tryed to 'mfastboot boot twrp.img' without success ( FAILED (remote failure) ).

-- I tryed to 'mfastboot flash recovery twrp.img' without success too.

-- In device manager I can see "Android Device -> Motorola ADB interface", but ADB commands wont work (adb devices shows none). I couldnt see the "qhsusb_bulk" described here.

This all started when:

- I booted twrp. img through fastboot command, install lineageOS-14.1 .zip and install gapps.zip. When I restarted, I became stuck in fastboot mode forever...

* I have a xt1032.

** sorry my mistakes writing in english..
[Moto G Q&A, Help & Troubleshooting] SubwayChamp:
I bricked device coz I forgot to delete a file when try other rom, the file is "hyp.mbm" that don´t use my device. I try to unbrick with apps like qfil, qpst, aftool and never help. Can someone plz tell me what do exactly blank flash, Force device to enter in fastboot mode?, In the folder where unzipped blank_flash, I need to put some file with my device related? blank_flash just gives me a msg like this:

"opening device: \\.\COM3

OKAY [178.361s]

greeting device for command mode"

and again..........

"opening device: \\.\COM3

OKAY [178.361s]

greeting device for command mode"

must I hold any button meanwhile?

Thx in advance
[Moto G Q&A, Help & Troubleshooting] Tsuragi:
i have xt1040 blank flash proccess work but my phone no turn screen, only led but no enter in fastboot :T help
[Moto G Q&A, Help & Troubleshooting] aha360:
Sincere apologies for not replying soon enough, as I was too busy playing Zelda: Breath of the Wild on Cemu, alongside having other personal things to sort out.

As for your scenario, I assume you have tried to flash the latest available bootloader, yes?

If not, the only thing I could think of it is to deliberately brick the Moto G and then unbrick it using the OP's guide.
[Moto G Q&A, Help & Troubleshooting] Pratham Nathyal:
Man it's very informative. Thanks.

But the point is my device is Moto G4 Plus. Can u please tell me how to get those blankflash files for my device.

Can I draw them out of a working G4 Plus?

If yes then how?
[Moto G Q&A, Help & Troubleshooting] FabioSan:
Unfortunately no, I can't help and there is no way to get this files from a device.. This are tools used and developer by Motorola team, ^^"
[Moto G Q&A, Help & Troubleshooting] Pratham Nathyal:
So how did u manage to get them?
[Moto G Q&A, Help & Troubleshooting] FabioSan:
One xda member shared with me to test them, then I made the guide, updated with the reports of other guys :)

And no, that member can't have the file for other moto devices.. Was a really lucky case, trust me.
[Moto G Q&A, Help & Troubleshooting] Pratham Nathyal:
Firstly man. Thanks a ton. U replied so quick. Really appreciate it.

Secondly, man I have totally bricked my Moto G4 Plus. Can't get to bootloader. Is there any other way of getting my bootloader back on.

Any way? Or I am really stuck with a 250$ paper weight.
[Moto G Q&A, Help & Troubleshooting] FabioSan:
Honestly, I don't know.. If you don't find nothing on Google, I can't be more helpful :/
[Moto G Q&A, Help & Troubleshooting] RV1992:
help

i did exactly what you have mentioned only problem i am facing is when ever i double click on batch file "flash5.1" it successfully flashes but always shows error like "failed" "bootloader permission denied"

i hardbricked my moto g and by your guide i was able to get the bootlader back but the main problem is that it is locked so i cant anle to flash custom recovery! please help me :(
[Moto G Q&A, Help & Troubleshooting] FabioSan:
You did the reboot?
[Moto G Q&A, Help & Troubleshooting] Pratham Nathyal:
[MENTION=5583599]FabioSan[/MENTION]

I have bricked Moto G4 Plus. And I had already told you in this thread before. The blankflash file for G4 Plus didn't work for me. So guys were saying as I was updated to the latest update. The blankflash file won't work for me. They told I need an updated blankflash.

But someone told me that there is nothing like updated blankflash and u have permanently bricked your device.

So my question. Is there anything like updated blankflash?

I downgraded my phone and most probably messed up my gpt and bootloader. Is there any way out with an updated blankflash?
[Moto G Q&A, Help & Troubleshooting] FabioSan:
Unfortunately no..
[Moto G Q&A, Help & Troubleshooting] Pratham Nathyal:
Damn. That's sad.

I had been searching everywhere how to fix but nothing worked.

I was thinking if I could just get to my device's storage and format it completely and then repartition back to its original state and then use a backup from an other Moto G4 Plus.

Then it may work.

But I don't know how to get to my device's internal memory.

Is there any way? This process I mentioned is the courtesy of this post. Do u think it will work?

http://www.droidsavvy.com/unbrick-qualcomm-mobiles/#comment-2693
[Moto G Q&A, Help & Troubleshooting] FabioSan:
Again, I have to write a no, unfortunately.. Motorola has made a modded version of boot image, differently how is on other snapdragon devices. Also, the problem is the brick caused with the bootloader downgrade you forced when you downgraded.. Motorola doesn't allow to downgrade with bootloader.. So, basically, you can only change motherboard of your phone, actually..

I'm sorry if I'm not of any help :/
[Moto G Q&A, Help & Troubleshooting] Pratham Nathyal:
Ohhh. That's ? sad. I have been using custom roms since years but never heard of downgrading. Well I learnt it the hard way.

And I can't change the motherboard it's like 200$ for a 250$ device.

And man thanks for answering my noob questions. You were totally of great help. Thanks a ton. ?
[Moto G Q&A, Help & Troubleshooting] iker gael:
Hello I am from Guadalajara, Mexico I have a Moto G4 Plus that I shut down and I no longer arrest for updating the security patch of March 2017 and the blank flash files do not work for me, there will be others more updated for this moto g4 plus xt1641 thanks. ...
[Moto G Q&A, Help & Troubleshooting] darthlion:
help!!

I connect my device to the PC but does not recognize it only turns on the LED notifications
[Moto G Q&A, Help & Troubleshooting] flopezm:
How to get the blankflash file for a motox play or other device
[Moto G Q&A, Help & Troubleshooting] André Bigo:
XT1033 blank flash don't work for me (lollipop)

Hi, excelent tutorial, but in my in hardbricked XT1033 the blankflash procedure don't work. The drivers are ok (Qualcomm HS-USB QDLoader 9008), but on blankflash I get the error:

Target ERROR: 7 - Open multi failed, unknown error

FAILED (sdl-transfer-image:send-image:sdl-open-multi:target error)

Any suggestions?

Thanks!

(sorry for my bad english)
[Moto G Q&A, Help & Troubleshooting] MrSmileyJr:
my xt1045 boots to blank screen. Will this procedure fix it? thanks!
[Moto G Q&A, Help & Troubleshooting] deathcon4:
Black Screen

I have my phone bricked, my screen is black, my phone is unblocked, I tried to load, but only the led blink and nothing more, the screen is still black. I think is in a hard brick. How do I fix it?

Thank you.
[Moto G Q&A, Help & Troubleshooting] iamkamranh:
While following the 13th Step, it's showing

greeting device for command mode

opening device: \\.\COM3

OKAY [ 0.005s]

greeting device for command mode

FAILED (blank-flash:greet-device:error reading packet)

C:\Users\Kamran\Desktop\blankflash>pause

Press any key to continue . . .

[My Device is: Moto G TE XT1557]

Kindly help me. I'm in so much trouble.
[Moto G Q&A, Help & Troubleshooting] dengupeye:
moto g turbo edition xt1556

Please!

Do you have blankflash for moto G Turbo Edtion?

Thanks

---------- Post added at 05:31 AM ---------- Previous post was at 04:47 AM ----------

Please can you tell me why this?

Thanks

D:\[ash]\Desktop\blankflash>.\qboot.exe blank-flash

opening device: \\.\COM3

OKAY [ 0.020s]

greeting device for command mode

OKAY [ 0.010s]

identifying device

...serial = 0x8535E9E

...chip-id = 0x90B

...chip-rev = 0x0

...sv-sbl = 0x0

OKAY [ 0.010s]

finding files

...programmer = programmer.mbn

...singleimage = singleimage.bin

OKAY [ 0.000s]

validating files

OKAY [ 0.050s]

switching to download mode

OKAY [ 0.010s]

greeting device for image downloading

OKAY [ 0.010s]

sending programmer

Unexpected packet: 4. Was expecting: 3

FAILED (blank-flash:sahara-transfer-image:send-image:unexpected packet)

D:\[ash]\Desktop\blankflash>pause

Presione una tecla para continuar . . .
[Moto G Q&A, Help & Troubleshooting] FabioSan:
Unfortunately, I can't help :/

This files are only for falcon and maybe peregrine :/

So I can't hell in any other moto model, sorry :/
[Moto G Q&A, Help & Troubleshooting] aaryan.raj:
My moto g is not detecting as qhbulk

No matter what i do

My cable and all everything is working but it's not coming

After doing and installing motorola driver also its detecting as either falcon s or motorola adb interface
[Moto G Q&A, Help & Troubleshooting] EudeRabelo:
Me ajudou muito Obrigado

Thanks
[Moto G Q&A, Help & Troubleshooting] juanragnaweb:
mi moto g realiza los pasos perfectamente pero en el momento de reiniciarse luego del blank bat no entra en modo bootloader osea sigue apagado. soluciones?

my moto g performs the steps perfectly but at the time of restarting after the blank bat does not enter bone bootloader mode is still off. solutions?
[Moto G Q&A, Help & Troubleshooting] Alfaleather:
Quallcomm Driver Problem

I cannot seem to use the Qualcomm driver

Moto G3 xt1541 stuck on Bootlocked unloader screen, Fastboot and TWRP screens work

Device manager only sees it as a qualcomm device when I scroll from fastboot to Qcom, is this correct?

In this mode I cannot get it to work.

In fastboot mode it sees it as an android device and Windows insists on using ADB driver, Have tried removing drivers and using manual update to look in Qualcomm folder to no avail. In fastboot screen fastboot sees the device but ADB doesn't

If I try to boot to android nothing see it at all.

any ideas? I am a newb at this and need to get phone working urgently.

Many thanks for the tutorial.

Jerry
[Moto G Q&A, Help & Troubleshooting] Alfaleather:
Sorted now

Ok I got some help from my nephew.

He loaded a stock zip, installed the stock recovery from it and did a factory wipe and reset then reinstalled the factory image using the instructions from another thread.

The first line failed but he ignored it and carried on and it seems to have worked.

I have now rooted it using

https://download.chainfire.eu/748/SuperSU/BETA-SuperSU-v2.62-2-20151211155442.zip?retrieve_file=1 (a different version I used did not work)

I am now trying to recover my sms messages using Fonelab, which is the reason I started this.

Hope this makes sense, 2.40 AM here in UK so not making much sense to me either.
[Moto G Q&A, Help & Troubleshooting] MikeyMan:
Feeling like a moron for bricking my moto G. I've started this guide. After several tries, i've got a working bootloader now, but that's about it.

When i follow the procedure in the opening post, i cannot seem to get the first few steps working, but my Moto is showing up as a Motorola ADB Interface, which -if i believe the search results- should be okay.

However, whilst my Phone is perfectly accessible with fastboot, when i start the blank-rom batch, it's stuck at 'waiting for device'.

What have i done wrong?
[Moto G Q&A, Help & Troubleshooting] FabioSan:
This is a topic for moto G 2013 ^^"

We can't really help you properly, but adb can't see of course the phone in fastboot mode. Only fastboot commands (or mfastboot) are correctly when phone is into fastboot mode ;)
[Moto G Q&A, Help & Troubleshooting] FabioSan:
Check better the guide and ensure that ALL I wrote is respected. All :)
[Moto G Q&A, Help & Troubleshooting] zigadirasu:
Thank you

Dude i made an account just for thank you, you saved my phone! cant express that with words so :):highfive::good:

Thank you!