yashsingh1/xdaforums huggingface dataset:
[Google Pixel 6 Pro] boxemall:
i already said i'm not up to date but i remember sec updates back then were kinda tied to kernel n stuff since most custom rom devs never released stand alone sec updates. how is that with stock rom and kernel? proton does not offer sec updates only full updates whenever they are ready which means a full flash and the whole rooting procedure is necessary after doing so. it's just tedious.

regards
[Google Pixel 6 Pro] Freak07:
I can't give you a definitive answer to that, as i don't know changes proton will do over time. I think you shouldn't have a problem, as i don't think proton will change to a13 firmware (which would render the A12 kernel incompatible) while building an android 12 rom.

You're a bit on your own there and try to see if it still works. Or just ask there for changes each release.

But now it gets also a bit off topic, as i also can't give any good further input :)
[Google Pixel 6 Pro] Israafil:
So with linux 6.1 mglru will be included that shows lots of promising improvements and google also ported it to the android 13 kernel apparently but not activated it jet. Do you plan to implement mglru in to your kernel?

Here the link for reference

MGLRU Looks Like One Of The Best Linux Kernel Innovations Of The Year - Phoronix

www.phoronix.com
[Google Pixel 6 Pro] Freak07:
It's already included since release 2.1.0 and also listed as one of the features in the OP :)

Link to 2.1.0 release post
[Google Pixel 6 Pro] exile1ck:
So I just got a new pixel 6 pro and I everytime I flash this kernel, my camera doesn't work at all(not even on other apps that use the cam). I'm flashing the latest 4.1.6 kernel with the latest Android 13. When I dirty flash the OS image back, the camera works again but the krisakura kernel gets uninstalled also. Pls help!
[Google Pixel 6 Pro] Freak07:
Camera is working just fine here.

You're on A13 QPR Beta?

Kernel is for A13 stable, not A13 QPR Beta. (y)
[Google Pixel 6 Pro] exile1ck:
Yes! I am on the latest A13 update running the september 5th update. I do remember on my first attempt to root and install this kernel, everything actually worked fine. When I installed this (https://xdaforums.com/t/11-universalauth-face-unlock-for-all-roms.4419343/), my camera started to bug out so I restored my factory settings. Is there anyway to fully restore my device?(Like completely start fresh) Because I feel like something from that universal face unlock must have messed up some of my files. But I don't get how running the flash-all.bat will fix all my problems. But the second I install the kernel, my camera stops working
[Google Pixel 6 Pro] TotallyAnxious:
Use the factory image flasher and do a wipe (there should be an option when you use the factory image flasher) if you're trying to a do a full reset.
[Google Pixel 6 Pro] roirraW "edor" ehT:
If @TotallyAnxious' suggestion doesn't work, you can try

Official Google Android Flash Tool

(OEM Unlocking needs to be toggled on - you may not have to manually unlock the bootloader - the "site" will do that on its own). The online flash tool has been reported by many members here in this section in the last year including me as fixing things that the factory image didn't fix.

I'm running the latest Android 13 Stable (TP1A.220905.004) and using v4.1.6 of this kernel without any issues. I've taken many photos in the last week while using it.
[Google Pixel 6 Pro] exile1ck:
This has solved my problem! I guess this kernel isn't compatible with the latest A13 QPR Beta. I guess I'll stay away from that update for now. Thanks for the help!
[Google Pixel 6 Pro] Admiral2145:
I have a weird issue... I can root and flash both slots however, when I try to flash the kernel on slot b it locks/bootloops however, on slot a I can flash kernel and have no issue... Has anyone have this happen or know what's wrong on my slot b to cause this?
[Google Pixel 6 Pro] roirraW "edor" ehT:
We'd have to know what you do have on Slot B right now. If you start fresh on Slot B with a factory image with no wipe (so remove -w), then flash this kernel, then what happens? I've definitely shifted from slot to slot (manually) over the past year with no issue while using this kernel, so regardless it's probably not a problem related to this kernel.
[Google Pixel 6 Pro] Admiral2145:
I'll try that... Flash fresh A13 Sept (slot b) and see how it goes
[Google Pixel 6 Pro] exile1ck:
Just wanna ask what does everyone's idle battery drain looks like? Just woke up and noticed my average was -475mA(-1.9%/hr). Can anyone confirm this is normal?
[Google Pixel 6 Pro] Freak07:
Nobody can tell you without more information, because nobody uses their phone like you do.

For context:

I'm losing about 2-3% over 7-8 hours overnight, while i don't touch my phone. So 0.3-0-4%/h.

If I'm listing to music during the day with screen off my idle drain is about 2-3%/h.

Generally comparing battery stats is difficult as usage per day varies a lot for most of us and everyone's usage is different.

Try to compare your own results to get an overview.
[Google Pixel 6 Pro] NCVol:
My Play System update is stuck on July. It will try to update but on reboot I'm still on the same one. I was told to check if it's the kennel. Is there any chance the kernel is part of that issue?
[Google Pixel 6 Pro] Freak07:
No :)
[Google Pixel 6 Pro] NCVol:
Thanks! I figured not but just trying to get this sorted out. Keep up the great work.
[Google Pixel 6 Pro] Utini:
@Freak07 are there any settings in the kernel that change the behaviour for going into deep idle (not deep sleep)?

Also, can you maybe check and share how much your device is usually in deep idle during the last 24h?
[Google Pixel 6 Pro] Freak07:
What is deep idle you're referring to and how do you check this on your end? I'm not sure I understand. :)
[Google Pixel 6 Pro] Utini:
Okay I am happy that I am not the only one not fully understanding it lol.

Using the app Temefi:

[APP][TOOL] TeMeFI comprehensive system Administration

TeMeFI This app provides/returns a bucket load of information regarding your device and the currently running ROM, and much, much more. And hence the name "TeMeFI"; as its Too Much F????? Information. The F stands for whatever your comfortable...

xdaforums.com

Then inside the app:

Currently Running>Doze>Doze Cycle graph>*

The green bar shows how much the device is in deep idle. According to the app author deep sleep is just a CPU state but deep idle is what we want the device to be/to go for battery savings.

There are different doze profiles one can load from within that app. Those will change setting into more aggressive deep idle settings.

Edit:

To see current doze settings:

Currently Running>Doze>DumpsysDevice Idle History

To load more aggressive doze profile:

Currently Running>Doze>Set or compare doze profile
[Google Pixel 6 Pro] Freak07:
I suspected you were talking about doze. That's unrelated to the kernel.

Here's a bit of information:

Optimize for Doze and App Standby | App quality | Android Developers

Test and optimize your app for the power-saving features in Android 6.0.

developer.android.com

From that documentation: "If a user leaves a device unplugged and stationary for a period of time, with the screen off, the device enters Doze mode."

I know there are more conditions to it, but usually tweaking things like this ends in a lot of trouble.

There's a reason why the device enters the so called deep idle/doze only after a while if completely left alone. You won't receive notifications during that time.

I know it sounds tempting to play with this to make it kick in more aggressively, but usually it does more harm than good.

I'm not screwing around with doze or making it more aggressive, because I like to get my notifications during the day. :)
[Google Pixel 6 Pro] Utini:
Ah okay... I was already suspecting that deep idle (or deep doze or whatever) is causing troubles such as no notifications. I was just worried because my phone pretty much never enters that state. But I guess that is fine then.
[Google Pixel 6 Pro] Freak07:
It should enter that state during the night while you leave the phone stationary without touching it.

But if you use your phone regularly during the day/carry it in your pocket, that's expected.

But it gets a bit off topic now :)
[Google Pixel 6 Pro] ChongoDroid:
Is this kernel okay on the qpr beta? I searched the thread and didn't see anything
[Google Pixel 6 Pro] Freak07:
No, it's for A13 stable.

https://xdaforums.com/t/kernel-06-0...pixel-6-pro-aka-raviole.4358435/post-87437339
[Google Pixel 6 Pro] ChongoDroid:
Gotcha I was wondering if it'd work on 13 beta but maybe there's kernel differences
[Google Pixel 6 Pro] dexlemaffo:
Perhaps downloading the latest version of Google Play and the beta apk of Google Play services might do the trick.

Here you go :

Google Play Services

Google Play Store
[Google Pixel 6 Pro] epikbot:
what are the commands you used to build the kernel? i can't figure it out
[Google Pixel 6 Pro] Freak07:
Check here:

https://xdaforums.com/t/kernel-06-0...pixel-6-pro-aka-raviole.4358435/post-85905453

For the command you already found:

can you please advise how to build it? · Issue #1 · freak07/Kirisakura_Raviole

I'm trying to learn about this new GKI and trying to build it within google env, but I guess that I'm doing it wrong since that compile fail (I'm running "BUILD_KERNEL=1 ./build_slider") can you pl...

github.com
[Google Pixel 6 Pro] beanaman:
Any chance Pixel 6A will get this at some point? Miss your outstanding kernel from pixel 3.
[Google Pixel 6 Pro] digger16309:
I just loaded this kernel on a brand new Pro (Raven). I ran the stock kernel for about a day before flashing it. I figure with 100+ pages that others are very happy and based on my initial experience, I am as well.

I will be making a donation.

One question, and I'm unsure if this is kernel-related or not. As Android Authority documented, the rapid charging at 30W never takes place and drops to 18W and less the more the battery is charged, even with adaptive charging turned off. I'm sure this isn't news to most of the followers of this thread but it was a surprise to me.

Can this be overcome at all in the kernel or some other mod?
[Google Pixel 6 Pro] Max_Smith:
Hey everyone, it might be an extremely dumb question, but I thought it'd be better to ask it rather than face the consequences of ignorance.

When the next security update drops, what should I do? If I update, will I go back to stock kernel, or the device will stop booting and I should revert back to stock before updating?

Thanks and again, excuse my stupidity :)
[Google Pixel 6 Pro] Freak07:
Probably not, as I don´t own the device and this kernel has diverged pretty far from stock so i don't think it would be compatible as is.

Hey,

thank you very much for the donation. It´s really appreciated and the kind words mean a lot.

There´s actually more to come with the next release, that should improve things further. But lets see how all the testing goes.

As for the question with charging. I guess it´s theoretically possible to somehow force the phone to charge at 30W, no matter if kernel mod or some other way, but this is where my comfort zone ends. I wouldn't advise anyone to play with this, if you´re not prepared to accept damage to any components inside. Google has the means to do long term testing.

I know most other brands offer way faster charging, but I'm actually happy some brands stick with slower charging.

For my needs the phone charges fast enough. And if it stays cooler every single charge cycle than other phones that charge at slightly higher rates, that's an advantage for me. But I also understand the opposite argument very well, that it charges comparably slower than competitors, which is a disadvantage for other users.

The main problem was that google insinuated (let's just call it like this) the phone would charge at 30W, when only the charger provides this, while the phone doesn't actually.

Just flash either a factory image, a full OTA.zip or use the web tool to update your device like you usually would following any of the guides here.

This will just update your device to the new stock firmware.

You only need to revert back to stock in case you want to take an incremental OTA, as the incremental OTA needs to stock partitions for a successful update.

Then wait for me to update the kernel to include changes for the next firmware and flash again. Or in case there are no changes, I´ll post it here.
[Google Pixel 6 Pro] digger16309:
Thanks for the reply. I understand the discomfort and not wanting to fry devices. The fact that it doesn't actually charge at 30W (and other devices do or even higher wattage) is poor marketing.

What I've found to be troubling is that it can handle 18W consistently without overheating but Google throttles the power lower than that threshold continuously the more charged the battery is. I'm sure there are reasons for it.
[Google Pixel 6 Pro] epikbot:
that doesn't answer my question, the documentation you linked in the original post doesn't state how to build non-official gki kernels
[Google Pixel 6 Pro] Freak07:
The kernel is built in the environment just like the stock kernel.
[Google Pixel 6 Pro] epikbot:
the documentation doesn't tell you how to setup an environment, only how to copy the google one
[Google Pixel 6 Pro] Freak07:
Follow the documentation and you'll end up with the kernel build environment.

If you don't understand how everything works there, try to build a stock kernel first.

You found my kernel tree on GitHub already. Once you have a grasp how the environment works it shouldn't be a problem, to put everything where it needs to be.
[Google Pixel 6 Pro] Paz9:
Curious if CRC is disabled in this kernel?
[Google Pixel 6 Pro] Freak07:
The tweak i think you´re referring to is used for mmc devices.

There are no mmc devices used on the pixel 6 series, so applying the change will have no effect anyway.

You can check yourself under /dev/ on your phone following the documentation I linked.
[Google Pixel 6 Pro] Paz9:
Thank you kind sir
[Google Pixel 6 Pro] epikbot:
why can't you just tell me the commands? i already know how to build a stock kernel, the instructions were in the link you sent
[Google Pixel 6 Pro] Freak07:
https://xdaforums.com/t/kernel-06-0...pixel-6-pro-aka-raviole.4358435/post-87464801

I already told you the command.

The script is part of the build environment.
[Google Pixel 6 Pro] DespairFactor:
how to build kernel?

EDIT: Guide only tells me how to build a kernel from source
[Google Pixel 6 Pro] epikbot:
tell me, in your own words, exactly how you setup the build environment, from scratch
[Google Pixel 6 Pro] digger16309:
When I update the stock ROM monthly, I disable all Magisk modules, then uninstall Magisk (restore images) so that it's back to an unpatched boot.img prior to flashing the update.

There is a warning not to disable or uninstall the AK3 Helper module.

What should I do instead?

Flash the patched root image in the bootloader?

Will that restore me back to stock kernel?

Seeking to avoid bootloops and data wipes.
[Google Pixel 6 Pro] DespairFactor:
https://source.android.com/docs/setup/build/building-kernels?hl=en#downloading here you go

In my own words...

mkdir android-kernel && cd android-kernel

repo init -u https://android.googlesource.com/kernel/manifest -b BRANCH

repo sync
[Google Pixel 6 Pro] epikbot:
i can't use repo because kirisakura kernel doesn't have a repo manifest file (default.xml)
[Google Pixel 6 Pro] JerichoKru:
I followed the directions and used the kernel flasher that was listed to "attempt" to flash this. Now it bounces to the fastboot mode after the google logo. How do I recover from this without wiping everything?
[Google Pixel 6 Pro] Freak07:
Please check the FAQ on how to return back to stock.

You can just use the android flash tool or flash a factory image while the AK3 helper module is installed. It will delete itself once you flash the stock firmware (which contains the stock partitions for every partitions that gets modified when flash this kernel).

Please check the FAQ on how to return back to stock.

Either flash the changed partitions back to stock or use the android flash tool.

Curious why it would do that though. Which zip did you flash on which firmware?
[Google Pixel 6 Pro] JerichoKru:
I missed that in my panic, thanks
[Google Pixel 6 Pro] JerichoKru:
Following the FAQ did NOT restore functionality. I flashed the lastest 4.1.6 on top of a fully updated 6 pro, using the kernel flasher.

EDIT: I should add the first time flashing the kernel, the Kernel Flasher abruptly closed after adding the zip to it.
[Google Pixel 6 Pro] Freak07:
If you just flashed the kernel.zip, following the instructions and restoring the images either manually or by flashing a full firmware package works.

Android flash tool is probably the easiest way and helped in this case too.

The kernel is made for latest A13 stable firmware, not QPR beta or A12.

Just in case take a look here too, if you haven´t installed A13 on both slots already.
[Google Pixel 6 Pro] DespairFactor:
are you really an epik bot?
[Google Pixel 6 Pro] Flyview:
Hey @Freak07 , thanks for the kernel! I've been using it for a couple of years on a 4XL and now do on my (new to me) Pixel 6 Pro!

I use the CleanSlate companion app to further fine tune it. Right now that's just turning the "battery saver" on.

I searched through the thread and saw what you previously had to say about undervolting. I'd like to put in my vote for undervolting, if you find it's possible to implement! It should of course be off by default and at your own risk to do. With a phone that runs this hot, I think it's worthwhile to try and undervolt it, even if it's a tiny amount. In hotter environments (28c+), charging will basically halt because the phone just gets too hot even with light usage. Having undervolted phones/laptops in the past, I think it can make a substantial difference to heat. It's also *usually* fine if you find the limit at where the device reboots, and then back off a step or 2 from that.

Are you still collecting kernel logs to get a sense of the binning range?
[Google Pixel 6 Pro] epikbot:
how is that related to what i said
[Google Pixel 6 Pro] DespairFactor:
because you seem like an amateur bot at best
[Google Pixel 6 Pro] realmenvvs:
where can I download this kernel?
[Google Pixel 6 Pro] realmenvvs:
how can I lower the CPU frequency to save battery?
[Google Pixel 6 Pro] Freak07:
Hey :)

Nice to have you on board. :)

I´m still skeptical about undervolting.

Sure, if you want to send me a kernel log, I gladly check if I already have that binning. I just haven´t come around to bring the data to a presentable graph yet. :) But it´s still on my to-do list and I hope to get that out soon.

download links are in the first post.

use batterysaver option in cleanslate config app. (check the cleanslate thread for the app)
[Google Pixel 6 Pro] realmenvvs:
I meant the kernel with undervolting, I use cleanslate, I would like to lower the most biggest core even more!
[Google Pixel 6 Pro] realmenvvs:
/sys/devices/system/cpu/cpufreq/policy6/scaling_max_freq does not work the frequency is changing, it worked on qualcomm
[Google Pixel 6 Pro] Lughnasadh:
Probably should pm the person with the other kernel. A bit disrespectful to be asking where to get another kernel in this kernel's thread.
[Google Pixel 6 Pro] w_tapper:
bro look with your eyes at the first post
[Google Pixel 6 Pro] enerGy:
Geez some users in here are on one lately! Could some of y'all maybe stop being so dam disrespectful, even though I know this is a massive ask because people now a days expect things to be handed to them on a silver platter. Also a little research and opening the eyes goes a long way to learning (y)
[Google Pixel 6 Pro] Flyview:
Here's my kernel log.
[Google Pixel 6 Pro] Rachid.Ala:
Thank you for your kernel. I installed it on my P6P 3 days ago and everything is working alright so far.
[Google Pixel 6 Pro] scott.hart.bti:
@Freak07 the October image was released 5 minutes ago. I can't believe you don't have a new kernel update out yet! Sheesh... Slacking! - total sarcasm as I'm hoping u figured out 😁
[Google Pixel 6 Pro] Freak07:
sooner rather than later ;)
[Google Pixel 6 Pro] digger16309:
Outstanding - this is great!

Quick noob-like questions -

Can I just flash the update over the existing 4.2 version?

Do I need to be on the October update first or can I stick with September?
[Google Pixel 6 Pro] Freak07:
There's no existing 4.2 version. I guess you're referring to 4.1.6, the previous release?

Best to update to October firmware first as the vendor_boot is based on October vendor_boot ramdisk.

Web flash tool might be the easiest, as you'll end up with stock firmware, which allows you to update properly.

Happily running myself on October firmware :)
[Google Pixel 6 Pro] swieder711:
{Mod edit: Quoted post has been deleted}

I flashed 4.2 on to the Oct update with no problem.

This kernel is definitely worth using.

Your problem sounds like a user error.
[Google Pixel 6 Pro] roirraW "edor" ehT:
{Mod edit: Quoted post has been deleted}

I did the same process I always do:

Copied over the October boot.img from the PC to the phone

Applied Magisk v25.2 Stable to it

Copied it back over to the computer

Made sure all my Magisk Modules were updated.

Disabled all my Magisk Modules

adb reboot bootloader

Used the flash-all.bat with the "-w" removed to flash the October firmware,

adb reboot bootloader

fastboot boot boot-Magiskd12345.img

Used the Magisk v25.2 Stable app to Direct Install

Rebooted

Downloaded the Raven 4.2.0 version of this Kernel on the phone.

Made sure my copy of Kernel Flasher was up to date from GitHub.

Launched Kernel Flasher.

Selected the slot that's mounted.

Choose Flash AK3 Zip.

Selected the Raven 4.2.0 zip I just downloaded.

When it's done flashing, I selected Reboot, then selected Reboot again.

The phone booted completely normally.

Cautiously re-enabled my Magisk Modules.

Rebooted.

Everything worked fine.

Please don't assign blame without at least corroborating evidence such as 2-3 other users having the same issue. I've never had any problem with anyone's custom kernel in the last 12 years that wasn't my own fault (missed a step in the directions, forgot to do something I usually do, downloaded the wrong file, et cetera).
[Google Pixel 6 Pro] iRhyiku:
Unrelated but whats that notification thing you have over the camera?
[Google Pixel 6 Pro] KillerVamp009:
dynamicSpot - Dynamic Land - Apps on Google Play

Experience Dynamic Notifications with a Floating Island Popup!

play.google.com
[Google Pixel 6 Pro] roirraW "edor" ehT:
I'll answer in a second in @Jawomo's thread.

Edit: [APP] dynamicSpot - iPhone 14 Pro Dynamic Island for android!
[Google Pixel 6 Pro] scott.hart.bti:
The funny thing is... The past few updates, I've planned to post something along those lines, only to come to your page and find you beat me to it and already had a new update out. Lol.

You are the man. Thanks for your efforts as always sir.
[Google Pixel 6 Pro] digger16309:
I'm overly cautious and restore back to stock and completely unroot before monthly updating with the full factory image. I know there are easier and perhaps better ways, but I've been bit by the bootloop/full wipe monster a time or two and this works for me.

The restore to stock instructions worked perfectly, as did the Oct update and kernel flash.

I wasn't going to update this month because the bug fixes seemed so small, but I did to get the latest version of this kernel running - thanks again.
[Google Pixel 6 Pro] AlDollaz:
Thanks for the October update, working great! 👍🏻
[Google Pixel 6 Pro] cultofluna:
Where is 4.2.0?
[Google Pixel 6 Pro] Freak07:
check the release post :)

https://xdaforums.com/t/kernel-04-1...pixel-6-pro-aka-raviole.4358435/post-87524609
[Google Pixel 6 Pro] minhgi:
For me to use a stock rooted kernel first before flashing any custom kernel afterward. Sure it take a second reboot but never failed me yet.