yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Questions & Answers] Sagazdelrey:
Thanks for all your help, so I'm gonna retry to blankflash albus as it seems it'd be the only first step I can take... Some g5 plus users have been succesful with potter blankflash instead of albus though. Should I try it if albus fails? Have read about sanders users bricking their phone with potter but that was with the rom I believe. Could the bootloader work?

Update:

I retried flashing albus and it's supposed to have worked as it shows the next log:

C:\Users\santi\Desktop\Android\blankflash>.\qboot.exe blank-flash
< waiting for device >
Motorola qboot utility version 3.40
[ -0.000] Opening device: \\.\COM3
[ 0.002] Detecting device
[ 0.006] ...cpu.id = 70 (0x46)
[ 0.006] ...cpu.sn = 4021137087 (0xefadaebf)
[ 0.006] Opening singleimage
[ 0.007] Loading package
[ 0.014] ...filename = singleimage.pkg.xml
[ 0.018] Loading programmer
[ 0.019] ...filename = programmer.mbn
[ 0.019] Sending programmer
[ 0.234] Handling things over to programmer
[ 0.235] Identifying CPU version
[ 0.240] Waiting for firehose to get ready
[ 3.255] ...MSM8953 1.1
[ 3.256] Determining target secure state
[ 3.260] ...secure = yes
[ 3.285] Configuring device...
[ 3.291] Flashing GPT...
[ 3.291] Flashing partition:0 with gpt_main0.bin
[ 3.292] Initializing storage
[ 3.308] ...blksz = 512
[ 3.498] Re-initializing storage...
[ 3.499] Initializing storage
[ 3.597] Flashing bootloader...
[ 3.599] Flashing aboot with emmc_appsboot.mbn
[ 4.090] Flashing rpm with rpm.mbn
[ 4.206] Flashing tz with tz.mbn
[ 4.569] Flashing devcfg with devcfg.mbn
[ 4.659] Flashing cmnlib with cmnlib.mbn
[ 4.814] Flashing cmnlib64 with cmnlib64.mbn
[ 4.975] Flashing keymaster with keymaster.mbn
[ 5.139] Flashing prov with prov.mbn
[ 5.243] Flashing sbl1 with sbl1.mbn
[ 5.439] Rebooting to fastboot
[ 5.443] Total time: 5.446s

C:\Users\santi\Desktop\Android\blankflash>pause
Presione una tecla para continuar . . .

(last line means press any key to continue)

The one I'm pasting here would actually be the 3rd time I manage to do it, as now I'm positive it is the same log I had gotten the first time I thought I succeded (that'd be yesterday).

I got it a second time but cmd closed when pressing any key.

So I did it a 3rd time to save the log and see if there was anything else I could do but can't seem to do anything.

PC is still recognizing it as HS USB QDLOADER 9008

And my phone ain't showing on device list under "adb devices" command.

Oh, almost forget, my phone never got to reboot into fastboot.

Guess I'll try potter blankflash (edit: the farthest I get with potter is a series of errors after a loong wait for firehouse, think they are the same some presented and got told to try albus, got the log if needed.

Now that I think about it, I got some waiting for firehouse going on sometimes with albus and I just closed it and retried when that happened. Maybe there is hope for potter but for today I'm done.)

Hey, did you ever manage to solve this? Same is happening to me
[Moto G5 Plus Questions & Answers] echo92:
Thanks for that log - yeah, as you mentioned, it looks like it worked. The blankflash opened a connection to your device, the programmer verified successfully and flashed a GPT/bootloader onto your device before rebooting. So I'm similarly confused why it's not rebooting properly to the bootloader if it's flashed okay. That may suggest there's an issue with the flash chips (though if it's that, why does the blankflash report the flash writing okay?) As you mentioned, the guides say to flash the GPT and bootloader after using the blankflash, but in this case, seems that your device is failing to boot into the basic bootloader that the blankflash should have flashed to your device. Without having even a basic bootloader, flashing anything via fasboot is going to be not possible (as the bootloader enables fastboot mode).

The potter blankflash is pretty old to be honest, so it failing at that point you mentioned is not surprising - sounds like the sahara firehose connection is being rejected.

I honestly hope you find a solution besides having your motherboard replaced (which unfortunately may be a possibility, if the flashes don't stick). Blankflashes are a really rare commodity as we can't make them - they have to be signed by Motorola or the issuing OEM for them to work, and any attempts to modify them appears to break the signature, in turn making them unflashable. Hopefully if there is a stock Oreo factory ROM leaked or a sympathetic Motorola engineer, you may get a newer sanders blankflash to help you.

By the way, I agree with your caution regarding aryk tech. I cannot tell you how to spend your money, just be aware it seems that some of their tools they are charging for are from XDA (where they are free). For example, the $18 package they are selling for the Moto Z Play includes a Moto Z2 Play blankflash (the albus blankflash I recall) https://www.aryk.tech/2017/07/moto-z-play-unbrick-solutions.html Here's the XDA source link: https://xdaforums.com/showpost.php?p=73402033&postcount=181

EDIT - also, as I understand things with QFIL and QPST, you need device and OEM specific files for those programs to work (e.g. updated programmer, GPT layout files, bootloader images), kind of like the blankflash. Unless there's a MSM8953 Motorola programmer and XML files for your device, I'm not sure if it'll work. OEMs seem to keep these files out of the public domain, possibly for security reasons since they directly affect the bootloader (and by extension device security?).
[Moto G5 Plus Questions & Answers] gumpysitruc@gmail.com:
After successful flashing of albus blankflash, did you flash the MotoG5Plus_addison2Potter files?
[Moto G5 Plus Questions & Answers] ankit2011:
bro my phone is stuck in twrp , plss help it is not startingg
[Moto G5 Plus Questions & Answers] riyan65:
The link you have given is not working.can you provide a other like.thanks in advance.
[Moto G5 Plus Questions & Answers] Harshil1999:
Imei problem

will i receive signals through this method????
[Moto G5 Plus Questions & Answers] Harshil1999:
help me too i have hard bricked my phone
[Moto G5 Plus Questions & Answers] ray.smith@centurylink.net:
when i click the link cloud.vache-android.com/Moto/potter/blankflash/ , I get this message cloud.vache-android.com’s server IP address could not be found. i really need a link for the blankflash file for moto g5 potter
[Moto G5 Plus Questions & Answers] thedr34m13:
I have it, but there was never any official one, so it might not work.
[Moto G5 Plus Questions & Answers] ray.smith@centurylink.net:
it didn't work but thanks for posting the file.
[Moto G5 Plus Questions & Answers] ray.smith@centurylink.net:
I don't know if i can post the link to the file I downloaded, but thank you Junior Passos I found a blankflash file that unbricked the xt 1687 phone

thank you for uploading it.
[Moto G5 Plus Questions & Answers] JoeyZohan:
the potter blankflash link does not work!!!
[Moto G5 Plus Questions & Answers] tushar911:
hi legion, i followed your process and finally unbricked my phone but sim is not showing , and says retail config service has stopped. can you help me out and BTW do you play warface ?
[Moto G5 Plus Questions & Answers] seyerking:
blank flash

so did everyone give up on gettin the blank flash from vache
[Moto G5 Plus Questions & Answers] gourabpa:
vache Files

Blank Flash [Moto Z Play] for Moto G5 Plus = LINK

MotoG5Plus_addison2Potter = LINK
[Moto G5 Plus Questions & Answers] mohammad_here:
Do these files work? I mean are they useable? Plz don't mind.. I just don't want to make my phone worse.. that's y.. Thanks in advance..????
[Moto G5 Plus Questions & Answers] dokwhoo:
So did you find any solution cause i am facing exactly same problem
[Moto G5 Plus Questions & Answers] Perumal J:
I have successfully recovered my hard bricked G5Plus by exactly following these steps

You have to follow these steps exactly...and confirm that you have booted windows in test mode.
[Moto G5 Plus Questions & Answers] Goku2203:
thanks for the info. one of dev helped to get out of hardbricked, and i think it did the same procedure, but my bootloader is of moto x play rather than g5 plua. How to go back to g5 plus bootloader. and one more question, can I flash any custom rom with this changed bootloader or i have to first go back to original and then flash any rom? Please help!
[Moto G5 Plus Questions & Answers] dokwhoo:
It actually worked thanks a lot bro.
[Moto G5 Plus Questions & Answers] riyan65:
Did anyone has try mmcblk0 method as by using it we can get Moto g5 plus bootloader, other than moto z bootloader. If anyone can try that method we can know it will work or not as many devices are unbrick by using this method.
[Moto G5 Plus Questions & Answers] Monish05:
Hey ,

I hard bricked my Moto g5p while getting back to stock ROM from pixel experience ROM...I was able to get back to stock ROM but my phone wasn't able to detect the sim Card and then there was an system update ...after updating it my phone was not able to boot up...now I've tried flashing Albus and vache blank flash files but it did not work...I'm getting an error saying that " error opening device" can anyone please help me!

Thanks in advance ❤️
[Moto G5 Plus Questions & Answers] Perumal J:
Confirm that you have booted windows in test mode.

Because windows must be in test mode.

Once you confirm that windows has booted in test mode.Try flashing again Albus and vache blank flash files. try the steps continuously till you had successfull flash
[Moto G5 Plus Questions & Answers] Monish05:
How to boot into test mode?
[Moto G5 Plus Questions & Answers] Perumal J:
Click Start, and then type cmd in the Search box.

Under Programs, right-click cmd.exe, and then click Run as administrator.

At the command prompt, type the following text, and then press Enter: bcdedit /set TESTSIGNING OFF.

Close the Command Prompt window, and then restart your computer.

Once you have booted windows in test mode.

There is ' test mode ' text displays on desktop at the bottom of the right corner.
[Moto G5 Plus Questions & Answers] Monish05:
I'm getting such an error ...

Administrator Command Prompt

Microsoft Windows [Version 10.@.105867

ko) 2015 Microsoft Corporation. All rights reserved.

9 C:\windows\system32>bcdedit/set TESTSIGNING OFF

An error has occurred setting the element data.

The value is protected by Secure Boot policy and cannot be modified or deleted.
[Moto G5 Plus Questions & Answers] Monish05:
Thank you so much...

The blank flash worked and now I have flashed the latest twrp for Moto g5p....but while installing pixel experience ROM I'm getting " update process ended with error 7 " although I removed the assert line from updater - script...can anyone one help me solve this?
[Moto G5 Plus Questions & Answers] purusp:
shutting down

my potter is alive again but it shutdowns after 5 to 10 seconds
[Moto G5 Plus Questions & Answers] Gopal98:
Hey bro, When i am trying to do the 1st step its gives a result saying - Unexpected packet : 4. Was expecting: 3

What do i have to do here?

Also i tried all the other blankflashes too, one of them gave the error saying -

Motorola qboot utility version 3.40

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

[ 0.002] Detecting device

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

[ 0.005] ...cpu.sn = 1861506377 (0x6ef45549)

[ 0.005] Opening singleimage

[ 0.006] Loading package

[ 0.009] Failed identify board. Wrong package?

[ 0.009] ERROR: error loading package

[ 0.009] Check qboot_log.txt for more details

[ 0.009] Total time: 0.011s

FAILED: qb_flash_singleimage()->error loading package

Please help me man. i have been trying really hard to get my device started. it does not boot at all. only led flashing and device detected by pc as qhusb 9008.
[Moto G5 Plus Questions & Answers] Perumal J:
First step is that you must boot windows in test mode.

To enable test mode :

1.Click Start, and then type cmd in the Search box.

2.Under Programs, right-click cmd.exe, and then click Run as administrator.

3.At the command prompt, type the following text, and then press Enter: bcdedit /set TESTSIGNING OFF.

4.Close the Command Prompt window, and then restart your computer.

Try all those files once you enable test mode.
[Moto G5 Plus Questions & Answers] gumpysitruc@gmail.com:
Blankflash is for device that shows "qhsusb bulk", and is dead with only flashing light. Since you can boot to bootloader, I would try fastboot flashing latest twrp recovery and then using twrp to flash the latest twrp flashable stock firmware.
[Moto G5 Plus Questions & Answers] nano930105:
Well, I've got a problem. The bootloader is locked, so if I try to flash a custom recovery I'll get a error.

For that reason I want to blankflash my device :/

Any idea how do I put my device as qhsusb bulk?
[Moto G5 Plus Questions & Answers] echo92:
The errors you're getting above with pre flash validation and security downgrade point to flashing an older firmware onto a locked bootloader, which as you've found out can't be done.

I'd try to flash the October 2018 stock fastboot ROM from here :

https://xdaforums.com/g5-plus/how-to/fastboot-oreo-stock-rom-october-update-t3876014

How did your device get like this anyway? I wouldn't recommend a blankflash on stock Oreo updated devices as the blankflash may not work in recovering your device.
[Moto G5 Plus Questions & Answers] nano930105:
Men, you're awesome! My Moto G5 plus is alive! That firmware works.
[Moto G5 Plus Questions & Answers] oljack:
Who have rawprogam0.xml and patch0.xml for Motorola G5 Plus?
[Moto G5 Plus Questions & Answers] gumpysitruc@gmail.com:
I looked a few months ago, and there were none publicly released.
[Moto G5 Plus Questions & Answers] oljack:
Where i can buy this files?
[Moto G5 Plus Questions & Answers] hxalfa:
Saved me!
[Moto G5 Plus Questions & Answers] raman_:
hi .. can we use this method to revive sanders too ? moto g5 s plus
[Moto G5 Plus Questions & Answers] Felipe9229:
I want know too. I have a moto G5s plus hard bricked
[Moto G5 Plus Questions & Answers] Wolfcity:
As it's a different device my guess is no you can't.

If there's no blankflash file for sanders and your device is really hardbricked (no boot into bootloader, recovery or recognition by ADB/fastboot) you're probably screwed.
[Moto G5 Plus Questions & Answers] devhere_:
you are god my brother i love you

i repeat you are godddd
[Moto G5 Plus Questions & Answers] lucasduarte218:
Alguém poderia disponibilizar esse link?

Could anyone make this link available?

"After having success with the tutorial of the above link using the blankflash of MotoZ2play that you can find here

Http://cloud.vache-android.com/Moto/albus/blankflash/ "

*edit*

someone in 2020? I get stuck in Waiting for firehose to get ready

pls help me.
[Moto G5 Plus Questions & Answers] riyan65:
Do you need blank flash file?

Here is one, but I don't know if it works.

https://drive.google.com/file/d/19pa9aR0j110Yk07wdwQ-AY-yHoH0nvw0/view?usp=drivesdk
[Moto G5 Plus Questions & Answers] lucasduarte218:
thanks for the help, unfortunately the same problem " Waiting for firehose to get ready ", continues, i'm reading the threads to try to find some solution, my phone crashed in a game, tried to start and bricked at boot, my android is 9, can this be an aggravating problem?
[Moto G5 Plus Questions & Answers] riyan65:
Are you still able to boot in bootloader? If yes, then flash the stock ROM or install twrp and flash the firmware. And mostly your problem seem to be hardware then software. Since it seem like your device got hot while playing and some chips in it got fried, so you need to replace the mother board to get it working. But still you can try the blank flash and mmcblk0 file method.
[Moto G5 Plus Questions & Answers] Grislu:
Hello, moto g5 plus is left alone with the led flashing and does not enter anything, does not start. To try to recover it with the BlankFlash tool, is it mandatory to have the bootloader unlocked? please i need your help to try to get it back. thanks
[Moto G5 Plus Questions & Answers] Thomas Aldrian:
Hey all,

My device has also just hard bricked. I had somewhat valuable data on it, am I screwed? Is there even the slightest chance I'd be able to recover what was on there?
[Moto G5 Plus Questions & Answers] MFAKhatri:
Hello everyone,

My phone is hard bricked. Its charging light blinks but not able to go onto fastboot.

I have tried the Lolinet's Blankflash of Moto G5 Plus, but it did not work. My phone was on Oreo. My model is XT1685 UAE version.

Also, tried mmcblk0.img from one of the users of Moto G5 Plus same model. Thanks to him sending me the image. But that did not work for me either, unfortunately.

I tried flashing the card with mmcblk0 using Rufus, diskmanager, Etcher and Linux. None of them worked.

One thing to mention here is when I installed the card after flashing the .img file into it, the phone charging light blinking gets reduced. As if the phone is on or something. But the screen was blank.

3 weeks before the screen was running but the software was damaged for being put in the drawer for long time. I used LMSA tool for recovery then it gave error on 67% then it did not on after that.

Any idea/help would be appreciated. What should I do next, what is wrong with the device?
[Moto G5 Plus Questions & Answers] MarckozZ:
I did the flashing manually... Do you think that the toolkit will make any difference?

Also, your phone now has the bootloader from Moto Z Play right?

I blankflashed the things for albus, then flashed gpt and bootloader from addison. After that I flashed the 135.35 firmware for potter (without gpt and bootloader) and replacing the recovery with the one for addison. Only got bootloops. Am I missing anything? Am I doing it right?
[Moto G5 Plus Questions & Answers] MarckozZ:
It just bootloops if you leave it like that. When I get the warning screen I hold power button to force reboot, then quickly I press vol down + power to enter bootloader and power it off. It's the only way to shut down the device.
[Moto G5 Plus Questions & Answers] Paulo Narley:
[MENTION=5046876]MarckozZ[/MENTION]

You need to reinstall all the firmware stock, but replacing the bootloader.img, gpt.bin and recovery.img even though after the blankflash you have them installed.
[Moto G5 Plus Questions & Answers] MarckozZ:
Thats what I did, but no luck... :/ I'll guess I made something wrong or maybe I have to do it using the toolkit... IDK...

gpt, bootloader and recovery from Moto Z play right? The ones you gave me?
[Moto G5 Plus Questions & Answers] Paulo Narley:
Yes, you must replace the original firmware stock folder with the ones I passed to you.
[Moto G5 Plus Questions & Answers] MarckozZ:
Could you please explain it clearly? Please...
[Moto G5 Plus Questions & Answers] Paulo Narley:
Do you have a telegram? If yes, leave the number.
[Moto G5 Plus Questions & Answers] MarckozZ:
Well I did everything as you said but the phone just bootloops, I even flashed three times but no luck until now.. I'll try to figure out why this is not working in my case...
[Moto G5 Plus Questions & Answers] MarckozZ:
I sent you a PM! :cool:
[Moto G5 Plus Questions & Answers] Paulo Narley:
Ok I'm on the telegram
[Moto G5 Plus Questions & Answers] alevity:
Guys guys it's just getting interesting.. Don't abandon us well wishers.. Keep us updated
[Moto G5 Plus Questions & Answers] MarckozZ:
I MADE IT!!!!!! I HAVE MY POTTER BACK!!!!!!!!!!!!!

I'll be making a guide just in case anyone wants to try this... But it will be risky as hell!!! Tomorrow I'll make the guide + story of what I faced after flashing (IMEI = 0)!
[Moto G5 Plus Questions & Answers] MarckozZ:
Do you followed the guide provided in this thread?
[Moto G5 Plus Questions & Answers] Madhusekhar:
yes , followed as mentioned in the thread ,i installed rr rom it worked but not stock

, after installing rr rom , i found sim are detected but no signal , please help me to install stock rom

---------- Post added at 04:48 AM ---------- Previous post was at 04:42 AM ----------

i did every thing in the thread but no luck
[Moto G5 Plus Questions & Answers] MarckozZ:
Ypu have to install the DEODEXED stock ROM. I flashed AOSP extended after recovering the phone and got IMEI 0. Then I reflashed the firmware and after that, installed TWRP and the deodexed stock rom. Signal came back and everything's fine until now.
[Moto G5 Plus Questions & Answers] Madhusekhar:
no not installed DEODEXED ROM

I dont know about DEODXECD ROM , please attach the files and tell me the process how to make imei=0
[Moto G5 Plus Questions & Answers] alevity:
Huzzah! This is awesome such a happy ending. Imei 0 is it till that way after you replayed and have a based band again?
[Moto G5 Plus Questions & Answers] Madhusekhar:
thank u my potter is back finallyyyyy

But i have a doubt , after successfully completing this process i installed stock rom again but no use same error ,boot loop and erasing circle symbol , again flashed twrp and DEODEXED stock ROM its working fine . do i get stock updates for this rom ?
[Moto G5 Plus Questions & Answers] MarckozZ:
No. You won't get OTAs because it's a modified stock ROM. you'll have to install ROMs if you want Android O, for example. Well see what happens in the next months, if [MENTION=1829889]vache[/MENTION] releases an uptated blankflash package to go back to the original potter bootloader and partition table. Only then we will be able to restore stock firmware as usual and receive OTAs normally.
[Moto G5 Plus Questions & Answers] MarckozZ:
On AOSP ROMs I got IMEI 0, but on deodexed stock ROM, IMEI and baseband are there and carrier services work normally.
[Moto G5 Plus Questions & Answers] Madhusekhar:
thank you

when you find it please give link for blank flash and the process. thank you in advance
[Moto G5 Plus Questions & Answers] MarckozZ:
What links are you talking about?
[Moto G5 Plus Questions & Answers] spadyrus:
i can flash twrp and do all the thing you say,

but when i flash deodexed stock im stuck on setup wisard in the language selection

edit: i installed ResurrecionR and all is ok , but i want stock what i can do to resolve initially setup wizard

edit2: finally i get my g5 live again, :3
[Moto G5 Plus Questions & Answers] Rakesh1b:
Me too bricked my Potter indian bootloader and just led blink when connected to PC and showing as qhusb 9008 and I blankflashed Potter blankflash of vaches then it loaded bootloader and then I tried installing non 15/33/35/35-5 versions but all of them returned same error bootloader downgrade error and validation fail status and before reviving it I thought of contacting Moto service centre and took it today to them they said my warranty is null obviously:o

And they tried to flash same as I did using rsdlite tool same error occurred there even with Moto signed bootimages and they suggested me to change motherboard :laugh:

And finally with the help of this thread I flashed debloated deodexed stock ROM and flashed elemental kernel 2.01 it's working :D and one thing I was unclear is I am unable to flash any stock firmware using fastboot or rsdlite same error for gpt partition and bootloader .

My question is can my bootloader be normal again how can I do that. Seniors please suggest your ideas.

Caution please don't install OTA updates when bootloader is unlocked it's highly risky.

I typed all this from my Potter...:D
[Moto G5 Plus Questions & Answers] spadyrus:
i think, when android 8 comes we can flash a new bootloader boot an gpt partitions without problems, only we need to wait
[Moto G5 Plus Questions & Answers] MarckozZ:
I hope we can do that when Android O images get released. But since we now have Moto Z Play bootloader and GPT, I'm afraid we wont be able to flash the new bootloader and GPT for potter since the Z Play bootloader will ask for a Z Play bootloader... So... We'll have to wait to see what happens...

If that occurs, we'll need to hardbrick the device and blankflash new files made with the O firmware!!!
[Moto G5 Plus Questions & Answers] Rakesh1b:
Can we revive bootloader so that it accepts all stock roms is it possible?