yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] CptAodh:
Thanks to this thread and others I managed to fix my bootlooping 5x, which is now working fine again. However I have had the automatic update notification for a couple of weeks now, prompting me to update to 8.1.0 which I understand I can't do without going back to bootlooping again.

I'm struggling to understand what I need to do now to get this update installed manually, and I'm hoping someone cacn explain steps by steps? I've tried the following but it doesn't seem to do much:

* Downloaded bullhead-opm3.171019.013-factory-20d65754.zip - System image for Oreo 8.1 (OPM3.171019.013, Jan 2018), boot-4Core-bullhead-OPM3.171019.013.img - 4 core version of the boot.img of Oreo 8.1 & recovery-img-4core-opm3.171019.013.img

* Booted my device into fastboot mode

* Flashed boot.img extracted from bullhead-opm3.171019.013-factory-20d65754.zip, then flashed boot-4Core-bullhead-OPM3.171019.013.img, and then finally flashed recovery-img-4core-opm3.171019.013.img.

Once I reboot my device everything works fine, but I still get the update notification which I assume means the system is not not up to date with the latest version. I don't seem to get any error message either when flashing any of the images to my phone. I'm quite new to all this so any help is more than welcome. :)
[Nexus 5X General] :
You are only flashing the boot. The updated files are often in the system partition so you have to flash that too. Also all the radio files etc. are important. You can either modify the script file in the update package or flash all the files manually.
[Nexus 5X General] wilberlm12:
source code

You could share the source code of:

boot-4Core-bullhead-OPM3.171019.013.img - 4 core version of the boot.img of Oreo 8.1

recovery-img-4core-opm3.171019.013.img

Please
[Nexus 5X General] RegularSam:
Flash this recovery from bootloader https://drive.google.com/file/d/0B7TP6GXR0wAVdmFIX1hrck5rOFE/view?usp=drivesdk

It's the TWRP 3.1.1 modified for using 4 cores, it should work.

Also, there's a new flashable zip file called AK2 by Osm0sis which will fix all the stuff (kernel, recovery, etc...) for using only 4 cores so you can fix what you want to install directly from the phone. You only need to install this recovery before so you can access to TWRP and do the rest.

You can find this zip file here: https://basketbuild.com/devs/osm0sis/osmods

The one called N5X-6P_BLOD_Workaround_Injector_Addon-AK2-signed.zip
[Nexus 5X General] TXKSSnapper:
FYI for anyone who is going to use osm0sis's AnyKernel2 script, it does not disable encryption which the original fix does.
[Nexus 5X General] :
Well all the modified images have the same modifications. If someone really needs it I can upload each build but I don't see it necessary.

https://github.com/T1mpp4/4Core-Android-5X
[Nexus 5X General] smoke_007:
Step by step process to install the monthly security updates and BLOD fix

Current URL for updates

https://xdaforums.com/nexus-5x/general/nexus-5x-bootloop-death-blod-andorid-t3683926

To do monthly security patch updates, visit the top of the current URL. Download 3 required files: System Image .zip, boot .img file, and recovery .img file. Unzip the system image zip file. Copy the folder with all these files locally to your ADB folder.

Navigate within extracted zip file folder to find flash-all.bat file and edit. Find "fastboot -w update" line and delete -w so phone is not wiped on update. Only skip this step if you do want the phone to be wiped on update.

Boot phone into bootloader mode by pressing and holding volume down and power button from powered off state. From command prompt window, run flash-all.bat file to install update. Once done, the phone will bootloop again.

Boot phone into bootloader mode again by pressing and holding volume down and power button. Flash updated boot .img by running command with current boot .img file name, example:

fastboot flash boot boot-4Core-bullhead-opm3.171019.013.img

Optional, flash updated recovery .img by running command with current recovery .img file name, example:

fastboot flash recovery recovery-img-4core-opm3.171019.013.img

Boot phone normal using Start onscreen option.

Thank you T1mb3 for the continued monthly fixes!
[Nexus 5X General] CptAodh:
Thanks a lot for that, had to wipe my phone for last update but will try this trick next time. Quick question though, what does the updated recovery file change? I had issues whenever I used it, my phone would only boot to recovery and nothing else, so I had to leave the original recovery .img file for it to work. Wondering what's the difference?
[Nexus 5X General] smoke_007:
I believe the recovery .img file T1mb3 is providing is an updated, modified version of the stock recovery. If you are using something like twrp recovery, flashing T1mb3's supplied recovery would overwrite your old recovery. As I said in the directions above, flashing recovery was optional for the monthly security updates. If I'm wrong about T1mb3 recovery .img file, I'm sure someone will correct me. ;)

Cheers
[Nexus 5X General] :
Well the recovery is the stock recovery but uses only 4 cores so it can be used on blod devices
[Nexus 5X General] wilberlm12:
but it would not be bad if you upload it to give it a look, if you can. Thank you
[Nexus 5X General] :
I will upload sources when the February security patch is released.
[Nexus 5X General] rojocapo:
Thanks for the help on this thread, my son's 5X is usable once again. Is there any way to pass SafetyNet so I can watch Netflix?
[Nexus 5X General] joenun:
download and install Netflix from apkmirror.com

---------- Post added at 02:33 PM ---------- Previous post was at 02:25 PM ----------

where can i disable encryption inside N5X-6P_BLOD_Workaround_Injector_Addon-AK2-signed?
[Nexus 5X General] rojocapo:
Thanks, that worked fine.
[Nexus 5X General] TXKSSnapper:
You can also use Magisk to bypass SafetyNet.

You would need to add commands to the install script. I'm pretty sure all the edits needed are in bullhead.fstab as seen here .
[Nexus 5X General] WiKDMoNKY:
I followed the directions to the T on my opm3 updated 5X that just started the bootloop out of nowhere today. Now it is just stuck on the 4 animated dots and never getting to the point of entering the pre-boot security pin. I just need to get into the phone for 20 min to back up my texts, the rest I can backup from recovery. What am I missing?

Bootloop all day

Rebooted into bootloader using power and volume down

opened command line with working adb and fastboot

fastboot flash boot boot-4Core-bullhead-opm3.171019.013.img

fastboot flash recovery recovery-img-4core-opm3.171019.013.img

used volume/power button to choose start

It has been sitting there with the animated dots for about 30 min now. Phone was stock rooted with the latest security updates (opm3).

What can I do?
[Nexus 5X General] kashyapkovvali:
Nexus 5X BLOD..... Stuck at google logo

Followed the whole procedure...

1. Flashed the stock android ( bullhead-opm3.171019.013)

2. Flashed the modified 4 core file (boot-4Core-bullhead-opm3.171019.013)

3. Flashed the TWRP3_1_1_5X recovery

But now it got stuck at google logo. What am I supposed to do now?
[Nexus 5X General] alex_swe:
Try to boot into Recovery mode, then 1. Wipe Data/Factory reset, then 2. Wipe cache partition.

Does it help?
[Nexus 5X General] :
February build is done now! XDA labs frontpage froze for me so didn't get to know about the release..
[Nexus 5X General] Gae_One:
hello

I've flashed the february factory, then used disable_cpu_cores.py

the phone boot fine, but I cannot go in recovery mode, maybe recovery_4c.img was not correctly patched by disable_cpu_cores.py ?

ciao

Gaetano
[Nexus 5X General] pixbuf:
I tried the February bullhead-opm5.171019.015-factory-1a2de10b.zip, with the boot-4core-bullhead-opm5.171019.015.img from this thread: bootloops. I tried the other factory image file for February, bullhead-opm3.171019.014-factory-79f53247.zip, with the same boot-4core file and got bootloops again. Then I tried the February opm3 file with the January boot-4Core img file and this worked OK.

LG has extended the warranty for the 5X to 30 months, but I would have to wait 2 weeks to get the repaired phone back. I don't know if I can go so long without a phone.
[Nexus 5X General] kashyapkovvali:
Hey....thanks for the reply.

I've tried what you said. But there's no use. :(
[Nexus 5X General] Jrobah:
the February 4core boot image does not work. funny the January image works fine with the February update
[Nexus 5X General] :
Hmm. What exactly is not working? Not booting or not staying turned on?

It worked for me but I'll have a look right tomorrow.
[Nexus 5X General] su -:
At first, thank you very much for what you are doing:good:

I flashed Feb. update a couple of hours ago. As I can see neither boot nor recovery don't work.

I used boot and recovery from Jan. and Oreo from Feb. update, works fine so far.
[Nexus 5X General] enqless:
Can someone clarify what gonna happen if I flash osmosis-mod for 4-core converting over custom ROM + 4coreEXKernel as I have it now. Will I get my data encrypted forcing me to full wipe or not?

Or if I would switch back to 4coreEX Kernel after such experiments? Once I got all encrypted after first time encounter bootlooping 5X and trying recover it by any available means and didn't got why it happened, so now I dont have any wish to fail again with it.
[Nexus 5X General] Jrobah:
stuck on a bootloop
[Nexus 5X General] :
Now it should be fine.
[Nexus 5X General] su -:
Recovery doesn't work still.
[Nexus 5X General] domagoj:
thx to this fix, my phone is working again!

many thanks to the developer
[Nexus 5X General] :
Of course.. it propably has the same typo.

Few hours and it'll be fine
[Nexus 5X General] Kiran Navale:
Feb Updated Did Not WORK

Feb Updated File Not Working....
[Nexus 5X General] adilau:
Try with January 4core ...it works for someone here...
[Nexus 5X General] :
Could you tell what is not working? Please, even tell if you are talkimg about boot or recovery, bootloop, no boot or what.

These images are tested by me. This last version did disable the cores just fine for me.
[Nexus 5X General] nightstepper:
Nexus 5X back to life!

I have bought a second hand Nexus 5X 16GB with a bootloop before 2 weeks. OEM unlock was disabled and device was frp locked. After spending a significant amount of time between freezer, LGUP I managed to completely unlock OEM and wipe FRP. After I have flashed successfully stock 8.1 February update and the corresponding boot-4core-bullhead-opm5.171019.015.img it took me some time to realize that kernel 5xEX5_034core.zip probably is not compatible (freezes in boot). I am still not familiar with TWRP and how to use recovery-4core-bullhead-opm5.171019.015.img and I am wondering how I am going to update without accidentally erase my data and how I can make a backup.

A massive THANK YOU!!!! to T1mb3 and XCnathan32
[Nexus 5X General] sibeans:
I was able to install all the February files but for some reason, I cannot boot into recovery after. And now the 5x has trouble just booting. If I can get it to boot, would the next best step be trying out January?
[Nexus 5X General] LeoSunky:
More risk to get bootloop using 8.1?

Hey i have a nexus 5x running android 6.0.1 and im worryed about this boot problem, so i should update to 8.1 or is better stay with 6.0.1? which one have mor chance to get the bootloop problem? :confused:
[Nexus 5X General] Kiran Navale:
Whats Not Working In Feb Update...

I Flashed The Feb Firmware,then modified 4 Core Boot.img File of Feb Update And TWRP Recovery Modified ....And My Nexus 5x Stuck at Boot animation......And January Update Was Working Fine...Also Want To Ask You About The Pixel Rom(8.0) Based Which Boot.img File Will Work on Pixel Rom.
[Nexus 5X General] :
Just update. You may or may not get the problem anyway. It doesn't depend on Android version
[Nexus 5X General] :
Hmm. Does anyone have Feb bootimage working? I got it fine with a clean install at least.
[Nexus 5X General] :
Flash twrp recocery and take a backup. Just be sure not to delete it accidentally (if you need to factory reset etc.)
[Nexus 5X General] :
Now the recovery is redone. It works just fine for me, so does boot.img.
[Nexus 5X General] nextlevelcolors:
I can't download the boot.img file, the link to boot.img for February 8.1 directs me to download the recovery file, and the recovery file's link says it has been deleted.

Thank you for all your work btw :)
[Nexus 5X General] Kiran Navale:
Feb Update Modified Boot.img issue Fixed

So i spend some time figuring out why Feb Update Was not Working,i extracted the feb boot.img and found that split_img/boot.img-cmdline is not edited properly for 4Core so i modified it myself and now the Feb Update is Working Properly.

Download Feb Boot.img : http://www35.zippyshare.com/v/An3VWx33/file.html

Thanks.
[Nexus 5X General] rogconnect:
feb boot image is missing, Please fix it [MENTION=7280252]T1mb3[/MENTION] Thanks

---------- Post added at 12:42 ---------- Previous post was at 12:37 ----------

thanks it boot up nicely
[Nexus 5X General] nextlevelcolors:
Hey, I tried this and my phone still bootloops, has been on the 4 dots for the last 15 minutes. I was already on latest 8.1 but sideloaded the OTA to be safe before using this, is there something I'm doing wrong? I also flashed the 4 core recovery from the original post.

Any help would be appreciated, it's my only phone!

UPDATE - so then the phone went into restarting every few seconds, barely starting the loop animation before freezing and restarting. It went full black screen for a bit, and now the only thing that stops this restarting loop is going to fastboot.
[Nexus 5X General] :
Sorry. My bad. I updated the wrong link.

The problem was a typo in the cmdline. I had typed max_cpus while I should have typed "maxcpus"...
[Nexus 5X General] Sesse_:
Hi,

My 5x started bootlooping yesterday (it literally froze in my hands, and then bootlooped). I tried downloading the latest boot and recovery, and I've verified the boot image says “maxcpus”, but it's still stuck at the four dots. (I've waited several hours.) I've noticed the recovery image still says “max_cpus”; could that be a problem?

I've tried flashing 4-core TWRP (I found some random link), and I can get t it, but it can't decrypt using my PIN for whatever reason.

---------- Post added at 08:09 PM ---------- Previous post was at 07:44 PM ----------

OK, I tried the second latest version (flashed factory image except wipe, then flashed boot and recovery), and it's got the same problem. I can boot into regular recovery, and somehow managed to do _something_ by hitting the wrong button (I hope I didn't wipe—I really want the data on the phone, much more than I want it to boot!), but without working TWRP or similar, I can't extract anything from it.
[Nexus 5X General] :
I just updated the file an hour ago. Give it a try. Then maybe January image.
[Nexus 5X General] Sesse_:
Unfortunately, no go. Also no go with January image.

It's a bit strange—I don't even get anything in logcat.
[Nexus 5X General] :
Try to use january patch.
[Nexus 5X General] Sesse_:
I don't understand; I already said the January image doesn't work. Is the January patch something different from the January image? I've also tried the January boot.img on top of the February stock image.
[Nexus 5X General] :
No. Use the january build from google and flash modified january images.
[Nexus 5X General] Sesse_:
Yes, I've already done that. It does not work.
[Nexus 5X General] *system error*:
Working great.

Thanks to everyone involved. Had it working great on the OG thread. Have since, months later decided to hit O. Hit a couple of snags but once I found Mr. Osmosis from Halifax's N5X_6P_BLOD_Workaround_Injector_Addon-AK2.zip, I was up in no time.

People with issues. :

Update your phone to whichever factory build you please (consistent with the custom ROM build version you choose if any) you can flash the files manually or open the the zip and double click flash all .bat

grab 2 files (bullhead recovery and N5X_6P_BLOD_Workaround_Injector_Addon-AK2.zip) from here. https://basketbuild.com/devs/osm0sis/osmods

flash the recovery from fastboot, (fastboot flash recovery "recovery_name.img" no quotes)

at this point I booted recovery copied over my Custom ROM

*assume you know the process , follow OP in the ROM thread of your choosing.* I Clean Flashed ROM , Gapps, Shadow Kernel 3.1 (Optional), supersu sr5/Magisk your choice, then Osmosis addon.

booted up first try.

:D
[Nexus 5X General] Jrobah:
Did anyone get a workaround for a custom rom? Stock rom is really boring
[Nexus 5X General] *system error*:
Right here............

https://xdaforums.com/showpost.php?p=75540074&postcount=455
[Nexus 5X General] Jrobah:
Flashed this and it worked
[Nexus 5X General] renaistre:
I'm having the same issue, I think. I was able to get mine working again with the 7.1.2 (N2G47O, May 2017) factory image and the N2G47Z_4Cores.img combination, for some reason (going back to this thread: https://www.xda-developers.com/nexus-5x-bootloop-fix-boot-phone/). That's awesome.

But then I tried the February and then the January system images and corresponding boot-4core images from the first post in this thread and after flashing both (system image from the batch file and boot-4core image from "fastboot flash boot ...") and rebooting it gets stuck on the spinning circles (not freezing and then cycling back to the Google logo, though, as it was originally).

I'll try again later with the December images and see if the third time is the charm. But if anyone has ideas as to what's going on, I'd appreciate it.
[Nexus 5X General] Sesse_:
YES! N2G47Z works where the other images didn't—it boots to a point where I can run adb. Unfortunately the apps on the phone were less happy about being downgraded from 8.0 to 7.1, so com.android.phone dies on startup and then I can't get to the UI. Not entirely sure what to do about it without erasing userdata :)

---------- Post added at 09:49 AM ---------- Previous post was at 09:29 AM ----------

To save you some time; OPR6.170623.013 (Aug 2017, first 8.0.0 image) does not work. It gets to the four dots and spins indefinitely.

I tried running CF-AutoRoot on 7.1, modifying the boot.img myself (it's just a matter of changing boot_cpus and adding maxcpus, you can do it in any reasonable text editor). It booted to the point of the phone app crashing again, but not to the point where adb root worked. So I guess the actual rooting procedure happens a little bit later.

So what I need is a pre-rooted 7.1 image, I think, to extract the data I want. Then I can reset userdata and use 7.1 from there. Or find a suitable 7.1 exploit that can be run from adb…
[Nexus 5X General] Jrobah:
do you mind naming the steps to be followed
[Nexus 5X General] renaistre:
Which recovery file do we need? I didn't see one on the osm0sis page that looked right. So I tried with recovery-4core-bullhead-opm5.171019.015.img from here, and I can get to the ADB update. But then when I try to sideload the addon, the phone gives me an error that says "Signature verification failed." Not sure if my issue is with the recovery or with the addon.
[Nexus 5X General] *system error*:
I flashed the twrp recovery for bullhead it says fbe at the end. Use that recovery to flash the add-on patch from osmosis.
[Nexus 5X General] Sesse_:
With sideload? I tried this:

Flash latest Android O factory image

Flash TWRP 4core recovery

Choose “Sideload”

adb sideload N5X-6P_BLOD_Workaround_Injector_Addon-AK2-signed.zip

Reboot

It flashed and booted just fine, got to the four dots, stood there for a while and then went back into recovery. So it didn't help.

On the bright side, suddenly TWRP now wanted to decrypt my disk! So now I'm working on getting a backup, at least.
[Nexus 5X General] *system error*:
I dont see why sideload would pose a problem.

Personally, I have kept it on internal and jumped to few custom ROMS with custom kernels. like 4 times in 2 days. just to see if I can break it. No go they keep booting.

how are you flashing the latest? officially or retaining your userdata?

Get your backup and factory reset that puppy.
[Nexus 5X General] Sesse_:
Retaining userdata. Now that the backup is done, I'll probably contact LG first of all to see about a repair. :)
[Nexus 5X General] EmiRus:
[MENTION=4597440]*system error*[/MENTION] THANKS MAN u saved my life hah phone is alive now again....

can i take normal updates a before now too? so the monthly updates as usual?

thanks again..
[Nexus 5X General] *system error*:
I didn't do it, you did. :)

As well find osm0sis here on XDA and thank him. It is his script that implements the changes that need to happen.

As far as updates. It should not be hard if the OTA borks. I haven't taken an OTA since kitkat days on the N5, and what I recall is that it wrote over my recovery back to stock. Now that's 4 OSs ago.. sorry Im not sure....anyone?

but keep the two files handy ready to fastboot/ recovery install zip after you d/l and flash the new update. and you should be good to go.

---------- Post added at 12:09 AM ---------- Previous post was at 12:03 AM ----------

I would do that too. In the meantime get it up and running when you get that postage, flash all to non working and send it in .

now that you have that backup, Clean flash it.
[Nexus 5X General] hjeunm:
After apply the Feb patches my phones still goes into bootloop, dont know why :(

Will it work if i flash older ROM and patches?
[Nexus 5X General] EmiRus:
[MENTION=246965]SystemError[/MENTION] ok thanks man i will stay ready with the both Files for next update
[Nexus 5X General] Addicted2Bass:
Guys is there a way to update phone without the wiping?
[Nexus 5X General] EmiRus:
Why does this fbe recovery stick and why doesnt the "normal" recovery stick on my n5x?

If i flash normal twrp it doesnt survive after a boot, but this recovery sticks..?

Just curious..
[Nexus 5X General] Jrobah:
every month you have to flash that month's modified boot image

---------- Post added at 11:51 AM ---------- Previous post was at 11:49 AM ----------

Yes, you edit the flash-all.bat file in Notepad, remove the -w then save n run it
[Nexus 5X General] Addicted2Bass:
Thx!!
[Nexus 5X General] Jrobah:
make it look something like this
[Nexus 5X General] :
Are the files from me working for anyone?
[Nexus 5X General] EmiRus:
Why shouldnt they?
[Nexus 5X General] *system error*:
I went straight to custom so I'm not sure. Sorry..
[Nexus 5X General] :
Well they should. And they do, for me.

But I really can't keep up with this conversation, who is talking about my files and who about system_error stuff.:eek:
[Nexus 5X General] luis dambrowski:
I do not know if this is the right place; but I'm not finding a solution!

I have a 5X nexus with bootloop; unlocked; I have all the files to block the two cores;

but the cell phone does not connect to the pc; just charge; already tried to install the drivers but without success; I do not know what I can do.
[Nexus 5X General] Zeropo:
Not for me, unfortunately:( I've tried 7.0 and 8.0/8.1 images but none of them worked
[Nexus 5X General] *system error*:
Sorry to derail the thread.

I will refrain.
[Nexus 5X General] renaistre:
To follow up on my situation, in case it's helpful to anyone, the fix that worked on mine most straight-forwardly was to use the bullhead-n2g47z stock image, do the flash-all.bat, and then do fastboot flash boot N2G47Z_4Cores.img from the original thread.

That got me working the first time I tried it.

The downside is that my phone is still acting up. It's slow (expected), but also still having other issues. Occasional reboots (sometimes with a few cycles before booting all the way), home button stops working, wifi intermittently stops working, etc. So I went ahead and ordered an upgrade. But this kept me going for a couple of days at least. Thanks for all the information here.
[Nexus 5X General] EmiRus:
yeah after few days phone got now totally bricked up just black screen nothin to do.. will send it lg but need to find out how to find out imei..

can hardly get into bootloader :(
[Nexus 5X General] nightstepper1553:
Check Sim tray [emoji6]

Στάλθηκε από το Nexus 5X μου χρησιμοποιώντας Tapatalk