yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] :
Yeah I think there should not be a need to wipe, but for some people like me it just boots for ever.

At least cache and dalvik cache should be wiped, though.
[Nexus 5X General] ugly1:
Did you change the file names on the mega folder? Your recovery-fixed.img is actually the boot-4core.img

and your image-new.img is recovery-fixed.img
[Nexus 5X General] :
Yeah I got that.

I will rename right now so everyone, wait 2 minutes to avoid confusion!
[Nexus 5X General] ugly1:
I flashed yesterday and it worled :D
[Nexus 5X General] :
Good.
[Nexus 5X General] ugly1:
Thanks for your work :D
[Nexus 5X General] albysprx:
I have the March build, are bootloader and baseband the same for the May build?
[Nexus 5X General] sabya91:
May didnt work for me.. Did full wipe.. Still..

Flashed April again and its all good..

Is there a way to just sideload the update? (default system update fails)
[Nexus 5X General] DaSwedishMan:
Hi there,

I tried to flash the update. The files seem a bit messed up. The 11 MB file won't flash as boot. FAILED (remote: invalid bootloader image) Flashing the 17 MB file as boot throws the same error. Flashing the 17 MB file as recovery works, but boot into recovery results into bootloop. But flashing the 11 MB file as recovery and than booting recovery mode starts the phone normal into Android. :D

So I guess that the 11 MB file is the boot image but with a wrong checksum (?) for bootloader partition und the 17 MB file is the recovery but with an error?

Currently my phone is working, but only without the recovery mode and starting it trough the recovery mode option in fastboot. :D
[Nexus 5X General] Pleroma14:
Hello there :)

I have a Nexus 5X (it's why I'm here :p) with the "famous" problem of bootloop.

I was initialy in Android 8.0.0 but I don't remember from what month :(

So, I download the image from May and the two files (recovery-fixed and boot-fixed)

The .bat failed beacause he don't found a "image.sig" in the archive, so I executed the script step by step.

fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader bootloader-bullhead-bhz31b.img
fastboot reboot-bootloader
fastboot flash radio-bullhead-m8994f-2.6.41.5.01.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash recovery recovery-fixed.img
fastboot flash boot boot-fixed.img
fastboot reboot

All is good but my phone stay blocked at the page with the 4 colouring dots :rolleyes:

I also test the version of march and february and it was the same :(

So what do you think about this ? :confused:

I read this topic and the other about Android 7 and I don't found any solution.

Thank you :good:
[Nexus 5X General] :
You don't flash boot as bootloader. That's your issue. The files are said to be fine.

Smaller file is boot, bigger recovery (usually).

They were reported being named wrong way around, so I flipped the names. I will have time to test today to figure which file is which, but I would think the smaller is boot and bigger recovery.
[Nexus 5X General] :
You may need to wipe all data. At least try wiping cache!

About the .bat:

Wait for a while. I never finds the sig files but it continues after a few seconds!
[Nexus 5X General] Pleroma14:
Thank you T1mb3 :D !!!

I made a "Wipe data/factory reset" and it's ok :good::good:
[Nexus 5X General] TraderJack:
Hi. I'm a bit confused here. I followed [MENTION=5288606]XCnathan32[/MENTION] original thread after I was finally able to get my bootloader unlocked. I successfully fixed the phone using a version of Nougat, and then using the original O release he has posted. However all attempts to update to the latest May O build left me with just startup dots spinning. I eventually found this thread here and followed the instructions:

- Manually flashed the stock bootloader, radio, and image files with fastboot

- Flashed the custom 5-18 recovery and boot files listed in this thread.

I continued to have issues and then based on above it looks like the files were named backwards? I renamed them and flashed but still having issues.

In my various combinations I have sometimes been able to launch recovery, but I can't actually access the recovery menu, only see the android.

And, as far as booting the image I just get the spinning dots.

Since I can't get recovery I can't wipe cache...although I did a fastboot erase cache as I think it might do the same (?).

Any tips?
[Nexus 5X General] :
You said you were trying to flash the 11mb file as bootloader. That file is NOT bootloader - it is boot.

The files seem to be correctly named at the moment.
[Nexus 5X General] TraderJack:
OK...with my problems above I went ahead and loaded TWRP as my recovery image.

From TWRP I did a format of Data and that seemed to work.

I was then able to boot up via TWRP.

After successful boot I then flashed boot-fixed.img to recover (since as of noon CST today the Mega link still seems to have reversed files).

Now I can continue to boot, but I am unable to enter into recovery. All that happens is the phone reboots twice and then loads up the OS normally.

Any ideas here?

Also, I can't really find any info about why we need this patched recovery? What is the advantage/disadvantage to TWRP?

thanks!

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

Where do I say that? I say I flashed the stock bootloader.

Then I said "Flashed the custom 5-18 recovery and boot files listed in this thread."

that means:

fastboot flash boot boot.img

and

fastboot flash recovery recovery.img

right?

As of an hour ago when I downloaded these from Mega this is what I got:

05/08/2018 02:15 PM 17,855,788 boot-fixed.img

05/08/2018 02:13 PM 12,080,424 recovery-fixed.img

That would appear to be wrong based on what you said...the smaller image should be boot, yes?

---------- Post added at 09:44 AM ---------- Previous post was at 09:41 AM ----------

This is what I'm seeing right now on Mega... the smaller is recovery....right or wrong?

[IMG="Mega files"]https://s31.postimg.cc/oxch664a3/mega.png[/IMG]

thanks!
[Nexus 5X General] :
This error that you said earlier: FAILED (remote: invalid bootloader image) refers to bootloader. I don't know if that's a typo or what.

Looking at the files right now:

There has been a double mistake - the boot-fixed (once renamed) is actually recovery. And same for recovery -> boot.

I don't know what has happened here, maybe the mega app didn't change the names properly. I have no idea. It will be fixed right now.

The files are called *-true -> you can see that it is the correct file better.
[Nexus 5X General] TraderJack:
Ah you are confusing me with another poster from above. I didn't have the "invalid bootloader image" error. In fact, when I flashed the wrong ones they flashed just fine...just didn't boot right :)

OK, so I see the *-true files now and will redownload just so no confusion.

However, I'm still having a problem with the customer recovery:

1) I can't get into it from fastboot! Phone just reboots twice and then loads the OS

2) What does this custom recovery actually do? Can I just use TWRP? advantage/disadvantage?

thanks!
[Nexus 5X General] :
Definitely use TWRP. As it's not stock and updates are installed manually anyways, it's only good.

You need a 4-core TWRP though!
[Nexus 5X General] TraderJack:
I have TWRP from [MENTION=5288606]XCnathan32[/MENTION] thread. Is there a later one that someone is maintaining?

But I'm still confused as to why you provide this recovery-fixed.img file?

What is the point of it (especially if it doesn't work as mine).

Sorry for all the questions, just trying to understand all this!
[Nexus 5X General] :
You need a recovery fix to use recovery properly.

The same issue persist everywhere if the processor is running - also recovery. Not an issue if you don't use recovery.

I don't maintain twrp. Maybe somewhere you can find one!
[Nexus 5X General] TraderJack:
I'm sorry...I don't mean to harp here, I think I'm just on a different page than you... Please let me summarize so hopefully I can ask the right question here:

I just want to run the latest stock O. So, I download the factory image, flash that, then flash the latest 8.1 custom boot and custom recovery you provided.

However, with that latest custom recovery I cannot boot into recovery, so instead I used a custom TWRP.

You stated that I *should* use TWRP, but if that is the case are you just providing this custom recovery for people who don't want to use TWRP but want a 4 core patched standard recovery? If that's the case then I've got you :)

And yes, I do prefer to use TWRP, so I probably will. It is just that I have concerns that something may still not be right with my process/understanding/phone since the custom recovery you provided won't work.

Do we have evidence from anyone that they had success with the May - 8.1 custom recovery?

If so, do you have *any* idea why it just wouldn't work for me instead of TWRP?

thanks again...really appreciate all your efforts.
[Nexus 5X General] :
Yes it's only for people who want to use stock recovery.

You can use older recovery if you want to try stock. It rarely changes.

I still didn't have time to test the images, but for recocery, one may use pretty much any old image or twrp.
[Nexus 5X General] TraderJack:
Ok. Just out of curiosity are you aware of osm0sis' N5X-6P_BLOD_Workaround_Injector?:

https://xdaforums.com/showpost.php?p=75203390&postcount=1241

I would think you would be, I just mention it because it would seem that the process you put out here could be simplified somewhat by his injector.

Instead of having to create/post all the files in your OP all anyone has to do is 3 steps:

1) Install any ROM

2) Install a BLOD patched TWRP like this one

3) (optional) Install custom kernel (like EX)

4) Install the BLOD injector from above link

The process is more or less equivalent in terms of work as the one you outline, but there is no need to keep coming back or worry about posting individual boot/recovery files. Just use the same injector each time to patch.

Anyway, hope this helps someone...after hours of searching through methods it really is the most foolproof one.

thanks for all your info though...it did help me through the process (a step in the right direction)...
[Nexus 5X General] Dragan123:
Hi, I have few probably dumb and already answered questions, but I've been looking through this and the other thread and finally decided to post, I would really appreciate if someone can take the time to help me.

I'll kinda give what has been going on so you are up to speed,

I got 5x with the loop issue yesterday,

managed to unlock developer mode > usb debugging and oem ( I think letting the phone go through the loop for 4-5 mins then power button+down button then turn off phone from that screen and start again is the best option to enter the phone and unlock the developer mode, oh and a patience a lot of it :), at least try this for some time before you put it in the freezer or heat it)

from there I followed this video, pretty straightforward video, follow the steps read the instruction and you should be good. ( don't miss the fastboot flash recovery TWRP3_1_1_5X.img )

So here I am now, phone works, everything in order, so far so good, and I saw these monthly patches (mine is January 5th, 2018, version 8.1.0) but I would like to install them as well, problem is I am reading pages and pages of several threads and still have no idea what should I do or what are you all talking about :(

so the question/s is I can just jump to May update without installing the other ones?

I see three files in the May update,

the first one bullhead is a file I have met before and if I am correct I should connect the phone in fastboot mode and then click the flash all icon?

the second and third one (boot fixed and recovery fixed) I have zero clue what should I do with them, so I am hoping someone can point me in the right direction.

additional question - I see that the System takes 4.7 GB of storage, is the system really that big volume size?

Thank you for reading this post and have a nice day/night.

edit: I couldn't post the video- search How to fix Nexus 5x and 6p Bootloop issue on youtube
[Nexus 5X General] sabya91:
BOOTLOADER MUST BE UNLOCKED BEFORE DOING ANY OF THE FOLLOWING STEPS!!!!!!!!!!!!!

> connect phone to pc in fastboot mode

> go to > "bullhead-opm xxxxxx" folder (no mod factory image)

> install > "flash-all.bat" (for mac "flash-all.sh")

> connect phone to pc in fastboot again

> go to > folder containing boot fixed and recovery fixed files >

> shift + right click (on blank space) > click "open cmd/powershell window here"

> type..

fastboot devices

fastboot flash boot boot-fixed.img

fastboot reboot

after reboot...

connect phone to pc in fastboot again

in the same cmd/powershell window type..

fastboot flash recovery recovery-fixed.img

fastboot reboot

Done..

NOTE :

May files didn't work for me.. Do the same with April files if May doesn't work.

Boot fixed and recovery fixed files are different for different builds.
[Nexus 5X General] alex_swe:
Solution for those always having to wipe phone or if you want to have full control

If somehow the flash-all script always requires a full wipe, even after removing -w, here is a manual way to update the phone that worked for me! Step by step:

Pre-requisites:

- Fastboot: Make sure you have the latest Fastboot installed and on your path variable (download here), as older versions can't deal with large .img files.

- Decide if you will use the stock recovery or twrp. I prefer twrp, as I can use it to install Magisk. Either way, you should have BLOD patched 4-core version of one of these. The patched stock recovery is available in this thread and twrp here.

- You can get the latest Magist-XX.zip here. Make sure to download this on your phone before you start the upgrade below!

Upgrade instructions

> Unzip all files downloaded this thread, including zip files inside "bullhead-opm xxxxxx".zip and "image-bullhead-nnnnn.zip"

> Copy all .img files to the same folder, just to make the process easier. Open a cmd window from that folder .

> connect phone to pc in fastboot then apply the following commands:

fastboot flash bootloader bootloader-bullhead-nnnnnn.img
fastboot reboot-bootloader
fastboot flash radio radio-bullhead-nnnnnnn.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash vendor vendor.img
>apply the 4core patched boot image from this thread
fastboot flash boot boot-fixed-true.img
> (optional) install/upgrade your recovery image with a 4core patched version (stock recovery from this thread or twrp). Example with twrp:
fastboot flash recovery twrp-3.2.1-0-fbe-4core-bullhead.img (optional)
fastboot erase cache
fastboot reboot-bootloader

> upgrade done, no wipe needed!

IMPORTANT: If you use Magisk, continue here:

> boot into twrp recovery,

> Choose Install and select the previously downloaded Magisk-NN.zip file

> After installing it, twrp will ask to wipe cache/dalvik, do so.

> Now reboot phone and you should see all your apps.

> The only thing I need to do after booting up the phone was to clear cache on the Magisk Manager app (or reinstall it).
[Nexus 5X General] arun.pt:
Thanks.

December - 8.1 (OPM1.171019.011, Dec 2017) fixed bootloop problem in my Nexus 5x.
[Nexus 5X General] godovic:
I have fixed my phone according to this thread two months ago, and it worked fine.

Yesterday the phone freeze on Instagram, and after that, I cannot boot my nexus 5x.

It will stuck on google logo and than it will turn off, and you cannot even power on for a few minutes.

Somehow I managed to boot in bootloader and flashed via fastboot all the images, recovery, 4 core blabla - but it is the same :(

I can boot to bootloader but cannot boot to recovery neither with twrp with 4 core patch

any help?
[Nexus 5X General] dario2106:
I have the 5X in bootloop

I have the 8.1 patch of May

If I flash the bootfixed for patch 8.1 of may the phone does not boot me

I waited 30 minutes and I was always on the start animation

Solutions?
[Nexus 5X General] alex_swe:
Try to wipe cache With "fastboot erase cache" or a factory reset/full wipe. Or check my previous post to do it manually instead and avoid a full wipe...
[Nexus 5X General] TManchu:
I did this on my 5X, and it worked fine. However I first flashed the fixed recovery, then the system image, then the fixed boot image. I believe you need to do this in a specific order for it to work.
[Nexus 5X General] ghalalb:
Stuck on bootscreen

Thoughts please? Tried a manually update from April to May following instructions a few posts back keep user data, stuck on bootscreen for an hour. Tried full -w bat file then applied fixed boot and recovery, stuck on bootscreen for an hour. Tried LineageOS with suitable 4 core mods, stuck on..... Tried winding back to April with full flash and applied relevant fixed boot and recovery, st..... Tried different flash order, stuck.... stuck.... stuck.

Any thoughts? Or is it time for the Moto G6+

Cheers
[Nexus 5X General] :
Either your device doen't like the opm version we use or then you're doing something wrong.

Was your april a 4-core version? If yes, then you are doing something wrong.
[Nexus 5X General] ghalalb:
Thanks, i must be doing something wrong. My April was a 4 core, and it was after getting the April security OTA i got the BLOD and applied the 4core boot and recovery. Any suggestions on the right way to do it?
[Nexus 5X General] :
Follow the instructions in the first posts with the last working image (for you, may?). Report then back.
[Nexus 5X General] ghalalb:
So.............. I was using Minimal ADB and Fastboot........... realised it was throwing an error. Grabbed the proper SDK, followed instructions, worked like a charm

not good form, I will do better next time........................
[Nexus 5X General] :
What was the error?
[Nexus 5X General] ghalalb:
Minimal ADB was looking for .sig for a few of the images, after not find system.sig it halted and offered press any key to exit. I may have deleted a crucial file in there at some point. SDK did the same thing but flashed everything anyway.
[Nexus 5X General] Achilles7_7:
Nexux 5x stuck in google logo after flashing new image and modified boot 4 core img

Can somebody please help me? I followed the 1st post of this thread and flashed:

8.0.0 (OPR4.170623.006, Sep 2017) - Google system image of the September patch

boot-img-4core-opr4.170623.006.img - 4 core version of the boot.img of September security patch

recovery-img-4core-opr4.170623.013.img - 4 core version of the recovery.img of initial Oreo release (Needed in sideloading the update.zip)

However, even after doing that I'm stuck at the google logo. I tried a factory reset after that and it still the same. Can somebody tell me if i did something wrong or I can try something else?

My nexus had stopped working in the early 2017 and It had never got updated to Android Oreo.
[Nexus 5X General] ugly1:
Erase everything.

Use fastboot to flash the individual files. Don'tg use OTA, instead use the full image. Flash everything, one file at a time.

See if it works, But firts flash a 4 core version of twrp
[Nexus 5X General] Achilles7_7:
Thank you for your reply. But the file that I mentioned that's the full image, isn't it? it's not an OTA patch. I installed the full image i.e. "8.0.0 (OPR4.170623.006, Sep 2017) - Google system image of the September patch". Before installing I did a factory reset and after installing since it did not work I did the factory reset again. I did not install the twrp but that shouldn't be the cuz of the problem, can it? it's optional, right? Can somebody guide me? or do I install some other image? your help is appreciated.

---------- Post added at 02:36 PM ---------- Previous post was at 01:56 PM ----------

I downloaded the ''8.0.0 (OPR4.170623.009, Oct 2017) - Google system image of the October patch'' from the 8.0.0 from the link in the first post. Unzipped it and ran the flash-all.bat file. I installed it in ~2 mins. I restarted and flashed the boot-4 cores and recovery 4 cores similarly. And even after that The Nexus 5x is stuck between 2 screens.. So I did a factory reset after that and its the same.
[Nexus 5X General] joenun:
[MENTION=9167433]Achilles7_7[/MENTION] Firstly why not install May 8.1 image?

after you flash the image of your choice the phone will still bootloop,you should reboot to bootloader

flash the modified 4core boot in adb then you can boot the device or flash the modified recoveries (stock/TWRP)
[Nexus 5X General] K285490:
After applying these files, can I update security updates from my Android or will it break the 4-core boot+recovery partition?
[Nexus 5X General] mspasov:
It will break them. You have to apply these updates manually, with the new 4core boot and recovery images, the same way as this one. A few posts back there is an explanation how to do it without wiping data. Anyway at least the phone is working:)
[Nexus 5X General] K285490:
so, sideloading this file: https://dl.google.com/dl/android/aosp/bullhead-ota-opm4.171019.016.a1-510a2077.zip

will keep all my data intact?
[Nexus 5X General] ugly1:
Just flash the imagea
[Nexus 5X General] K285490:
1. What image do I need the flash? the one from post #2 in this thread, or the one from the link I mentioned?

2. Isn't flashing the whole image going to wipe my apps and data?

3. How do I flash without sideload?

Many thanks! Sorry for the noobie questions, I rather make sure before I mess stuff up.
[Nexus 5X General] ugly1:
Download this: bullhead-opm4.171019.016.a1-factory-d5756448.zip

Extract.

Flash with :

fastboot flash bootloader bootloader-bullhead-bhz31b.img
fastboot flash radio radio-bullhead-m8994f-2.6.41.5.01.img
Rebboot into bootlader

extract image-bullhead-opm4.171019.016.a1.zip

fastboot flash vendor vendor.img
fastboot flash system system.img

Dowload patched https://mega.nz/#F!BSQBWJ7Q!ouNEVOWUr1ocmQnILEPdSg

fastboot flash boot boot-fixed-true.img

Flash 4-core-recovery (twrp),

Reboot into recovery. Erase davlink and cache,

~Reboot et voila
[Nexus 5X General] :
Quick reply from me too:

1. I prefer the latest image. The link in my post (#2) is directly to the google download.

2. No. The script (flash-all.sh/.bat) wipes your data (-w). Images can usually be flashed fine without wiping.

3. With fastboot. I don't know what your trying to sideload.
[Nexus 5X General] :
I think the step that many people forget is to flash vendor. I don't have that on any of my other devices that I'm working with.
[Nexus 5X General] K285490:
Many many thanks to both of you!
[Nexus 5X General] selvademar:
I'm having the same problem and this doesn't let me use Google Pay. Is there any way to fix it?

thanks
[Nexus 5X General] redsmith:
My Nexus 5X refuses to boot even after flashing modified boot and recovery. Does that mean it has an additional HW problem?
[Nexus 5X General] :
That, or you did something wrong :D
[Nexus 5X General] automatic_jack:
the May files did not work for me, while the April ones did!!!

do I have to disable automatic system updates (developer options -> automatic system updates)?

thanks
[Nexus 5X General] marti201:
My phone doesn't turn on at all and I cannot get into the bootloader. People told me this is still the bootloop. Is there still a way to apply this fix? My computer only recognizes it as "Qualcomm HS-USB QDLoader 9008".
[Nexus 5X General] :
What can you do? Recovery?

Maybe your battery is dead if nothing happens when you push the power button.

I need more details!
[Nexus 5X General] :
Yes you should disable them.

Easier that way and nothing unexpected will happen.
[Nexus 5X General] marti201:
It doesn't turn on at all. I cannot access anything. When I plug it into my computer and hold down the power button, the computer detects it as either "Qualcomm HS-USB QDLoader 9008" or unknown device (seemingly at random).

I also thought the battery may be dead, so I opened up the phone and measured it. It is about 4V so I don't think that's the case.