yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Q&A, Help & Troubleshooting] JaCh0o:
Thank you very much for soo much help... :)

I discovered this too while trying to flash newer system. Its impossible to flash-all by fastboot (zip concering all the main images with system 3gb) becuose of that. It goes successful only while manual flash every partition alone (while fastboot flash system system.img it sparse file into ~512MB parts).

No TWRP, got stock recovery. I thought i have failed and have to send it to LG Service Center, therefore i flashed original recovery (to make it as stock as possible).

Eagerly waiting for new tot file...

PS. I've found out that MBR08L and MBR08M have same release date (1. November 2015), I've tried to flash M version and on welcome screen phone asked me to choose gmt settings (where i didn't found nor Poland or Central Europe), while in L version it doesn't asks and put this settings properly by default. Is it possible that L i for poor countries and M is for States and wealthy ones ??
[Nexus 5X Q&A, Help & Troubleshooting] bitdomo:
Try now https://mega.nz/#!c4AmlCTT!LS1urRD8PRpK6y9kygbvonyi95zNWFHHe7PBNzzJLak

That M and L thing is just nonsense. If it were that the case then google would have done 2 seperate download sections for the two variants of nexus 5x on it's stock rom download page.
[Nexus 5X Q&A, Help & Troubleshooting] JaCh0o:
Still error on 17 sec. Log attached. After successful restoring of nexus soft can i flash immediatly (by fastboot) m version of soft?
[Nexus 5X Q&A, Help & Troubleshooting] bitdomo:
Ah I was wrong. The problem is the size of the modem.img (57973760 bytes) and not the system.img. I still have to figure it out what is wrong with the size.

If you manage to flash the tot file you can flash whatever rom you want with fastboot after you enable oem unlocking and unlock bootloader.
[Nexus 5X Q&A, Help & Troubleshooting] JaCh0o:
Ok. I'm waiting for next tots for check.
[Nexus 5X Q&A, Help & Troubleshooting] gee one:
modem partition sizes in bytes. I think modemstN are the EFS partitions.

90177536 modem
1572864 modemst1
1572864 modemst2
[Nexus 5X Q&A, Help & Troubleshooting] goldenfish:
Flash with LG Up first then sideload with adb. post your sideload log here. :o

---------- Post added at 04:41 AM ---------- Previous post was at 04:38 AM ----------

If you fail at xx% check your battery, need more charge

like this but you have to disassembly it
[Nexus 5X Q&A, Help & Troubleshooting] Lollolollo84:
How I can post my sideload log?
[Nexus 5X Q&A, Help & Troubleshooting] PiousInquisitor:
You use the 32gb tot.
[Nexus 5X Q&A, Help & Troubleshooting] 2shellbonus:
Tried the guide in the OP. But it didnt solve my issue:

I got to the 4 dots and then it loops. So Google logo appears and then 4 dots and it crashes. Anyone have any ideas?
[Nexus 5X Q&A, Help & Troubleshooting] goldenfish:
take a picture :D

---------- Post added at 02:26 AM ---------- Previous post was at 02:25 AM ----------
[Nexus 5X Q&A, Help & Troubleshooting] armanthio:
Hey guys, one more brick here !

Did the LGup firmware flash then got stuck with google logo.. So I went to the stock recovery, factory reset and did an OTA update from adb. Tried serveral ones btw..

I am now back to a loop where the 4 color dots appear after the google logo than reboot, etc...

I've tried a lot of different OTA or potential fixes and don't manage to fix it.

I am OEM locked, BHZ10R bootloader and LGH791 32Go.

hope you'll be find a way to help me ^^
[Nexus 5X Q&A, Help & Troubleshooting] kayotster:
My devices is hard-bricked, black screen and 'Qualcomm QDLoader 9008' in device manager.

As I know, this is standard situation with broken bootloader on qualcomm devices. No way to enter download mode, BL must be repaired first.

Is there any method to reflash it? Where can I get MPRGxxx files for 5x?
[Nexus 5X Q&A, Help & Troubleshooting] danthepan124:
I'm having a lot of trouble getting into download mode, I hold up on volume rocker while plugging it in, but it just starts bootlooping
[Nexus 5X Q&A, Help & Troubleshooting] splash attack:
I'm having some issues with this method. I can't get windows to detect my 5X when in download mode. The screen just switches to "Firmware Update" and windows does not detect the phone at all.

I'm running Windows 10 Pro x64. Are there any hoops I can jump through to fix this?
[Nexus 5X Q&A, Help & Troubleshooting] armanthio:
^Have you installed the given drivers first ? I had the same issue and this was the answer for me.
[Nexus 5X Q&A, Help & Troubleshooting] CerB:
Hi there

Being the idiot i am, i was not paying attention when upgrading my bootloader, so i flashed the N5 bootloader, now i cant turn on the phone, i tried the first post

but lgup cant find the phone.

any other ideas what to do ?

i have the RELINK HS-USB QDLoader 9008 in device manager

the phone can not turn on, when try the volumen up trick, it appears as RELINK HS-USB QDLoader 9008, but during that process it also says it cant install drivers for some usb thing.
[Nexus 5X Q&A, Help & Troubleshooting] bardhi92:
Any update for the file for the Nexus 5X 16GB?
[Nexus 5X Q&A, Help & Troubleshooting] briandresstoyota:
yeah i need this too maybe. I get "No Command" on both the Start and Recovery option in fastboot
[Nexus 5X Q&A, Help & Troubleshooting] sfhub:
That is normal.

Press and hold Power

Press and release Vol Up

Release Power
[Nexus 5X Q&A, Help & Troubleshooting] bardhi92:
I was able to get back with the 32GB variant model file type using LGUP method. Confirmed it works on Nexus 5X. Use an OTA from Google to flash the OTA once you flash O.G. LG firmware.
[Nexus 5X Q&A, Help & Troubleshooting] briandresstoyota:
So I went through that and got into recovery. Wiped data and did a factory reset. Phone has never been rooted or anything. Now it freezes in the boot animation and I have to turn it back on to fastboot mode.

Any thoughts?

---------- Post added at 05:18 PM ---------- Previous post was at 05:16 PM ----------

You have 32GB? Or you used the 32GB file for the 16GB model?
[Nexus 5X Q&A, Help & Troubleshooting] bardhi92:
First, go to this link and download the OTA associated with your OS. I used the mhc19q version.

Once in recovery mode, go to ADB sideload and load the downloaded OTA obtained from the said links above. Rename it OTA.zip. Makes it much easier.

And yes, I used the 32GB file for the 16GB model.

After installing the OTA using the sideload method, I wiped cache and did factory reset within the recovery. After rebooting, everything turned on and worked.
[Nexus 5X Q&A, Help & Troubleshooting] briandresstoyota:
So just reinstall the OTA? None of those other steps from the OP post?

---------- Post added at 04:06 AM ---------- Previous post was at 04:01 AM ----------

there are three 7.0 OTAs to choose from for the Nexus 5x. I wonder how to choose the right one.
[Nexus 5X Q&A, Help & Troubleshooting] briandresstoyota:
I get the error * cannot read 'C:\Users\brian\Downloads\ota.zip' *
[Nexus 5X Q&A, Help & Troubleshooting] muwlan:
Pliss help,i want to buy nexus 5x emmc 32gb
[Nexus 5X Q&A, Help & Troubleshooting] briandresstoyota:
i redownloaded the file so many times. something is not setup right on my machine maybe i dont know. Ugh so frustrating. I want my device back.
[Nexus 5X Q&A, Help & Troubleshooting] muwlan:
I also was frustrated, sideload, adb, fastboot and flash through LGUP also all successful but still can not boot, ugghh
[Nexus 5X Q&A, Help & Troubleshooting] Lollolollo84:
Yestarday I sent to repair my N5X @ LG center... No problem for waranty with Locked bootloader... I think this is the only solution!
[Nexus 5X Q&A, Help & Troubleshooting] muwlan:
hehehe but the problem is I've not had a guarantee card again because yesterday I bought just stick it .... whether it should replace EMMC or there are other ways to turn back the BULLHEAD??
[Nexus 5X Q&A, Help & Troubleshooting] MajorSalvat:
Nexus 5x h790 - Android 6.0.1

Some day he restarted and frozen in Google Logo. I just access the Bootloader Mode, recovery and Download mode don't run.

The problem is I can't into in Android settings, so I can't enter in developer options, OEM unlock is not allowed and USB debugging to. Because this I can't unlock my bootloader in Fastboot mode. I try use NRT but for solving my problem I need unlock my bootloader and my OEM is not activated.

Yesterday I read some topic that talking about let the device restart several times, for my surprise this worked and enter in the initiation process of Android, but is not everytime that works and is too longer to wait this miracle happens.

Please help me with this problem I don't know what I do now.

Sorry for my English I am from Brazil
[Nexus 5X Q&A, Help & Troubleshooting] bardhi92:
Use this updated tutorial!
[Nexus 5X Q&A, Help & Troubleshooting] briandresstoyota:
I will try this. My biggest problem is that when I try to sideload it says it cannot read the zip file. Any thoughts?
[Nexus 5X Q&A, Help & Troubleshooting] MajorSalvat:
I try this but my device don't enter in Download mode you in Recovery. He just enter in Fastboot mode

Stay bootlooping in Android logo
[Nexus 5X Q&A, Help & Troubleshooting] briandresstoyota:
I installed the united mobile driver and then i put my phone in download mode. get to the firmware update screen but lgup does not recognize the phone connected and windows does nothing about installing drivers when the phone connects on download mode. any insights guys?
[Nexus 5X Q&A, Help & Troubleshooting] briandresstoyota:
this is what i get and it just hangs and hangs and hangs and never installs and then eventually my phone shuts off from firmware update mode
[Nexus 5X Q&A, Help & Troubleshooting] briandresstoyota:
well followed these instructions to the "t" even made sure to boot to boatloader and sideload OTA for 16GB fix and then wiped cache and factory reset and now I boot and get Google logo and then black screen.

---------- Post added at 10:42 PM ---------- Previous post was at 10:41 PM ----------

sometimes with a boot loop and sometimes with black screen. iughhhhhhhh

---------- Post added at 10:52 PM ---------- Previous post was at 10:42 PM ----------

sideloading a different ota. maybe that will help.

---------- Post added at 11:01 PM ---------- Previous post was at 10:52 PM ----------

oh cool got an error at 89% on the other OTA. lol guess ill start at the beginning. windows never seems to install the drivers properly when i hook up to download mode. any insight?\
[Nexus 5X Q&A, Help & Troubleshooting] sfhub:
If anyone is curious, I extracted the TOT file. It has the following:

PrimaryGPT

modem

boot

recovery

system

BackupGPT

It does NOT include

bootloader

vendor

efs

cache

userdata

If you have the EFS corruption problem due to TWRP 3.0.2-1 restore bug, TOT file will not fix it. It'll actually make things worse as it will lock your bootloader and you won't be able to unlock due to not being able to boot into Android due to EFS bug.

I am surprised this TOT file doesn't include vendor. Vendor and System need to be matched for things to work smoothly.
[Nexus 5X Q&A, Help & Troubleshooting] briandresstoyota:
Back to my original problem. Phone shut off. No boot, no recovery, no download mode, no charging indication. Nothing.
[Nexus 5X Q&A, Help & Troubleshooting] muwlan:
Anyone know the type of nexus 5x 32GB eMMC information please ??
[Nexus 5X Q&A, Help & Troubleshooting] lukasz8504:
Toshiba THGBMFG7C2LBAIL 16 GB eMMC 5.0 Flash Memory and

Toshiba THGBMFG8C4LBAIW 32 GB eMMC 5.0 Flash Memory

Here You have price https://www.arrow.com/en/products/thgbmfg9c4lbair/toshiba
[Nexus 5X Q&A, Help & Troubleshooting] H@P:
It was at 80+ percent charge when I started the process. All three OTAs were adb sideloaded back to back. Don't think it failed because of power.

Very difficult to get into bootloader. Almost impossible to get into Download Mode. Recovery is no longer functional.

When I do get into Download Mode, Windows doesn't recognize any new devices. Eventually the screen goes black and I see a new device pop-up.

Windows 10 recognizes and installs drivers for "Qualcomm HS-USB QDLoader 9008".

Windows 7 recognizes and installs drivers for "RELINK HS-USB QDLoader 9008".

LGUP never recognizes a device attached.

Pretty sure based on other posts this is a catastrophic eMMC failure, and I'm just out of luck.

It's just frightening to think that a stock, bootloader locked phone less than a year old and (nearly) up to date on security patches would crash and burn so spectacularly, with no recourse whatsoever except replacement.

As if I'll really ever fully trust the refurbished replacement with the same date code :rolleyes:
[Nexus 5X Q&A, Help & Troubleshooting] goldenfish:
Try repair boot via Medusa pro. :good:
[Nexus 5X Q&A, Help & Troubleshooting] :
Boot loop from 7.1.1 OTA

I'm trying to figure out if the steps in this thread would be correct for my issue.

I have stock LGH790 32 GB, and I've never rooted or unlocked. The only advanced thing I did was join the beta program to get N early. Two days ago, I got the 7.1.1 OTA. All was fine for a day. Then the phone froze in the middle of regular use and reset into Google logo boot loop. I can enter fastboot by holding vol-down, but when I select recovery mode it just resets back into the loop.

I tried to use wugfresh to re-flash back to stock, but it does not even recognize the device is connected. Should this thread be my next step? I've seen other threads noting an EFS issue, but I've not used TWRP. Also, others have said it could be a hardware/solder issue, but that seems like it would be a strange coincidence.

Thanks.
[Nexus 5X Q&A, Help & Troubleshooting] bardhi92:
Ironically enough, when I reverted to stock and unrooted, my phone got the bootloop. This is after upgrading to 7.1 OTA.
[Nexus 5X Q&A, Help & Troubleshooting] fonzy172:
I'm at a complete loss here if anyone has any ideas.... H791 32gb

I have TWRP backups (including EFS) for 7.0 NRD90M, however no way to use them as my phone is bricked. I think I may have fallen victim to the EFS bug, its been a while now and I can't remember specifically what I did to kill my phone.

My bootloader is locked.

Using the "LGUP" method will get me to a hanging Google logo. I can sideload any 6.x OTA from google, however this will only get me to the 4 coloured dots loop. I

cannot

sideload any 7.x OTA updates, during the flashing processthe adb log on the phone reads:

Finding update package...
Opening update package...
Verifying update package...
Installing update...
Targert: google/bullhead/bullhead:7.0/NRD90M/3085278:user/release-keys
Patching system image unconditionally...
E:unknown command [log]
E:unknown command [log]
Patching vendor image unconditionally...
E:unknown command [log]
E:unknown command [log]
Writing bootloader...
Writing radio...
script succeeded: result was [1.000000]

Install from ADB complete.

...and I'm still on the 4 coloured dots. Interesting to note that system recovery still states at the top 6.0/MDA89E/2296692 regardless of which OTA is pushed.
[Nexus 5X Q&A, Help & Troubleshooting] fanta110:
How long have you been using your phone before bootloop?
[Nexus 5X Q&A, Help & Troubleshooting] fonzy172:
For about 2 months or so. I was running rooted, with custom kernel.
[Nexus 5X Q&A, Help & Troubleshooting] mimbar:
me too. succeed on lgup but still on google. i tried to sideload android 6.0 bootloop on dot. sideload android 7.0 and get tgis but still failed on bootloop on 4 dot.

Finding update package...
Opening update package...
Verifying update package...
Installing update...
Targert: google/bullhead/bullhead:7.0/NRD90M/3085278:user/release-keys
Patching system image unconditionally...
E:unknown command [log]
E:unknown command [log]
Patching vendor image unconditionally...
E:unknown command [log]
E:unknown command [log]
Writing bootloader...
Writing radio...
script succeeded: result was [1.000000]

Install from ADB complete.

anyone?

---------- Post added at 06:44 PM ---------- Previous post was at 05:50 PM ----------

sir i sent you a PM. thanks :)
[Nexus 5X Q&A, Help & Troubleshooting] Sttibur:
Help!

Hi everyone!

I got here by pure chance because someone posted this link saying it worked for them. My Nexus 5x died a couple of days ago, it bootlooped a couple of times so I read I had to wipe the cache. That didn't work so I got into recovery mode and made a factory reset twice because first time didn't work. Now it doesn't even turn on. Sometimes when I plug it in the led flashes red but nothing else. I downloaded everything here but I can't even get it to download mode and my computer doesn't even recognize the device. Is there still hope or am I just wasting my time? I can't ask for a repair from LG because I bought it in the states but I don't live there. Help please!
[Nexus 5X Q&A, Help & Troubleshooting] Smultie:
Could this theoratically fix the NO RPMB troubles?
[Nexus 5X Q&A, Help & Troubleshooting] corydunbar:
When opening device up into download mode windows 10 does not install drivers. Can someone possibly post the drivers?

Also what is everyone using for their USB cable? I can't use my OEM cable since my comp does not have a USB type C port. I am using a micro USB cable with a type C adapter
[Nexus 5X Q&A, Help & Troubleshooting] rminy:
hey mate,my situation is exaclty like you,did you have find any solution or not?I'm completely disappointed:(
[Nexus 5X Q&A, Help & Troubleshooting] marioemp2k7:
Moving on regarding the EFS corruption problem some of us with locked bootloader still have.

Have you played with this: https://github.com/Lekensteyn/lglaf ? I couldn't make it work in Windows and my next try will be to do it in Ubuntu since it's a Python script.

My plan is to dump the persistent partition, hex edit it and add 1 to the end, write it back, boot the bootloader and unlock it. From there on, load TWRP (boot or flash), erase mdemst1 and 2, wipe everything else and flash everything nicely matched. I think I'll do it this weekend and see how it goes.

I also tried to hex edit the tot file so I can add the modified persistent partition. Without much knowledge of the tot file structure of course I managed to corrupt it. This could be an idea, but without the know how of Bitdomo I've hit a bricked wall.
[Nexus 5X Q&A, Help & Troubleshooting] marioemp2k7:
Unfortunately it doesn't work for the time being. Lg introduced a challenge response requirement for laf and this is getting in the way. Maybe some time in the near future smarter guys will figure it out. Right now, I'm back at modifying the tot provided by Bitdomo in order to right that bit at the end of the persistent partition so we can unlock the bootloader.
[Nexus 5X Q&A, Help & Troubleshooting] sign0ff:
So.. my take..

To begin with, I was on N nrd90r

1. Folowed the OP tutorial (on LGH791 ) hangging on the Google logo 22 minutes,

2.Tried the to sideload 'bullhead-mda89e-factory-d716b566.zip' -error

3. Tried the to sideload 'df0ff90d933a204835e379e91edcc056221f7614.signed-bullhead-MDB08I-from-MDA89E.zip' -50% aborted

4. Tried the to sideload 'bullhead-ota-nrd90r-b3b77497.zip' (the one i started with) - success, next next, skip skip, without net.. USB Debuging enabled

5. Nexus Root Toolkit, Unlock bootloader - Root device..

6. Rub my hands and thank OP

Peace ( and open source )on earth
[Nexus 5X Q&A, Help & Troubleshooting] mimbar:
omg i wish my phone is working just like you. as usuall after my phone stuck on logo i try to flash the nrd90r but still stuck on 4 dot bootanimation. mine is mda89e on bootloader. still i dont understand what should i do because my phone is coming outside my country (Indonesia) and the LG local service center dont have the software for it because the outside of the country things.... i'll pay if outside of Indonesia can repair my phone :(
[Nexus 5X Q&A, Help & Troubleshooting] sign0ff:
Hey, do you remember the exact version installed at the begining? Before you tried the method explained here ? I think, in my case at least, 6.0.1 was not accepted because I was rolling down from 7.0

Another thing, I think US, EU, and Asia versions are generic versions, based on minor hardware changes.. but them I'm no pro..

What I don't understand is why LG doesn't publish the TOT's for these products.. since Download mode is made especially for them.
[Nexus 5X Q&A, Help & Troubleshooting] mimbar:
i dont remember what version on the device when it got bootlooped. but based on bootloader it on mda89e.

so you say that you are successful on update ota but got bootlooped then ?

I think the difference US, EU, Asia versions is the baseband signal version.

because its Google's so they don't publish it ?
[Nexus 5X Q&A, Help & Troubleshooting] sign0ff:
From my experience it's paramount to revert to the exact previous version, exactly that.. I don't have any scientific arguments i just know mine worked.. any other rom failed to install, and i have tried 3 factory or OEM..

Tonight I will get another 5x to try to fix it, if it's the same case i will post my findings

---------- Post added at 10:54 AM ---------- Previous post was at 09:56 AM ----------

So, I'll get my hands on a LGH791 16 Gb tomorrow, please tell what you need, and how to do it..
[Nexus 5X Q&A, Help & Troubleshooting] Harthouse:
News from 25.9. Yesterday (finally) I've got my N5X back, after so long time, from repair centre. It is fixed and they told me its motherboard is replaced (?!?). Can someone tell me, how's that possible? After that time I find it is on the latest 7.0. I'm happy anyway!
[Nexus 5X Q&A, Help & Troubleshooting] avlien:
Super late question

I don't know if anyone will read this, but I need some help. I've been following the instructions, but I eventually get an error message "USB Port is not opened" What can I do? The error code is: 0x2000
[Nexus 5X Q&A, Help & Troubleshooting] mimbar:
do you find something ?

whice country are you on ? maybe i can repair my phone is my neighbor country such australia/singapore/malaysia...
[Nexus 5X Q&A, Help & Troubleshooting] sign0ff:
No, sadly the mb was broken somehow, i don't have the tools to see what is wrong but from what i see a pin on the mb was ripped clean off.

But hey, i have a good battery and a flawless screen if any accidents should happen.

But.i read somewhere that there's no 16gb TOT, the 32 one should work just as fine on a 16gb model, on the LGH791 at least
[Nexus 5X Q&A, Help & Troubleshooting] deepby28:
solved nexus 5x h790 unbrick _ medusa box

solved nexus 5x h790 unbrick _ medusa box _ checked 100 %
[Nexus 5X Q&A, Help & Troubleshooting] questionquince:
Hey, I'm from Indonesia (Depok, Jawa Barat). My Nexus 5X was alive again because of this OP. Where do you live? PM me, maybe I can help you.

Give me details about last software version before your N5X bricked.
[Nexus 5X Q&A, Help & Troubleshooting] sign0ff:
Are you on 32Gb 791? I have 2, I repeat 2 16Gb by my side and one is just fried and the other one is in QDLoader 9008 mode, both from N updates.. Man did LG&G made a mess of this update.. i'm hoping to get at least one working.. if anyone knows some mdm sites with nexus 5x files or some 16 TOTS, it would be awesome.. I'll keep you posted anyway
[Nexus 5X Q&A, Help & Troubleshooting] questionquince:
I'm on H791 16 GB. Actually, there's a thread based on this OP that has a little bit difference in its method. Read carefully here:

http://xdaforums.com/nexus-5x/help/tutorial-how-unbricked-nexus-5x-16gb-t3481766
[Nexus 5X Q&A, Help & Troubleshooting] sign0ff:
Checking it right now, thanks.. but from what i see these guys managed to get the LGUP to recognise their devices, these 2 are in a state of MegaBrick, only recognised as usb com devices, from what I read LGUP, needs download mode and these 2 dont get to that.. but i will inquire more, thanks again
[Nexus 5X Q&A, Help & Troubleshooting] 1142:
Hi, I'm also from Indonesia.

I couldn't do the required steps in this thread due to my 5x is totally dead, I couldn't turn it on so my PC couldn't recognized it.

Do you have any idea?
[Nexus 5X Q&A, Help & Troubleshooting] questionquince:
Have you charged it, for at least 80% battery?