yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Questions & Answers] Rakesh1b:
guys vaches potter blankflash file is working why did you use motoz2 plays blankflash?

its quite tricky me too failed many times but trick is to press and hold the power button then it disconnects and connects to pc u could hear sound from pc then press voldown and power and launch blankflash.bat at the same time i mean same time then it detects and leave the buttons once you see the script running if not it will reboot the device and after running the script it will be booted to fastboot mode . if u failed 1st time repeat same power off then remaing things same as mentioned.

when i went into stock recovery it is showing as npn amz 35 version mine is not amazon version but it shows like that may be vaches phone is amazon i think so.
[Moto G5 Plus Questions & Answers] rrajesh011:
I was trying to update via ota and bricked my moto g5 plus. when i run vache blank-flash.sh on my linux terminal. i got this

Motorola qboot utility version 3.40

[ 0.000] Opening device: /dev/ttyUSB0

[ 0.000] Detecting device

[ 0.004] ...cpu.id = 70 (0x46)

[ 0.004] ...cpu.sn = 860628610 (0x334c2682)

[ 0.004] Opening singleimage

[ 0.004] Loading package

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

[ 0.010] Loading programmer

[ 0.011] ...filename = programmer.mbn

[ 0.011] Sending programmer

[ 0.221] Handling things over to programmer

[ 0.221] Identifying CPU version

[ 0.223] Waiting for firehose to get ready

[ 3.230] Target NAK!

[ 3.230] ...This version of programmer has been revoked!

[ 3.230] ...Rebooting to blank flash mode in 30 seconds...

[ 60.582] Waiting for firehose to get ready

[123.079] ...MSM8953 unknown

[123.079] Determining target secure state

[123.082] Waiting for firehose to get ready

[185.579] ...secure = no

[185.598] Waiting for firehose to get ready

[248.095] Configuring device...

[248.098] Waiting for firehose to get ready

[310.598] Waiting for firehose to get ready

[373.098] Waiting for firehose to get ready

[435.598] Waiting for firehose to get ready

[498.095] ERROR: do_package()->do_recipe()->do_configure()->buffer_read()->device_read()->IO error

[498.095] Check qboot_log.txt for more details

[498.095] Total time: 498.095s

FAILED: qb_flash_singleimage()->do_package()->do_recipe()->do_configure()->buffer_read()->device_read()->IO error

PLease give solution please.
[Moto G5 Plus Questions & Answers] Rakesh1b:
friend use the blankflash file for potter provided by vache its only the solution right now even moto cc couldnot help in it is your device getting detected as qhusb 9008 in devicemanager?
[Moto G5 Plus Questions & Answers] rrajesh011:
yes bro, it is detected as "Qualcomm HS-USB QDLoader 9008" in device manager
[Moto G5 Plus Questions & Answers] Rakesh1b:
Bro if it's detected as qhusb 9008 in device manager then download the following 3 files http://cloud.vache-android.com/Moto/potter/blankflash/

drive.google.com/file/d/0B7X6bQHmiX_BY29Damx5ejEyX1U

https://xdaforums.com/g5-plus/development/stock-debloated-deodexed-t3619972

Then do this in order

1. Extract Potter blankflash files then connect your mobile to pc if mobile led is blinking then press and hold power button you could hear that mobile disconnects and connects once you hear that then press voldown and power with one hand and run blankflash.bat in the extracted folder both at the same time once you see the script running release vol and power keys if you hold it then also it again skips it so timing is important both should be done at the same time if it fails 1st time then do the same procedure again power by pressing power button once again you hear those sounds of disconnect and connect run the blankflash.bat holding voldown and power at the same time repeat this until you see the scriptis successful once ii is blankflashed it boots to bootloader menu. Remember leave vol and power buttons once you see the script is running.

2. Now in fastboot mode keep the three files that you extract from addison2potter.zip in fastboot folder and run the following commands

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

Fastboot flash recovery recovery.img

fastboot reboot-bootloader

3.now you can flash only the deodexed stock rom because flashing stock is failing saying that security downgrade error may be downgrading bootloader is not possible.

4.flash the twrp 3.1.1.0 available at xda and now flash custom recovery using the following command put the twrp zip in the fastboot folder then type

Fastboot flash recovery tw and and press tab it automatically selects the folder then flash it.

5.finally after opening twrp and wiping everything now copy the downloaded debloated stock rom to mobile and flash it thorough twrp once it is flashed then reboot to bootloader then now again flash the same 3 files gpt.bin, recovery and bootloader using the above commands and now exit fastboot mode and now it boots into the rom successfully.

5.if you want to flash any custom ROM you can do it by again flashing the twrp and any custom ROM available for Potter without flashing the deodexed stock rom the modem IMEI is not working so that we have to flash deodexed stock rom and then you are good to go with any custom ROM and they will have the baseband and you can use them.

Finally your Potter will be back.

All credits goes to vaches for creating the blank flash file and addisons images and senior members of this thread who discussed about it and helped in reviving Potter back.
[Moto G5 Plus Questions & Answers] rrajesh011:
Bro albus blankflash worked!!! +1
[Moto G5 Plus Questions & Answers] Rakesh1b:
any update?

friends if there is any new update about new blankflash please share it so that it will be helpful thanks in advance...
[Moto G5 Plus Questions & Answers] dohhnk186:
Could you tell me if the Moto X (2nd generation) has such files to resurrect from the hard brick?
[Moto G5 Plus Questions & Answers] PedroSaenz:
It failed for me...

**** Log buffer [000001] 2017-08-22_19:25:41 ****

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

[ 0.004] Detecting device

[ 0.006] ...cpu.id = 70 (0x46)

[ 0.007] ...cpu.sn = 3030183929 (0xb49ceff9)

[ 0.007] Opening singleimage

[ 0.007] Loading package

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

[ 0.013] Loading programmer

[ 0.014] ...filename = programmer.mbn

[ 0.014] Sending programmer

[ 0.226] Handling things over to programmer

[ 0.227] Identifying CPU version

[ 0.229] Waiting for firehose to get ready

[ 60.893] Waiting for firehose to get ready

[121.118] ...MSM8953 unknown

[121.119] Determining target secure state

[121.130] Waiting for firehose to get ready

[181.360] ...secure = no

[181.398] Waiting for firehose to get ready

[241.629] Configuring device...

[241.631] Waiting for firehose to get ready

[301.868] Waiting for firehose to get ready

[362.081] Waiting for firehose to get ready

[422.324] Waiting for firehose to get ready

[482.702] ERROR: do_package()->do_recipe()->do_configure()->buffer_read()->device_read()->IO error

[482.704] Check qboot_log.txt for more details

[482.704] Total time: 482.706s

[482.704]

[482.704] qboot version 3.40

[482.704]

[482.704] DEVICE {

[482.704] name = "\\.\COM4",

[482.704] flags = "0x64",

[482.704] addr = "0x61FE5C",

[482.704] sahara.current_mode = "0",

[482.704] api.buffer = "0x1075020",

[482.704] cpu.serial = "3030183929",

[482.704] cpu.id = "70",

[482.704] cpu.sv_sbl = "0",

[482.704] cpu.name = "MSM8953",

[482.704] storage.type = "eMMC",

[482.704] sahara.programmer = "programmer.mbn",

[482.704] module.firehose = "0x6CEAE8",

[482.704] cpu.ver = "0",

[482.704] cpu.vername = "unknown",

[482.704] api.bnr = "0xFB82C0",

[482.704] }

[482.704]

[482.708]

[482.708] Backup & Restore {

[482.708] num_entries = 0,

[482.708] restoring = "false",

[482.708] backup_error = "not started",

[482.708] restore_error = "not started",

[482.708] }

[482.708]
[Moto G5 Plus Questions & Answers] MarckozZ:
Have you tried to disable driver signature verification on Windows? It seems fastboot is having trouble communicating with the device ("IO error").
[Moto G5 Plus Questions & Answers] Rakesh1b:
bro if you are using correct blankflash then try like this first disconnect your mobile from usb then run the blankflash.bat file then it shows as waiting for device then you press your mobiles power off button for atleast 30 seconds then press vol- and power button and then connect your mobile to the usb once you see that the command is running release the buttons if you hold your mobile will miss the script so try it patiently and as our senior members said you should have all prerequisites to run this procedure (correct blankflash,qualcomm usb drivers your mobile will be detected as qhsusb 9008 or 9006 sometimes.

wish you good luck
[Moto G5 Plus Questions & Answers] mohammadsharfuddin:
Anyone help me with this thread https://xdaforums.com/g5-plus/how-to/help-moto-g5-plus-hard-bricked-solved-t3662734
[Moto G5 Plus Questions & Answers] Robert The Husky:
my case is strange, i have latam version and hardbricked, i follow step from the tutorial and flashed the deodex version, and vuala, i have baseband and imei , i dont know what happend but works.

the problem : if i want the stock , this not work (gpt and bootloader error downgrade) :(
[Moto G5 Plus Questions & Answers] MarckozZ:
Yes, that's now the problem. We will have to stick to bootloader and GPT for Z Play until we get the Oreo firmware, then we will try to go back to stock!!!
[Moto G5 Plus Questions & Answers] LLegion:
man im hell stucked with blankflash, not got to timing on it while vol down and power and click on bat file, any suggestion u may have, im really sad about it
[Moto G5 Plus Questions & Answers] Rakesh1b:
Solution

Hai bro if just timing is your problem then you try this way first your device should be detected as qhsusb9008 in device manager if it's not detected then try to install all the required drivers for it once your device gets detected as 9008 then disconnect your device from PC and now run the blankflash.bat file for your device if the Potter blankflash works use it if not use Albus blankflash and now you will see a command prompt with message "waiting for device" now you press down the power button for 30 seconds and then release it and now press voldown and power at a time and now connect your device to PC USB cable and now you should see script running once you see the script running release the buttons if not it will disconnect again try this until you get the script running successfully and boot into bootloader menu wish you good luck bro...
[Moto G5 Plus Questions & Answers] LLegion:
all i want ti give thans!!! i could revive my potter with deodexed,lets wait for oreo now, wonder if lineage OS from vache v15 would do some magic??
[Moto G5 Plus Questions & Answers] LLegion:
Thais should he mover todo sticky And specially comments from page 2
[Moto G5 Plus Questions & Answers] spadyrus:
there is a rom for full stock, without bloeated and deodexed but i dont remember the link :c , its a zip file, or there is a backup for twrp https://xdaforums.com/g5-plus/how-to/stockfirmware-npn25-137-72-firmware-t3666426

if you want full stock you can get it i supose

or the last movement we can do, wait oreo and try to flash gpt and bootloader D:
[Moto G5 Plus Questions & Answers] Perumal J:
Moto G5 Plus XT1686 Hard Bricked

Hello guys, i tried to flash the .67 OTA via recovery mode and my device has bricked and its detected as qhsusb_bulk.

https://xdaforums.com/showpost.php?p=73268905 and i tried this method as well to recover my device.

and also i have tried some other blankflash. but it doesn't work. someone please give me solution to recover my device.

And I just bought this device 2 months ago.so please..............:crying::crying::crying:

thanks in advance

**** Log buffer [000001] 2017-08-30_18:12:22 ****

[ 0.000] Opening device: \\.\COM6

[ 0.001] Detecting device

[ 0.004] ...cpu.id = 70 (0x46)

[ 0.004] ...cpu.sn = 3334483730 (0xc6c02f12)

[ 0.004] Opening singleimage

[ 0.004] Loading package

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

[ 0.007] Loading programmer

[ 0.007] ...filename = programmer.mbn

[ 0.007] Sending programmer

[ 0.219] Handling things over to programmer

[ 0.220] Identifying CPU version

[ 0.221] Waiting for firehose to get ready

[ 60.769] Waiting for firehose to get ready

[120.838] ...MSM8953 unknown

[120.838] Determining target secure state

[120.839] Waiting for firehose to get ready

[180.914] ...secure = no

[180.923] Waiting for firehose to get ready

[241.004] Configuring device...

[241.006] Waiting for firehose to get ready

[301.079] Waiting for firehose to get ready

[361.149] Waiting for firehose to get ready

[421.229] Waiting for firehose to get ready

[481.307] ERROR: do_package()->do_recipe()->do_configure()->buffer_read()->device_read()->IO error

[481.307] Check qboot_log.txt for more details

[481.307] Total time: 481.308s
[Moto G5 Plus Questions & Answers] LLegion:
snd me a whatsapp and i can assist you in detail bro +52.477.220.0720

---------- Post added at 02:25 PM ---------- Previous post was at 02:24 PM ----------

as i said in previous reply, send me whatsapp
[Moto G5 Plus Questions & Answers] Roberto593:
Help Moto G5 Plus

Hi MarckozZ,

I need your help to unbrick my moto g5 plus, can you give me instructions please?

If you can help me in spanish it will be better.

Thanks
[Moto G5 Plus Questions & Answers] LLegion:
read my post on pqge 7 tyeres all ya need...
[Moto G5 Plus Questions & Answers] Roberto593:
Question?

Thanks LLegion,

I have a question, I tried to update the system, and I downloaded a stock rom, I installed it with adb and fastboot commands, from that moment the phone was bricked on fastboot mode.

PD: I never unlock the bootloader and debugging USB to do this update

Can I solve this problem with your method?
[Moto G5 Plus Questions & Answers] LLegion:
try using the moto tookit in this forum or in my gdribe and flash latest full stock 137.35-5 that should work.
[Moto G5 Plus Questions & Answers] LLegion:
im from mexico if u need any help
[Moto G5 Plus Questions & Answers] AguilaSagaz:
Has anyone tried to flash stocks with these? https://xdaforums.com/g5-plus/development/rom-twrp-flashable-stock-builds-t3675616/
[Moto G5 Plus Questions & Answers] Wake800:
Just in case anybody needs this info: I followed the advice to flash blankflash and Addisontopotter and now everything works with the debloated Potter stock ROM. ( The key for blankflash is hold the power+vol, open the file and release quickly... Like everyone says it took me 20 tries until I let go the power+vol)

For root I used Magisk 14 + Elemental Kernel 2.01

And everything is running 100%. Only one thing doesn't clear in saftey net but o well.

To get Magisk working you have to install like this:

1. Install Debkoated V1 (stock unbloated Ron)

2. Flash Magisk v14 and install the universal saftey net fix for Magisk v14.https://xdaforums.com/showpost.php?p=73694054&postcount=1163 (reboot to ROM and let it boot up, than turn off enter recovery again)

3. Install Elemental Kernel 2.xx ( reboot again)

-- this is so saftey net gets cleared!
[Moto G5 Plus Questions & Answers] AguilaSagaz:
But you are using the deodexedstockrom, right? Not a regular stock rom.
[Moto G5 Plus Questions & Answers] emaf94:
thx so much!! i can make this only with the albus blankflash :D

tip: open admin cmd in blankflash folder and write "blank-flash" without quotes and DON'T PRESS ENTER, make the step in bold and just when you press vol down + power press enter (make this step even if you don't have led blinking, in my case it did not happen)

obviously before make everything disable windows verified drivers and install qualcomm drivers
[Moto G5 Plus Questions & Answers] Bunie89:
Mine runs all the way through into "Rebooting into fastboot" but i just keep getting a blinking light. am i doomed?
[Moto G5 Plus Questions & Answers] Wake800:
Rifht, stock ROM can't be installed it has to be de debloated deodexed!
[Moto G5 Plus Questions & Answers] AguilaSagaz:
It's probably just the timing. Use one hand om your phone and have the other one ready on the mouse on the "Run" option (rightclick) of the albus blankflash. Once you hear the connecting sound once your device turns on, click to run the blankflash and make sure to release the buttons on your cellphone once you see the script from the blankflash.
[Moto G5 Plus Questions & Answers] Pedrustr2085xo:
God yes!

Finally got my device back!

I had to use the Albus BlankFlash instead the other one and everything worked fine.

Now i would like to know if there is a way to put back the stock rom and re-lock the bootloader
[Moto G5 Plus Questions & Answers] AguilaSagaz:
I think we have to wait for an uptaded Potter blankflash.
[Moto G5 Plus Questions & Answers] Pedrustr2085xo:
I see...

Well... I have other Moto G (same model) is there a way to clone from one to another?
[Moto G5 Plus Questions & Answers] Pedrustr2085xo:
I've been thinking...

I got my potter back using Albus BlankFlash... but I cant flash the stock rom back So... .What if I Flash the potter blankflash (the one from vache) could it downgrade it? or it would just brick it again?
[Moto G5 Plus Questions & Answers] AguilaSagaz:
Let me now if you got somewhere with that.
[Moto G5 Plus Questions & Answers] slowflamez:
Blankflash or equivalent blankflash for cedric

Please does this Albus blankflash also work for Moto G5 CEDRIC? if not, I'd really appreciate it if someone gives me a link to an equivalent blankflash. I got my device hardbricked after flashing a wrong rom and it only blinks white led light by the speaker. Someone should help please...
[Moto G5 Plus Questions & Answers] anthonyqwe:
thank u very very much....by following your instruction i was able to come out from hard... brick

i am unable to install stock i am getting infinite boot loop from warning ....can u help me please....i want to install stock and get update
[Moto G5 Plus Questions & Answers] anthonyqwe:
i am unable to to install any rom using twrp can u help me
[Moto G5 Plus Questions & Answers] Chandru1166:
thank you so much, i got my potter back, i installed flashable stock rom, after installing i can flash custom rom and again i can flash official stock through fastboot?
[Moto G5 Plus Questions & Answers] Jayesh Nirve:
Is there any such file for moto g 1 (falcon)??
[Moto G5 Plus Questions & Answers] abhilash774:
Unbricked my Moto G5 Plus

Thank you so much. Finally I got my device unbricked using this thread. My Potter is live again. :) :D
[Moto G5 Plus Questions & Answers] Pedrustr2085xo:
Hi dude! If you have TWRP installed already, you'll need to install the deoxed / debloated rom... is here in the forum somewhere i don't have the link at hand and im on a very limited network/computer.

Its a 600+Mb zip file, just transfer it to your phone or put it on a microsd card and install it...

After the instalation if you get trapped in TWRP, reboot on bootloader and select start from the menu, that should work.
[Moto G5 Plus Questions & Answers] Tigetxda999:
i cannot flash twrp recovery , what should i do? it was a hard brick from which i recovered. now stuck in boot loop, cannot enter recovery, blank flashed albus, still cannot enter recovery mode

please reply, ho to flash deoxed debloated or any other rom, CANNOT ENTER RECOVERY MODE.

---------- Post added at 05:23 AM ---------- Previous post was at 05:19 AM ----------

i have same problem cannot boot into recovery neither am able to flash twrp. please help.:eek:
[Moto G5 Plus Questions & Answers] psychopac:
If you have fastboot working, you can try to flash the fastboot ROM
[Moto G5 Plus Questions & Answers] abhilash774:
Did you flash addison2potter.zip after flashing blank files. I think you have missed this step once check
[Moto G5 Plus Questions & Answers] Tigetxda999:
I blankflashed albus as potter blankflash wasn't working, then extracted gpt.bin and bootloader from albums ROM and placed it in potter rom as directed in the solution. Flashed and stuck in boot loop, can't access recovery. Should I flash addition2potter? Can you please leave a link here or forward me zip at my e-mail? Any help would be a blessing..

My email is csdvpurohit@gmail.com.

Happy diwali. [MENTION=6928922]abhilash774[/MENTION]
[Moto G5 Plus Questions & Answers] abhilash774:
Download below file and flash in below format

Https://drive.google.com/open?id=0B7X6bQHmiX_BY29Damx5ejEyX1U

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot reboot-bootloader

Next flash twrp

Next download debloated deodexed rom for Moto g5 plus and flash it using twrp
[Moto G5 Plus Questions & Answers] Tigetxda999:
Thanks :D:fingers-crossed::good: you made my diwali a really happy diwali !!!!!! potter is alive!! flashed stock rom US retail version & locked bootloader as well !
[Moto G5 Plus Questions & Answers] aagam jain:
frustrated

"waiting for firehose to get ready" everytime I'm getting this!!!!!!!:crying::crying:
[Moto G5 Plus Questions & Answers] aagam jain:
You are champ!!!!

You are saviour ......after a full hassel of diwali afternoon....at last I revived Mr. Potter!

God bless u...

Keep up the good work!
[Moto G5 Plus Questions & Answers] LLegion:
hahahah yeaaaah brooo!!actually it tookme like hour and half of just readding and 3 hours of timming literally, all u need is to be patient and thanks so very much for your blessing, may the lord be with you always :D
[Moto G5 Plus Questions & Answers] suvadipbera12345:
it didnt work sir.. please help..

sir as you told i tried blank flash of moto z2 play as it didnt work .. i have some questions to you sir .. please help
[Moto G5 Plus Questions & Answers] suvadipbera12345:
tutorial is ok...but the blank flash file is not working
[Moto G5 Plus Questions & Answers] anthonyqwe:
i worked and i flashed potter_NPN25.137-67-5..my potter is raised from death thanks buddy....
[Moto G5 Plus Questions & Answers] abhilash774:
:) That good . Do you 67-5 flashable rom
[Moto G5 Plus Questions & Answers] R3dblue:
how to flash stock rom

thanks you guys for making g5 plus alive.

after using twrp and flashing custom DEBLOARED rom link which has been provided

can we still flash stock rom i mean official ones to relock bootloader.
[Moto G5 Plus Questions & Answers] aagam jain:
Update for August Security Patch

Hi ...

I'm continuously getting pop-ups for installing August Security patch update, however I know that it will end up in bootloop if I do so since I bring my Moto G5 plus back by flash blankflash.

Kindly suggest.