yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] NoobInToto:
https://developer.android.com/about/versions/o/download.html [MENTION=5288606]XCnathan32[/MENTION]

Can we have the modified boot.img for oreo?

I look forward to flashing the update.

Edit: sorry, that apparently is dp4 :/
[Nexus 6P General] vladtdr:
So if we flash the Android o image. We just need the modified kernel with 4 cores ? That should be fairly simple right? Can we do this ourselves? Would be nice if the developer would include the option to dezactivate the big cores in aroma
[Nexus 6P General] newtonfb:
My 6p just started bootlooping yesturday. It will boot when I heat it up with hairdryer tho. Will O have any chance at a fix for us? Lower cores? What the worse if I just flash O...have to heat up my 6p if I restart and it wont boot up?
[Nexus 6P General] corona_gorda:
Thanks for the responses. I do think the original kernel, still wanting to use 8 cores, is the basis of my rebooting 6P whenever battery goes below 85% or so and if I multitask a lot.

As for rooting, which do you recommend (Magisk or SuperSU) considering I am a newbie and want a safe, stable phone ? If you have an instructional video; i'd like to have the link please !

Thanks, again
[Nexus 6P General] zmeflyby:
My phone has been bootlooping for over a week. I gave up and bought another phone. I have tried everything here.
[Nexus 6P General] Tivaldi:
I find it easier to flash a kernel than a modified boot.img since I flash roms every now and again. I'd be on Ressurection Remix one month and Pure Nexus another.

I don't know how far SuperSU has come since I last used it, but magisk provided me with a multitude of features, mainly a concept called Magisk Hide, that hides root access for certain app - like a bank app, or snapchat (they don't work if they identify your phone as rooted). Secondly magisk has a few things called Magisk modules. They're kind of like add-ons.

First link off youtube was this, seems good : https://www.youtube.com/watch?v=N8Ui0PpFcBc

(Heisenberg's Guide) Please follow everything here as well : https://xdaforums.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928

(strongly suggested downloading the required files from the second link above)

I cannot stress again, as pointed out in my previous post, Heisenberg's guide is completely thorough. I have bookmarked it, subscribed to it and saved a bloody copy of the webpage on my PC - just in case. (for rooting, simply follow steps 1,2,4,5,6)

(replace SuperSU with Magisk)

Everything he wrote in it, is 100% newbie friendly. Give it a read, watch a video while reading it. Once you do it, you'll be surprised at how easy it was.

Friendly note since I made this error the first time: REMOVE YOUR PHONE PASSWORD BEFORE YOU ROOT. Makes life easier.
[Nexus 6P General] XCnathan32:
Working on Android O right now, hopefully I can get this to work, because I really want to use Android O.

Edit: If anyone reading this has a Working 8 core 6P with Android O, please contact me. I would like logs from a working device so I can compare the differences in between a working device and a 4 core device.
[Nexus 6P General] marktsadkin:
Does this has something to do with us?

https://source.android.com/devices/tech/debug/rescue-party
[Nexus 6P General] XCnathan32:
Definitely seems like it could be related to that, as I have been noticing that it reboots to recovery after loading the boot animation for a couple minutes. I'll look into it more, thanks for that.

Edit: Users also reported abnormally long first boots with this fix. Maybe this fix somehow causes something to crash, but it eventually sorts out with enough time, but rescue-party restarts it before it can fix it.
[Nexus 6P General] josealb:
I updated to Android O with a defective Nexus 6P and sure enough I have bootloop again now.

Hope you guys can work out the fix soon, in the mean time I will see if I can get a replacement with the warranty..
[Nexus 6P General] newtonfb:
Flashed O and rebooted within a half hour and stuck in loop. No surprising but was curious to see if "Rescue=Party " did anything
[Nexus 6P General] XCnathan32:
Update on the O fix: It seems I'm getting SELinux errors which are preventing init processes from running. Files for SELinux contexts are different compared to the 48C ramdisk and Android O ramdisk. I'll see if I can figure out what changed with SElinux.

Edit: Yep, Google has a 30 page document on SELinux in Android O, time to do some reading...

Edit 2: So the new SELinux policy requires /system and /vendor to be mounted early, however on the 4 core 6P, first stage mount is skipped. I was looking at the O kernel commits, and found a bug report that seemed to be exactly what I was facing

Test: Test angler [codename for 6P] by removing the metdata argument in fstab when it

boots fine. Tested by adding the argument when it fails to boot as

veritymode gets set to EIO during early mount due to lack of access to

properties as expected.

TODO: fs_mgr must pull the veritymode from kernel cmdline or device tree

by itself

This seems promising, hopefully I can find a fix soon.

While you wait for your replacement, just flash back to Android 7.1.2
[Nexus 6P General] Finerminer:
Looking good! Just to add my experience so far (since I'm waiting for an 8.0 fix). Got my 6p up by hairdryer, backed it all up and now I'm on Oreo. It probably won't last but if you get a fix working you deserve a beer (or any equivalent item). :good:
[Nexus 6P General] hikhokk:
Can anyone helpt to provide me the modified boot image for 7.1.1. I have a bootloped 6p, running stock 7.1.1 when it happened. Or can i just use the modified 7.1.2 instead because I have tried it and it seem to stuck in bootanimation for a while now. I thought maybe because I flashed modified 7.1.2 instead of 7.1.1. I appreciated if someone could help me.

---------- Post added at 10:56 AM ---------- Previous post was at 10:30 AM ----------

IS there software anything like this on Windows?
[Nexus 6P General] vladtdr:
Cant you just modify the ElementalX kernel for Android o to use 4 cores?
[Nexus 6P General] newtorom:
Did you heat the phone while doing this?

---------- Post added at 10:37 PM ---------- Previous post was at 10:35 PM ----------

Did you heat the phone while you did this?
[Nexus 6P General] fuadhdmini:
He's been trying since the developer preview guys (check the OP). Even he himself really wanted Android O for his Nexus 6p.

Let's not be pushy.
[Nexus 6P General] vladtdr:
I thought he was talking about modifying boot.img
[Nexus 6P General] fuadhdmini:
Feel free to check previous post (way back during developer preview 3 coming to DP4) when he updated us what's the outcome when he tried the same modifications for Android O.

And boot image contains kernel too. If he can make it with stock boot image, he'll then be able to apply the same on custom kernel.
[Nexus 6P General] xls654:
remove this from fstab.angler, android o bootloop is gone,

,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata

,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata

,forcefdeorfbe=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata

my nexus 6p (only 4 cores) is boot fine and run no problem on android o opr6
[Nexus 6P General] dnsh89:
[MENTION=5288606]XCnathan32[/MENTION] check this out if it works... Eagerly waiting for your fix for OREO :laugh:
[Nexus 6P General] NoobInToto:
Can you post the boot.img somewhere?
[Nexus 6P General] fuadhdmini:
+1
[Nexus 6P General] hikhokk:
have anybody who successfully boot their N6P using this guide has issue internal storage is not mounted. When I access via TWRP it doesnt show internal storage (not mounted). But when I boot the phone normally, i can access the internal storage normally
[Nexus 6P General] marktsadkin:
I had this problem yesterday.

What I found is that after you cancel the password decryption you have to go to "WIPE" and slide there to "factory reset", it would not erase you sdcard since it can't mount the data. Then go to internal storage, sdcard and there should be TWRP folder. Inside the folder put the exkarnel and flash it. If you don't see the folder, you need to format userdata (this will erase your all I data) trough the fastboot so the decryption will be erased. Then do the steps all over again.
[Nexus 6P General] skynet11:
My bootloader is unlocked and I've flashed the 48B boot image and the modified TWRP recovery at least 10 times each but it's still bootlooping between the "can't be checked for corruption" screen and the Google logo every time I try to go to recovery. Am I missing something here or is my phone just a hopeless cause?
[Nexus 6P General] vladtdr:
I guess your little cores are ****ed 2?
[Nexus 6P General] corona_gorda:
**** Well I think I'm done for this time!

In following preparatory instructions on the video for rooting, in advanced wipe in TWRP 3.3.3.0, (where I need to change cache, data and system partitions to EXT4) ..... I accidentally WIPED the cache (or data, can't recall) partitions...! Now my 6p is bricked ! It only boots to an everlasting GOOGLE welcome screen. All attempts to flash back 6p48C.img show it to be successful but still, the phone doesn't go past the Google welcome screen even after the 20 minutes wait time recommended by XCnathan at the head of this forum.

Anyone know if and how I can get my phone to boot into android again ? With this mishap, am I F***ed ?
[Nexus 6P General] XCnathan32:
You most likely wiped your ROM, flash the stock firmware, then reflash the modified boot image and you should be fine.
[Nexus 6P General] XCnathan32:
Update: Android O is working!

Thank you for sharing, it worked perfectly for me! My dumb*** forgot to delete to comma. I'll upload the image to OP and give you credit.
[Nexus 6P General] Thulasya:
Yesterday my Nexus 6p start to boot loop. I tried every thing but works some time and again start boot loop.

It's Android 7.2

Any suggestions ?
[Nexus 6P General] Tivaldi:
Woah woah woah. Calm down.

First things first. You always have hope if you can move to bootloader screen. Press Power button and Vol Down key simultaneously for 5 seconds till the bootloader screen opens (like in the video).

Once that is done, go here: https://developers.google.com/android/images#angler and download the latest 7.1.2 image.

NOW FOLLOW HEISENBERG'S GUIDE. I will ALWAYS trust that thread over anything else in the world. I can't stress this enough. That shiz is the dope. Read point number TEN (10) to flash back to stock image. Read VERY carefully, word by word what he says to do and what he says not to do. The whole process becomes second nature after the first few times you root a phone. I have been in your position, with identical panic, so relax. It's very likely salvageable.

Step 1 ) Flash to stock as written in guide.

Step 2) come back here with a calm mind

Step 3) follow the steps in OP - First flash OP's TWRP zip.

Step 4) Boot into recovery.

Step 5) Copy paste the Kernel file into internal storage and flash it using TWRP.

Ezpz. You'll look back at this and smile later.

Again, just in case I didn't make it clear the first ten times, FOLLOW THE GUIDE ON XDA. DON'T TAKE SHORTCUTS. Do ALL the adb commands, don't use any toolkits. The video is for reference and knowing what kind of screens you will find when doing the process for the first time. The guide is your bible. MAKE BACKUPS - as suggested and told, by the guide.

Edit: linked relevant guide.
[Nexus 6P General] corona_gorda:
- In "Stock firmware"; do you mean Pure Nexus or the Official Android 7.1.2 Angler build from Google ? Could I be as bold as going for the brand new Android O ?

- Then modified boot image, I imagine you mean the "Boot.img from stock 48C, 7.1.2 firmware" (I guess not if I flashed Android O !)

BTW, I still have not managed to reach & pick the modified kernel zip from TWRP even after I copied it to my phone's /SDCARD folder. Your explanations make sense and the videos show the zip file appearing when one navigates to /SDCARD in TWRP Install but it's just not happening on my phone...! There must be a step I missed but is taken for granted in the explanations & videos...! Any insight to solve this would be very useful !

Regards
[Nexus 6P General] XCnathan32:
Official Android 7.1.2 firmware from Google. Although Android O is working now, so you can flash that too.
[Nexus 6P General] hikhokk:
This is working! Thanks man!!!
[Nexus 6P General] newtonfb:
stupid question....If we flash the Oreo boot.img, can we flash the Kernel to improve performance still?
[Nexus 6P General] XCnathan32:
No custom kernel has support for Android O DP6 yet, but I expect that they should come within a day or two.
[Nexus 6P General] xian2380:
how can i flash android 8.0？should flash by factory image？
[Nexus 6P General] XCnathan32:
That's the way I did it.
[Nexus 6P General] xian2380:
ok,one more quetion,if i want custom rom based on android 8.0,how can i flash,or just waiting the custom kernel？
[Nexus 6P General] corona_gorda:
Thanks for keeping my hopes up ! I had not realized that my past post was that panicky ! I will try your steps tonight and report back !

Next day update: Reboots are still occurring! I can work with the phone while plugged in to recharge (making it essentially... a land line!) or until the battery reaches 85% at which time it can shutdown, falsely thinking the battery is dead, anytime thereafter. Upon recharging, the battery icon goes from 50% to 100%, seemingly to confirm that an apparent drop of 85% to 50% occurred. Is this software related ? battery related ? Motherboard or daughterboard related ? Has anyone investigated this problem ?
[Nexus 6P General] XCnathan32:
Flash the custom ROM, and the flash the 4 core boot.img over it.
[Nexus 6P General] xian2380:
ok thanks buddy for reply
[Nexus 6P General] THERAJ12:
Very excited to try this out...will the modified boot image auto encrypt the phone and therefore wipe data? Custom kernels can turn off auto encrypt only right?
[Nexus 6P General] Thulasya:
Hi Guys

Please post guide to do this step by step for android 8.

Because i did as for this https://www.xda-developers.com/nexus-6p-bootloop-fix/

and phone is stuck in boot animation

regards

Thula
[Nexus 6P General] XCnathan32:
I turned off forced encryption in the stock kernel, I actually need to add that to OP.
[Nexus 6P General] marktsadkin:
It's the same, but before you flash anything you need to flash Android 8.

After that, flash the boot.img of Oreo and that's it.
[Nexus 6P General] Thulasya:
you need to flush mean ?

that i have to upgrade android 8 and then go with fastboot command ?
[Nexus 6P General] vladtdr:
ElementalX for dp4 working with no problems for me.
[Nexus 6P General] josealb:
Hey! Thanks for all the help, I saw you uploaded a new img for Oreo. I flashed it though and I'm stuck on the 4 color dots for more than 30 minutes. Should I do a factory reset?
[Nexus 6P General] fuadhdmini:
Yeah! On Oreo. Gosh the initial boot was the fastest I ever experienced.
[Nexus 6P General] josealb:
Can you do this using the OTA or do you need to flash the original image?

I installed the Oreo OTA then flashed and I'm also stuck on the boot animation
[Nexus 6P General] marktsadkin:
You have to update to android 8 trough fastboot, but replace the stock boot.img with the modified boot.img

I don't know how about the OTA, but I flashed with fastboot commands and it works for me!
[Nexus 6P General] Thulasya:
can you post how to do it by steps
[Nexus 6P General] NoobInToto:
I flashed oreo (rp6) factory image over august nougat build. I removed the -w flag from flash-all.bat and flashed it. After a reboot, i flashed the boot.img

I am stuck in bootanimation for...idk how long. I think its been over 20 minutes. It is not bootlooping though. Just stuck in the colourful animation.

Is this normal or do i have to reset? I recall dirty flashing like this earlier... i ended up factory resetting that time. I don't want to lose my data now
[Nexus 6P General] marktsadkin:
Assuming you already have USB drivers and fastboot installed.

If you want to use TWRP recovery too then download it from OP and flash it instead of stock recovery.img

1. First download Android 8.0 factory image and modified boot.img from OP.

2. Extract factory image zip, and the zip inside it.

3. Enter bootloader on device and connect the device to the computer.

4.

5. fastboot reboot
[Nexus 6P General] Thulasya:
hi , sorry for the trouble but what you mean by "1. First download Android 8.0 factory image and modified boot.img from OP."
[Nexus 6P General] marktsadkin:
You have to download Nexus 6P android 8.0 factory image (which I linked in the reply) to flash it to the device, and download the modified boot.img (which is here in the OP) to "fix" the bootloop.
[Nexus 6P General] dnsh89:
Hey looks like EX5.0.2 is working with oreo.. can we expect a 4cores kernel of that.. or wait for the new build..
[Nexus 6P General] Thulasya:
noted and startup my device , will see if still bootloop will appear or not

thank you :)
[Nexus 6P General] kach22:
Is anyone facing the same issue? I am unable to install August security patch after running my nexus 6P with 4 cores and modified boot image. The security patch downloads and the phone restart as usual as part of the installation. But it reboot into TWRP recovery and I have to manually reboot into system. After rebooting I checked and found that the patch was not installed with a notification like "the installation could not be verified, try again". Am I missing something or doing something wrong? Or is it just 4 cores that is not capable of installing the security patch?

Other than that the device is working greatly and I have also noticed battery life improvement.
[Nexus 6P General] burduli:
No, I did not.
[Nexus 6P General] dacuban1473:
Your the best...Awesome Work

I was stuck in bootloop when installing any version of android O whether installing manually or OTA...... and about gave up. But I came back to this page cause I had to use the boot images you provided to install Stock Android 7.12, Pure Nexus or about anything. Looked at the post and saw the Android O modded boot image, downloaded it. Did a manual install of Radio and Vendor. Then used Flash-all.bat to install Android O. Rebooted into Bootloader and Flashed your boot image for Oreo, and was up and running in less then a minute. You saved me again. Awesome Work!!!!! More need to know about this online for sure...
[Nexus 6P General] matt95:
Thank you guys, I am trying right now to install the new Oreo release and then I'll flash your custom boot.img after that. Getting to you with news in a few minutes
[Nexus 6P General] metallicant:
Can this be dirty flashed over Pure Nexus rom w/4 core elemental kernal?
[Nexus 6P General] Tivaldi:
If I remove the command from flash-all.bat that flashes userdata as well, would it just install the operating system without removing apps?

Basically wanted a way to flash Oreo without removing personal files.
[Nexus 6P General] SlimSnoopOS:
Yes you are missing something. Modified system will not be able to install a Google security update. Google did not make those changes so the OTA does not recognize them and therefore it fails. It'll fail because of root, custom kernel, TWRP, pretty much anything except unmodified, stock. Try installing the full OTA image if Google has provided it for whichever OS you are moving to.
[Nexus 6P General] digweed4me:
all flashed through twrp

oreo 8.0 vendor

wipe all

flash superxe oreo zip

and flash 4coreimg through twrp

everything working good thanks dev
[Nexus 6P General] metallicant:
Where did you download super oreo zip from?

DISREGARD. I found the link....
[Nexus 6P General] S_M_E:
No luck here, maybe I missed something that changed. Bootloader already unlocked, NRT installed.

Boot loader says

BL: angler-03.68

baseband: angler-03.81

Followed the guide here: https://www.xda-developers.com/nexus-6p-bootloop-fix/ (Kernel and twrp)

Rebooted and waited (and waited) but never got past the 4 dots animation.

Trying to fix it without losing data. Ideas?
[Nexus 6P General] metallicant:
Does picture in picture work for you? Some are saying it doesn't work in superxe oreo...
[Nexus 6P General] digweed4me:
IT SHOULD BE enabled in system tuner but my system tuner doesnt have pip
[Nexus 6P General] FallenHermes:
can anyone report back on the battery performance SOT with his fix and does this fix help with early battery shutdowns and the battery drainage
[Nexus 6P General] XCnathan32:
Yeah, DP4 should work fine, but I decided to wait for the official release, since that would get all the preview bugs ironed out.
[Nexus 6P General] zerofourfiveone:
Got into Android O and got everything set up but didn't want to wait until it crashed and triggered the bootloop again. Used the Android O bootfile and now it's stuck on the 4 dots loading screen.
[Nexus 6P General] dnsh89:
Sounds good.. flash kernel is out though... If you can check that out..:good:
[Nexus 6P General] metallicant:
Has anyone had any luck dirty flashing from Android N to O?
[Nexus 6P General] MaKTaiL:
I'm stuck at the 4 dot boot animation too. I just flashed Android O on top of Android N (only changing the boot file to the one you posted). Was anybody able to boot it?
[Nexus 6P General] Finerminer:
Well...Flashed the new boot image but no dice, seems my little's are f***** so I'm not sure what else can really be done.
[Nexus 6P General] S_M_E:
I was just about ready to try a dirty flash from angler to oreo, maybe I'll wait and see if somebody replies to my earlier post. There should be a way to fix it without wiping everything.
[Nexus 6P General] MaKTaiL:
My device usually asks for my password before booting, but with the boot image he provided it never shows that while stuck at the animation. He said he disabled forced encryption, maybe that's what's preventing it from booting on my device. I'm not being asked for my password.

EDIT

I'm currently trying to boot it with the original image so I can at least see Android Oreo running before flashing the new modified image. Stuck on the infamous bootoop for now. Fingers crossed.

EDIT 2

No luck here. I'm just gonna have to way for your fix.
[Nexus 6P General] matt95:
Ok, it does work!

Flashed Android O with the flash-all.sh file, after that I flashed the boot.img provided here and it booted in like 5mins!
[Nexus 6P General] dacuban1473:
Maybe

Seems alot are still stuck in Bootloop.

Dont know if this helps, but alot of people could not load or had problems

installing factory images with this mode showing DISABLED.

"download mode"= DISABLED on bootloader screen

To enable use command in bootloader "fastboot oem ramdump enable"

I Enabled mine right before installing Android O with Oreo4Cores Boot Fix and all went smooth.

I Installed Both radio and bootloader in fastboot mode manually for Android O.

Then ran Flash-all.bat

Before reboot to OS held Power+Vol Down to go back to the bootloader

Then manually installed Oreo4cores.img using fastboot

Rebooted and NO Bootloop, went right to OS shortly
[Nexus 6P General] darkriff:
I tried this, mine is not booting, its stuck on the animation

EDIT: Fixed it, FLashed TWRP, then made a wipe from there, and is running smooth
[Nexus 6P General] vladtdr:
Sure. But performance is pretty bad on my Nexus with stock o. And sorry I meant to say that dp4 was working good with dp3 ElementalX when I had all the cores working. Is it hard to disable the 4 big cores in the kernel.to the end user??
[Nexus 6P General] t_m95:
stuck in boot animation after flashing the Oreo4Cores.img

android version= 7.1.2

build number= N2G48B