yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Q&A, Help & Troubleshooting] firemountain:
Sounds like a voodoo magic, but it worked for me.

After freezer I was finally able to start download mode for long enough to complete the process.

I get an access to stock recovery after 80% of instalation.

Used adb sideload to flash an ota update (I have 16gb phone).

However, phone is still in bootloop.

Will try again with android 6.0 ota.

But anyway it is something crasy
[Nexus 5X Q&A, Help & Troubleshooting] jayjazz:
i have 16gb 5x and im facing google logo bootloop n keep restarting. can i use this method plz help

---------- Post added at 09:39 AM ---------- Previous post was at 09:35 AM ----------

i have also the same issue :( I was on Pure Nexus, and my 5X suddenly powered off. Then, it was stuck on google logo. i cant even get a replacement :( did u solve ? plz help

---------- Post added at 09:45 AM ---------- Previous post was at 09:39 AM ----------

i have also the same issue :( I was on Pure Nexus, and my 5X suddenly powered off. Then, it was stuck on google logo. i cant even get a replacement :( did u solve ? plz help
[Nexus 5X Q&A, Help & Troubleshooting] Geofferey:
We need a way to edit the .tot file to include an image to enable allow OEM unlock. Sadly the dev who started this thread seems to have abandoned it. Maybe if [MENTION=2790198]gee one[/MENTION] could elaborate that would be awesome I have an image that I dd'd of the persistent partition. If we could include that in the .tot that would help a lot. If you have TWRP and a locked bootloader you can DD this image to the persistent partition to allow flash unlock. If somebody has the know how they could make a .tot with only this image to allow unlock.

I found this but it's a bit vague to me.

https://xdaforums.com/lg-g5/how-to/how-to-edit-tot-files-t3406043

If you have adb root access through TWRP or w.e. you can:

$ adb push persistent-unlock.img /tmp/persistent-unlock.img

$ adb shell

# dd if=/tmp/persistent-unlock.img of=/dev/block/bootdevice/by-name/persistent
[Nexus 5X Q&A, Help & Troubleshooting] TheHeirophant:
One way that works

Unfortunately for me this process doesnt work because I bought my phone used. But if you are the original owner it should work.

After updating to 7.1.1 I got the rebooting loop and my phone is a brick. I contacted Project Fi support who were very helpful. Explain your situation and that the issue is not a hardware issue, but software issue caused by an OTA update. Then even if you are not in warranty they will still replace the device. Granted this is only pertinent to Project Fi users, but I thought it worth sharing.

-Heiro
[Nexus 5X Q&A, Help & Troubleshooting] JMaio:
I recently got a 5X off eBay that was not booting, and thought I could fix it easily by unlocking bootloader, custom recovery, etc. However, it showed this same problem with being stuck in bootloop and oem unlock disabled, with no access to recovery.

This is definitely strange, but trying it allowed me to see the 4 dots of boot animation (although it *froze* there), as well as getting into recovery which it did not do before. Hopefully will be able to install stock 7.1 and unlock the bootloader ASAP. It only worked for 2 boots to recovery and has started showing the Google logo after 3 minutes of being out, so I guess it's going back into the freezer for round 2!

Thanks for the tip [MENTION=1819295]bernZ[/MENTION] :D
[Nexus 5X Q&A, Help & Troubleshooting] firemountain:
Keep us informed, because I wasn't able to recover it afterwards, and my phone is collecting dust on the shelf.
[Nexus 5X Q&A, Help & Troubleshooting] ctp9:
16gb lgh791, lgh790 tot

Hello all,

I have finally acquired the 16GB variant of LGH791 and LGH790 TOT flashing files. Use 7-Zip to uncompress the archive(s):

Description:

16GB LGH791AT Nexus 5X

16GB LGH790AT Nexus 5X

DOWNLOAD:

LGH791AT, LGH790AT TOT flashing files

Note:

32GB LGH790AT Nexus 5X TOT is also included in the download link.

Conclusion:

If you have a LOCKED bootloader, then you need to flash LGH791AT TOT (I can confirm that this WORKS).

If your bootloader is UNLOCKED, then you may have some luck flashing LGH790AT TOT.

Post your results and let us know if you had any success with the above files.
[Nexus 5X Q&A, Help & Troubleshooting] JMaio:
Short update!

The operation time after cooling it is very short once taken out: just did a factory reset whilst it was still inside.

Download mode does not appear to work: only shows small icon with 5 dots, phone and PC, and "Download mode" text, not recognised as anything by Windows, then the phone just proceeds with bootloop sequence.

I've also got as far as 10 seconds into the boot animation, but since basic functionality is still impossible, I'm led to believe my case is not easily fixed with just software. I'm going to give it a few more goes with the freezer and then try to reflow the solder (as doc'ed on the Nexus 5X Subreddit, as the freezing method seems to point to it having to do with the contacts of either the eMMC chip or the RAM (the original author actually says he's tried this exact same freezing method and that's essentially what it means).

tl;dr:

bad solder is bad
[Nexus 5X Q&A, Help & Troubleshooting] Geofferey:
This may help someone. If they have a bootloop and access to TWRP. It's a backup of the partition that stores the allow OEM unlock bit. If someone could integrate it into a .tot it could solve a lot of issues.
[Nexus 5X Q&A, Help & Troubleshooting] execute_method:
I wasn't able to download from this link. Just brings me to my own folder. Can you please double check the link you shared. Thanks in advance.
[Nexus 5X Q&A, Help & Troubleshooting] JMaio:
Update 2:

Followed the guide above. Rebooted to find full use of the device.

Now there's one thing holding me back: my Wi-Fi requires auth after connect but the 5X is not liking this.

Not expecting it to hold for long, but hopefully it will :D
[Nexus 5X Q&A, Help & Troubleshooting] ctp9:
I have updated the link in my original post. Please try the following:

Description:

16GB LGH790AT Nexus 5X

Filename/Download Link:

LGH790AT-00-V10f-NXS-XXX-OCT-03-2015-16G-MDA89E-US.tot
[Nexus 5X Q&A, Help & Troubleshooting] JMaio:
Update 3:

Nexus 5X was still locked to previous owner as they had not reset it before selling (no access to recovery on their part), flashed .tot file as described in OP, which resets to 6.0 (but did not boot at this point).

Flashed 7.1.1 image over ADB, set up and enabled Dev Options to allow OEM unlock.

Reboot fastboot, fastboot oem unlock, flash TWRP, factory reset in TWRP, transfer LineageOS and GApps over, flash those, and it's going.

Been just about 24 hours, will see how it holds up in future.

Thanks for this guide, turned out there was no other way to get at unlock bootloader without refurb'ing in the software.

:good:

Update 4:

After unplugging this morning, it's died for good after some panic rebooting.

The CPU/RAM package seems to be bulging out slightly.

Hope LG sorted their manufacturing for the G6.

Good luck to all 5X owners.
[Nexus 5X Q&A, Help & Troubleshooting] Dragonred24:
Hi, i have tried several times to make LGUP tool to recognize my Nexus which is in download mode but it keeps saying that there is no handset connected, so i have had to reboot it and now it's "sleeping" again and i am wainting for it to let me get into recovery mode. Any ideas why it does not recognizes it? I have installed all the drivers and the DLL. And also, Any way to make it switch off so i have not to pray for it to switch off and be able to access to recovery? Thanks a lot!
[Nexus 5X Q&A, Help & Troubleshooting] berndblb:
I bought this Nexus 5X LGH790 32gb on ebay used. It was on 7.0. Stupid me instead of first unlocking the BL and enabling adb I took the OTA update to 7.1.1 and that went south.

Phone booted only to the fallen Andy with "no command". So, no fastboot flashing, no adb sideload...

Tried the method in the OP and it seemed to go ok. LGUP said something like: Click here to complete, but the phone is stuck on Google screen.

Rebooting the phone does nothing, brings it back to the same screen.

The phone is on 6.0 firmware now, so something about the flash worked, but it does not boot. Any other ideas?

Edit:

Solved my own dilemma. I was able to get adb in recovery to work and then sideload the latest full ota image. That unconditionally patches each partition. Phew!

Guess what was the first thing I did after booting it up?

Yeah, unlock the BL and flash TWRP... :highfive: :victory:
[Nexus 5X Q&A, Help & Troubleshooting] DK-Skynet:
Nexus 5x 16gb H791

Is there any hope for .tot file for Nexus 5x 16gb H791?
[Nexus 5X Q&A, Help & Troubleshooting] kastik4:
the creator of this thread sayed that he can make a tot for 16gb if someone send him the dump of the Primary GPT if someone could give me instructions on how to do it i could send him
[Nexus 5X Q&A, Help & Troubleshooting] mechanicmuthu:
Thanks a TON!This worked for H791 16GB Nexus5X with locked bootloader & twrp bootloop

Thanks a TON! I can confirm that this worked for my H791 16GB Nexus5X with locked bootloader & twrp bootloop.

How my soft-brick happened:

One fine day after trying out Android O, was planning to go all stock with locked bootloader and only root enabled. Flashed latest stable factory image and flashed TWRP recovery and gave the "fastboot oem lock" command. Alas, I didn't know that TWRP crashes & bricks your phone with locked bootloader. Then it was 30 hours of hell. TWRP opens and crashes and opens and crashes.

What didn't work:

In the small window TWRP starts, adb is enabled and I booted to "adb reboot sideload" within TWRP. I was finally able to switch off the screen. There was very faint burn in I could see yesterday. Yet to confirm that it is completely gone. I sideloaded full ota, it went through but after completion of patching, it always comes back to TWRP screen and bootlooping starts again. I was not strong hearted for doing dd commands to replce TWRP with stock.

What did work:

32GB H791 tot file works in 16GB H791 device. It stays in Android screen after boot, but stock recovery is enabled.

At the risk of repeating others guides, I give a short guide to unbrick your 16GB H791 nexus5X.

1. Download the 4 files in the 1st page. (register an account and enable extension, that way I got an uninterrupted download from the mega dot nz site. Extract all to individul folders in your PC. Downlod the fullota from google of the last version that was working well. If you don't know which, just download the latest full ota.

2. Install the files in windows, accept all prompts.

3. I used USB-A to USB-C type non-OEM cable. Since I could not switch off the mobile, I just pressed power button and volume up key simultaneously and inserted the cable just when the screen goes off. It is easy, I got it right first time. Download mode is shown in screen.

4. Windows 10 64bit took 5 minutes for installation of drivers.

5. Start LGUP progrm from desktop (not the installation file), your device is shown as idle.

6. Browse to and select tot file, and refurbish, press start.

7. Its a fast process, finishes in 5 minutes, followed by 150 seconds wait. Close the LGUP.

8. Mobile will be in stuck up scrren (since we used 32 GB tot instead of 16 gb tot)

9. Remove and reconnect cable without pressing any key while connecting.

10. Enter stock bootloader by pressing Voldown + power for 10 sec

11. scroll to recovery

12. press some combination of volume up + down + power (without holding any key continuously) You usually get it in 3-4 tries.

13. wipe for factory reset, wipte cache, dalvik cache, etc.

14. do sideload command

15. sidelod from PC using command adb sideload <fullota.zip>

Enjoy.

In short, get stock recovery using 32gb tot file & LGUP tool in Download mode, flash full ota on adb sideload and unbrick your bootloader locked bootlooping Nexus 5X.

Hail open devices!
[Nexus 5X Q&A, Help & Troubleshooting] :
I've got a Nexus5X 16GB, and I saw that the tot file for the 16GB version can only be created with the Primary GPT and Backup GPT. Could someone give me instructions on how to do this, so that we can use this tool on our 16GB versions as well?
[Nexus 5X Q&A, Help & Troubleshooting] berndblb:
Seriously?? ?

Read the post above yours???
[Nexus 5X Q&A, Help & Troubleshooting] DK-Skynet:
Only one more question?

[MENTION=7290873]mechanicmuthu[/MENTION]

After you flash .tot file, did you boot your android and enable developer mode or you are go directly to recovery mode where you are do adb sideload with ota file?

My point is...right now I can go to recovery mode but I am not able to flash ota file with adb sideload command because it ask me to enable developer mode...

Did you understand my question?
[Nexus 5X Q&A, Help & Troubleshooting] DK-Skynet:
Nexus 5x 16gb H791

I did it with this method, I have Nexus 5X 16GB H791 and also FRP is unlocked but I have some other problems with this phone...we will see...but my goal was be to fix boot loop and bypass FRP :)

Thanks a lot...
[Nexus 5X Q&A, Help & Troubleshooting] jimbo11883:
Nexus 5x 32gb H791

I am having trouble with mine. Attached is the log file. Can someone please help?
[Nexus 5X Q&A, Help & Troubleshooting] DK-Skynet:
LG Nexus 5x H791 16GB .tot File

I just found .tot file for H791 16GB online, if someone need.

Android 7.0

Click here to download
[Nexus 5X Q&A, Help & Troubleshooting] berndblb:
The log doesn't give us much. What is your trouble?
[Nexus 5X Q&A, Help & Troubleshooting] jimbo11883:
I have a Nexus 5x H791 32gb. It's stuck in Qualcomm QDLoader 9008 mode. No download, recovery, etc. I flashed the wrong bootloader to it. It seems these tot files don't include the bootloader partitions.
[Nexus 5X Q&A, Help & Troubleshooting] ctp9:
Yes. Check this post from earlier in this thread:

https://xdaforums.com/showpost.php?p=71522085&postcount=333

---------- Post added at 08:27 PM ---------- Previous post was at 08:26 PM ----------

Wrong. You need to flash LGH791AT TOT located in the following post:

https://xdaforums.com/showpost.php?p=71522085&postcount=333
[Nexus 5X Q&A, Help & Troubleshooting] jimbo11883:
LGFlashTool still gives me the same error.

"TOT file is invalid[1][05:47:719] DoDownload() Exception"

Attached is my log file and screenshots of the app log.
[Nexus 5X Q&A, Help & Troubleshooting] ctp9:
Why are you using LG FlashTool? ...when it was clearly instructed at the beginning of this thread that you need to use LGUP tool (clearly outlined, with detail... in the first post).

16GB LGH791AT TOT works with LOCKED bootloaders (as long as you flash it with the LGUP tool while your phone is in "Download mode").
[Nexus 5X Q&A, Help & Troubleshooting] Benik3:
Do you think, that flashing TOT can help me to solve my weird problem? https://xdaforums.com/nexus-5x/help/video-functions-problems-t3409380

Are there any possible complication by flashing it? (IMEI change, bootloader locks etc...).

I have lgh791 32GB with original board.

Thank you.
[Nexus 5X Q&A, Help & Troubleshooting] Oczosinkoo:
The phone goes into download mode (H791-32GB-MDA89E), but when its in the download mode, my pc doesn't detect it. I have tried 2 different machines, they both have adb and fastboot drivers properly installed, as I used them to fix phones earlier. Both machines are running the latest version of Windows 7. As I'm trying to fix the phone for a friend, I only used the usb cabel which he provided, as I don't own any usb a to usb c cabels myself. The phone is detected when it it's in the bootloader mode, I can't go to recovery mode, it just shows the google logo when I try it and stays there forever. This is what I see when it gets to download mode: [IMG="https://s3-us-west-2.amazonaws.com/androidexplained.com/wp-content/uploads/2016/05/23105034/LG_G5_Download_Mode.png"]https://s3-us-west-2.amazonaws.com/androidexplained.com/wp-content/uploads/2016/05/23105034/LG_G5_Download_Mode.png[/IMG]

EDIT: Should I try using Windows 10 or a different cable?
[Nexus 5X Q&A, Help & Troubleshooting] berndblb:
So I guess the bootloader is not unlocked so that you could flash the firmware in fastboot?

Post Screenshots of Device Manager with the phone connected in fastboot mode and when in download mode. What you see there is normal btw... Could well be that you have the blasted KDB driver installed that got pushed to Win10 and Win 7 machines. I have automatic driver updates turned off an it still "updates" my adb/fastboot drivers to the effing KDB crap. Manually rolling the driver back to Google Universal v9.x (not v11.x) gives me access to the phone again. Try it. Good luck
[Nexus 5X Q&A, Help & Troubleshooting] Oczosinkoo:
Yeah, you're right. I am running v11.x. My pc is in a different language, but I think that you'll be able to understand it anyway.

Devmgmt in the bootloader/fastboot mode: https://gyazo.com/afdf27541cd5d7981ae0fd03b1dbb8dd

Devmgmt in download mode: https://gyazo.com/de3dfbde7a8f308046cf4fd5ba43e6e3

Where can I find the v9 version of this driver? I've done some Googleing but couldn't find it.

Thanks in advance.

(Reason for editing: Pictures didn't show when I inserted them with URL)
[Nexus 5X Q&A, Help & Troubleshooting] berndblb:
I'll look for the drivers tonite, check back later..
[Nexus 5X Q&A, Help & Troubleshooting] jamiexx:
Hello!

First off, greatly appreciate what you guys are doing here, excellent work!

I'm wondering if anyone knows the solution to my problem: LGUP does not see my phone. Other toolkits do, in fact, even LGUP sees the phone (as per log) but still doesn't connect - wonder why?

[20:40:35] Start Find Available USB Port
[20:40:35] Find 0 Qualcomm HS-USB QDLoader 9008 (COM41)
[20:40:39] CBasicComControl::IsConnected, the port(COM-1) connection is not detected

Other toolkits see my phone, however, I am missing some essential files to flash the tot/mbn files in the tot. Namely:

msm8992 firehose programmer

rawprogram0.xml

patch0.xml

As far as I can see, LGUP is the only toolkit which doesn't require these files, however, LGUP is also the only toolkit that doesn't work.

If I force the phone into a fresh QDLoader9008 mode (leave plugged in, hold power and vol up for 15-30 seconds), emmcdl.exe gives me the following output:

C:\Users\jamiexx\Documents>emmcdl.exe -p COM41 -info
Version 2.15
SerialNumber: 0x01a56426
MSM_HW_ID: 0x009690e1
OEM_PK_HASH: 0xb5baca995aec012db32eb9e49ca340f7d4c26153aaa60c5a82a03f99afc698e3
SBL SW Version: 0x00000000
Status: 0 The operation completed successfully.

However, after sending it any firehose flash programmer, it no longer responds to the info request (or anything else). This is probably because I don't have the right firehose file.

Can someone point me in the right direction? Thanks!

EDIT: I have found a firehose programmer that seemingly works with the LG 8992, however, I still don't have the xml files. How would one go about obtaining these? Can these be manually crafted? I still have another working N5X if that helps.
[Nexus 5X Q&A, Help & Troubleshooting] 70challenger:
I have the same issue as you, tried two different computer and cables, so it is the phone that is not deciding to connect. It did detect once and load firmware flash on the screen but eventually went into boot loop before I could do the next steps. Now I can't get it detected. Any help would be great or the phone is toast as LG won't help me and not worth spending $150 to fix.
[Nexus 5X Q&A, Help & Troubleshooting] jacksmilz:
hi,I followed the guide, and the flash went fine, but the phone stops on "google."

I'm Italian, maybe I need another version of firmware?

Where can I find it?

thanks
[Nexus 5X Q&A, Help & Troubleshooting] herrieberry:
I tried this and it worked for me!

After flashing it will reboot and again stuck on Google logo.

Follow these steps:

1. Press and hold power+ volume down, it will go into bootloader

2. Go to recovery mode

3. There will be an Android lying on its back with an exclamatory mark(!)

4. Press power and just after that press volume up. Not together, immediately after pressing power keep it on hold and you have to press the volume up. Phone will be into Android recovery mode. This is not similar to how you enter bootloader.

5. You will have some options there. Select update with ADB sideload option.

6. Then open a command window on your pc. Enter the command adb sideload path-of-the-OTA

You can copy the path easily by holding shift key then clicking your right mouse button, select copy as path. After pasting it on command window remove the "" marks from the path.

7. After the flashing is finished wipe cache then wipe data just like mentioned in the post. Then select the reboot system option. And watch your phone boot again.

succes! (It's copied from this thread)
[Nexus 5X Q&A, Help & Troubleshooting] Michel-NL:
VARIANT: bullhead LGH791F 32GB

BOOTLOADER VERSION: BHZ11M

BASEBAND VERSION: M8994F-2.6.22.0.56

SECURE BOOT: enabled

DEVICE STATE: locked

Used files: from the opening post

Bootloader: working

Boot to recovery > Google logo is shown, then the device turns of.

When I try the LGUP tool with power button and volume up key pressed the Nexus 5x shortly comes in a 'download' mode screen and then turns of.

Windows 10 with Nexus 5x in bootloader mode

Device Manager > LeMobile Android Device > Android Bootloader Interface driver version 11.0.0.0

Got any tips or suggestions?
[Nexus 5X Q&A, Help & Troubleshooting] berndblb:
What about the steps in the post above yours???
[Nexus 5X Q&A, Help & Troubleshooting] Michel-NL:
No joy, when I want to go into Recovery the Google logo is shown, then the device turns off.

After retrying the freezer method, this time 30 minutes, I was able to use the LGUP to push the tot file.

At 100% the device turned off, 15 minutes waiting and nothing happend. So I turned the phone on, but it was still in the bootloop.

This time however I was able to get into recovery! So I flashed the latest full OTA zip file.

After this the phone actually booted and I was able to start the 'first run wizard'. God I was happy!

After a couple of minutes how ever, the phone got stuck in the wizard, rebooted and again entered the bootloop. :(
[Nexus 5X Q&A, Help & Troubleshooting] flatpedals:
I have a Nexus 5X (H791) as my daily driver, that I bought in Dec 2016 for €300. It's got 2 year warranty and I think it won't get the bootloop issue since it has left the Korean factory in Oct 2016, they should have fixed by then. Anyway, It's working fine for now. :)

Recently I wanted to buy a spare battery while they are still around. But I ended up getting another H791 for €60. Used, not a scratch, screen protector on, full box. BUT, I got it so cheap because it has the bootloop issue.

I can get into bootloader, recovery, download mode. It bootloops after showing the dots animation for a few seconds.

It's locked, recovery shows it's running MDA89E, from back in Oct 2015, if I'm not mistaken.

It still shows that build number, despite flashing .tot with LGUP and adb sideloading two N builds.

I tried the freezer trick but it still hangs at the four dots.

I'm pretty convinced it needs a reflow of the eMMC because some part of the flashing doesn't stick, even though every LGUP flash and adb sideload didn't return any error - that old build number it's still there.

Surprisingly enough, the bootloader and baseband versions are the latest ones, from the latest N build that I sideloaded, but the build number in stock recovery is still the old one.

Now, I'm not really committed to making it boot, since I have all the spare parts in pristine condition for €60 (not including the board, of course), but I'm wondering if I'm missing something.

I've read every single post of this thread, I think there were two other posts reporting roughly the same state.

Any suggestions, other than sending it off to China for a reflow and upgrade to 4gigs of RAM? :)
[Nexus 5X Q&A, Help & Troubleshooting] Juba05:
TOT file for - Nexus 5 X ( 16 gb ).

This is the link for TWRP backup ( 16 gb )

who can make the TOT file for Nexus 5x ?

https://yadi.sk/d/kfZh52Er3JLQBC
[Nexus 5X Q&A, Help & Troubleshooting] flatpedals:
There already is a .tot for the 16GB version. Or you could use the 32GB version and then sideload a build.

Read the thread, not just pop questions.