yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Questions & Answers] echo92:
1) These are not real time forums - users will reply when they can. Please be patient.

2)Looking through your log, looks like your firmware all matches, so looks like the firmware flash went okay.

3)As you've re-locked your bootloader, that limits what we can do.

4)The proximity sensor should work, if your other sensors are working.

5)I'm honestly running out of ideas. If a factory reset (wiping all your data) and a firmware flash to ensure your device is completely stock doesn't work, then it does look like there is a hardware fault with the cameras/flashlight or a fault with the firmware controlling them. Again, as you've re-locked your bootloader, we can't do much. A factory reset should erase any apps that might be blocking access to the camera/flashlight, as should a full firmware flash (including erase userdata).

6)Though a factory reset should fix this, I would suggest clearing the data/cache of the camera app (are you using the stock camera app?) and verify you're saving photos to Google Drive/internal storage and not your SD card if you have one, regardless of whether you've adopted the SD card as internal storage or portable storage. Seems this error can occur if you run low on space: https://forums.lenovo.com/t5/forums/v3_1/forumtopicpage/board-id/MotoG4thGen/thread-id/20600/page/9 But if you've reset your device, it should be nearly empty anyway...

Unless someone else has any ideas on if you can repair your device firmware, you may have to submit your device for a hardware repair - it could be the camera and flashlight module is faulty after the FRP unlock. Seems that other users reporting a similar error have had to had their camera module replaced. I don't know if the shop tested your cameras after the FRP unlock.
[Moto G4 Plus Questions & Answers] Aashakmeeran:
I Also tried factory reset and flashed various stock roms the same issue is continuing..
[Moto G4 Plus Questions & Answers] Aashakmeeran:
And can i know what are the steps to be done after frp reset?? Because at that time my network and fingerprint was held in issue. Then the camera also says busy. Flashlight not works.
[Moto G4 Plus Questions & Answers] echo92:
I honestly don't know how to proceed. I'm out of ideas, either wait for someone to suggest other possible fixes or look into it yourself. Again, it may have to come down to paying for a repair.
[Moto G4 Plus Questions & Answers] Aashakmeeran:
Ook thank you for your patience and support...

If you get any ideas please help me in any time and ill also will clarify the shops.
[Moto G4 Plus Questions & Answers] Xmaster111:
I do not want to be surrendered. And I do not want to change the motherboard

I'm reading a guide that supposes I can flash the rom using the Snapdragon processor drivers, the program would be Tool Studio eMMc.

But heck I'm not very well prepared in this.

I'll post the link if the community can help me.

http://www.androidbrick.com/ultimat...s-are-unbrickable-qhsusb_dload_qpst_qfil_edl/

Desperately, motorola are excluded. But are motorola managers crazy? I will never buy a motorola again
[Moto G4 Plus Questions & Answers] Xmaster111:
My opinion is that: they are completely wrong politics, not releasing all the tools to be able to use at best their phones. They will have good engineers, but bad managers.

As you say, they can put a lot of "warning" in all the forums about the use of their products; but then who decides which are the best models or the most seductive brands?

Who decides the market?

The market is decided by those users who tweak on the phones, from the reviewers who review the various models, from users who do modding, from expert users in fact.

Motorola... do you not allow this? You are OUT.

If Motorola managers think they have stupid customers: sheep to take to pasture, I think they will soon come out of the market .... from the roots they have already risked in the past to be cut off.

I, as a result of this experience, I will no longer buy Motorola, I will no longer recommend this brand.

(I'm a wounded boar)
[Moto G4 Plus Questions & Answers] Akashsundar:
I used blank flash after that I boots in to fastboot mode but now I see that my oem status is locked so I am unable to flash firmware and Android rom

Please tell me any way for fixing this problem
[Moto G4 Plus Questions & Answers] strongst:
Official firmware is signed an can be flashed even when bootloader is locked.

If you need to unlock bootloader, you need to follow the guide from motorola.

But at first give more details what you're trying to do.
[Moto G4 Plus Questions & Answers] Akashsundar:
When I tried to flash ROM the following error are occurs
[Moto G4 Plus Questions & Answers] Akashsundar:
What can I do now

---------- Post added at 06:49 PM ---------- Previous post was at 06:46 PM ----------

Command fastboot flash partition gpt.bin says

Preflash validation failed
[Moto G4 Plus Questions & Answers] echo92:
What stock ROM are you trying to flash? What device do you have?

If you've got a B1:06 bootloader, try flashing either the September 2017 stock firmware (NPJS25.93-14-10 for India, Brazil, EU/UK and other territories) https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138

or the December 2017 stock firmware NPJS25.93-14-13: https://xdaforums.com/showpost.php?p=75069313&postcount=510
[Moto G4 Plus Questions & Answers] Akashsundar:
I have Moto g4 plus xt1643
[Moto G4 Plus Questions & Answers] echo92:
And which stock ROM were you trying to flash?
[Moto G4 Plus Questions & Answers] Akashsundar:
It was the june 2017 firmware

---------- Post added at 07:03 PM ---------- Previous post was at 06:59 PM ----------

How to choose the correct firmware?

Or I need to download both firmwares
[Moto G4 Plus Questions & Answers] echo92:
You can choose either - September 2017 has a newer bootloader than June (still versioned B1:06) or the December 2017 has the B1:07 bootloader.

The September 2017 firmware has been around for longer, whereas the December 2017 firmware was leaked this morning. Initial reports suggest the December 2017 firmware is working well, so it really depends on you. The December 2017 firmware should update and restore your device in one go.

Also, if your device is working again, delete that June 2017 stock ROM and any older stock ROMs (including Marshmallow), if you want to not hard brick again. If you want to downgrade, don't use OTA updates....
[Moto G4 Plus Questions & Answers] Akashsundar:
I fix it September 2017 is correct one

Thanks for your guidelines
[Moto G4 Plus Questions & Answers] Xmaster111:
always make sure the battery is above 50% charge when you do these operations
[Moto G4 Plus Questions & Answers] mynewpasswordis789:
Thanks!!

It's working for me
[Moto G4 Plus Questions & Answers] Icesmash:
Appreciate the link without it I wouldn't have been able to revive my hard bricked device! :)

Just one trick to get it to work is to hold power & volume down but let go when you get the

command you must release all buttons. Hope this helps someone in the future!

Motorola qboot utility version 3.40
[ 0.000] Opening device: \\.\COM3
[ 0.001] Detecting device
[ 0.003] ...cpu.id = 2418 (0x972)
[ 0.003] ...cpu.sn = 23722320 (0x169f950)
[ 0.003] Opening singleimage
[ 0.003] Loading package
[ 0.007] ...filename = singleimage.pkg.xml
[ 0.009] Loading programmer
[ 0.010] ...filename = programmer.mbn
[ 0.010] Sending programmer
[ 0.224] Handling things over to programmer
[ 0.225] Identifying CPU version
[ 0.228] Waiting for firehose to get ready
[ 3.237] ...MSM8952 1.1
[ 3.237] Determining target secure state
[ 3.237] ...secure = yes
[ 3.252] Flashing GPT...
[ 3.252] Flashing partition:0 with gpt_main0.bin
[ 3.252] Initializing storage
[ 3.252] Configuring device...
[ 3.268] ...blksz = 512
[ 3.330] Re-initializing storage...
[ 3.330] Initializing storage
[ 3.377] Flashing bootloader...
[ 3.377] Flashing aboot with emmc_appsboot.mbn
[ 3.737] Flashing rpm with rpm.mbn
[ 3.815] Flashing tz with tz.mbn
[ 4.065] Flashing hyp with hyp.mbn
[ 4.112] Flashing cmnlib with cmnlib.mbn
[ 4.190] Flashing keymaster with keymaster.mbn
[ 4.268] Flashing sbl1 with sbl1.mbn
[ 4.424] Rebooting to fastboot
[ 4.424] Total time: 4.425s
[Moto G4 Plus Questions & Answers] loljon:
bootloader locked

how can i unlock bootloader? i have resolved the brick but the IMEI is a it's a series of 0 and i don't have any recovery.

and i don't know ways to unlock bootloader without imei

obviously I can not flash any os
[Moto G4 Plus Questions & Answers] echo92:
What device do you have and how did you get to the hard brick?

What happens if you try to flash the stock ROM to your device? You'll need the stock ROM in order to unlock your bootloader.
[Moto G4 Plus Questions & Answers] loljon:
I have a moto g4 plus and if I try to flash the rom stock every step tells me that there is not the partition where to install the file

at a certain point the devices turned me off and looking online I read that the bootloader was corrupted
[Moto G4 Plus Questions & Answers] echo92:
Which stock ROM are you trying to flash?

Can you mention which specific device model you have?

Can we see the output after you've tried to flash, please?
[Moto G4 Plus Questions & Answers] echo92:
Yeah, that looks like you're trying to flash older firmware than what is currently/was on your device. What firmware are you attempting to flash?

If you need newer firmware, then you could look at this post: https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138

It's working on my XT1642, though I'm on the retgb channel. I recall it should work for reteu, Brazil, Mexico and India channels and should keep you on the OTA channel.
[Moto G4 Plus Questions & Answers] loljon:
first I had the lineageos at 7.1.2, not a firmware stock, okay anyway?
[Moto G4 Plus Questions & Answers] echo92:
Should be - Lineage OS is a custom ROM, installing only to your system partition.

A stock ROM firmware affects much more of your device. Custom ROMs generally do not affect what stock firmware you have on your device (regardless of if you had Lineage 7.1.2 or Oreo, your device firmware would still be on v7.0 or v6.0).

Can I ask which stock firmware you were trying to flash with that script, please?
[Moto G4 Plus Questions & Answers] loljon:
the phone has restarted with lineage but I'm fine so sincerely, thanks a lot for the help

and strangely all the apps / accounts have remained, etc.
[Moto G4 Plus Questions & Answers] echo92:
Wait, so you had Lineage OS on your device? I'm confused now at what's happened/what you've done to your device.

Still, it's working now...
[Moto G4 Plus Questions & Answers] vishal.mamidi:
its stopping at here

[ 0.000] Opening device: \\.\COM6

[ 0.001] Detecting device

[ 0.003] ...cpu.id = 2418 (0x972)

[ 0.003] ...cpu.sn = 10568102 (0xa141a6)

[ 0.003] Opening singleimage

[ 0.004] Loading package

[ 0.007] ...filename = singleimage.pkg.xml

[ 0.010] Loading programmer

[ 0.011] ...filename = programmer.mbn

[ 0.012] Sending programmer

[ 0.256] Handling things over to programmer

[ 0.256] Identifying CPU version

[ 0.258] Waiting for firehose to get ready

[ 9.751] ReadFile() failed, GetLastError()=0

[ 19.241] ReadFile() failed, GetLastError()=0

[ 19.241] ReadFile() failed, GetLastError()=0

[ 28.362] ReadFile() failed, GetLastError()=0

[ 46.974] ReadFile() failed, GetLastError()=0

[ 46.975] ReadFile() failed, GetLastError()=0

[ 62.500] Waiting for firehose to get ready

[ 65.586] ReadFile() failed, GetLastError()=0

[ 65.587] ReadFile() failed, GetLastError()=0
[Moto G4 Plus Questions & Answers] echo92:
The blankflashes in this post are too old for devices updated to Nougat, regardless of whether you tried to downgrade (you cannot downgrade bootloaders). Try the blankflash here: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761
[Moto G4 Plus Questions & Answers] vishal.mamidi:
bro it workdd but need

gpt.bin and bootloader.img

very new one

december 2017 security patch one

please

my mobile stuck at dummy fastboot
[Moto G4 Plus Questions & Answers] strongst:
I answered you here:

https://xdaforums.com/moto-g4-plus/help/help-thread-question-noob-friendly-t3526598/post75233992

please keep discussing in one thread.
[Moto G4 Plus Questions & Answers] echo92:
What device do you have? After using a blankflash, it's recommended to flash the correct stock firmware for your device to fully repair it.

I see you posted in the G5 plus forums too, suggesting this is a G5 plus you're trying to un brick?
[Moto G4 Plus Questions & Answers] jaysamani:
how to flash correct stock firmware? any link? and yes i have g5 plus
[Moto G4 Plus Questions & Answers] echo92:
What device variant do you have (e.g. XT1686, India variant) or what software channel are you on?

Though the g5 plus forums would be best placed to assist you, I'll try to help as much as I can
[Moto G4 Plus Questions & Answers] jaysamani:
Yes I have on XT1686 indian version.

My mobile was dead in morning after running .\qboot.exe blank-flash command fastboot screen appears then I turn on into recovery mode but it stuck and not showing anything except that boot warning still I can go to fastboot mode and when I connected to pc it shows Fastboot Potter S as device name and type is unrecognised. What to do. Please let me know step by step because I am new here in developing area so I don't know all terms. Hope you assist me.
[Moto G4 Plus Questions & Answers] echo92:
Did this happen after flashing a stock ROM then attempting to update, or did you find your device not working?

Which blankflash did you use by the way to rescue your device?

As far as I know, this is the latest XT1686 firmware for G5 Plus devices (NPN25.137-92) https://xdaforums.com/g5-plus/how-to/moto-g5-plus-patch-november-npn25-137-92-t3718976 Please verify that this stock ROM is indeed for Indian devices before using.

Using the above ROM, I would suggest following this guide to perform a full flash of the firmware https://xdaforums.com/g5-plus/how-to/solution-to-flash-stock-romfactory-t3691396 to Step 9. Up to you if you choose to re-lock your bootloader.

As always, this procedure may wipe your device clean so back up before flashing. Also, ensure you have plenty of time to flash as this is a procedure you do not wish to rush. Again, for Step 1, you want to use the NPN25.137-92 stock ROM, not the one in the guide - the instructions are applicable to both.

Please, if you have any questions, ask them here or in the G5 Plus forums.
[Moto G4 Plus Questions & Answers] Diiego1233:
help

C:\Users\Thinkpad\Desktop\blankflash1\blankflash>.\qboot.exe blank-flash

Motorola qboot utility version 3.40

[ -0.000] Opening device: \\.\COM5

[ -0.000] Detecting device

[ 4.047] ERROR: sahara_greet_device()->change_mode()->do_hello()->IO error

[ 4.048] Check qboot_log.txt for more details

[ 4.049] Total time: 4.049s

FAILED: qb_flash_singleimage()->sahara_greet_device()->change_mode()->do_hello()->IO error

C:\Users\Thinkpad\Desktop\blankflash1\blankflash>pause

I have this error and I have tried everything, nothing works, I do not know what to do, I tried the "power + volume down" and it did not work either, I need help, I use the cell phone to work
[Moto G4 Plus Questions & Answers] echo92:
What device do you have, and how did you get into this state?

Looks like the sahara protocol is having difficulties with communicating with your device. If you have a Moto G4/Plus, you can try the latest blankflash we have access to here: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

You may have to try the blankflash a few times for the program to successfully communicate with your device.
[Moto G4 Plus Questions & Answers] Diiego1233:
i have the moto g4 plus and one day I was using it as normal, I put it to charge and it turns off, I thought that the battery had run out at 0% and I left it there, the next day I see and it simply had a light on the bottom side of the fingerprint reader, I was looking for solutions and nothing works for me, in all the blackflash the same thing appears
[Moto G4 Plus Questions & Answers] echo92:
Does your computer still detect your device if you connect it to your computer? Do you see the device in Device Manager?

What happens if, when the LED is blinking, if you hold the power button down for 1-2 minutes, then press the power button? Perhaps a hard shutdown with holding the power button down may clear the issue.

Have you tried different USB cables or different chargers/power sockets?
[Moto G4 Plus Questions & Answers] Diiego1233:
now i have other error, i press the power button + volume down and appear this

C:\Users\Thinkpad\Desktop\blank-flash by Rohit>.\qboot.exe blank-flash

Motorola qboot utility version 3.40

[ 0.000] Opening device: \\.\COM5

[ 0.004] Detecting device

[ 0.004] ...cpu.id = 2418 (0x972)

[ 0.004] ...cpu.sn = 32392705 (0x1ee4601)

[ 0.004] Opening singleimage

[ 0.004] Loading package

[ 0.008] ...filename = singleimage.pkg.xml

[ 0.012] Loading programmer

[ 0.012] ...filename = programmer.mbn

[ 0.012] Sending programmer

[ 0.237] Handling things over to programmer

[ 0.237] Identifying CPU version

[ 0.241] Waiting for firehose to get ready

[ 3.884] WriteFile() failed, GetLastError()=0

[ 7.478] ReadFile() failed, GetLastError()=0

[ 7.479] ReadFile() failed, GetLastError()=0

[ 45.187] ReadFile() failed, GetLastError()=0

[ 45.187] ReadFile() failed, GetLastError()=0

[ 62.237] Waiting for firehose to get ready

[122.398] ...MSM8952 unknown

[135.387] Determining target secure state

[135.387] Waiting for firehose to get ready

[195.564] ...secure = no

[195.576] Flashing GPT...

[195.576] Flashing partition:0 with gpt_main0.bin

[195.576] Initializing storage

[195.580] Waiting for firehose to get ready

[256.238] Configuring device...

[256.242] Waiting for firehose to get ready

[316.641] Waiting for firehose to get ready

[377.063] ReadFile() failed, GetLastError()=0

[377.063] Waiting for firehose to get ready

[439.517] Waiting for firehose to get ready

[499.886] ERROR: do_package()->do_recipe()->do_flash()->gpt_flash()->get_storage()->init_storage()->firehose_do_fmt()->do_recipe()->do_configure()->buffer_read()->device_read()->IO error

[499.887] Check qboot_log.txt for more details

[499.887] Total time: 499.887s

FAILED: qb_flash_singleimage()->do_package()->do_recipe()->do_flash()->gpt_flash()->get_storage()->init_storage()->firehose_do_fmt()->do_recipe()->do_configure()->buffer_read()->device_read()->IO error

C:\Users\Thinkpad\Desktop\blank-flash by Rohit>pause

but when I kept pressing the buttons, on the computer it sounded like I was connecting and disconnecting the cell phone

---------- Post added at 06:47 PM ---------- Previous post was at 05:54 PM ----------

and when "Waiting for firehose to get ready" appear, the computer sound as when the cell phone connect and disconnect, but I do not stop pressing the buttons or disconnect the cable, the cable is good and the buttons are the same
[Moto G4 Plus Questions & Answers] echo92:
Hmm, were you on the stock December 2017 firmware when your device failed? The December 2017 firmware is NPJS25.93-14-13. Also, is the 'blankflash by Rohit' this blankflash here: https://drive.google.com/file/d/0B9rhtqQ4ZTDnTWdpX3ZaVk1pNk0/view from https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

I'd try to not move the device if you can whilst pressing the buttons, if you can hear the computer disconnecting and reconnecting, the USB cable connection might be coming loose (either the plug or the socket itself). It could be the blankflash however, as it attempts to communicate with your device.

If the blankflash doesn't work, we may have to start investigating the possibility of a hardware fault.
[Moto G4 Plus Questions & Answers] sam120193:
I am stuck on blank flash. My phone is not been detected as Qualcomm USB loader , I have tried many more times, i tired to flash rom but everything failed. phone showing

fastboot reason: failed to intalize partition table

error : no boot image found

boot up failed

---------- Post added at 12:34 PM ---------- Previous post was at 12:31 PM ----------

I am stuck on blank flash. My phone is not been detected as Qualcomm USB loader , I have tried many more times, i tired to flash rom but everything failed. phone showing

fastboot reason: failed to intalize partition table

error : no boot image found

boot up failed
[Moto G4 Plus Questions & Answers] echo92:
What device do you have and which blankflash did you use?

You may wish to have a look at this guide too https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

The messages you're getting suggest you need to flash the correct, preferably newest, stock ROM available for your device.
[Moto G4 Plus Questions & Answers] cabeto2:
Help moto g4 bricked from Colombia.

hello vijayjadhav_143, I followed your procedure, but I could not get past the first part, my pc does not recognize the Motorola g4 with the installed drivers, I have 64 bit windows 7 On the other hand when I install the motorola drivers, the pc recognizes as motorola adb, and I can perform query commands like the fastboot devices, where the serial number of the computer returns, but I have not been able to do the blanckflash, in order to proceed with the installation of the rom, you can help me by giving me an idea about it . Thank you.
[Moto G4 Plus Questions & Answers] ____Mdd:
Does your phone boot into bootloader ?

Why it bricked ?

You tried to install anything ?

You took OTA update after installing stock ROM?

This guide is old, follow this link for new blank flash : https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761
[Moto G4 Plus Questions & Answers] UKMIITB:
Issue not solved

I have same issue(g4 plus), while blankflash it get's stuck at "waiting for firehose to get ready",

This is complete issue:

[ 0.000] Opening device: \\.\COM5

[ 0.002] Detecting device

[ 0.004] ...cpu.id = 2418 (0x972)

[ 0.005] ...cpu.sn = 23831702 (0x16ba496)

[ 0.005] Opening singleimage

[ 0.006] Loading package

[ 0.014] ...filename = singleimage.pkg.xml

[ 0.020] Loading programmer

[ 0.021] ...filename = programmer.mbn

[ 0.022] Sending programmer

[ 0.247] Handling things over to programmer

[ 0.248] Identifying CPU version

[ 0.255] Waiting for firehose to get ready

[ 60.918] Waiting for firehose to get ready

[121.426] ...MSM8952 unknown

[121.426] Determining target secure state

[121.426] Waiting for firehose to get ready
[Moto G4 Plus Questions & Answers] echo92:
Try this newer blankflash for athene devices: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

Ensure you re-flash the latest stock ROM for your device (or at least matching your bootloader patch level), else you may keep hard bricking, especially if you try to take OTA updates.
[Moto G4 Plus Questions & Answers] Yaswanth96:
Blank flash is not working on moto g turbo

I have tried all of them but still it is not working. I ve tried for many times by holding power button. It is not coming. Please help me buddies

My qualcomm driver version is 2.1.2.2 and not 2.0.8.7

What to do now??

I ve installed the stock rom back from lineage os, and the stock rom showed an update of 53 MB. I tried to update but the phone is hard bricked. It is showing as qualcomm in port section of device manager. Please help me soon guys. [MENTION=2949556]vijayjadhav_143[/MENTION] and others, please look into this problem

This is the output I am getting on the cmd during blank flash after 4-5 times

C:\Users\Naga Yaswanth\Desktop\blankflash>.\qboot.exe blank-flash

Motorola qboot utility version 3.40

[ 0.000] Opening device: \\.\COM3

[ 0.003] Detecting device

[ 0.007] ...cpu.id = 2315 (0x90b)

[ 0.008] ...cpu.sn = 101005569 (0x6053901)

[ 0.009] Opening singleimage

[ 0.011] Loading package

[ 0.022] Failed identify board. Wrong package?

[ 0.023] ERROR: error loading package

[ 0.024] Check qboot_log.txt for more details

[ 0.025] Total time: 0.027s

FAILED: qb_flash_singleimage()->error loading package

C:\Users\Naga Yaswanth\Desktop\blankflash>pause

Press any key to continue . . .