yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] boeder9:
Can you help me with making a modified boot.img of 6.0.1 (MTC20L)?

The stock boot.img is here https://drive.google.com/file/d/0B9gZ2OL33rn3OVFZYzJGaGM3VHc/view?usp=sharing

I would be supremely grateful for you kind sir.
[Nexus 6P General] Alsen Lea:
If I flashed a custom kernel, can I use this method? I tried and it seems the update failed. Seeing from the flashfire log, the script for installing the update was aborted because of unexpected contents in system partition.

---------- Post added at 12:19 PM ---------- Previous post was at 12:15 PM ----------

Also forgot to mention, after the attempt, however my kernel was changed to the stock one. So I wasn't really sure what was going on here.
[Nexus 6P General] dolphin77:
Try this one. I cannot test. Hope I didn't miss anything.

https://drive.google.com/open?id=0Bz-QKvufSA2-d2hCN25jRlhvWHc
[Nexus 6P General] D00MX:
Worked fine

Yesterday I revived my Nexus 6P from dead thanks to you guys. I really appreciate the effort you put into it. Bootloader opened by heating the phone up with hairdryer for like 20 min then holding power button until booting animation appeared. And after flashing big cores disabling patch I got "Decryption unsuccessful" message when attempt to boot the phone which can be resolved by going to TWRP and wipe "Data" on the phone. Then it booted normally.

Currently I am not able to update to Android O because of modified software. I will probably flash it then cause I want to use latest software.

Keep up the good work. Thank you again :) :good:
[Nexus 6P General] joe99joe:
"Boot.img from stock 48C, 7.1.2 firmware: Download | Mirror. This Image is modified to use only 4 cores, and is modified to utilize the 4 cores more effectively. I have had multiple people say that first boot takes a while after flashing this, so just wait about 20 minutes before you declare something is wrong with it."

=======

I put the above in and phone seems to be working nicely. Don't really see much of a slowdown.

But what happens now when security fixes or the Android O download become available? Do I have to get a new .img file, reflash to the phone and then redo all my applications after the backup gets restored??
[Nexus 6P General] aoaleman:
Damn, thank you for this! But I tried this process with the latest ABC ROM's kernel and it just doesn't want to take for some reason. I wonder if this editing only works on stock boot IMGs.
[Nexus 6P General] NoobInToto:
Search this thread for my post on 'updating without losing data'

---------- Post added at 04:21 AM ---------- Previous post was at 04:19 AM ----------

You need new modified image and old unmodified image to update without losing data. Search this thread for my post on 'updating without losing data'
[Nexus 6P General] idhyt:
Thank you very much！You are my God！

And where can I donate it?
[Nexus 6P General] RoyLiu09:
Just to share: Using FlashFire to update OTA

Using "Flashfire" OTA update feature, i was able to apply October OTA update on my Bootloop Fix Nexus 6p.

After finishing the OTA update, reboot to recovery and apply 4 core boot image mod, Ex Kernel, SuperSu ....

Done my October OTA update and applying the XCnathan32's modified boot.img for the October Oreo update.

Re-apply SuperSU installation TRWP & ADB (push the required files over)

Thank You XCnathan32 for providing the bootloop fix.. Note: Flashfire requires a rooted phone to use.
[Nexus 6P General] rachitup:
It didnt work i tried so many times but the phone comes to that colourful circlings after the google screen but after that it goes back to the google screen. :/
[Nexus 6P General] Tusshar0143:
I was using this mod(4core 7.1.2) from last 1 month without any problem, today i was using phone and suddenly it freezed and goes off by itself...now nothing showing in display no recovery, no bootloader.only balck screen..not even bootlooping..please somebody help.
[Nexus 6P General] aoaleman:
Try plugging in the charger.
[Nexus 6P General] Tusshar0143:
I tried..chrage was aroud 85+ . Still black screen. I think motherboard is dead completely.

I'll never buy google phone again.
[Nexus 6P General] aoaleman:
Oh wow, sorry to hear that. I'm also contemplating that! Lol
[Nexus 6P General] Alsen Lea:
Is the modified kernel mandatory? Because I found the latest franco kernel works as well. However still only four cores are being used.
[Nexus 6P General] joe99joe:
Thanks but that is fairly complicated process (especially to have to do every month) and I don't want to root the phone. I guess I will just leave the phone w/o the new security fixes until I figure out how to replace it.
[Nexus 6P General] Tusshar0143:
Help me somebody
[Nexus 6P General] aheeejd:
So I think my 6p is totally wiped because my stepson tried flashing via adb fastboot stock rom several times. To no avail. And reading the op here, it says booting from. So what does that mean for someone who's phone is wiped? I mean do I just follow the op, flash boot IMG, then twrp & then kernel? What about the vender IMG? I guess I've probably confused myself more then needed. My bootloader is unlocked. Thanks for help
[Nexus 6P General] SlimSnoopOS:
Flash every partition using fastboot. Now fastboot flash the Oreo 4 core boot image that matches your OS.
[Nexus 6P General] aheeejd:
Sorry, I'm an old man who wishes his stepson was home from college. Let me see if I've got this, go to Google & dl a 7.1.2 stock img, then dl the proper vender img, & then get latest twrp & flash those via adb fastboot? Then flash the modded boot img from here (12.55 mb, is that correct?) the 1st dl in the list in op? Then flash modded twrp? Then try & boot up? Again sorry, I read op a few times & have read the 1st 10 pages. Thank you for your help
[Nexus 6P General] SlimSnoopOS:
It's ok. Personally, I think the OP needs to be fleshed out with more info. Yes, do exactly that. If it's easier, follow section 9 of this guide below:

https://xdaforums.com/showthread.php?t=3206928

Use the 4 core boot image and 4 core TWRP recovery for their respective partitions. Then try booting up or boot directly into the modified TWRP.
[Nexus 6P General] PieOfJustice:
Funny how the day the Pixel 2 is announced my 6P starts bootlooping
[Nexus 6P General] mochamoo:
Mine started bootlooping a week ago and this thread saved me. New pixel XL arriving tomorrow courtesy of Google. (Not the pixel 2.) I recommend buying your pixel 2s through the Google store.
[Nexus 6P General] NoobInToto:
Um, is the phone bootlooping? I believe you did not mention if it is bootlooping. Anyways, since the data is gone, you can try the following (assuming you have a windows pc) if your n6p is bootlooping:

1. Download factory image (android oreo can be used) from : https://developers.google.com/android/images

2. Download platform-tools from : https://developer.android.com/studio/releases/platform-tools.html

3. Download the modified boot.img from first post in this thread ( you can try the image for oreo)

4. Unzip the platform tools.

5. Unzip the factory image in the folder of platform tools containing adb.exe , fastboot.exe etc

6. Connect the phone in fastboot mode to your windows pc and double click on the flash-all.bat script in the unzipped folder.

7. Connect the phone in fastboot again. With the modified boot.img in the same folder as flash-all.bat script, adb.exe etc... open a command prompt in this location (shift +right click or open cmd prompt and navigate to directory)

8. Flash the boot.img using the command prompt. If the modified boot image is named Oreo4Cores.img, then the respective fastboot command is

fastboot flash boot Oreo4Cores.img

9. The phone should boot up on rebooting if the fix works.

You still have not said if your n6p is bootlooping or you just have a corrupted phone. If your phone aint bootlooping and you just need to clean flash, then follow steps 1-6.
[Nexus 6P General] koxx.dta:
getting an error when trying to install oct security update, is it because i am using Oreo4Cores.img?
[Nexus 6P General] draroraab:
Upgrading to Android 8.0

Hi, I've been using the modified EX-kernel for 4 cores version 4.11 on stock 7.1.2 47W build. I've TWRP recovery installed. I just flashed the Ex Kernel 5.03 successfully. Is it safe to directly flash the Android 8.0 boot.img(modified, as provided by you) over the 47W build? I ask since there's 48B and C builds in between. Also, thanks again for working on this. Really appreciate it.
[Nexus 6P General] aheeejd:
Yes the phone is bootlooping, does nothing but Google screen with lock on bottom (unlocked) & loops to the screen saying your data can't be checked or something like that. I can boot to dl mode.

So thank you so much for spelling this out for me. I managed to get fastboot & adb on windows PC today. Not sure when I'll have time to sit down & do this but will for sure report back on how everything goes. Thank you again sir
[Nexus 6P General] NoobInToto:
That, and also because you probably used twrp.

Find the proper way to update using ota by searching this thread for my post on 'updating without losing data'.

---------- Post added at 06:40 AM ---------- Previous post was at 06:40 AM ----------

You are welcome. Tell me how it goes.
[Nexus 6P General] koxx.dta:
not using twrp
[Nexus 6P General] NoobInToto:
If you read the error message, it would be self explanatory. It would read something along these lines: unexpected contents found in ..... /boot

And that is because of the modified boot partition
[Nexus 6P General] koxx.dta:
there is no error message just says "error" above open android, thanks though.

your method requires root? im trying to avoid root

https://xdaforums.com/nexus-6p/general/guide-fix-nexus-6p-bootloop-death-blod-t3640279/post73829233#post73829233
[Nexus 6P General] NoobInToto:
Initially it requires root. You can untick reroot in flashfire to get unrooted boot image and system after the update(systemless SuperSU sits in boot partition. My method requires you to flash original boot partition, thus wiping root)

Tip: you can extract the boot image of any current build completely online using offcloud, google drive and cloudconvert(inside gdrive)
[Nexus 6P General] sunil1982:
Hi al

Can anyone help my with this I tried everything to boot phone atleast once but no luck yet as my bootloader is locked but sometime I am able to go to system recovery so if I downloaded OTA files and replace the boot.img with modified one will i be able to apply OTA via ADB sideload..
[Nexus 6P General] Eddie_Brock:
The TWRP image linked above, for 4 cores, prompts me for a password upon loading. Yes my device is encrypted, however my pw did not work.

What gives?
[Nexus 6P General] NoobInToto:
Only a factory reset worked for me. Sadly, that is the only fix I know when twrp asks for a password that is not the same as encryption password.

---------- Post added at 06:03 AM ---------- Previous post was at 05:59 AM ----------

You will need to heat up the phone to boot in. Try targeting the spot between fp sensor and camera using a hair dryer for upto 10 minutes, or using an electric heating pad (the one used for medical purposes, to be applied to body for relief from muscle spasms and whatnot) for up to 25 minutes.

Once you are in, activate developer options (if not already done) by tapping few times on build number in about phone section. Then in Dev options, toggle on OEM unlocking.
[Nexus 6P General] dvdvrhs:
I battled with a head gun to get the OEM unlocked successfully. Since I have tried flashing the Oreo files(OPR6.170623.019, Oreo4Cores.img) and the files for 7.1.2(N2G48C, 6p48C.img) . Unfortunately my 6p continues to bootloop in spite of trying this.

I wonder if I am the lottery winner facing a different reason for the boot loop?
[Nexus 6P General] johnnyphive:
Update to Oreo?

So, I've tried searching the thread, and i could have totally overlooked it, so if someone wants to link me to an answer, that would be great.

Here is my setup.

Have a STOCK 6P that just started doing this yesterday. I'd basically given up hope then i came across this thread. I was able to get booted back in to my phone by wrapping it in a blanket while it was trying to boot and it eventually got in. I was able to turn on developer tools and enable unlocking.

Installed TWRP and EX4.1.2 (using all the default values). Phone is currently restoring from a cloud backup and all seems to be good...time will tell.

Now that I've gotten this far, i figured "why not update to Oreo while I'm at it".

What would be the best path to do so?
[Nexus 6P General] Eddie_Brock:
I've flashed a lot of images to my phone over the two years, and several different variations of TWRP.

This '4 cores' version is the only one that has had any difficulty with my Encrypted Phone. It has to be specific to this version, I'd like to see the modder chime in on why that may be.

---------- Post added at 08:55 AM ---------- Previous post was at 08:34 AM ----------

For me, the 'Oreo4Cores-oldfstab.img' was the only one that worked with Oreo. It linked a few pages back.
[Nexus 6P General] NoobInToto:
Search for my post regarding 'updating without losing data'.

---------- Post added at 04:48 PM ---------- Previous post was at 04:45 PM ----------

Yeah, i forgot to mention that. Someone did post an image which allegedly worked with encrypted phone...
[Nexus 6P General] dvdvrhs:
Thanks for the note Venom, but I have tried that one too. The only thing in this thread I haven't tried yet is trying super heating again to boot into TWRP and try and wipe the EFS that [MENTION=8344456]widermargins[/MENTION] suggested. As of now that is my last hope.
[Nexus 6P General] NoobInToto:
If you look throughout this thread, you will notice that like you, about 1 in 10 users are unlucky enough for the fix to fail. You must consider the possibility that the hardware has failed beyond hope. Time to get a new phone and boycott Huawei forever.
[Nexus 6P General] Eddie_Brock:
[MENTION=5588254]NoobInToto[/MENTION] Since you seem fairly knowledgable on this fix, do you have any idea of the source for the TWRP with 4 cores?

I'm wondering if it's possible to modify my known working TWRP to work with the reduced cores.

This link suggests that it's a bug with a specific version of TWRP.
[Nexus 6P General] jassun16:
Hey [MENTION=4668376]dvdvrhs[/MENTION], the steps that you gave are really nice to understand. But the problem I got is, I couldn't get into the recovery. When I select recovery from the bootloader screen, the phone gets into the bootloop as everyone is facing. Why is this happening? My phone has unlocked bootloader. Any help would be greatly appreciated.
[Nexus 6P General] Allen Hu:
Sir [MENTION=5288606]XCnathan32[/MENTION]

So this happened like half an hour ago on my Nexus 6P, running SuperXE Oreo.

The thing is the Oreo boot image provided in your post is for OPR6(I think?) and latest SuperXE is OPR5, which I was running before getting the bootloop.

After flashing the 4Core boot.img and twrp.img, I got pass the Google screen but got stuck during bootanimation. The recovery worked, though it asked for decryption which required a password, though I don't recall setting one.

Is there anyway I could get data on my internal storage quick?
[Nexus 6P General] Eddie_Brock:
Exactly the problem I'm having. It's somehow tied to that modified TWRP in the original post.

I'm currently stuck failing SafetyNet because of unlocked bootloader and without root. Once I can get into TWRP, I can flash Magisk and carry on as if my phone wasn't a piece of ****.

Edit: If you're still not booting, try another boot.img. For me, I was on the Sept Oreo image, and the only one that worked for me was 'Oreo4Cores-oldfstab.img' which is linked somewhere in this thread.
[Nexus 6P General] PieOfJustice:
So quick update. Huawei sent out a letter to ISP in Canada in September to not accept the 6P for repairs. Now Huawei has updated their end to no longer service the 6P. As support has said repeatedly, the bootloop is not an issue and as such is not covered under repairs. Looks like we are sol. Never ever buying a Huawei product ever again.
[Nexus 6P General] dvdvrhs:
One final try seems to have gotten the phone to stably boot up. I am going to quit while I'm ahead and take the $155 Google is offering me for a trade in and get a Pixel 2.
[Nexus 6P General] Araxus:
So my nexus decided to join the bootloop club yesterday and thanks to this thread i was able to resolve the problem today, thanks to everyone who contributed in this thread.

These were the steps i followed:

1) Heating up the phone with a hairdryer to break the bootloop and unlock the bootloader (saved all my data after unlocking)

2) Install twrp

3) Download & Flash the image nopulse76 mentioned: 8.0.0 (OPR6.170623.019, Sep 2017)

4) Download & Flash Oreo4Cores.img from the first post

Good luck everyone!
[Nexus 6P General] joshyzacariya:
Hi,

I got an OTA today, Oreo Oct, but after automatic flashing it reboots to TWRP. Can you please advise what to do at this point, so that to flash the new OTA.

Thanks.
[Nexus 6P General] longlivandroid:
Firstly thanks to OP and everyone else that's provided guidance on helping me saving my bootlooping Nexus 6P. I was able to recover my phone several weeks ago after using the Android Oreo solution based on the August security patch.

I wanted to update my phone to the October security patch but wanted to get some guidance before screwing it up and killing my phone.

1) If I want to update my phone to the October security patch from the August Oreo release, do I need to flash the September release and then the October release or can I just flash the October release?

2) Can I use the OTA image(s) or will I need to use the factory image?

3) Finally, can I flash the factory/OTA zip file as well as Oreo4Cores.img from OP using TWRP?

PS. My phone isn't rooted so I didn't try the Flashfire method that was posted here.
[Nexus 6P General] NoobInToto:
Search this thread for my post on 'how to update without losing data'.

---------- Post added at 02:00 AM ---------- Previous post was at 01:58 AM ----------

Root the phone once for using flashfire. Uncheck the reroot option in flashfire instead of leaving it checked( default )to get an unrooted build after update.
[Nexus 6P General] nopulse76:
This happened to me as well. You don't need to select Recovery from the bootloader screen, I just meant that you just need to get into the bootloader screen to proceed with the flashing of the image and fix. I'm new to all this and didn'r realize that the menu was called bootloader, I just called it the Recovery menu. Sorry for the confusion.
[Nexus 6P General] NoobInToto:
Answer to your earlier edit: No, I do not know how the twrp is modified to run off 4 cores. Like you discovered, the issue is probably with the boot.img and not recovery.
[Nexus 6P General] longlivandroid:
Thanks. Any chance you would know where the OTA file is saved? FlashFire doesn't seem to automatically detect the OTA and I can't manually use "Flash ZIP or OTA" since I can't find the file. I know it downloaded the OTA update since it says to "Restart now to install" under "System Updates". I've searched for a zip file in storage but didn't find anything.
[Nexus 6P General] NoobInToto:
Flashfire should automatically detect the ota on opening. It is indeed kind of hit and miss at the moment, but I'm sure you can make it work by doing the following:

1. Try hitting restart and update in the ota page. We know that the update will fail , but upon restarting once this way, flashfire seems to detect the ota.

2. If that didn't work, go to the ota page again(it would say verification error or something like that). Re-download the ota and open flashfire again (this time without rebooting ).

Usually method 1 will work.

Tell me how it goes.
[Nexus 6P General] saurabhkale:
Can I flash any custom rom and then use the provided EX kernel over it?

will that work?
[Nexus 6P General] NoobInToto:
Theoretically, yeah, it is supposed to work.
[Nexus 6P General] sunil1982:
I tried hair dryer method but unbale to boot but i am able to goto recovery sometimes so i have downlaoded the ota zip file but if i replace the boot.img with modified boot.img i get signature verification failed because both have different checksum but if i replace modified boot.img with original boot.img ota update works
[MENTION=5288606]XCnathan32[/MENTION] or anyone can please help me how can i rebuild ota zip with modified image using ota tools so that or a way to modify upate-binary file to replace checksum of boot.img
[Nexus 6P General] NoobInToto:
Sorry, no. You CANNOT use a modified boot image without an unlocked bootloader.

Also, you cannot push a modified ota zip from stock recovery, with or without unlocked bootloader.

Read the first post of this thread. What you ask for is precisely what the OP petitioned google for. But know now that google and Huawei has abandoned nexus 6p, and they will not make it happen.

PS: I don't think you know how checksum works. For the modified boot image to have checksum same as original, all bits (0s and 1s) of the file have to be exactly the same. Thus there is no room for modifications. The recovery calculates the checksum. It is not a signature that is attached to a file.
[Nexus 6P General] angry6powner:
So I managed to fix my bootlooping paperweight about a month ago using 6p48C.img

However today, my phone battery died (at about 40% as it has been doing increasingly). When I tried to reboot, I found myself stuck back in the dreaded bootloop.

I have since tried to re-flash 6p48C.img, as well as Oreo4Cores and Oreo4Cores-oldfstab. The images were successfully written, yet the 6P continues to loop.

How could I possibly be stuck back in the boot loop again, anyone have any idea what's going on here?
[Nexus 6P General] longlivandroid:
Method 1 worked perfectly for me. I was able to first update to the September patch and then to the October patch. Thank you very much for your help!
[Nexus 6P General] joshyzacariya:
Can you please upload Oct build modified boot.img in OP? Thanks.

-----------------------------------------------------------------------------------

Edit: I've created 2 modified boot image for the October Oreo update (not tested so far); as described in the post: https://xdaforums.com/showpost.php?p=73128830&postcount=11

Downloads:

OreoOct4Cores

OreoOctOTA4Cores

Thanks.
[Nexus 6P General] NoobInToto:
The current oreo image works with all oreo builds.

---------- Post added at 11:42 AM ---------- Previous post was at 11:40 AM ----------

Nice.Glad i was able to help.

---------- Post added at 11:45 AM ---------- Previous post was at 11:42 AM ----------

Time to throw the phone away and boycott Huawei. I am experiencing early shutdown too.
[Nexus 6P General] aoaleman:
Anyone able to boot in to a custom ROM built with AOSP? Seems like all the ones I've tried only work in stock ROMs from images. Thanks in advance.
[Nexus 6P General] funnel71:
I just want to take a moment and THANK the original poster, and all who helped with this. My phone just went belly-up last night. Found this, applied patches as instructed (used boot, twrp and ex kernel for 7.1.2 since I haven't updated to Oreo (yet), and other than twrp not letting me into data due to a password issue, all is well. Thank you for saving me hundreds of dollars and/or time without a phone waiting for a replacement. You guys are AWESOME!!
[Nexus 6P General] NoobInToto:
Modified ex kernel doesnt work?

---------- Post added at 05:48 PM ---------- Previous post was at 05:46 PM ----------

You need to flash only one, either kernel or boot image. TWRP bug is addressed in FAQ #1

Anyways, do not celebrate too soon. The phone is now crippled. Performance will be slower, battery drain faster , with early shutdowns etc(symptoms may not appear outright). When it is time for it to die, it will fail catastrophically ( no boot image or kernel will be able to resurrect it then).
[Nexus 6P General] dnsh89:
Can anyone update the EX 4cores kernel from 5.03 to 5.04..?
[Nexus 6P General] aoaleman:
I finally was able to flash a nonstock ROM and boot in it too. I flashed AICP then the latest October boot IMG. Then flashed latest Franco kernel then reflashed Magisk. I'm in. :D