yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] chait:
I was able to Unlock Bootloader and did the steps as mentioned in this thread. It asks me to "Install Zip" and Select file from Internal Storage? I am clueless about what is happening. Kindly help.

---------- Post added at 10:44 AM ---------- Previous post was at 10:29 AM ----------

I rebooted my Nexus 6P now it asks me "Enter Password" in the screen which says "Mount Decrypt Data" when I hit cancel it takes me to the screen I need to install image. I am a novice or even lower when flashing phones. Can you please guide with step by step process?
[Nexus 6P General] ramhses02:
What? My comment was directed to those who are unable to flash this fix because many have not the enough knowledge. I believe that the OP already filed a video with the performance after applying the fix.
[Nexus 6P General] fuadhdmini:
Been using PureNexus after stock. Any other ROM besides PA that can be used?

Tried Pixel Dust - Not detecting sim card.

Tried S.I.X ROM , at first stuck at Google logo, then I flashed modified stock boot image, stuck at dancing balls, flashed PureNexus modified boot image, also stuck at dancing balls.

Keep me wondering, why did it stuck at Google logo in the first place after only flashed universal EX kernel 4 cores

Update: just flashed Carbon ROM. In my honest personal experience,smoother than PN.

I did:

Flashed vendor

Flashed ROM,gapps,universal zip EX,magisk and magnum opus arise audio mod.

Initial boot in minutes.
[Nexus 6P General] XCnathan32:
Android O doesn't work with this fix as of now, try flashing back to the 7.1.2 firmware.

I'll go ahead and work on making a modified kernel for flash. Also thanks for helping answer questions while I was away. Edit: nevermind I saw that [MENTION=7898555]The Flash R[/MENTION]eplied.

If you would like, I can make a modified version, and give it to you for you to post.

I believe Mac has fastboot, just Google "Mac for fastboot" and see how to install it there.

Try flashing the stock 48B firmware, that happened to me when I flashed the wrong version.

Try flashing the stock 48B firmware.

Damn that's not good... Any update?

Magisk passes safety net.

Try flashing the boot.img, if that doesn't work either, your phone may have a different problem.

I'm going to upload a boot.img that only uses one core in a bit. I doubt that it will work, but it's worth a shot to see if it works for phones that didn't work with the 4 core fix.
[Nexus 6P General] XCnathan32:
Android O doesn't work with this fix as of now, try flashing back to the 7.1.2 firmware.

I'll go ahead and work on making a modified kernel for flash. Also thanks for helping answer questions while I was away. Edit: nevermind I saw that [MENTION=7898555]The Flash R[/MENTION]eplied.

If you would like, I can make a modified version, and give it to you for you to post.

I believe Mac has fastboot, just Google "Mac for fastboot" and see how to install it there.

Try flashing the stock 48B firmware, that happened to me when I flashed the wrong version.

Try flashing the stock 48B firmware.

Damn that's not good... Any update?

Magisk passes safety net.

Try flashing the boot.img, if that doesn't work either, your phone may have a different problem.

I'm going to upload a boot.img that only uses one core in a bit. I doubt that it will work, but it's worth a shot to see if it works for phones that didn't work with the 4 core fix.

Edit: not sure why this posted twice... oh well.
[Nexus 6P General] XCnathan32:
Update: Ok I'm back, sorry for disappearing, I finally got my lazy ass to get back on here.

Someone suggested that I upload a boot.img that only uses 1 core, just to see if that works for the people that the 4 core image didn't work for. Will upload shortly.

Edit: Added 1 core image to downloads section of OP, if the 4 core image didn't work for you, try using this image.
[Nexus 6P General] Sumedh Pendse:
Thanks man. I flashed boot.img with 1 core which you uploaded, still bootloop :(
[Nexus 6P General] XCnathan32:
I modified your kernel so you can take a look at the modifications. Here's the modified one download. I tested it by flashing over the stock OWN rom kernel and it worked.

Unfortunately, your server for the 7.1.2 kernel was down, so I had to download your 7.1.1 kernel under legacy downloads. If you added any ramdisk patches in the 7.1.2 kernel, they won't be in that zip.

Here's the modifications I did:

First off, I built your kernel from your 7.1.2 source, and replaced the old zImage with it ( so there wouldn't be any incompatibility with my 7.1.2 ROM).

Then, I replaced the ak2-core.sh and the Readme.md with a later version. The newer version of the AK2 core includes easy patching for the kernel cmdline, which is vital to use only the 4 little cores. I assume that the new version of ak2 is already in your 7.1.2 zip, so you probably won't have to worry about this.

Then, in anykernel.sh, at line 62, I added the line " patch_cmdline "maxcpus=4" "maxcpus=4" " to disable the big cores. The patch_cmdline command only works with the newer AK2 core, but once again, I assume it is already in the 7.1.2 kernel.

I also commented out the lines to check for android 7.1.1 in anykernel.sh, just so I could flash it on my 7.1.2 device.

To utilize the 4 cores more effectively, I added lines 51 through 57 in init.flash.rc. This patch is very important. For some reason, in the stock init.angler.rc, any time a big core is written to be used in the cpuset (and only 4 cores are enabled), the kernel will push that task to only CPU 0.

For example, in the stock init.angler.rc, the line "write /dev/cpuset/foreground/cpus 0-2,4-7" exists, however, instead of using cores 0-2 as you would expect, it only uses cpu 0. But a cpuset that doesn't have a big core written to it (example: write /dev/cpuset/system-background/cpus 0-2), uses the cores it calls for, so cpus 0-2 in that instance.

Hope that helps with your 4 core kernel build!

Also, I'm thinking of building my own kernel, am I allowed to use your kernel source code as a base for my kernel, as long as I give you credit?

Edit: The 7.1.2 download is up again, it supports cmdline patching, so all you should need to do is add the lines in init.flash.rc, and add the kernel parameter in anykernel.sh.
[Nexus 6P General] nathanchance:
My AnyKernel source is public (linked in my thread's OP) so you never need to grab a zip and modify that. I'll always be up to date with osm0sis upstream.

I will take a look at this for the next build, thank you for the insight.

You are absolutely free to use my kernel source in whatever way you see fit, given it is licensed under the GPL :) If you want to do the builds for my kernel as well, you are more than welcome to. My toolchain and AnyKernel source is public, the guide is linked in the second post in my thread.
[Nexus 6P General] Synesthesis:
I just had this happened to me last night when I wasnt doing anything on the phone. This solution is working for me so far, but I dont think the img file for Pure Nexus is correct. It only gives me a file size of 12k KB is that right? the full rom is usually much larger

Edit: just realized its the boot img FOR PN not the rom.
[Nexus 6P General] hotrodwinston:
Update on my previous update. (There is a joke in there somewhere - possibly an entire Monty Python skit.) After letting the phone bootloop for a while (it even refused to power off from the fastboot menu) it powered on normally and has run fine ever since. I did have it stored on charger letting it get a deep charge since it was in a drawer for 2 months after the first "blod" so maybe it got overcharged? Could overvoltage mess with the CPU and cause bootloop? Since it's a spare phone I'm thinking about hooking it back to power and seeing if it happens again.
[Nexus 6P General] swapavi:
I replaced my battery with a cheap eBay knockoff about a week ago and I'm starting to have issues where if I take a picture when my battery is low (0-30%), the phone will shut off without warning and go completely black. And I can only get it booted back up if I plug it into a charger.

Would flashing this 4-core kernel be a good precautionary measure? Or would it not matter?..
[Nexus 6P General] Satrack:
Glanced through the replies and searched, but I can't find a solution. I'm still stuck on the bootloop. Can't leave the Google logo either for normal boot nor the recovery. Can only enter bootloader.

I've tried to reflash the whole system, the o.g. boot img, the modified boot img 4cores, 1 core, another bootloader img... nothing is working.

Is there something I can help you with? Send you logs or something?
[Nexus 6P General] chandradithya:
Have you tried to go to the twrp recovery and doing a factory data reset?

I had the same issue, i flashed the 4 core twrp and wiped data and cache and it booted just fine after a restart.
[Nexus 6P General] Satrack:
I can't get into the recovery, like I mentioned. I tried erasing user data from the fastboot command, but that doesn't work either.
[Nexus 6P General] XCnathan32:
You can try it, definitely unlock your bootloader now. However, buying cheap knockoff phones on Ebay is usually not a good idea.
[Nexus 6P General] XCnathan32:
Unfortunately you can only pull logs if you're able to boot into recovery (or use a serial port, but obviously that's not viable and I'm not even sure if the 6P supports that by default). You can try heating your phone up to boot it up, but that most likely wouldn't stick for long. Are you sure the images flashed successfully?
[Nexus 6P General] Satrack:
I am indeed using an adapter: PC<-> WIRE<->ADAPTER<->PHONE

Might this be an issue? The fastboot cmd does seem to be working and I have not seen any error messages in there. My PC detects the phone too when I connect it. I also changed the wire to my actual phone's wire (Galaxy S7)
[Nexus 6P General] swapavi:
Unlocked since day 1, running PA with Franco :)

And yeah, I'm gonna place an order for a new one pretty soon...
[Nexus 6P General] xian2380:
the ex kernel is update,please update??
[Nexus 6P General] XCnathan32:
An adpater could definitely be a cause. I would recommend getting a usb c cable. Get a reputable one, I got an off brand cord at HEB, and it stopped working 4 days later lmao. There's a 5 pack usb c to usb 3.0 cable on amazon for $13, and it works perfectly for me.
[Nexus 6P General] XCnathan32:
Update: I updated EX kernel to version 4.1.2. This updated zip adds the CPU utilization patch to the init.elemntalx.rc, instead of removing the old init.angler.rc and copying the new init over. That should mean more compatibility with Roms/kernels that modify the init.angler.rc (I haven't seen a rom or kernel modify it, but it's still a nice feature to have). I also modified the camera-daemon to use cpus 0-3 instead of 0-2, so hopefully this should make the a camera bit faster too. I don't really use my camera much, so I'm not sure if this patch improved camera perfomance or not, so if you shutter happy people could tell me if this helped it or not, that would be helpful to the development of this fix :).

My phone seems slightly faster after flashing this updated zip. Not sure if I'm imagining that or not, but hey, it means that this update shouldn't hurt performance at the least.

Edit: Forgot to mention that I just upgraded my internet speed to 40/10, from 20/3. So faster internet=faster updates, yay!
[Nexus 6P General] xian2380:
thanks buddy for update??
[Nexus 6P General] XCnathan32:
Update: Uploaded boot.img modified for 48C firmware (august security patch). With EX kernel, you shouldn't need to flash this, but it's there if anyone wants it.
[Nexus 6P General] btvolta:
I am still on the previous modified ex kernel and my phone seems to run just the same as before my blod experience. How many cores are normally running if not for the blod issue?
[Nexus 6P General] jdelfin85:
So how do we go about adding the august patch, do we have to do a fatory reset, then patch the system again?
[Nexus 6P General] XCnathan32:
You can just flash the new EX kernel, as it has the security patch.
[Nexus 6P General] jdelfin85:
This question is going to be a bit noobish, but I fixed the problem I had with android 8 when I flashed EX, now, I shouldn't have any problems flashing TWRP, and then the new EX Kernel by following the instructions? all aside from doing a factory reset to avoid the whole you have encryption enabled thing... Sorry for the questions just want to make sure :)
[Nexus 6P General] XCnathan32:
No you shouldn't have problems... Although are you saying you got your bootlooping phone to work on Android O, with the modified EX kernel in the OP? The files I have in the OP should only work for 7.1.2, and if you are on 7.1.2, then what you said would be the correct way to do it.
[Nexus 6P General] btvolta:
Very good explanation. I don't really know enough about kernels internals to dispute your claims, but it seems very realistic that what you're stating is true, especially since you came up with the fix for this problem when Huawei was unable. All they did was either send out a replacement phone, or replace the motherboard. Unrelated to this explanation, is it safe to use any twrp version now? When mine bootlooped, I could access twrp, but it would stop during twrp activities.
[Nexus 6P General] XCnathan32:
Personally for me, the normal TWRP didn't work for me. It's not like TWRP needs all 8 cores to flash an image, so I would only use the modified version, as I haven't noticed any disadvantages to it. The last thing you want is for your device to bootloop while it's flashing something.
[Nexus 6P General] corona_gorda:
Cannot flash newest kernel !

Hi, I am having trouble installing the newest EX Kernel which seems the last step in reviving my Nexus 6P. I had some success with flashing the 48B_A4 image only but my phone had no SD card when I did this attempt. After 2 days of full performance, I reinserted the SD card in order to have my cellphone line and data plan back and the unit became troublesome again if not fully charged. Under 85% battery I could get the BLOD anytime; it seems the battery management goes haywire thinking battery is dead then shuts down!

I tried to flash the Pure Nexus image but it worsened into an infinite bootloop. I managed to re-flash the newer 6p48C image. However, I cannot seem to flash the EX kernel; in TWRP, I cannot locate and pick the 6pEX4_1_2.zip that I copied onto the phone's directory. Upon looking for the zip, it seems to be a completely different set of folders and subfolders therefore, I cannot pick and sideload it. Is it a question of mounting a drive (I had a "cannot mount drive" message a couple of times) ? I also tried this:

PS C:\Users\Mi\Downloads\Fix 6P> fastboot flash kernel 6pEX4_1_2.zip

< waiting for device >

target reported max download size of 494927872 bytes

sending 'kernel' (12751 KB)...

OKAY [ 0.507s]

writing 'kernel'...

FAILED (remote: Permission denied!)

finished. total time: 0.655s

What is this remote permission to get ? How to enable it for this method of kernel flashing to work ?

It is frustrating as all methods describing how to flash the kernel do not behave on my computer/phone as in the examples or videos and hence does not work !!

Help !
[Nexus 6P General] XCnathan32:
I don't believe that fastboot can flash zips. Copy the EX zip to your phone, and then in TWRP, go to /sdcard, you should see the zip there.
[Nexus 6P General] metallicant:
Is it ok to flash the new ex kernal on top of most current Pure Nexus and previous ex kernal that's already installed? Phone runs flawless but I want the August security patch.
[Nexus 6P General] vladtdr:
Don't know why, but the recovery doesn't work for me. When it says to put in the password for decryption I enter it and it says it cant decrypt system. I cant flash root or ex kernel
[Nexus 6P General] metallicant:
Went and flashed 4.12 EX kernal over PN and previous EX kernal and confirmed working all for my phone still says it has July's security patch and not August's.
[Nexus 6P General] ladaluk:
twrp with f2fs support

is it possible to modify nchancellor´s twrp (nchancellor.net/Downloads/TWRP/angler) as it has f2fs support?

or how to modify img for 4 cores?
[Nexus 6P General] mdfarazb2:
LoL.. updating kernel will not change your security patch version...:p
[Nexus 6P General] xian2380:
if i want flash custom rom with august security patch,should i flash radio and bootloader？And which boot.img should i use？
[Nexus 6P General] fuadhdmini:
Since i'm on Carbon Rom anda there's a new build with August security patch that require 48C firmware and vendor, so:

I downloaded the new boot image from this OP.

Downloaded the new vendor 48C from Benzo ROM OP.

Flashed the new boot image.

Flashed the new vendor.

Dirty flashed the new Carbon Rom build.

Flashed the new EX kernel from this OP (but I think it's not necessary, since after dirty flashed Carbon, it didn't flashed it's own kernel like normally it would when clean flash).

Booted up and smooth as usual.

Pardon the language in screenshot. But still you can see 5 August 2017 along with EX kernel 4.1.2
[Nexus 6P General] royaljack7:
Something happen to my 6p just now. Recently i follow the guide and it work like a charm. But, just now i play with the camera app and then it restart. The bootloop happen again and i try redo the fix but no luck. I already try use the 1 core boot image, also no luck. I on PA 7.2.1 using modified exkernel boot img. Also i cant enter recovery anymore even after i flash the modified twrp recovery again. Any suggestion?
[Nexus 6P General] corona_gorda:
That is the frustrating part: this instruction is simple but I cannot make it happen as described.... on my laptop, I can copy the zip onto the phone but I see a certain folder structure that I don't see when I try to get to the zip when on TWRP! It seems either I can't copy the zip into a directory area which TWRP can get to (my phone is not rooted; should it be for this to work?) or TWRP cannot "mount" the partition on which the zip has been copied. I suspect it is a simple thing like this to solve that the experts on this forum might take for granted that it is done but is not done. Some guidance on this will be appreciated !
[Nexus 6P General] darkriff:
Hello guys, My phone is working smoothly again, the only thing is that i have this 15% battery issue, if I buy a new battery will this be fixed (the battery last nothing)? Or its something else? thanks
[Nexus 6P General] vladtdr:
So..there's no way to bring back all 8 cores if you enter the bootloop situation?
[Nexus 6P General] jaybo300:
This way worked for me, I was doing the ice pack, heat gun crap, didn't work till this method, thanks a lot. Flashed pure Nexus through sideload
[Nexus 6P General] corona_gorda:
Apps that trigger reboots

Hi, I've noticed the same in my 6P; after having flashed the 4 core image, I had good battery performance and no reboots for 2 days. However, this was without a SD card in place; I had transferred the SD card of this phone to another temporarily. But upon re-inserting the SD card in the 6P, all the problems came back again. I'd touch the camera app only to see it pop-up then the screen would either go black and reboot the phone or freeze for 10-15 seconds before a reboot. I wonder if there is not a number of apps and/or functions that trigger the reboots ? I noticed that bluetooth pairing triggers it often as using the Evolve Text Messaging app. High vibration (on my bike phone craddle) also induced the reboots.

Anyone else noticing specific apps or functions that start a boot loop or multiple reboots ?

And how about this SD card inserted / not inserted situation ? Could this be a new lead to explore as to cause of BLOD ?
[Nexus 6P General] royaljack7:
Im using camera nx mod app and while its processing hdr+ after taking picture, the phone stuck and its on bootloop again. Redo the fix wont help anymore. Does this mean the lower 4 core also faulty because the fix also wont help anymore.
[Nexus 6P General] fuadhdmini:
Whoa. That's scary. Been using camera NX app for few days no issue, but your story now worries me.
[Nexus 6P General] chandradithya:
[MENTION=5288606]XCnathan32[/MENTION] I have a theory regarding the bootloop.

My N6P has again gone into a bootloop, I'm on PureNexus ROM and the ElementalX modified 4 core kernel and it worked just fine since you ever made the fix last month, Now I opened Maps Preview (The closed beta testing of maps) on my Nexus 6P and it just froze for a few seconds on the compass calibration screen before crashing to the Google logo we are so used to seeing.

Here is a little background of when the main bootloop happened -

I was once again opening Google Maps (Public stable version on playstore) and switched on my navigation and it would freeze on that particular screen before just getting to the Google logo but the phone booted just fine.

The next day when i opened google maps the phone crashed and never booted again.

Here's my wild theory (Being just a basic ROM flasher with no programming experience) -

There is something related to the compass or GPS or any other sensor (Which coincidentally Google Maps uses) which is causing a random overload in a particular core (Maybe a short circuit? Can it even happen?)

I have not wiped my device yet, I just went to bootloader and powered the phone off and broke the bootloop cycle. I would be happy to send over kernel logcats if required (Need a bit of help regarding pulling the logs from my bootlooping device)

---------- Post added at 11:33 PM ---------- Previous post was at 11:24 PM ----------

I'm having the same issue after using Google Maps. I really hope this is temporary and fixable.

By anychance was your 6P under heavy use or warm when this happened? I opened my phone for the first time in 10 hours just to update some apps and check google maps and it happened.
[Nexus 6P General] vargas0929:
Explain

:confused: Can explain further point 6 pls..!
[Nexus 6P General] vargas0929:
Help!

It is possible to recover the files of the cell without entering the recovery :confused:, because unfortunately nothing has worked for me :( !
[Nexus 6P General] royaljack7:
At that time of happening not in heavy use. the phone not warm at all. I do remember before this the phone already stuck once while im accessing the gallery while the camera app processing the hdr+. It stuck and restart. At that time it restart normally. But this time, while its processing hdr+ the phone restart and bootloop. Im sure before this the phone processing the hdr+ just fine. I can help upload any log if someone want to take a look but need help pulling it from the device.
[Nexus 6P General] XCnathan32:
That's very weird. Have you tried reflashing the images? It could be possible that somehow an OTA got pushed without your notice. Unfortunately, the logcat from the crash your device experienced is most likely gone.
[Nexus 6P General] XCnathan32:
No, but you most likely won't even notice a difference. This 4 core fix runs well.
[Nexus 6P General] XCnathan32:
Sounds like something else on your device died :( You can try the heat gun method, but your best bet at this point, is to ask Google to give you a replacement.
[Nexus 6P General] XCnathan32:
The directory you see on your computer is equivalent to "/storage/emulated/0" or "/sdcard" on your device. Go to the root directory in TWRP, and then find either /sdcard or /storage/emulated/0. You should see the zip then. If you still can't see the zip, you can try sideloading it.
[Nexus 6P General] chandradithya:
I tried everything. It will not go to the modified 4 core TWRP too. Im guessing my LITTLE core is also gone. :(