yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] squabbi:
Oh right! Yep you can just use that custom kernel then :) so the steps that you wrote in one of your previous messages should work, as long as that custom kernel works on the version of Android that AICP is based off of.
[Nexus 6P General] Jfelips:
Just saw your tutorial on YouTube and it's very well explained, I'll try to do it on aicp. Thank you so much!!
[Nexus 6P General] tarunsai14:
Thanks a lot. It worked. The phone works smoothly with a slight lag. These customer care people at Google and Huawei are so illiterate that all they can think of doing is replacing the motherboard. They could've easily followed the process mentioned here in Xda forum and make phones work. But no, they just don't care. Really frustrated with Google and Huawei.

My oem was locked and kept trying for one month heating the phone using hairdryer, dumping it in the freezer. Nothing worked. Finally, yesterday I drained the battery completely, then kept it in the freezer for an hour, then removed and plugged in the charger for couple of minutes, pressed the power button. Viola! It turned on, I quickly went and unlocked oem and usb debugging in settings. The phone went into bootloop again after 10 minutes.

Then I followed your procedure, the phone works. But I have not flashed ElementalX kernel or Magisk, should I do it? I am scared if I go into bootloader recovery again, the phone might not turn on. Please help. Thanks in advance.
[Nexus 6P General] TheToto318:
SuperXE 8.1.0_r2 (12/30) 4 Cores boot patch

Hi guys,

Little update with this 4 cores patch for the 12/30 version of the SuperXE Custom ROM to flash after the ROM !:D

Don't forget to hit thanks !

And Happy New Year !
[Nexus 6P General] adilau:
Happy New Year!!

My oem was locked and kept trying for one month heating the phone using hairdryer.... where exactly heating the motherboard, near the fingerprint sensor or the other side?

Sent from Google Nexus
[Nexus 6P General] ivan leo:
this file is flash from recovery?
[Nexus 6P General] TheToto318:
Yes or from fastboot !
[Nexus 6P General] Truechunks:
Used the video tutorial to patch boot.img from Lineage 15.1 (Oreo 8.1) from this thread: [ROM][UNOFFICIAL] LineageOS 15.1 for Nexus 6P (angler) by razorloves . Flashed it and gapps from that thread, 4-core EX kernel from this thread and Magisk 15.2. Having already succeeded with the BLOD instructions here to get stock 8.1 running, Vendor, Bootloader and Radio were already in place. Also 4-core TWRP 3.2 recovery from here already done (3.2 or higher is required for this rom). Excellent stuff here - both the written and video tutorial. (I came close, but didn't quite get it done until I watched the video. Couldn't easily see what was needed for the third of the three files to edit.) Phone booted like a champ. I'm confident I can restore the stock nandroid backup with a few swipes if I want. Now I can check out this early version of Lineage 15.1 while I wait for the official release. More thanks are in order.
[Nexus 6P General] squabbi:
Added January 2018 Build of Android 8.1

Links updated in post 2.

Added 8.1.0 (OPM3.171019.013, Jan 2018) - MD5: 0d937293bfc53cf820c8ee43200d7676

Let me know if it works for you! :)
[Nexus 6P General] europeanpaul:
Do I have to follow whole procedure, just to update to jan18?
[Nexus 6P General] squabbi:
It's just the same as updating your phone using the factory images. Except you use the patched boot image instead.

So flash, bootloader, radio, system, vendor and patched boot image. :good:
[Nexus 6P General] sunandoghosh:
Sorry its too technical so pls help me understand that if i update jan update straight like in past am i missing something and is this thread still relevant as i am not using any custom rom? kindly elaborate
[Nexus 6P General] Jfelips:
Is it possible to update twrp to 3.2.1?

Edit: Another question everytime I wanna update stock I have to reflash everything again? And loose internal storage?
[Nexus 6P General] MugZona:
Awesome! Currently running 8.1 with the patch. Updated flawlessly and runs smoothly.

My bootloop took place December 28, so here's hoping the fix lasts and I can keep using this device.

Thank you!!
[Nexus 6P General] MugZona:
Reflashing according to the directions will not cause you to lose any data. It's just like a regular software update.

Just remember to keep using the corresponding patched 4 core boot image, instead of the factory one, for each update.
[Nexus 6P General] Jfelips:
Thx, good to know.

But If I'm on a custom rom and go to stock it will loose internal storage, right?
[Nexus 6P General] luksz:
I think I have trouble reading procedures today. :)

I have followed it properly this time and patched the Jan 2018 image. Works no problem. Thank you. :)
[Nexus 6P General] TheToto318:
TWRP 3.2.1-0 4 Cores Fix

Hi guys,

This is the TWRP 3.2.1-0 with the 4 Cores Fix and fully working :)

https://www.androidfilehost.com/?fid=745849072291698840

I will soon create a large database of my images for the nexus 6p on Androidfilehost I keep you informed :)
[Nexus 6P General] ok2ok:
My Nexus 6P has been fixed by rewiring the CPU to the motherboard at a repair shop. Now it's revived with all 8 cores working correctly. Hope it can survive for another year.
[Nexus 6P General] JsChiSurf:
Wondering if you might have a modified version of ElementalX's 6.01 for the January 2018 update? Or, if you have a link for modifications via source I wouldn't mind taking a stab as well. Thanks.
[Nexus 6P General] TheToto318:
My 4 Cores Images database

Hi guys,

This is my androidfilehost database with all my 4 Cores Images !
[MENTION=4752144]squabbi[/MENTION] can you put this link instead of the old ? :)

https://androidfilehost.com/?w=files&flid=239377
[Nexus 6P General] Starfire-1:
I recently read through this material so that I could learn to be self-sufficient, i.e. edit the sources myself and have it work. It ended up not being too tough.

With respect to ElementalX, I downloaded the newest 6.01 zip file, found the file ./boot/cmdline.sh and added maxcpus=4 to the final command line construction.

echo "cmdline = androidboot.hardware=angler androidboot.console=ttyHSL0 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 boot_cpus=0-3 maxcpus=4 " $cpu_max_a53 $cpu_max_a57 > /tmp/cmdline.cfg

Make sure you have a space after the '4' so that the arguments do not run together. This was all I needed to do.
[Nexus 6P General] JsChiSurf:
Ha, that's what I get for being too lazy to research. Thanks for the point in the right direction.
[Nexus 6P General] Sharfuddin Ahmed:
Hello.. Flahed your twrp. It's asking for password i pressed cancel but now it's not showing my internal storage:(
[Nexus 6P General] TheToto318:
Because your storage is encrypted ! Look at the 1st post
[Nexus 6P General] Scyzor:
After trick with a hairdryer I was able to go behind the Google and able to flash.
[Nexus 6P General] MrMarques01:
I'll upload a 4 core version of the latest ElementalX kernel later today or tomorrow

---------- Post added at 03:52 AM ---------- Previous post was at 03:33 AM ----------

Alright, here's the modified 4-core ElementalX 6.01 kernel.

Download

https://goo.gl/pbTd3L

Instructions:

Flash the modified stock boot.img for Android 8.1 that can be found in post 2 using fastboot or TWRP (This is important)

Flash ElementalX-N6P-6.01-4cores.zip using TWRP

All credit goes to [MENTION=4684315]flar2[/MENTION] for the kernel, [MENTION=5288606]XCnathan32[/MENTION] and [MENTION=2004880]xls654[/MENTION] for creating the 4core patch, and [MENTION=4752144]squabbi[/MENTION] for the modified 8.1 stock image.

[MENTION=4752144]squabbi[/MENTION] As always, feel free to do with the zip as you please (adding it to the OP, etc.)
[Nexus 6P General] Sharfuddin Ahmed:
Okk.. I've formatted my internal storage... Now my storage is visible.. I flashed the nitrogen os rom then gapps then modified opm1 patch boot image then modified ex 4 core kernel... Now I can go till the nitrogen bootlogo (passed the google logo) but it now gets stuck there forever:(

Any help would be appreciated.

Thanks!
[Nexus 6P General] TheToto318:
The opm1 patch is not working with nitrogen i will patch the nitrogen os boot image this afternoon and upload it on my androidfilehost !
[Nexus 6P General] Sharfuddin Ahmed:
Thanks so much:good:.. I'll be waiting for ya:laugh:

---------- Post added at 01:02 PM ---------- Previous post was at 12:54 PM ----------

And btw I've also tried to do same with crdroid.. that too goes till its bootlogo and gets stuck there.
[Nexus 6P General] TheToto318:
Yes is normal i will upload crdroid 4cores image too !?
[Nexus 6P General] Sharfuddin Ahmed:
Haha.. you are great.. hope those work.. And btw I've a doubt ...do the boot images have to be modified every month for that particular rom? For eg. currently nitrogen is based on dec sec patch (that is opm1) but soon the new update will come with jan sec patch that is opm3.. so If I get your omp1 version of ROM's patched boot image running on dec sec patch of the rom, do I have to flash again the modified opm3 patch boot image of nitrogen os when it's new update comes?

Thanks again!
[Nexus 6P General] TheToto318:
Hi,

I will try to update the patched boot image over the ROM update ! And you have to probably flash new patched boot image before update
[Nexus 6P General] Scyzor:
Followed all the steps + TWRP but now I'm stuck on infinity Android logo (those spinning colorful dots). What part went wrong?

How can I check also if I have disabled those cluster cores?
[Nexus 6P General] TheToto318:
Vendor image ? Reflash it
[Nexus 6P General] Sharfuddin Ahmed:
Thanks!!!!:D
[Nexus 6P General] Scyzor:
So I have flashed system, vendor and TWRP again. Still the same - can't go over android spinning dots.

Other thing is that now TWRP is asking about password when previously was able to access using "default" password.

Any thoughts what to try next?
[Nexus 6P General] TheToto318:
For the password format internal storage (1st post)

What boot image are you flashed ? And with what ROM ?
[Nexus 6P General] Scyzor:
OK. Did internal storage wipe (via fastboot - TWRP can't mount it). Now I was able to boot to the system.

I was following all the steps from the OP and I have flashed that patched boot image for January 2018 as I have flashed stock ROM (8.1.0 from January 2018).

What app do I need to use to see if those cluster cores are disabled?
[Nexus 6P General] TheToto318:
4 Cores Fix for a few ROM

As promised this is the 4 Cores boot images for crDroid, LineageOS and Nitrogen OS !

crDroid : https://www.androidfilehost.com/?fid=673791459329071516

Lineage OS : https://www.androidfilehost.com/?fid=889964283620776557

Nitrogen-OS : https://www.androidfilehost.com/?fid=673791459329071520

All my images are available here : https://www.androidfilehost.com/?w=files&flid=239377
[Nexus 6P General] Sharfuddin Ahmed:
Thanks so much Bud! Gonna try it.. Will report back..

Btw are these steps correct?

1st- Flashing vendor opm1

2nd-patched nos boot image.

3rd-ROM

4th-gapps

5th-Magisk

6th-Ex 4 core 6.01 ?

Thanks again!
[Nexus 6P General] TheToto318:
Yes it's that !
[Nexus 6P General] Sharfuddin Ahmed:
Deleted
[Nexus 6P General] TheToto318:
deleted

---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------

You can use Droid Hardware Info : https://play.google.com/store/apps/details?id=com.inkwired.droidinfo&hl=fr
[Nexus 6P General] Sharfuddin Ahmed:
Can't believe! Finally booted to the ROM..:victory:

You are the Saviour!!!

However that steps didn't work... It again leaded to the ROM logo and got stucked there... So I did like this:-

1st- Flashed vendor opm1

2nd-rom

3rd-gapps

4th-patch boot image.

Then booted the ROM... Then booted back to recovery and flashed

5th-Magisk.. Then Booted back to the ROM again..

Didn't try The modified ex kernel. Will try it later and if it works then I'll edit this post:laugh:

Let's hope now the phone survive like this...

Thanks again for your help Brother!!

EDIT:-EX modified 6.01 working fine!!!:victory:
[Nexus 6P General] knirirr:
This evening I flashed the Jan. 2018 8.1.0 update following the instructions in post #2. The phone is fine for about an hour, after which it starts to become slower, then rapidly becoming completely unresponsive and requiring a reboot. A second flash hasn't helped, and I wonder whether I can get away with reverting to the Dec. 2017 build.

Has anyone else seen anything similar?
[Nexus 6P General] TheToto318:
No problem !:good:

Glad it works :D
[Nexus 6P General] Sharfuddin Ahmed:
:D:) btw NOS based on opm3 has been released:silly:...

https://xdaforums.com/nexus-6p/development/rom-oms-nitrogen-os-o-26-12-2017-t3725887/post75104452

Now again waiting for your patched image:laugh::angel:
[Nexus 6P General] TheToto318:
Update of my boot images !

Hi guys,

This is the updated boot image for crDroid and Nitrogen-OS ! Tell me if it working i don't have the time to try (family dinners :)) but normaly it's work ! :D

crDroid : https://www.androidfilehost.com/?fid=962157660013070087

Nitrogen-OS : https://www.androidfilehost.com/?fid=745849072291699149

All my images and kernel : https://www.androidfilehost.com/?w=files&flid=239377
[Nexus 6P General] mdfarazb2:
Working fine for NitrogenOS.

Thanks! ??
[Nexus 6P General] sms473:
Hi TheToto318

thanks for your hard work and sharing.

I was trying to patch the boot images on my own as per the vdo instruction of the OP ..and I noticed following his instructions (which is very noob friendly and extremely helpful) I could patch the stock images (opm 1 & 3) and make it work but I could not make it work for any 8.1 AOSP ROMs like cr droid or nitrogen.

You did the miracle for AOSP ROMs. Would you please care to share how you are doing it! Thanks in advance.
[Nexus 6P General] nihar1024:
Hi, do I have to flash the EX kernel as well as the 4 core boot.img or can I just flash the 4 core boot.img and it should work?
[Nexus 6P General] mdfarazb2:
No..4 core Kernel is not compulsary:)
[Nexus 6P General] knirirr:
...and the answer is that flashing back to the Dec. 2017 version appears at first to work, but after an hour or so I'm back to the same freezing problem with the phone having to be rebooted.

Perhaps it's time to purchase another device.
[Nexus 6P General] mdfarazb2:
Did you try The Modified EX kernel? I'm using it too and don't experience much lags during normal surfing...(except fb)
[Nexus 6P General] Scyzor:
Link?
[Nexus 6P General] nihar1024:
Oh ok thanks!

---------- Post added at 04:35 AM ---------- Previous post was at 04:24 AM ----------

I've been trying to create my own 4coreboot.img from the 8.1 stock boot.img and I used abootimg to unpack (sorry if that's not the correct term) the boot.img. After this, I can make modifications to boot.cfg (config) but I don't know how to unpack/repack the initrd.img (ramdisk) to make modifications in there as well. Can someone suggest a tool that I could use to unpack/repack initrd.img (ramdisk)? Thanks!

---------- Post added at 04:43 AM ---------- Previous post was at 04:35 AM ----------

Nevermind I didn't see post #3.
[Nexus 6P General] mdfarazb2:
https://xdaforums.com/nexus-6p/general/guide-tutorial-nexus-6p-bootloop-death-t3716330/post75094606
[Nexus 6P General] knirirr:
Not at present, though I might see if I can manage to try it tonight.

I'm not really sure what's going on and whether a new kernel would help. Previously, whilst running a stock version on OPR5.170623.011 IIRC it developed the BLOD and was updated with the 4-core fix to OPM1.171019.011; no problems at all over the holidays. When I then used the same technique to go to OPM3.171019.013 it started locking up and requiring a forced reboot within the hour, as mentioned previously. Going back to OPM1.171019.011 made no difference and since then I've also done a factory reset and installed an unofficial LineageOS build, with the same lack of success.
[Nexus 6P General] squabbi:
Not sure if someone else responded (too lazy to check :D), but no, as long as you don't ever let your phone boot up using the stock boot image you don't need to format userdata again. As that part is only to decrypt your data partition to be used with TWRP. :)
[Nexus 6P General] nihar1024:
I wondering if it would be possible to in the boot.img enable maybe one or two of the big cores along with the small cores to improve the performance even more? Has anyone tried this yet? And what were the results?
[Nexus 6P General] kevinips:
boot lineage os

I created the boot image for the OS 15.1 unofficial lineage ROMhttps://drive.google.com/open?id=1W8tN1m_0sgfS1O3fYScO5VovKu7zCo8w
[Nexus 6P General] Scyzor:
I thought that ElementalX 6.01 kernel is different than EX Modified Kernel. Silly me... :silly:
[Nexus 6P General] nihar1024:
Thanks, but I already know how to patch my own boot.img.

What I was trying to ask is - We already know how to patch a boot.img to only use the 4 small cores instead of the default 8 (4 small, 4 big). Now, I was wondering if it is possible to maybe make it use (for eg.) 4 small and 1 big core or 4 small and 2 big cores. Being able to use even 1 or 2 big cores might significantly improve the performance of the device and reduce the load on the small cores.

NOTE: I've just recently started trying to build the boot.img so I'm just trying to understand it better...
[Nexus 6P General] mdfarazb2:
Haha. It's same just big cores disabled..
[Nexus 6P General] 18yusuf:
Can you explain what they did more specifically? Did they replace the CPU? Or just reball your CPU?
[Nexus 6P General] squabbi:
Thanks for sharing! Please don't quote the whole post next time :) thank you!

I'll add it to the 2nd post!
[Nexus 6P General] squabbi:
Added New Downloads: TWRP, EX Kernel and More ROMs!

Hello everyone! :)

Thanks to our fabulous contributors in this thread, I've updated the second post accordingly. The changes are noted down below:

+Added image collections in post 2

Contains patches made by [MENTION=7678899]TheToto318[/MENTION] (You're going to have a heap of notifications ;) ).

[Android Oreo 8.1 Custom ROMs]

+LineageOS 15.1 Unofficial (Unknown Build)

+Nitrogen-OS-angler-20180106 4 Cores Fix

+crDroidAndroid-8.1-20180103 4 Cores Fix

+crDroidAndroid-8.1-20180107-angler-v4.0-BETA7 4 Cores Fix

+Nitrogen-OS-O-angler-20171226 4 Cores Fix

+Lineage-15.1-20171229 4 Cores Fix

[Android 8.1 Oreo Custom Kernels]

+Elemental-X 6.01 4-core

[TWRP]

+TWRP 3.2.1-0 Patched Image

Keep it up guys! :)

And as always, happy flashing! :good:
[Nexus 6P General] squabbi:
I don't know much about this either, but maybe we can remove the

maxcpus=4

build cmd argument and instead just make changes to init.angler.rc to ensure that only for example cores: 0-3 (small) and 4 (single big core).

An example line may look like this:

write /dev/cpuset/foreground/cpus 0-3, 4
[Nexus 6P General] squabbi:
You should be just fine flashing either a custom kernel or Magisk over the patched boot image. :)
[Nexus 6P General] squabbi:
So are you actually experiencing the bootloop of death? If so, you'll want to continue using the patched boot images. Ensure that you download and use the correct boot image that matches the build of Android that you are updating to.
[Nexus 6P General] nihar1024:
Yeah I should probably try this since it could really boost the performance. Unfortunately, I'm traveling right now and will only be able to try this once I get back home. :(

Thanks! I'll let you know how it goes...

---------- Post added at 06:59 PM ---------- Previous post was at 06:13 PM ----------

Wow you seem to be good at this! I'm just starting out and I recently patched the boot image of the stock ROM but have not yet been able to get the patch that I created for lineage os or slimrom to work. I wanted to know, what did you do to get it to work with all these custom roms? Did you edit the config and ramdisk like in the stock boot image or did you do something differently? Thanks!
[Nexus 6P General] TheToto318:
Hi guys !

I have a big problem and I will soon be exploding ! :crying:

My nexus 6p went into bootloop with the 4 Cores Patch :crying::crying:

I do not know what to do but I think that's the end! :(
[Nexus 6P General] mdfarazb2:
What happened bud? Is everything all right?
[Nexus 6P General] TheToto318:
My nexus 6p ... read my other post !:(
[Nexus 6P General] mdfarazb2:
Oh man ****! That's very sad:(

Since when were you using the 4 core patch?
[Nexus 6P General] sms473:
Sorry buddy. I guess all of us visiting this thread will end up just like you sooner or later.

Since this thread was created by the OP so others can patch their preferred boot image at their own.

Now, Do you mind to share the procedure for patching AOSP roms boot image! Please.
[Nexus 6P General] squabbi:
It's the same thing except for most custom ROMs, you don't need to edit

fstab.angler

as they have usually already removed forced encryption and verify.
[Nexus 6P General] squabbi:
Yeah it seems to be inevitable. :( Sorry for your loss and thanks for patching various boot images before!

As someone else mentioned in the thread, you may be able to reball the SoC at an electronics repair shop, although that may be hard to find.
[Nexus 6P General] fuadhdmini:
[MENTION=4752144]squabbi[/MENTION] speaking of having everything stock. Is it possible to have stock recovery modified for 4 cores, and boot image modified for 4 cores with force encryption. Really wanna go stock + encryption.

Can help?
[Nexus 6P General] TheToto318:
Since september !?
[Nexus 6P General] mdfarazb2:
That's very sad bro:( Did you find any solution yet? :crying:
[Nexus 6P General] TheToto318:
I have my Nexus 5 for the moment I will see this afternoon !?
[Nexus 6P General] squabbi:
We should be able to do the stock boot image, however apparently we still need verify disabled, but we can force encryption. This may limit your ability to use TWRP, but if that's not your priority, then that's ok ;)

I can take a look at doing the boot image tomorrow and see if we can do anything with the stock recovery image. :)
[Nexus 6P General] mdfarazb2:
Hope you get it fixed
[Nexus 6P General] sharpz811:
Just wanted to say I'm on the January build and my 6p has been using this fix from last August! Still surviving! Thanks a bunch OP
[Nexus 6P General] tarunsai14:
Hey, I got an OTA security update for January and I clicked it, phone tried to restart but now it wont start up, I tried flashing all the image files, but phone wont boot up, it shows 'Device cant be checked for corruption. Please lock the bootloader'. Please help.
[Nexus 6P General] TheToto318:
I think is dead !

I will resell it and I already find another Nexus 6p but this time with all the functional hearts!?
[Nexus 6P General] Popengine:
Forgive me but my English is too low to read and understand the whole post.

I retrieved a stocking the Nexus, since it works on four cores.

I feel broken and desperate. I understand that the phone has been broken and has no solution.

I have called Google and Huawei without achieving anything. My warranty is over a month ago. They only recommend the technical service.

I can not believe it. Has it really broken? So much money spent for this?
[Nexus 6P General] teacha:
It worked!

Confirming that the patch works with 8.1.0 (OPM3.171019.013). In my case, I didn't have OEM unlocking selected in the settings when my phone suddenly decided to bootloop on me. I heated up the back with a hair dryer on 'high' for about 4-5 minutes and was able to boot into the phone to change the setting. It stayed on and functional for one day, after this then went right back into bootloop.

Thank you for the easy to follow instructions! And this is coming from someone who hasn't dabbled with their device like this in a while! I applied the patch 2 days now and I haven't seen any issues pop up *fingers crossed*. Haven't seen that much of a performance hit either, even in games. Thank you so so so much! I love my Nexus 6p, couldn't part with it just yet :D