yashsingh1/xdaforums huggingface dataset:
[Google Pixel 6 Pro] Freak07:
Test Release 1.0.3_1

Hey everyone,

I don´t have much time at all to work on the kernel right now, but I was very very happy to see the amount of users willing to flash and share the logs! A big thanks to everyone participating.

Here´s another public test release that might address the crashes some are experiencing. I still didn´t face the crash myself a single time so far, so it´s impossible to confirm from my end.

Generally it seems to me that some face it often, while others don´t at all.

A few posts here were very useful, I looked at them all, checked all the logs but I don´t have time to reply to every single one of them. Thanks for providing all those logs, it´s very helpful!

One post with playstore and restricting the permissions of certain apps via an xposed module caught my eye. Interesting that this seems to trigger the bug. So far all the logs looked the same. Whatever causes it, it´s probably some very very corner case. But even this corner case shouldn´t be able to crash the kernel from userspace.

As long as you´re running latest stable magisk or latest canary, magisk should also be no problem at the moment. So that speculation doesn´t lead anywhere, as I can see the kernel crashing. Nothing to do with magisk.

So I´d like to ask, just like the last time:

I´d appreciate if as much users as possible could flash and run this. Especially those that suffered crashes before. In case you get a random reboot please zip up and share the contents of sys/fs/pstore once you phone booted up again just like so many did before, which is great for me to see!

As a small bonus there are some other improvements in this kernel on top of me looking into the crash as well. :)
[Google Pixel 6 Pro] ada12:
@Freak07 Hope I will Help you by this report...

I have get random reboot but Its only happen when I use my phone in charge... ( USB-C computer )

Build kernel : Kirisakura_Raviantah_1.0.2

Android stock release : Oriole TQ2A.230405.003.E1

Log :
[Google Pixel 6 Pro] iwearthebelt:
Hey Freak, I haven't run this kernel yet. I'm currently on TQ2A.230405.003.E1, should I use 4.4.2 or 1.0.3 that you just put out?
[Google Pixel 6 Pro] Freak07:
Thanks for the log. Is that a special USB c port? Connection set to charge only?

I'm still unable to reproduce the bug on my own end, that's why I ask.

Please try the test build (1.0.3_1) from the post above yours. That's the same issue I'm already aware of, so i already know 1.0.2 is affected.

Flash the 1.0.3 one. The crash was reported on 4.4.2 as well, but there's a good chance you're not affected by this bug at all, just like myself.

So it's best to run the last one I posted. :)
[Google Pixel 6 Pro] iwearthebelt:
Thanks for getting back to me but I went ahead and flashed 1.0.3 a couple of hours ago and I must say it's running great! No issues at all. I'll be sure to send a log if something does happen.
[Google Pixel 6 Pro] ada12:
Its classic hight speed USB-C - connection set to charge only.

I already use the test build 1.0.3_1 I have no get crash actually.
[Google Pixel 6 Pro] Rachid.Ala:
Thank you for the build. I'm flashing it right now. I had the crash only once and never been able to reproduce it.

If something happens I'll post the logs. Thank you for your work
[Google Pixel 6 Pro] snake218:
Hi, flashed the 1.0.3_1, running great but i had one crash.

The kernel is super stable, with previous builds (December and before i guess) I was getting crash very often, (like 3 or 4 a week) with recent versions is just a crash in days or weeks.

Btw my magisk modules are: ak3 helper, builtin busybox, debloater (terminal emulator), magiskhide props config, mindetach, systemless host, universal safetynet fix, YouTube revanced.

And the log for the crash with 1.03_1:
[Google Pixel 6 Pro] Freak07:
Thanks for the log, the trace finally changed, so I think I´m on the right track. It´s not the same crash as before :)
[Google Pixel 6 Pro] Freak07:
Feel free to send more logs everyone else :)
[Google Pixel 6 Pro] Admiral2145:
April standard update on p6 never rebooted for me however, I couldn't help but flash the 1.0.3.1 update with mysterious new features tho.
[Google Pixel 6 Pro] michaely123:
Crashed when watching a Twitch video.
[Google Pixel 6 Pro] Joseahfer:
I had a reboot while using SD Maid SE, I don't know if it's to do with the kernel, but I'm posting it just in case.

Last kernel version.
[Google Pixel 6 Pro] Megaflop666:
Running smooth and great for 24 straight hours of moderate to heavy usage. 🤘🏼
[Google Pixel 6 Pro] westhaking:
Has anyone else noticed or can confirm that their smart lock isn't working anymore and the smart lock settings are no longer accessible?
[Google Pixel 6 Pro] Rachid.Ala:
Update your google play system from the settings and reboot your device to fix it.
[Google Pixel 6 Pro] jcp2:
@Freak07 Getting daily reboots on 1.0.3_1 Here are the logs Hope you can find a fix.
[Google Pixel 6 Pro] Freak07:
Thanks for the logs, but those are from 1.0.2 :)
[Google Pixel 6 Pro] jcp2:
My bad. :( My kernel version does show 1.0.2 installed. I could have sworn I flashed the 1.0.3_1 ( I had both in my "Kernel" Folder on my phone. I obviously flashed the wrong one. Flashing the right one now. I'll report back if crashes continue.

edit... @Freak07 crashed already here are the logs
[Google Pixel 6 Pro] INDMAFIA011:
I had three crashed all had same thing common that whenever i access camera and went into 4x lens and back to .7x lens and again for second time to 4x pens directly it crashes and all these three conditions were under daylight and in sunny day time where device was also little bit warm here are another log file i was using 1.0.2_4 test didn't had much of a time to regularly check for updates i see you have uploaded 1.0.3 ill flash it now and see how it is . Attaching logs so you know why my device crashed each time while using camera and between switching lenses .and thankyou for your support and dedication.
[Google Pixel 6 Pro] Rachid.Ala:
I can't reproduce it on my pixel 6 pro. I tried switching between lens many many times.

However the only time I had a crash (on 1.0.2 from april 11 build), my device was a little warm because I was doing a backup to google photos and used reverse charging feature few minutes before.
[Google Pixel 6 Pro] iwearthebelt:
I hate to sound like a total noob, but I've never used the kernel flasher app to reinstall a kernel after a monthly update. Do I flash AK3 zip or partition image to reinstall the kernel? Thanks in advance!
[Google Pixel 6 Pro] jcp2:
AK3 zip
[Google Pixel 6 Pro] panic.exe:
So far I haven't had any crashes with the newer "test" release. I did have a few on the previous ones but it would only crash one time and then wouldn't afterward until updated to the newer release. it was usually after messing around with the camera and then doing something else afterward. but this one so far like previously stated has been working great. I will post logs if i have any crashes.
[Google Pixel 6 Pro] westhaking:
Still seeing this same reboot with the newest 1.0.3_1
[Google Pixel 6 Pro] westhaking:
Known issue and apparently not kennel related.
[Google Pixel 6 Pro] westhaking:
Another crash. This time pretty much immediately after booting up.
[Google Pixel 6 Pro] knopie:
Can I use the version 1.03_1 with the May update?
[Google Pixel 6 Pro] Psfanboy88:
Using it since yesterday. No problems so far.
[Google Pixel 6 Pro] Freak07:
I haven't found any time to look into May source and update my pixel 6 to May firmware.

But on Pixel 7 there were no changes not already present on my kernel. Since the p6 and p7 trees are unified I'm assuming it might be the same situation here.

I hope I'll find some time this evening to fully check, update my own device and confirm. :)
[Google Pixel 6 Pro] westhaking:
I'm running the stock April build. I do use some lsposed modules but none that to my knowledge modify any kennel parameters. I use EX Kernel Manager but haven't modified any of the default parameters that come stock with your kennel.

I was using an Anker 3.0 QC charger.
[Google Pixel 6 Pro] ada12:
* in stock rom pixel 6 may , kernel is compiled in february 😂🤡🤡
[Google Pixel 6 Pro] Freak07:
It's because GKI devices use prebuilt GKI zImage, that means GKI image is compiled a while ago (the date you see in settings), while vendor kernel modules can be compiled after that date seperately. They're still part of the kernel, just not the GKI zImage.
[Google Pixel 6 Pro] Admiral2145:
May update on 1031 running great no reboots with April or May on p6... Phenomenal job!
[Google Pixel 6 Pro] Freak07:
Update to Raviantha 1.0.4

Hey guys and girls,

So here´s the next release for stable May firmware! Kernel-wise there were very few changes not already included in the kernel. However I missed a few security fixes for the GPU driver that were pushed in May, because I didn´t merge those from the QPR Beta/U preview branches in advance on P6.

Otherwise quite a lot of changes.

Regarding the crashes some are experiecing:

I´m still working on it if you track the last few pages. I have basically no idea why this isn´t an issue on the Pixel 7, as the code is completely shared in that regard.

I have also no idea why some, including me, are never experiencing the crash, while for other it occurs more frequently. I have a few suspicions, but none of those should crash the kernel in the end.

Current status is I think I´m on the right track. The traces from the logs that show the crashes changed. I also think there aren´t as much logs shared as before.

This release might also touch the issue.

So just as the test release, please continue to share logs.

In case you get a random reboot please zip up and share the contents of sys/fs/pstore once your phone booted up again.

Important:

Please note that this release is not for the QPR Beta firmware or dev preview, but the stable android 13 firmware!

Please make use magisk stable. Magisk v26, both canary and beta, has broken selinux contexts on freshly installed modules. Please use either stable magisk or canary 25206.

You should download magisk stable only from official magisk release site!

Latest platform tools have issues flashing super.img, please use platform tools 33.0.3 when updating your firmware to march updae.

There are other small improvements as well. Please check my github for those.

The kernel is made for stable A13 firmware, not beta.

I wish everyone a nice day.

Changelog:

- Linux-Stable bumped to 5.10.179

- bump clang to 17.0.1 stable

- bump f2fs-stable to latest

- loads of improvements, bugfixes etc to memory management from latest linux main

- improvements to MGLRU (check first post for more info about MGLRU)

- updates/improvements to RCU from latest linux main

- updates to lazy RCU from latest linux main

- other fixes please check github

Download:

Attached to release post as AFH is currently down.

Make sure to update and keep the powerhint module installed via Magisk Manager!

If you´re coming from another kernel restore stock boot.img, dtbo.img, vendor_boot.img and vendor_dlkm.img before flashing. Thank you.

Make sure to meet the requirements and read the OP as well as the FAQ before flashing.

I wish everybody a great day/evening!

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07
[Google Pixel 6 Pro] AlDollaz:
Working great on the May update. Never had the reboot issue. Thank you as always!
[Google Pixel 6 Pro] falsehhhhh:
Reboot as soon as it is flushed in，pixel 6哈哈、
[Google Pixel 6 Pro] Freak07:
you´re very welcome :)

logs or it never happened. ;)

please zip up the logs from sys/fs/pstore after the phone booted back up and share them.
[Google Pixel 6 Pro] Admiral2145:
Had to donate... I really appreciate all the work and time you do for us.
[Google Pixel 6 Pro] falsehhhhh:
Thank you. This is the log
[Google Pixel 6 Pro] michaely123:
The crash happened after flashing the kernel on the May update. When it does crash, the phone will automatically boot back up and won't crash anymore.
[Google Pixel 6 Pro] Psfanboy88:
Flashed over may Update. No crash so far.
[Google Pixel 6 Pro] 0.0':
Kirisakura 1.0.4_Raviantah for Pixel 6/Pro Available in pixel 6 ProTQ 2A. 230405. 003. E1 directly updates 1. 0. Four? My core is now 1. 0. 3_1​
[Google Pixel 6 Pro] ChronoWerX:
Hi, can't flash 1.0.4 on Raven. Aborted with Unzip failed.

Edit: Redownloaded, now working sry
[Google Pixel 6 Pro] toffee^god:
Hey guys, I was getting constant reboots weeks ago, was going crazy trying to figure what was causing it I am not sure if it is related to the Kernel but I had 1.0 installed and reboots only started after more then a week.

What worked for me was I cleared the cache of chrome and that somehow stopped the reboots.
[Google Pixel 6 Pro] falsehhhhh:
Right?

Need to update to the latest version

for android system webview
[Google Pixel 6 Pro] kingpeppermint:
Never had the crashes but i say that the battery life is amazing under 1.04 even with having face unlock added to it so i would have expected a lower battery life. but instead it's much better so far.
[Google Pixel 6 Pro] snake218:
Latest 1.0.4 running fine, not a single crash since i installed this update.
[Google Pixel 6 Pro] INDMAFIA011:
Same issue as last time camera crashed while using snapchat or even gcam and when i close it and re open it , the device reboots after few seconds automatically.
[Google Pixel 6 Pro] Freak07:
That´s a very interesting log, different from all the others.

For a change this wasn´t the kernel that crashed.

[82950.209279][ T400] init: Received sys.powerctl='reboot,userrequested' from pid: 1603 (system_server)
[82950.209584][ T400] init: sys.powerctl: do_shutdown: 0 IsShuttingDown: 0
[82950.209734][ T1] init: Got shutdown_command 'reboot,userrequested' Calling HandlePowerctlMessage()
[82950.209762][ T1] init: Clear action queue and start shutdown trigger
[82950.210734][ T1] init: Entering shutdown mode
[82950.210984][ T1] init: processing action (shutdown_done) from (<Builtin Action>:0)
[82950.211909][ T1] init: Reboot start, reason: reboot,userrequested, reboot_target: userrequested
[82950.211948][ T1] init: Shutdown timeout: 6000 ms

Phone was asked to reboot and it did.

I can see camera driver in action and afterwards video playback hw acceleration. So I suppose something in the framework/userspace made the phone reboot on purpose. But from the kernel log I can´t tell you why.
[Google Pixel 6 Pro] Freak07:
Thanks for sharing!

You both have the "new" crash from the traces. The old crash is not happening any longer since posting 1.0.3_1 so that´s progress from my side.

Now I need to understand the exact why.
[Google Pixel 6 Pro] westhaking:
Why does my High Brightness Mode setting keep disabling itself? I haven't made any changes from the default settings other than going into EX manager after the setting becames disabled somehow and then re-enabling the setting under graphics but it always turns itself back off after some time. I want it always on.
[Google Pixel 6 Pro] Joseahfer:
So far the phone has been on for more than 80 hours since the last reboot and everything is fine with 1.0.4.
[Google Pixel 6 Pro] Riddle5:
I just installed that the kernel came out with the May update and I have had a considerable increase in temperature and some reboots this on pixel 6. It's a very beginner question but how do I create an error log?
[Google Pixel 6 Pro] Stoowyguy:
I got a random reboot during a view of a coverage map from a website called redpocket
[Google Pixel 6 Pro] djo_5296:
how does one generate the logs? i would like to send mine as i really appreciate this kernel
[Google Pixel 6 Pro] Rachid.Ala:
If you get a random reboot zip up and share the contents of sys/fs/pstore once you phone booted up again.
[Google Pixel 6 Pro] djo_5296:
sorry, i'm unfamiliar with terminal/command line commands. is it this one?

adb pull /sys/fs/pstore/console-ramoops-0

adb pull /sys/fs/pstore/dmesg-ramoops-0

tho i was wondering if there's a terminal equivalent since I was trying on Termux and it said can't find file or inaccessible
[Google Pixel 6 Pro] Chris_caron25:
Had my first reboot in a while. Unlocked my phone and opened snapchat (well nightsnap, custom dark mode client) and boom reboot. Hope this helps, thanks for all the work on this awesome kernel!

Edit: forgot to mention on the may update with kernel version 1.0.4
[Google Pixel 6 Pro] INDMAFIA011:
Till today since release of this 1.0.4 i had non reeboot so far this morning when i wake up my device was switched off and when i turned it on it said "Phone turned off due to heat" so i was surprised. So i went with my day and randomly my device screen Frozen while watching YouTube when i press power button twice in can hear camera open vibration when i press volume keys i hear click sound , i was having a incoming call and my device was ringing and it went moderate warm to super hot with in few minutes of those frozen time eventually it went too hot and device reboots itself , and now in the evening my device randomly reboots while using camera on 4x , please do look into these logs i am attaching they and from current crash .
[Google Pixel 6 Pro] digger16309:
Just updated to May update and 1.0.4 Raven on P6P and got a reboot when opening the Taptatalk app about 90 minutes later.
[Google Pixel 6 Pro] snake218:
First crash on 1.0.4, since release.
[Google Pixel 6 Pro] Freak07:
Test Release 1.0.4_9

Hey everyone,

Here´s another public test release that might address the crashes some are experiencing. There was a lot of stuff reworked that also touches the area where the crash happens.

Starting from the last release and the last test where the trace of the crash changed due to my attempts of getting rid of it, it seems it happens definitely more rarely also for those that face it.

Before I start looking in detail into the "fresh" trace I want to see what happens with this.

I still didn´t face the crash myself a single time so far, so it´s impossible to confirm from my end.

A few posts here were very useful, I looked at them all, checked all the logs but I don´t have time to reply to every single one of them. Thanks for providing all those logs, it´s very helpful!

So I´d like to ask, just like the last time:

I´d appreciate if as much users as possible could flash and run this. Especially those that suffered crashes before. In case you get a random reboot please zip up and share the contents of sys/fs/pstore once you phone booted up again just like so many did before, which is great for me to see!

There are loads of improvements in this test as well. :)

Thanks to everyone flashing those tests and providing logs in case of a crash, you guys absolutely rock!
[Google Pixel 6 Pro] michaely123:
Hopefully this helps
[Google Pixel 6 Pro] DougMG:
@Freak07
[Google Pixel 6 Pro] Joseahfer:
A new reboot.
[Google Pixel 6 Pro] Rachid.Ala:
Hello,

I just wanted to say thank you for the amazing kernel. Battery life is amazing for my usage on my P6P.

Also I didn't have a single reboot that's why I didn't post any logs, I hope the issue some of the users are facing will be figured out.

I'm also posting a screenshot of my uptime just before flashing test Release 1.0.4_9

Keep up the nice work 👍👍
[Google Pixel 6 Pro] digger16309:
Sorry to ask this, but I'm not sure I've seen it before. Can I flash a new version of the kernel 1.0.4_9 over a prior compatible version 1.0.4 without doing anything else first?

P6P (Raven) on May update
[Google Pixel 6 Pro] shag_on_e:
So far running great on 1.0.4_9 though I didn't seem to have any issues with 1.0.4 .
[Google Pixel 6 Pro] LuckyTheCoder:
System crashed minutes after flashing :/
[Google Pixel 6 Pro] Justarandomguy:
Got two crashes the same day, one crash happened when I started live view on Google Maps and the other one while looking at photos in gphotos, the rest works flawless, I don't really care at all about the crashes, not a big deal for me.
[Google Pixel 6 Pro] Freak07:
Test Release 1.0.5_1

Hey everyone,

So I found some time to work on the issue again. :) Let´s see what happens this time. Fingers crossed.

Here´s another public test release that might address the crashes some are experiencing.

I want to say thanks again for flashing and providing logs. Without that I couldn´t work on the issue at all, since I still haven´t faced it a single time.

I read all the posts, checked all the logs but I don´t have time to reply to every single one of them, but dropped a thanks :)

So I´d like to ask, just like the last time:

I´d appreciate if as much users as possible could flash and run this. Especially those that suffered crashes before. In case you get a random reboot please zip up and share the contents of sys/fs/pstore once you phone booted up again just like so many did before, which is great for me to see!

Just like last time there are other improvements and updates to various patchsets.

Thanks to everyone flashing those tests and providing logs in case of a crash, you guys absolutely rock!
[Google Pixel 6 Pro] shingers5:
gonna try this and report. battery life on 6pro is not good on stock kernel so hoping this will improve battery life

to double check

- unlock boot loader

- flash with kernel flasher

do i need to root fist before flashing the kernel or could i sideload from fastboot mode?
[Google Pixel 6 Pro] AlDollaz:
Root. You need Magisk installed.
[Google Pixel 6 Pro] iwearthebelt:
i already tried that idea, not gonna help. Good thought though. Another 10 days or so and the June release should be available. Hopefully Google did their homework and fixed the issue. If you do root your phone, definitely install the kernel, it's much better than stock.
[Google Pixel 6 Pro] Freak07:
you can always flash on top of the prior version unless I state otherwise.

if coming from another kernel it´s best to restore stock conditions. :)

as @AlDollaz stated you need a working magisk environment as the kernel is dependent on framework changes.

before starting please read the first few posts, especially the requirements and instructions. reading the FAQ in advance can´t hurt too. :)

if your bad battery life is caused by an app or a service flashing a kernel won´t help. iirc last week google broke the google app that caused bad battery life on loads of devices.
[Google Pixel 6 Pro] michaely123:
Running 1.0.5_1
[Google Pixel 6 Pro] Stoowyguy:
Can you set user control min CPU speed.
[Google Pixel 6 Pro] Freak07:
no, cpufreqs are dynamically changed by the powerhal, the thermal hal and other mechanisms in the framework and will just overwrite other values.

you can restrict maxfreqs via cleanslate battery saver accessible via the cleanslate config app. search the thread for it, I explained it already a few times.
[Google Pixel 6 Pro] mlekomann:
Hello. Help me understand, in the list of recommended software, through which you can install the kernel, recommended - kernel flasher. It can backup boot.img (I understand correctly, if I have root now, then I make a backup of already modified boot.img, which is needed for root), dtbo.img, vendor_boot.img, vbmeta.img and vendor_dlkm.img.

Why, then, the way to restore via fastboot is described further on? Can I just restore all these partitions via kernel flasher to get them back?
[Google Pixel 6 Pro] Freak07:
Both ways work just fine. Either via fastboot/fastbootd or via kernel flasher.

it's not necessary to backup or restore vbmeta, as flashing only the kernel.zip does not change vbmeta.

If for some reason your phone is not booting properly (can happen for example if one flashes by accident an older kernel.zip that's not compatible with newer firmware) the only chance to restore is via fastboot/fastbootd.

So it's a more universal way and covers more cases. That's why it's included in the FAQ.
[Google Pixel 6 Pro] Stoowyguy:
Source code shows You have set some min cpu freqs.

// saver 1
#define LVL1_LITTLE 1598000
#define LVL1_BIG 1836000
#define LVL1_PRIME 2188000

// saver 2
#define LVL2_LITTLE 1401000
#define LVL2_BIG 1491000
#define LVL2_PRIME 1826000

// saver 3
#define LVL3_LITTLE 1197000
#define LVL3_BIG 1197000
#define LVL3_PRIME 1426000