yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Questions & Answers] echo92:
I don't understand what you've written?

You need to flash these files in fastboot. You can not flash these in TWRP.

---------- Post added at 06:04 PM ---------- Previous post was at 06:00 PM ----------

What blankflash are you using? Is it from this thread? https://xdaforums.com/moto-z-play/how-to/guide-unbrick-moto-z-play-t3618492

If you've bricked with the 7.1.1 Feb 2018 update or the Oreo soak test, I don't know of any newer blankflashes yet. You could wait if a new one gets leaked or unfortunately it's an expensive repair.
[Moto G4 Plus Questions & Answers] takoa:
I have a moto G5 cedric bricked, the model XT1676.. Could work it for me?
[Moto G4 Plus Questions & Answers] strongst:
No it won't work, totally different hardware. Please don't try it!
[Moto G4 Plus Questions & Answers] takoa:
:crying:
[Moto G4 Plus Questions & Answers] Thiyagaraj:
Invalid partition name

i unlock bootloader successfully and i flashed the stock rom successfully after the i was disable the "oem unlock" option from developer option

and then i update the "system update" from settings i was downloaded successfully after installing that system update it restart my moto g4 plus xt1643 mobile and the it won't start again

i tried to long press power button for 2 minutes that also not working

i tried to relock bootloader it shows "not in unlock state"

and i tried to unlock bootloader again then it shows "allow oem unlock".

and then I saw this solution

i tried this,

but here,

i successfully installed blankflash, but when i am install stockrom it shows the errors like "invalid partition name logo","invalid partition name boot","invalid partition name recovery" and so on

please rescue me from this problem

thank you
[Moto G4 Plus Questions & Answers] rep2:
help plox

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

< waiting for device >

Motorola qboot utility version 3.40

[ 0.000] Opening device: \\.\COM5

[ 0.004] Detecting device

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

[ 0.012] ...cpu.sn = 36071232 (0x2266740)

[ 0.012] Opening singleimage

[ 0.013] Loading package

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

[ 0.018] Loading programmer

[ 0.019] ...filename = programmer.mbn

[ 0.019] Sending programmer

[ 0.766] Handling things over to programmer

[ 0.767] Identifying CPU version

[ 0.769] Waiting for firehose to get ready

[ 3.779] ...MSM8952 1.1

[ 3.779] Determining target secure state

[ 3.782] ...secure = yes

[ 3.795] Flashing GPT...

[ 3.795] Flashing partition:0 with gpt_main0.bin

[ 3.795] Initializing storage

[ 3.797] Configuring device...

[ 3.815] ...blksz = 512

[ 4.010] Re-initializing storage...

[ 4.010] Initializing storage

[ 4.072] Flashing bootloader...

[ 4.074] Flashing aboot with emmc_appsboot.mbn

[ 6.084] ERROR: do_package()->do_recipe()->do_flash()->pt_erase()->storage_write()->firehose_do_fmt()->do_recipe()->do_program()->send_raw()->IO error

[ 6.084] Check qboot_log.txt for more details

[ 6.085] Total time: 6.087s

FAILED: qb_flash_singleimage()->do_package()->do_recipe()->do_flash()->pt_erase()->storage_write()->firehose_do_fmt()->do_recipe()->do_program()->send_raw()->IO error

keeps showing this line
[Moto G4 Plus Questions & Answers] monkey_13:
Hello XDA wizards... Well, it finally happened. xt1641 bricked last night after doing the OTA update.

Patiently awaiting an updated blankflash for G4plus devices on latest Feb2018 OTA.

Thanks :)
[Moto G4 Plus Questions & Answers] echo92:
Does the blankflash in this unbricking guide work? https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

That's the latest blankflash we have. You may have to use the Feb 2018 GPT/bootloader from here: https://drive.google.com/drive/folders/0B-GUyOfb8OgzcUl1NUtHYWNIR2M (I've pulled it from the Feb 2018 stock ROM on XDA. Though this stock ROM has been successfully flashed by several users and looks to be a genuine Motorola stock ROM, we're still not sure about the source).

If the blankflash does work, please do not flash older stock ROMs, only flash the latest stock ROM. If you need to flash older stock firmware, please do not use OTA updates, else you may brick again.

---------- Post added at 04:56 PM ---------- Previous post was at 04:53 PM ----------

Hmm, so it looks like the blankflash is working, but then is failing to write to the flash memory on your device.

I'd try the blankflash again, also try the blankflash here: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

If they don't work, it may be suggesting your device has bad flash memory and so may require an expensive motherboard replacement. Hopefully you've still got a warranty....

---------- Post added at 04:58 PM ---------- Previous post was at 04:56 PM ----------

What stock ROM are you trying to flash? What stock ROM did you have before and which blankflash did you use?

Do any of the GPT/bootloader files from here flash via fastboot? https://drive.google.com/drive/folders/0B-GUyOfb8OgzcUl1NUtHYWNIR2M
[Moto G4 Plus Questions & Answers] monkey_13:
It didn't seem to last night...tried 3 diff ones.

The phone was on stock Nougat with December security date. It seemed to successfully update itself although when rebooted it went straight to black screen with flashing led.

Shucks...
[Moto G4 Plus Questions & Answers] echo92:
Hmm, that's odd... Can I ask for a log output of the blankflash from the thread I linked please? I'm curious to see where the blankflash is failing.

Which December update did you have, there's Dec 2016 (NPJ25.93-14) and Dec 2017 (either NPJS25.93-14-13 or NPJ25.93-14.7-3)?
[Moto G4 Plus Questions & Answers] monkey_13:
Thanks for the prompt responses...

I can definitely get a logcat posted later today. It was on the Dec2017 update.

Thanks.
[Moto G4 Plus Questions & Answers] shubh096:
One day my g4 + was under direct sunlight. It heated a lot and start rebooting itself, while charging cable plugged in, it reboots till bootanimation but without it stops booting from bootanimation.

I have flashed the new custom roms as well as stock firware, but problems reamins!! It doesn't boot ahead of bootanimation.

Please help me , service center and repair shops can't find the problem! :(
[Moto G4 Plus Questions & Answers] monkey_13:
[MENTION=7970352]echo92[/MENTION]

Thanks for your help today. Tried a different PC and cable and lone behold... Blankflash worked flawlessly :good:
[Moto G4 Plus Questions & Answers] Rosh547467:
Hi,

I have tried your method to unbrick my moto g4 plus. I have installed qualcomm driver. But my phone is not detecting in my pc's device manager. Can anybody guide me?? Already Tried to connect to pc by pressing both power n volume down key same time.

My phone was dead suddenly one morning. It was low on battery that time. I have plugged to charger full night. I couldn't turn it on.
[Moto G4 Plus Questions & Answers] strongst:
Already read that? https://xdaforums.com/moto-g4-plus/help/solved-unbrick-hard-bricked-dead-t3585016/post75330197
[Moto G4 Plus Questions & Answers] Rosh547467:
Thanks for the reply.

Yes i have read that. But still no change.

Also i want to bring your notice to a point that i have never seen any led near my fingerprint scanner. So when i connect to charger no indication of charging.

Is there any way to detect my phone in pc
[Moto G4 Plus Questions & Answers] echo92:
1) Is your device charging properly and with the stock charger and cable? I want to verify that the micro USB port is still working at least for charging.

2)Is your device detectable by other computers if you try to connect your device with the original USB cable?

3)There is an LED to the right of the fingerprint sensor (about the same distance from the sensor as the microphone is on the left side of the fingerprint sensor). If you turn off your device, then connect it to your computer, do you see the LED light up briefly before charging?
[Moto G4 Plus Questions & Answers] llaalways:
I have tried the blank-flash from following link on my moto G4 (non plus)

https://firmware.center/firmware/Motorola/Moto G4 (Plus)/Blankflash/

It seems finished correctly, and phone can boot to a bootloader page.

here is the message I got when I run blank-flash:

D:\blankflash\blankflash>.\qboot.exe blank-flash

Motorola qboot utility version 3.40

[ 0.000] Opening device: \\.\COM3

[ 0.016] Detecting device

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

[ 0.032] ...cpu.sn = 17504093 (0x10b175d)

[ 0.032] Opening singleimage

[ 0.032] Loading package

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

[ 0.048] Loading programmer

[ 0.063] ...filename = programmer.mbn

[ 0.063] Sending programmer

[ 0.307] Handling things over to programmer

[ 0.307] Identifying CPU version

[ 0.307] Waiting for firehose to get ready

[ 3.330] ...MSM8952 1.1

[ 3.330] Determining target secure state

[ 3.330] ...secure = yes

[ 3.346] Flashing GPT...

[ 3.346] Flashing partition:0 with gpt_main0.bin

[ 3.346] Initializing storage

[ 3.363] Configuring device...

[ 3.363] ...blksz = 512

[ 3.450] Re-initializing storage...

[ 3.451] Initializing storage

[ 3.482] Flashing bootloader...

[ 3.485] Flashing aboot with emmc_appsboot.mbn

[ 3.851] Flashing rpm with rpm.mbn

[ 3.952] Flashing tz with tz.mbn

[ 4.227] Flashing hyp with hyp.mbn

[ 4.262] Flashing cmnlib with cmnlib.mbn

[ 4.340] Flashing keymaster with keymaster.mbn

[ 4.449] Flashing sbl1 with sbl1.mbn

[ 4.621] Rebooting to fastboot

[ 4.637] Total time: 4.637s

And the bootloader page shown:

start

AP fastboot mode (Secure)

BL:B1.06(*) (sha-0edfb0d, 2017-06-01 12:10:43)

Baseband:

Product/Variant: athene_13mp 000000000000 16GB P2A

Serial Number: c1cf2e4

CPU: MSM8952

eMMC: 16GB SAMSUNG QE13MB RV=08 PV=07 FV=000000000007

DRAM: 2GB SAMSUNG LP3 DIE=8GB M5=01 M6=05 M7=00 M8=1F

Console [Null]: Null

Tools Mode config: ENABLED

Battery OK

oem_locked

Software status: Modified

Transfer Mode: USB Connected

By tap on vol button, I can change the start to restart bootloader/recovery mode/power off/factory/barcodes/BP tools/Qcom/Bootloader logs/switch tools mode/ etc.

restart bootloader/power off seem works.

start/ recovery mode/factory/BP tools/Qcom will fail with Bootloader logs show up.

switch tools does not show any response.

But I am not able to flash gpt and stock rom.

I have tried to flash following stock rom,

ATHENE_NPJS25.93-14-13_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

from https://androidfilehost.com/?fid=745849072291698845

here is what I get when flash partition.

>fastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (32 KB)...

OKAY [ 0.006s]

writing 'partition'...

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.091s

The phone connect to PC as athene_13mp S

And I am not able to go back QDownloader 9008.

What should I do now?
[Moto G4 Plus Questions & Answers] echo92:
What stock ROM are you trying to flash? The security version downgrade and pre-flash validation point to you attempting to flash a firmware older than your bootloader, which is why it's being rejected. If you previously had bootloader version B1:06, I would suggest flashing at least the June/Sept 2017 security patch firmwares and recommend you flash the Dec 2017/Feb 2018 firmwares. For US retail devices (which if I've read your previous posts correctly, your XT1625 is one), the newest firmware we have is NPJ25.93-14.7 (Sept 2017) here: https://androidfilehost.com/?fid=817906626617945295

Regardless, if you can rescue your device with these, please do not flash older stock firmware onto your device, or if you do, do not use OTA updates to update your device.
[Moto G4 Plus Questions & Answers] llaalways:
I have just tried

ATHENE_NPJ25.93-14.7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

and

ATHENE_NPJS25.93-14-13_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

and

https://dc5.androidfilehost.com/dl/...bsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip?

and get same error.
[Moto G4 Plus Questions & Answers] echo92:
That suggests you hard bricked when your device was still on the latest bootloader, which is currently the Feb 2018 NPJS25.93-14.15/NPJ25.93-14.7-5 firmware. We only have access to the NPJS25.93-14-15 firmware https://xdaforums.com/showpost.php?p=76250128&postcount=753

Try flashing that - ensure you've deleted the other stock ROMs from your ADB flashing folder, so you know which firmware you're flashing to your device.
[Moto G4 Plus Questions & Answers] Agvb_:
Unbrick moto g3

I'm trying to use this to unbrick my moto g3. The first blankflash says at some point wrong package and both blankflash 2 and 3 say unexpected packet: 4. Was expecting: 3

Could someone help me? :(
[Moto G4 Plus Questions & Answers] echo92:
Hmm, if those blankflashes do not work, then your other alternatives are to either hope a blankflash gets leaked, find a repair shop with a JTAG or other method, or pay for a replacement motherboard or a new device.

Unfortunately, the blankflashes are signed and built by Motorola, we cannot build them ourselves, and Motorola will not give them out as they regard them as internal development tools (most of the blankflashes we have are leaks). I get the impression that if you unlock your bootloader, anything that happens is usually your responsibility (depending on your local consumer laws). If there's no Motorola blankflash for Moto G3 devices, you may have to consider the options above.
[Moto G4 Plus Questions & Answers] Rosh547467:
Hi echo92,

1) Since there is no indication of charging in my phone,the only option i had was to open the backcover and measure the battery terminal voltage. I checked the voltage and it was > 4.1 v while the battery terminals were open. And 0.5v when i connected it to motherboard.

2) I connected to another computer with original usb but not detected in that pc too.

3) no led is visible near fingerprint sensor both while charging and discharging. I couldn't remember any led glowing while the phone was working smoothly.

Thanks for your reply
[Moto G4 Plus Questions & Answers] llaalways:
my phone is rescued with NPJS25.93-14-15. thanks
[Moto G4 Plus Questions & Answers] elandaetam:
brick XT1601 G4 play

first, I apologize for my bad English, I'm using a translator, my problem lies in a Motorola G4 plat XT1601, use a blankflash that made it start in fastboot mode for a downgrade by my mistake, then start at fastboot would not let me install nothing with the errors "preflash validation failed or bootloader denied" was something like this, anyway now in this mode fastboot does not even want to read the usb, but even without battery to this mode, there will be some forced way to take it to mode edl or qualcomm mode ? with fastboot I could never even with one modified, if they know something and could answer me I would be extremely grateful.
[Moto G4 Plus Questions & Answers] shantanu8075:
i blank flash my moto g4 plus. followed your steps and i got my recovery back.

but now i am trying to install stock rom and its not working. it says invalid partition name for everything. also imei and baseband no. in removed so i cant unlock my bootloader.

what to do now? please help me.:(:(:(:(:(:(
[Moto G4 Plus Questions & Answers] sohil.eokzzz:
C:\Users\utsav\Documents\blankflash>.\qboot.exe blank-flash

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 = 31154908 (0x1db62dc)

[ 0.003] Opening singleimage

[ 0.004] Loading package

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

[ 0.008] Loading programmer

[ 0.008] ...filename = programmer.mbn

[ 0.008] Sending programmer

[ 0.230] Handling things over to programmer

[ 0.230] Identifying CPU version

[ 0.234] Waiting for firehose to get ready

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

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

i am pressing power and vol down still showing this error cannot connect
[Moto G4 Plus Questions & Answers] vrnwagle:
Same for me.
[Moto G4 Plus Questions & Answers] echo92:
What's same for you? With no information to go on, it's difficult to help you.

Have you tried the blankflash here and guide? https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761
[Moto G4 Plus Questions & Answers] bonnyshroff:
I am getting the following error.

I did what you said.

But it getting stuck on firehose thing.

Moreover after that a readfile error reflect.

Plz help :crying::crying:

Following is my error below

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

[ -0.000] Detecting device

[ -0.000] ...cpu.id = 2418 (0x972)

[ -0.000] ...cpu.sn = 32329257 (0x1ed4e29)

[ -0.000] Opening singleimage

[ -0.000] Loading package

[ -0.000] ...filename = singleimage.pkg.xml

[ -0.000] Loading programmer

[ 0.010] ...filename = programmer.mbn

[ 0.010] Sending programmer

[ 0.230] Handling things over to programmer

[ 0.230] Identifying CPU version

[ 0.230] Waiting for firehose to get ready

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

[ 61.674] Waiting for firehose to get ready

[137.657] Waiting for firehose to get ready

This all while holding power + vol down key

I was updating December 2016 security patch and it gone to update and after that it ain't started
[Moto G4 Plus Questions & Answers] echo92:
If you downgraded from stock Nougat and tried to use OTA updates, then you'd likely have a hard brick. Downgrading your stock firmware does not downgrade your bootloader, and so using an old OTA likely corrupted your bootloader.

Try the blankflash and the guide from here: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761 In future, please do not downgrade your stock firmware, or if you do, please do not use OTA updates.
[Moto G4 Plus Questions & Answers] bonnyshroff:
Flashing STOCK ROM is problem

I tried FLASHING STOCK ROM in phone but it flashes to moto g4 instead of G4 plus.

How shall I solve it.?

I took a proper ROM for xt1643 but it flashes to moto g4 only...
[Moto G4 Plus Questions & Answers] echo92:
Which ROM did you flash to your XT1643? What do you mean that your device flashes to Moto G4, as in you lose your fingerprint sensor and modem?
[Moto G4 Plus Questions & Answers] bonnyshroff:
I flashed many ROM like Lineage OS, Resurrection Remix OS, etc for moto g4 plus xt1643. All were working fine but after I tried to flash it to moto g4 plus stock ROM and did the OTA update and the phone got bricked.

After unbricking the phone by your methods my only sim1 is detecting and sim2 is gone.

The About Phone section even shows Moto G4 instead of G4 plus.

I gave it to the service center and the troll part happens that even they cannot get the 2nd sim slot + fingerprint sensor.

I guess I made a mistake while unbricking or after that, installing the new bootloader update.

Now even Lineage OS or RR OS ROM doesn't show 2nd SIM or IMEI + no fp sensor.

Help me Plzzz.! [MENTION=7970352]echo92[/MENTION]
[Moto G4 Plus Questions & Answers] shahrajb99:
C:\Users\Raj\Downloads\Blankflash MG4P\blankflash>.\qboot.exe blank-flash

Motorola qboot utility version 3.40

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

[ -0.000] Detecting device

[ -0.000] ...cpu.id = 2418 (0x972)

[ -0.000] ...cpu.sn = 7150968 (0x6d1d78)

[ -0.000] Opening singleimage

[ -0.000] Loading package

[ -0.000] ...filename = singleimage.pkg.xml

[ -0.000] Loading programmer

[ -0.000] ...filename = programmer.mbn

[ -0.000] Sending programmer

[ 0.224] Handling things over to programmer

[ 0.224] Identifying CPU version

[ 0.239] Waiting for firehose to get ready

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

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

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

PLease help I m getting this error, I installed 6.0.1 via fastboot and tried to ota upgrade my phone. please help me
[Moto G4 Plus Questions & Answers] echo92:
If you were previously on stock Nougat, you cannot safely flash 6.0.1 and take OTA updates - OTA updates on downgraded firmware are a common source of hard bricks.

That error looks like the blankflash isn't able to access your device bootloader, possibly if the blankflash is too old. Try the blankflash here and the GPT/bootloader files: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

If you do get your device working, you must flash the latest stock firmware to safely use OTA updates again - if you do not flash the stock firmware, you may keep hard bricking when installing OTA updates. https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 for the latest Indian stock Nougat ROM.

---------- Post added at 02:00 PM ---------- Previous post was at 01:46 PM ----------

Yeah, sounds like your IMEI may have gone missing too?

You may have to look into re-flashing the hw partition via TWRP: https://xdaforums.com/showpost.php?p=73977941&postcount=139 The link for the hw partition is broken in that post so you could use the hw image as linked here: https://xdaforums.com/showpost.php?p=75845770&postcount=273 If you use the 2nd image, the adb commands to use in TWRP would be

adb push hwXT1643_0s.img /dev/block/mmcblk0p43

However, that process seems to work in some cases and not in others. The only other resolution would be a motherboard replacement or a new device at the moment.
[Moto G4 Plus Questions & Answers] bonnyshroff:
Thank You for your reply friend but can you explain me in steps?

The two link you gave has a link inside it and further, it even has another link inside it.

I get lost where I was at first. :eek:

Still, I am trying..!:cyclops:
[Moto G4 Plus Questions & Answers] bonnyshroff:
Don't know if done right..

I did like downloaded that hwXT1643.img and gone to twrp recovery mode and Executed the command in cmd/shell

The phone restarted and twrp wiped up but there is still single sim. I am now trying to install another stock rom in case it works...!

---------- Post added at 09:44 AM ---------- Previous post was at 09:35 AM ----------

Nope, not working...

Flashed other ROM. did all the steps but its not getting 2nd sim.

How locking is this? Its just file algorithms still not able to work properly?

Motorola Sucks
[Moto G4 Plus Questions & Answers] echo92:
What stock ROM did you flash after you flashed the hw image? I hope you tried flashing the latest stock ROM (NPJS25.93-14-18) as I recall flashing the incorrect stock ROM for your device could possibly cause you to lose SIM and IMEI (somehow corrupting the hw partition in some cases).

What do you mean by 'how locking is this'?
[Moto G4 Plus Questions & Answers] bonnyshroff:
No, I installed custom rom AOSP which I previously installed. It detects only one IMEI. THE AOSP file I used previously which successfully installed and showing 2 networks before. But Now it ain't working.

You think flashing stock rom could solve the problem cuz if it could then AOSP (currently installed) should have shown me 2 IMEI instead of 1 currently.

Locking means not exactly locking but like 2nd IMEI vanished even after flashing some hw files as its just bundle of codes and it should work.

Should I brick my phone again?

Is this problem of blankflash file I flashed during unbricking.???