yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Q&A, Help & Troubleshooting] BubuXP:
I re-locked the bootloader of my 5X while on custom ROM, but I don't know how the OEM unlock switch was off, so now I'm locked off.

The ROM won't boot but TWRP seems to work, so now I'm trying to find a way to flash the stock firmware via TWRP.

But before I tried to use QFIL and while searching for the .mbn file I found this interesting link, maybe it could be helpful...

Obviously, if I can help somehow, just tell me.

UPDATE: probably because my phone wasn't totally "bricked" but I can't get QFIL to find my phone.

I found that the Qualcomm USB drivers won't recognize the phone when booted in download mode (i.e. pressing VolUp + connecting the USB cable to the PC, without using the power button, see attached photo).

The LG Mobile drivers instead will find the phone in download mode and will install accordingly (USB COM port device with ID 1004:6000).

So I found that I had to discard entirely the Qualcomm programs and the .mbn files and instead use LGUP to directly flash .kdz or .tot firmware files. After some search I found a .tot firmware file for the Nexus 5X (LGH791) 16GB version and successfully flashed it., regaining full control of the device.

Does your download mode screen looks like the one in the photo? The virtual COM port has ID 1004:6000 ?

UPDATE 2: so, after re-reading the whole thread and links, I found to be very OT here. But at least I can provide the dumps for the 16GB version, if you need it.

UPDATE 3: I've attached two text files, the list of the partitions and the corresponding names. I've also dumped all partitions, but I think the .img files from the stock firmware are the same (probably better). You should only translate the partitions sizes and names to a .xml file, but remember that my 5X is the 16GB version.
[Nexus 5X Q&A, Help & Troubleshooting] ryandanger:
Sorry for the late reply, been working all weekend! I'm planning on calling them and asking for an ETA tomorrow when they open, so I'll keep you posted. Have a great weekend (sure would be better if we got the QFIL files though)
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
well technically we need a firehose.mbn, rawprogram0.xml & patch0.xml (the .xml files seem to be autogenerated, idk how) to be able to get our devices to unbrick with QFIL, could you provide us with those?
[Nexus 5X Q&A, Help & Troubleshooting] BubuXP:
If I can extract them somehow from the phone, probably yes.
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
As far as I've understood, you need to build a partition.xml file manually with

this method

. You'll generate the necessary patch0.xml and rawprogram0.xml files.

I got no clue on how you get the firehose file though, didn't find any documentation about anyone building a firehose.mbn file for a certain device. I've found

this

while I was googling for the firehose.mbn files our device needs, not entirely sure if the LGE file is safe to flash xD.

many

good

links

for

the same problem

across similar devices

...................

If only a random chinese/taiwanese/asian developer would just give us the files/img to flash, that would be a bliss. :D

We just need to get our device to get recognized by adb or fastboot or have a working bootloader/recovery.
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
any update? [MENTION=5474836]BubuXP[/MENTION] [MENTION=7268474]ryandanger[/MENTION]
[Nexus 5X Q&A, Help & Troubleshooting] ryandanger:
Not a good update... :( Because my phone screen is cracked, they want me to pay $165 to repair it, which is absurd because I don't plan on using the phone ever again. They also want $25 if I decide to not get it repaired, just to send it back :(
[Nexus 5X Q&A, Help & Troubleshooting] harihacker:
For all facing the Qualcomm 9008 issue, please try to bake the motherboard in the oven at 350 degree faranheit for 7 minites and try to restart the phone. It worked for me.

I used following tutorial: https://hackaday.com/2017/02/11/nexus-5x-phone-resurrected-by-the-oven/
[Nexus 5X Q&A, Help & Troubleshooting] khanjui:
Not all 9008's are same. We are talking about different situation here, which is caused by corrupted bootloader/other partition(s).
[Nexus 5X Q&A, Help & Troubleshooting] harihacker:
I had the issue where the phone was totally dead without any display and computer showing the 9008 mode. I tried all possible solutions and even some Qualcom software that confirmed the phone being in the 9008 mode. Once the phone did go into the bootloader and I tried to flash the system image, but it error-ed out saying the destination was not found. Then I did the Oven thing just to see if that helped and it did.

I am not sure how we can differentiate between different types of 9008.
[Nexus 5X Q&A, Help & Troubleshooting] stojshic:
Well, if you, for example, flash wrong software (example that I know of is flashing Nexus 5 image on 5X), no oven can help you. If your phone died by itself, all of the sudden, than the oven could possibly help...
[Nexus 5X Q&A, Help & Troubleshooting] Steepoo:
I have a working Nexus 5X 32Gb and a bricked QDLoader 9008 mode one also 32Gb, Tell me which files you guys need and I will extract it
[Nexus 5X Q&A, Help & Troubleshooting] NightcoreSkies:
Unless if you have the original ROM and not a modified one, maybe. Too bad I threw mine out t hough.
[Nexus 5X Q&A, Help & Troubleshooting] bahmanfarshbaf:
I have them..I remember have downloaded from server...its the original rom from lge
[Nexus 5X Q&A, Help & Troubleshooting] NightcoreSkies:
Would be lovely, but they need the original FireHose file, if you have it?
[Nexus 5X Q&A, Help & Troubleshooting] bahmanfarshbaf:
of coure not, we had only roms...
[Nexus 5X Q&A, Help & Troubleshooting] NightcoreSkies:
Sad, because:

To flash the roms on QFIL, you MUST have the original FireHose file, which is impossible to find on the internet.
[Nexus 5X Q&A, Help & Troubleshooting] bjlabuk:
Hi, I have two bricked Nexus 5X 32GB's, one is based on bullhead-mtc19z-factory-953a60d3.zip image and the other is based on bullhead-n2g47o-factory-3ff32f55.zip image (all Factory and OTA images are available at https://developers.google.com/android/images. I also have the prog_emmc_firehose_8992_lite_lge.mbn file which seems to be the right one for the phone. However I am struggling to find the associated KDZ or TOT file for these builds - MTC19Z and N2G47O. You wouldn't happen to have downloaded these from the server by any chance ?
[Nexus 5X Q&A, Help & Troubleshooting] bahmanfarshbaf:
Oh I forget to upload them..i will do tonight

They were TOT files..16 and 32GB...but LG roms isnt like google with build number...they are based on them but u dont know the build number exactly...because namings are like this: 10A...10C...20A...20D...and so on!
[Nexus 5X Q&A, Help & Troubleshooting] bjlabuk:
If you google " Collection Of Qualcomm EMMC Programmer Files" there are several reputable websites which have them. I found prog_emmc_firehose_8992_lite_lge.mbn.zip which once extracted has worked in QFIL and other tools for me. My problem is that I can't find the required KDZ/TOT file for my builds, nor the rawprogram0.xml and patch0.xml files. I am busy trying to make these xml files myself with a couple of Python Tools.
[Nexus 5X Q&A, Help & Troubleshooting] bjlabuk:
Okay, thanks, that would be great! Nothing appears to be straightforward with this phone lol!
[Nexus 5X Q&A, Help & Troubleshooting] aboalghool:
anyone got a working method yet?
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
partition.xml (created, theres a tut, from it you extract rawprogram0.xml and patch0.xml), firehose.mbn for our device which we got no clue how to make (there are some files out there that are supposedly for our chipset & for LG phones)

---------- Post added at 04:02 AM ---------- Previous post was at 04:00 AM ----------

highly doubt the "fix" is permanent, but yeah, i cant even enter bootloader at all, so youre lucky :D
[Nexus 5X Q&A, Help & Troubleshooting] jeffsf:
Working through this on a 32GB US Nexus 5x after flashing the wrong bootloader right now.

I think I've got all the pieces together including finding LGH790AT-00-V10f-NXS-XXX-OCT-03-2015-32G-MDA89E-US.tot through a Google search in a couple places, including a link from https://xdaforums.com/nexus-5x/help/req-help-to-unbrick-t3251740

The device sometimes shows up as 05c6:9008 and often doesn't show up at all.

Any suggestions as to how to get it to reliably appear as a USB device?

vol-up + power while plugging in does not work.

https://xdaforums.com/nexus-5x/general/lg-nexus-5x-download-mode-t3237490
[Nexus 5X Q&A, Help & Troubleshooting] khanjui:
There is no way to recover without patch0.xml, rawprogram0.xml and prog_emmc_firehose_8992_lite.mbn
[Nexus 5X Q&A, Help & Troubleshooting] jeffsf:
At least with the Qualcomm tool, perhaps. There is also the LG tool that uses the "tot" format files, which I do have.

The question is around how to get the physical device to reliably be recognized in "9008 mode", which I was hoping one of the readers of this thread would have some suggestions around.
[Nexus 5X Q&A, Help & Troubleshooting] khanjui:
No way as I know, I also tried that but never succeed.
[Nexus 5X Q&A, Help & Troubleshooting] zurik:
If pc shows phone as QDLoader 9008, the LG tool will have 0% effect on this situation. It need the QPST/QFil tool but the files for it we don't have and it's very very hard to find these files or you will not find it.
[Nexus 5X Q&A, Help & Troubleshooting] hhunaid:
A friend of mine had his phone die on him suddenly and shows the exact symptoms as you all mentioned. Did all of your phones died without a warning? He is blaming it on Oreo update, but I can see some of you had this problem with Nougat too.

I really hope you guys can land on a fix.
[Nexus 5X Q&A, Help & Troubleshooting] khanjui:
There are two possibilities; damaged eMMC (hardware problem), corrupted bootloader and/or other partition(s) (software problem).
[Nexus 5X Q&A, Help & Troubleshooting] zurik:
For mine situation the bootloader was corrupted after installing the OTA (the Security patches). After some days, phone died and service changed the motherboard for 2nd time. Now they added a fresh fresh motherboard (manufactured at 7/8/17) and works as new!
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
if you force your device into 9008 mode, you're gonna get stuck with having to get the necessary files and flash them with QPST/QFIL or MiFlash (the files that nobody wants to build & search up for)
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
I found this method to build the xml files

https://www.youtube.com/watch?v=BmAuzbG9re4

it works, i used the extracted files from the 32gb tot image

I uploaded the files

partition0.xml

patch0.xml

rawprogram0.xml

https://drive.google.com/open?id=0B5EP5AzZNQxPcE52QWw2VloteUU

now we need the mbn firehouse file and we would be able to use QFIL
[Nexus 5X Q&A, Help & Troubleshooting] khanjui:
[youtube]-u13wH1VSLQ[/youtube]

This guy claims that he has firehose file for Nexus 5X. He sells it for 5$.
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
I Found them online

https://drive.google.com/open?id=0B5EP5AzZNQxPMEZqU3dWcl9oOTA

it has prog_emmc_firehose_8992_lite_lge.mbn
[Nexus 5X Q&A, Help & Troubleshooting] khanjui:
Did you try to use that? I think it can be from LG G4 or LG V10.
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
i tried and the file isn't working, its not for the nexus 5x
[Nexus 5X Q&A, Help & Troubleshooting] zurik:
__

---------- Post added at 09:07 PM ---------- Previous post was at 09:05 PM ----------

This is for H791 variant?
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
yes
[Nexus 5X Q&A, Help & Troubleshooting] zurik:
Ok.
[Nexus 5X Q&A, Help & Troubleshooting] electric0ant:
did anyone buy the file from him to test?
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
i didn't buy the file, i found it online

https://drive.google.com/open?id=0B5EP5AzZNQxPMEZqU3dWcl9oOTA
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
this file are not working on my nexus 5x
[Nexus 5X Q&A, Help & Troubleshooting] khanjui:
Because it's not for the Nexus 5X as we stated before.
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
is there is a way to get this file for nexus 5x 32gb can i take it from another nexus 5x if yes show me how i will see if there is people who can help me
[Nexus 5X Q&A, Help & Troubleshooting] khanjui:
No.
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
then how to get the file
[Nexus 5X Q&A, Help & Troubleshooting] khanjui:
Leak from LG? Who knows...
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
that mean there is no way to unbrick our phone

---------- Post added at 13:16 ---------- Previous post was at 12:50 ----------

lge-bullhead-n2g48c-ce459634.tgz

qcom-bullhead-n2g48c-271cc2de.tgz

what are this file
[Nexus 5X Q&A, Help & Troubleshooting] jyhfjcghcdgdg:
what is the name of the file we need
[Nexus 5X Q&A, Help & Troubleshooting] fleggett:
I have an LG-H790 that is also superbricked. No display, no adb nor fastboot, just the (somewhat) dreaded Qualcomm HS-USB QDLoader 9008 under Ports in Device Manager (in my case, COM5). I've paid the $4.99 for the firehouse file, but haven't received access to the archive yet.

Presuming I do receive it and this isn't a scam, for what filename should I be on the lookout? I'm assuming it'll have firehouse in the name, but what else should it have?

I'll keep everyone updated with any successes or failures, but I'm probably going to need a fair bit of guidance and instruction. I'm familiar with adb and fastboot commands, but this is the first superbricked phone I've tried to revitalize.
[Nexus 5X Q&A, Help & Troubleshooting] fleggett:
I'm in! So, what sort of filename should I target for the 5X? They all have firehouse in the name. The only one I can see that looks close is "prog_emmc_firehose_8992_lite_lge.rar".
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
We already have this file, also i posted 3 weeks ago all the mbn files that costs 5$ or whatever.

download it from here

---------- Post added at 08:25 AM ---------- Previous post was at 08:24 AM ----------

I added gpt files to the xml link, Here

Also I found some new 8992 mbn files, download it from here.

I also found that the nexus 6p fixing method uses the same files, a firehose mbn file, xml files and some images from the software.

I think we have all the files, we just need to collect them properly.
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
the file that we need aren't in the folder
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
fun fact, paid ~$8 for that guy (aryktech) to find a way to unbrick qdloader 9008 5X's. He told me that I should wait 4-7 business days, let's see how that'll work out.

anyone feels like making 16gb 5x files .xml files? i literally can't build them.
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
if I was in your place I won't trust that guy
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
some one here in xda share a emmc file could this one be the one that we need

https://pan.baidu.com/s/1bpcvqV1
[Nexus 5X Q&A, Help & Troubleshooting] khanjui:
Link is not working.
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
it work I can go but I can't undersand what is writing
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
it's a emmc.img, just downloaded it.

its literally a image of the emmc from a h798 (HK variant) of a 16GB 5X, not sure what we can do with it, but I can upload it to mega/dropbox

Considering the state our phones are in (no adb, fastboot, LGUP), this could maybe be used to get the .xml files, but not the firehose file.
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
my phone now can boot to fastboot but i think i have corrupted partition i can't boot system,no recovery and my phone take really a long time to boot
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
What exactly did you do then? Did you actually have the QDLoader 9008 issue?
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
yes some time when my phone boot and i see the google logo and he auto turn off my pc detect it as QDLoader 9008
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
I can't even get into TWRP, my device, for example, literally doesn't respond to anything I do, except through my PC, as explained in the OP.

Which is why the whole QFIL/QPST/MiFlash and the fuss about firehose files is appearing from time to time on phones known with these issues.
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
so my phone aren't fully brick i can get to fastboot but i can't flash any rom or go to the recovery this is my problem.

and my phone take a really long time to boot

but after 2 reboot my phone won't turn on again and my pc detect it as QDLoader 9008
[Nexus 5X Q&A, Help & Troubleshooting] imTigger:
I am on the same boat.

No recovery mode, no download mode, no bootloader, only QDLoader 9008.

Seems the real thing we really missing is Qualcomm Firehose programmer for our Nexus 5X.

Without a working Firehose programmer, we are all out of luck.

All files I found on the Internet does not work.
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
I have done a full search for the file that we need but I always find this one on every web site I enter

prog_emmc_firehose_8992_lite_lge.mbn
[Nexus 5X Q&A, Help & Troubleshooting] jyhfjcghcdgdg:
guys tell me the steps to unbrick the phone I will try even if I fail I can't stay with out my phone
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
this file for lg v10

https://youtu.be/Rnz7-3NE4uk

---------- Post added at 10:39 AM ---------- Previous post was at 10:36 AM ----------

no one is able to unbrick the phone, we don't have the firehose file
[Nexus 5X Q&A, Help & Troubleshooting] jyhfjcghcdgdg:
I just unbrick my phone I don't know I have done that I was playing with adb and my phone turn on I am on fastboot now but I can't flash any rom I have try but he boot to google logo and then turn off
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
what commands did you wrote ? how you did it ?

and if your phone turned on again, try to flash the bootloader and radio first because they are the cause of this problem.
[Nexus 5X Q&A, Help & Troubleshooting] jyhfjcghcdgdg:
I don't know how i don't that i was pressing the volume down and my phone was connected to my pc after that my phone boot only to fastboot

I'v download a factory image and flash it but my phone won't turn on i have try the last 7.1.2 i will the last 8.0 later

And my device is a bootloop one i only have 4 core
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
what will happen if i use this file prog_emmc_firehose_8992_lite_lge.mbn

the v10 and 5x have the same chip
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
nothing, you will just get an error in qfil.

and the phone stays the same
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
now my phone won't boot to fastboot

now he really do brick
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
can you upload the archive ?
[Nexus 5X Q&A, Help & Troubleshooting] frostthejack:
Any new updates to this?
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
guys I find what wrong with my phone, I have a corrupted partition this is my problem.

I think it's because of twrp I was trying to install a custom kernel and twrp stuck so I force the reboot.

do any one now how to fix it on fastboot or I need to unbrick it first, because some time my pc detect my phone as QDLoader 9008
[Nexus 5X Q&A, Help & Troubleshooting] frostthejack:
I have used your files along with that emmc firehose file and i get a download fail with sahara. Have you had any luck?
[Nexus 5X Q&A, Help & Troubleshooting] frostthejack:
Looking more into this we need someone to use qpst to create a firehose file useing a working device then when we flash we have to use the .mbn and .xml files created from the same firmware they had on their phone when they made the firehose file
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
No, nothing is working, we need the mbn firehose file.

I have everything we need except for the firehose file

https://drive.google.com/open?id=0B5EP5AzZNQxPQXNPSlFHbGR1LUE

I have edited the rawprogram0.xml, and removed (the system,vendor,cache,etc) lines because there partitions are fine, the only partition that is corrupted is the bootloader partition (and maybe the radio) and thats why the device is not booting.

so those files are the necessary (check the lg g4 fix files here )

those files were exctracted from the 16g nexus tot file.

so download the new files and try them with a firehose file, maybe it will work.
[Nexus 5X Q&A, Help & Troubleshooting] frostthejack:
It looks like you can use emmc downloader that comes with qpst to make the file.
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
i dont know how to make it
[Nexus 5X Q&A, Help & Troubleshooting] frostthejack:
It seems you just put your phone into edl mode and it will connect with the emmc downloader if you look at my image you can see at the top where it shows it connected to the com port. you can name the .hex file and the .mbn file and then at the very bottom there is a download button. I believe that is all you do.
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
95% sure this is used for flashing and not for "downloading" files we need. EDL mode doesn't work like that, then again, always worth a shot (no risk no fun ey?)

QPST/QFIL software says that my phone is in EDL, so I could attempt this.
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
the guy that is selling the mbn files (ArykTECH) claims that the nexus 5x firehose file is inside his archive.
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
as I mentioned, I gave him money to find a way to unbrick the 5X, let's see if he'll provide files that are needed for it.

He told me it'll take him 4-7 business days. think that already passed, but let's see. :D (messaged him 2 days ago, hasn't responded thus far)
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
I need the file for nexus 5x 32gb H791

rawprogram0.xml (with fix for corrupted system,vendor,cache,ect)

patch0.xml

Partition0.xml
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
https://drive.google.com/file/d/0B5EP5AzZNQxPcE52QWw2VloteUU/view
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
It will fix corrupted system,data,cache.etc
[Nexus 5X Q&A, Help & Troubleshooting] alan.nj978:
yes but you need to extract the tot file and move all the files to the xml folder
[Nexus 5X Q&A, Help & Troubleshooting] truekasun:
Try there methods

https://xdaforums.com/nexus-5x/general/untested-nexus-5x-bootloop-death-fix-t3641199

https://xdaforums.com/nexus-5x/general/nexus-5x-bootloop-death-blod-andorid-t3683926
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
I have try all the method but my phone still corrupted now I have try to format system,data,cache but my phone won't boot to fastboot any more I brick it
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
bro any news from that guy I think 9 day or more have past did he find a way to unbrick the nexus 5x
[Nexus 5X Q&A, Help & Troubleshooting] qb74:
nothing, quite sure i got scammed :D
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
list of file that we don't have

emmc_appsboot.mbn

hyp.mbn

pmic.mbn

rpm.mbn

sbl1.mbn

sdi.mbn

tz.mdn

I find that this file are used to unbrick lg g4
[Nexus 5X Q&A, Help & Troubleshooting] imTigger:
Those files can be obtained by extracting the .tot file with 7-zip.

What we need the most is a working Qualcomm firehose mbn file for Nexus 5X.

Without that we can't really write anything to the phone.
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
no one know were to get it

I begin to think that the firehose for the nexus 5x don't exist
[Nexus 5X Q&A, Help & Troubleshooting] imTigger:
I think so... the phone is out for almost 2 years.

Almost all other phone with this age have working firehose found online.

It's shame. It was a nice phone, with but with factory defect that make it easy to brick.
[Nexus 5X Q&A, Help & Troubleshooting] Sofiane omega:
we only can re-buy a new phone, or we can send our phone to lg center