yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Questions & Answers] echo92:
I'm slightly confused by your question?

You should be able to take OTA updates. If you wish to be more careful, then wait for the fastboot ROM, as this has the complete files. The OTA only applies patches and code changes (hence why it can brick devices), whereas the fastboot ROM will flash the complete relevant files.

If you're confident your device is properly running and flashed to the most recent update including GPT and bootloader, then OTAs shouldn't cause you issues (and should be safe as long as you're updating from a fully flashed build and have not downgraded). Perhaps wait to see if other users have issues with the update before flashing.

If you want to be really safe, then wait for the fastboot ROM and then update your GPT/bootloader too.

It's up to you, your device, but with either, as Motorola is tightening up security, downgrades are increasingly risky. Therefore, it might be safest, if you're into flashing custom ROMs or reverting to stock, to wait for the latest fastboot ROM to come out or have a TWRP backup to fall back to.
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
Bro I flashed the gpt and bootloader of June update,as you mentioned in the post of unbricking. Does it mean that my gpt and bootloader is up to date to latest version? Does it mean that I can install the ota update for June security patch level without having hardbrick again? If my gpt and bootloader is up to date. Can I install ota update of june security level? What would you suggest me?

Plzz bro reply fast if possible.
[Moto G4 Plus Questions & Answers] echo92:
Thanks for the clarification (not sure how you're on the March 2017 patch unless you flashed the March 2017 fastboot ROM).

Does it mean that my gpt and bootloader is up to date to latest version? Yes, if you flashed the June GPT and bootloader, your bootloader should be version B1:06.

Does it mean that I can install the ota update for June security patch level without having hardbrick again? I would not recommend updating using the June OTA at this time (though it may be okay to use, you've still got a mismatch between the GPT/bootloader - which is June - and your system - which is March).

I'd recommend downloading the June 2017 fastboot ROM and flashing that in fastboot as I first suggested https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138. Flash including GPT and bootloader - it's up to you to re-lock. This fastboot ROM will formally update your device to the June 2017 update level. Yes, it's a 1 GB download, and you'll need a PC, but it's safer than the OTA at this point.

After you've used the fastboot ROM to fully update your device, then future OTAs should be okay, but as I mentioned earlier, you may wish to wait for a fastboot ROM of that OTA to update.
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
I flashed the Dec. Security patch level. Then I updated and got bricked.I think therefore I am in March security patch level.

I think that I should attempt the ota as an experiment. In case I got bricked then blabkflash we have is of latest version. I think it can save me if I get bricked again. May I attempt the ota as an experiment?
[Moto G4 Plus Questions & Answers] leo88sandy:
Why u flashed old firmware, u should flash latest with June update, I did the same
[Moto G4 Plus Questions & Answers] echo92:
Ah, so when you used the blankflash, you just used it to get your device running again, you did not flash the latest stock ROM?

In that case, I cannot stop you from trying the OTA, but I can't suggest it. From what you mentioned, you downgraded to Dec 2016, then flashed the March 2017 patch. In theory, flashing the June GPT/bootloader should have replaced the damaged versions, but I'd still want to formally fully update to ensure the device is properly flashed (and all your other firmware is properly updated, else you may be storing problems up for the future). There's no guarantee that your device was properly flashed by the March update before it bricked.

I'd do a full fastboot flash properly now with the June 2017 stock fastboot ROM - if not, there's no telling if the next future OTA will be okay or cause problems. Yes, it might mean you having to backup and wipe your device, but given you've just rescued it, wouldn't you want to clean flash and start over?
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
Tell me how to remove the old stock rom which is installed in my device or should I directly flash the June firmware?

What is the best way of flashing? By running flash script or by typing commands one by one? Plz bro reply fast.
[Moto G4 Plus Questions & Answers] echo92:
Directly flash the June 2017 stock update. I don't think you can remove the old stock ROM and at any rate you might wipe key partitions like where your IMEI is stored.

It's up to you, if you want to make sure each command goes through, then you could copy the commands one by one (do not manually type them), though you'll have to verify the commands are the right ones and in the right order. It might be easier to use the OEM flashing scripts included in the fastboot ROM threads. Have a look here for the flashing commands you'll want - they're all similar: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

This should be familiar given you've flashed the fastboot ROM in the past.
[Moto G4 Plus Questions & Answers] gautamchawla195:
made my day

A huge thanks to [MENTION=7245484]marcelofilgueira[/MENTION] for providing us with the updated blankflash files and [MENTION=7970352]echo92[/MENTION] for always being there with us.

Was just returning back home from college and just as always wanted to browse Xda for some updates regarding the blankflash.

And #boom the replies in this thread increased from 257 to 313 and that was the time I just couldn't believe my eyes reading comments about athenes going live again.

That made my day, and I rushed back home to get my device backk up again and was relieved to see the bootloader. :)

Many many thanks everyone

#xdarocks
[Moto G4 Plus Questions & Answers] chiraxo:
its not working
[Moto G4 Plus Questions & Answers] echo92:
What do you mean by not working? Are you using the latest blank flash we have access to? https://xdaforums.com/moto-g4-plus/...icked-dead-t3585016/post73430127#post73430127

Look at this guide too https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761/
[Moto G4 Plus Questions & Answers] sreehar:
When i am trying to flash gpt and bootloader,I'm gettin the following:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt.bin

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:partition: not found

error: cannot load 'gpt.bin'

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash bootloader bootlo

ader.img

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:bootloader: not found

error: cannot load 'bootloader.img'

can u please help me???
[Moto G4 Plus Questions & Answers] echo92:
So you've used the blank flash and it's successfully worked? Are the GPT and bootloader files extracted and in the same folder as your ADB terminal? Can your computer detect your device if you type 'fastboot devices' (without the quotes) in the ADB terminal?
[Moto G4 Plus Questions & Answers] Bluemoon:
I have a moto g4 xt1624 which was bricked. Should I flash the stock rom that is provided in the link of the guide(https://xdaforums.com/moto-g4-plus/...ed-guide-t3657761/post73447331#post73447331)?

I think that one is for xt1643.
[Moto G4 Plus Questions & Answers] echo92:
If you're referring to the stock Nougat June 2017 fastboot ROM (i.e. https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 ) then it should flash on a XT1624, as the fastboot Nougat ROMs appear to be universal for Moto G4/Plus devices.
[Moto G4 Plus Questions & Answers] gilpenha:
help

Friend, I applied the blankflash and the device restarted in fastboot, but now what? I did not understand the second part of the tutorial. can you help me? How did you get?
[Moto G4 Plus Questions & Answers] DeLoreanQC:
Follow this unbricking guide, it work :)

https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

You can enter every fastboot command separatly or copy/past them in a .bat file

Ensure your device is fully charged of courswe, and it will take 5 to 10 minutes to bring it to life

Worked on my xt1641 yesterday :)
[Moto G4 Plus Questions & Answers] gilpenha:
Thanks

My moto g4 plus is alive! My thanks to all of the forum and especially to Marcelofigueira that touxe the blankflash, because we were in the dark until that moment.
[Moto G4 Plus Questions & Answers] mukul_rathore:
yesssssssssssssssssssssssssssssssssssssssssssss. it works brothers on my hard bricked moto g4 due to june update. this blankflash works mentioned above

https://goo.gl/uLTnw6
[Moto G4 Plus Questions & Answers] VivekBhagat:
Anyone can give me link for qualcom driver

Op link is not working
[Moto G4 Plus Questions & Answers] TheSachinKing:
The new [Updated] blankflash file

Hello friends

here is the new [Updated] blankflash file for June security patch

i hope it will help you. here is complete guide https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

about how to install it.

:):o:D

if it's works for you please let me know:highfive:
[Moto G4 Plus Questions & Answers] nidhinkk20:
i do have this problem .pls help me to fix the same.

The process not completeing correctly,and my device recognizes as unknown device
[Moto G4 Plus Questions & Answers] Bluemoon:
If you are using the old blankflash file then the process will end with that unknown device error(provided that you bricked on the June security patch).

Try to use the new blankflash file that was uploaded recently.

Here is the link to the latest blankflash file(June security update): https://goo.gl/uLTnw6

And here is the link to the complete guide: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

Best of luck. Just managed to unbrick my device yesterday:o
[Moto G4 Plus Questions & Answers] debashisbiswas737:
Thank you very much . It is successfully done .. I am just speechless .... you are our true friends for ever .... God bless you all of my friends !!! No words more .... Salute u guys ....
[Moto G4 Plus Questions & Answers] debashisbiswas737:
you are main threader .... so take our best wises .. we are grateful to you ...
[Moto G4 Plus Questions & Answers] nidhinkk20:
new blankflash

I recovered my athene by this method.:)

Above method is not applicable to phones runed on june security patch.

Try this

https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

Its the faster way.

Its not my work im just shareing for my btothers:p.
[Moto G4 Plus Questions & Answers] debashisbiswas737:
you are absolutely right my brother !!already I have successfully done it ... thanks for your kind helpful mind bro ...
[Moto G4 Plus Questions & Answers] marcelofilgueira:
Wow, I posted the blankflash and stayed offline for a few days and i received so many messages and mentions, I did not imagine it would help so many sharing this file :D , but some guys think I created the file, no I did not create, just shared, the file was released by a motorola employee, so unfortunately i do not have access to blankflash files for other devices :( . (sorry for my english, i don't know write in english, only read, so if you find an mistake, i'm trying translate from brazilian portuguese to english :p.)
[Moto G4 Plus Questions & Answers] debashisbiswas737:
thank u sir and also thanks to that Motorola employee .... but we are very eager to know the story behind this episode !! how the unknown employee helped you to find this blank flash file ??? please Mr. tell us more !!!
[Moto G4 Plus Questions & Answers] MK+2017:
Is there a way, kind-hearted human-loving person, that your anonymous Motorola employee help me with cid:0xDEAD channel:0x0 problem that prevents me from flashing anything and turned my xt1642 into an iron plate?

:laugh::laugh::laugh::laugh:
[Moto G4 Plus Questions & Answers] debashisbiswas737:
where do you live my bro ???
[Moto G4 Plus Questions & Answers] MK+2017:
Egypt! :cyclops:
[Moto G4 Plus Questions & Answers] dengupeye:
blankflash for xt1556

Do you have blankflash for xt1556 moto 3g 3 turbo edition?

Thanks!
[Moto G4 Plus Questions & Answers] molotophy:
Another Blankflash

Your method works perhaps, any of the blank flash works I have to use another that some one send to me.

[ 0.000] Opening device: \\.\COM4

[ 0.000] Detecting device

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

[ 0.000] ...cpu.sn = 26899456 (0x19a7400)

[ 0.000] Opening singleimage

[ 0.000] Loading package

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

[ 0.000] Loading programmer

[ 0.000] ...filename = programmer.mbn

[ 0.016] Sending programmer

[ 0.231] Handling things over to programmer

[ 0.231] Identifying CPU version

[ 0.231] Waiting for firehose to get ready

[ 3.255] ...MSM8952 1.1

[ 3.255] Determining target secure state

[ 3.255] ...secure = yes

[ 3.255] Flashing GPT...

[ 3.255] Flashing partition:0 with gpt_main0.bin

[ 3.255] Initializing storage

[ 3.271] Configuring device...

[ 3.286] ...blksz = 512

[ 3.355] Re-initializing storage...

[ 3.355] Initializing storage

[ 3.402] Flashing bootloader...

[ 3.402] Flashing aboot with emmc_appsboot.mbn

[ 3.686] Flashing rpm with rpm.mbn

[ 3.754] Flashing tz with tz.mbn

[ 3.954] Flashing hyp with hyp.mbn

[ 4.001] Flashing cmnlib with cmnlib.mbn

[ 4.054] Flashing keymaster with keymaster.mbn

[ 4.133] Flashing sbl1 with sbl1.mbn

[ 4.254] Rebooting to fastboot

[ 4.270] Total time: 4.270s

Here is the file that works, MOTO G4 plus recovered

https://mega.nz/#!RXJjAQ7Z!SRVdrGbtDFPbmSbajOf15bPyyb7DZt3OeqFqFjaQ8Rg
[Moto G4 Plus Questions & Answers] echo92:
A few things:

1) Please don't quote the entirety of the opening post - it takes up space and we may lose your message scrolling through. Please edit your post to remove the quoted opening post.

2)Your Google Drive link is requesting permission to access.

3)What is different between the blankflash you've linked and the one described in this guide here: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761 and from an earlier post in this thread? https://xdaforums.com/showpost.php?p=73430127&postcount=266
[Moto G4 Plus Questions & Answers] Fenric82:
Solucionado

Hola, amigo... yo usé este archivo y me sirvió. Mi equipo es un XT1641. Este es el link del archivo: drive.google.com/file/d/0B9rhtqQ4ZTDnTWdpX3ZaVk1pNk0/view

Espero ser de gran ayuda.
[Moto G4 Plus Questions & Answers] dr_phg88:
after flashing previous build in moto g4 plus, i got update and then everything went wrong. it didnt start at all. just led blinking on usb connection or charging..

gave to moto centre they kept for 7days and returned saying its rooted give back to amazon if they take back.

i tried various methods here in xda but didnt work. then after overnight charging i could switch on the fone but now i am facing these probs...:-

1. fone is not being detected in pc on usb connection. tried all methods to uninstall/install usb drivers, manually indtalled drivers, etc... but still not detected. BUT FONE IS IN CHARGING MODE AS SOON AS I CONNECT TO PC. cant switch to MTP mode.

.

2. wifi is not working at all. cant turn on. in mac address it says.. "02-00-00-00-00-00"

.

3. sounds not working in speaker. no ringtones no keypad tones,etc.. through headfones i can hear everything music, vdo etc...

.

in short i am stuck very badly with my fone on and so many things not working.

.

plz help me out here.
[Moto G4 Plus Questions & Answers] tawanda01:
hie guys any news about Android 8.0 for moto g4 plus
[Moto G4 Plus Questions & Answers] strongst:
Off topic here, discussed at other place. Please look at Q&A Section. There are already 2 topics about Android O at the top.
[Moto G4 Plus Questions & Answers] Anurudh:
cmd is showing waiting for device...please help [MENTION=7453241]leo88sandy[/MENTION]

please give your contact number or anything to contact u....

please..
[Moto G4 Plus Questions & Answers] echo92:
Have you tried unplugging your device and then reattaching your device to your computer? https://xdaforums.com/showpost.php?p=73433267&postcount=299

This might help fastboot sense your device again, have you also loaded the adb (e.g. the minimal adb/fastboot drivers) or the Motorola drivers as well?
[Moto G4 Plus Questions & Answers] krishna8691:
still not able to unbrick the blankflash file not working

i flashed Moto_G4_Plus_XT1643_ATHENE_MPJ24.139-63_Stock_Img to downgrade to marshmellow and after that there was an ota update while installing which my phone got bricked

the error that i am getting is in the file attached please reply quickly
[Moto G4 Plus Questions & Answers] echo92:
Is this with the latest blankflash we have access to? https://xdaforums.com/showpost.php?p=73430127&postcount=266

Downgrading to MM and then taking an OTA is super risky with the June 2017 update (too late now, I know..) Hopefully the above blankflash will rescue your device and consult this guide too: https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761
[Moto G4 Plus Questions & Answers] ganeshkmr21:
Which blank flash file did you use.?

Try the latest one : https://drive.google.com/file/d/0B9rhtqQ4ZTDnTWdpX3ZaVk1pNk0/view
[Moto G4 Plus Questions & Answers] krishna8691:
thank you friends i just restarted my pc and tried again and it worked right now in fastboot mode i used this guide https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

to flash the bootloader and right now downloading the latest stock firmware whose link was provided in above thread

i hope everything goes fine further

btw thankyou so much [MENTION=7970352]echo92[/MENTION] and [MENTION=5365846]ganeshkmr21[/MENTION] for your replies
[Moto G4 Plus Questions & Answers] rene mauricio:
[edit]

I wanted to come here and say "Thank you" as this nifty tool helped me out of a real jam.
[Moto G4 Plus Questions & Answers] Jayesh143:
Getting Error plz Help...

Motorola qboot utility version 3.40

[ 0.041] Opening device: \\.\COM4

[ 0.042] Detecting device

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

[ 0.045] ...cpu.sn = 17238413 (0x107098d)

[ 0.045] Opening singleimage

[ 0.208] Loading package

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

[ 0.217] Loading programmer

[ 0.264] ...filename = programmer.mbn

[ 0.266] Sending programmer

[ 0.488] Handling things over to programmer

[ 0.488] Identifying CPU version

[ 0.492] Waiting for firehose to get ready

[ 60.580] Waiting for firehose to get ready

[120.682] ...MSM8952 unknown

[120.682] Determining target secure state

[120.684] Waiting for firehose to get ready

[180.775] ...secure = no

[181.052] Flashing GPT...

[181.093] Flashing partition:0 with gpt_main0.bin

[181.093] Initializing storage

[181.099] Waiting for firehose to get ready

[241.191] Configuring device...

[241.196] Waiting for firehose to get ready

[301.288] Waiting for firehose to get ready

[361.390] Waiting for firehose to get ready

[421.490] Waiting for firehose to get ready

[481.621] 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

[481.622] Check qboot_log.txt for more details

[481.622] Total time: 481.647s

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
[Moto G4 Plus Questions & Answers] krishna8691:
restart your pc and try once again and also try different usb port coz i was also having same problem but worked fine after restarting pc
[Moto G4 Plus Questions & Answers] Jayesh143:
I am done from this method...

https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761
[Moto G4 Plus Questions & Answers] hitendraprakash:
Hard Bricked Moto G4 Plus

The method given above to blank flash files is not exact. I have blank flashed my Moto G4 Plus, locked boot loader and it is working fine. I know better process than this.
[Moto G4 Plus Questions & Answers] strongst:
Why should your method be better then https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761/post73434785 where people response is overall great.
[Moto G4 Plus Questions & Answers] dr_phg88:
I hv tried everything... Still my fone is not detected in my lptp. Its switching on n working partially...but usb not detected in pc. Smone plz see my post on page 35 and help me here. ???
[Moto G4 Plus Questions & Answers] dengupeye:
Hi!

Do you have files for moto g 3 turbo edition xt1556?

Thanks for any help.
[Moto G4 Plus Questions & Answers] hitendraprakash:
Moto G4 Plus

Because if we connect the phone first and then blank flash it, we need to repeat it 2 3 times as hit and trial in order to complete the process. While, if we run blankflash.bat file first and then connect the phone, it completes at once. No Hit & Trial.
[Moto G4 Plus Questions & Answers] viru1234:
helppppppp!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

[ -0.000] Detecting device

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

[ -0.000] ...cpu.sn = 16711291 (0xfefe7b)

[ -0.000] Opening singleimage

[ -0.000] Loading package

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

[ 0.016] Loading programmer

[ 0.016] ...filename = programmer.mbn

[ 0.016] Sending programmer

[ 0.234] Handling things over to programmer

[ 0.234] Identifying CPU version

[ 0.250] Waiting for firehose to get ready

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

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

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

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

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

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

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

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

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

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

[ 62.170] Waiting for firehose to get ready

[123.139] ...MSM8952 unknown

[123.139] Determining target secure state

[123.139] Waiting for firehose to get ready

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

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

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

[184.547] ...secure = no

[184.563] Flashing GPT...

[184.563] Flashing partition:0 with gpt_main0.bin

[184.563] Initializing storage

[184.578] Waiting for firehose to get ready

[245.180] Configuring device...

[245.180] Waiting for firehose to get ready

[305.902] Waiting for firehose to get ready

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

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

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

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

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

[367.201] Waiting for firehose to get ready

[427.878] Waiting for firehose to get ready

[488.498] 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

[488.498] Check qboot_log.txt for more details

[488.500] Total time: 488.500s

what to do
[Moto G4 Plus Questions & Answers] joaopaulo_:
[MENTION=8529251]viru1234[/MENTION]

https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761

follow this
[Moto G4 Plus Questions & Answers] Arykit:
Have you tried this method here: http://www.aryk.tech/2017/07/moto-z-play-unbrick-solutions.html ?

There I have the step by step guides on how to flash and unbrick your hard bricked Moto Z Play.