[Google Pixel 6 Pro] Freak07:
Update to Raviantha 1.0.2

Hey guys and girls,

So here´s the next release for stable April firmware! Kernel-wise there were quite a few security updates from google in the source. One of those security fixes serves as a good example to talk about how beneficial running latest linux-stable can be.

There are also a few new nice changes in the kernel that aim to improve both, performance and battery consumption by improving the cpuidle driver.

More information below.

The Power of Linux-Stable

CVE-2023-0266 was disclosed on January 13 2023. It was fixed in linux-stable with 5.10.163 on January 14. I merged 5.10.163 the same day in one of my personal builds. That means the fix was shipped via XDA on my kernel with the February release, just by having up to date linux-stable merged.

Google merged the fix in kernel/common on January 26. Then it usually takes a few months until this fix ends up in actual production kernels, in this case nearly 3 months. April update from google finally has kernel/common merged that includes the fix for CVE-2023-0266.

The Power of broken Magisk Updates

The recently released magisk v26 updates, both for beta and canary channel have broken selinux-contexts for freshly installed modules. Finally found the time to try that yesterday myself and confirm the issue.

It is fixed with this pull request that was merged a few hours ago, but at the time of writing both canary and beta v26 are affected by this bug.

That means if you´re running magisk v26 and flash the kernel zip, which creates the ak3 helper magisk module the powerhal config file will have a broken selinux-context, which will freeze/crash the phone as the hal can´t read the config file, because selinux blocks.

I´d like to make everyone aware of the instructions in the first post again. Please use magisk stable as I´m not keen on debugging magisk issues. Magisk beta/canary are called beta/canary versions for a reason!

Util-Awareness for TEO cpuidle

The main goal for this patch is to improve latency and improve performance for some workloads. It can also add to improved efficiency and decrased power usage during certain scenarios. Please note that this is still in the range of micro-improvements. It is basically impossible for an end user to "test" those improvements in real life conditions as there are too many variables that completely negate the effect those patches have.

As such I´m not really interested in benchmark score increases, battery life increases/decreases etc. I tested the changes in several micro benchmarks to confirm they have the desired effect. :)

If you want to read on the details please check the following link.

So enjoy ;)

F2FS-Stable

Thanks to @JakeDHS07 and another tester of mine sending logs I could provide feedback to the f2fs developers, which allowed them to identify and fix a npe that was introduced by the recent f2fs-stable updates.

The fix is included so the other improvements and updates from f2fs-stable could be restored!

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.177

- fix kernel panic in f2fs-driver, in addition restore f2fs-stable updates that introduced the panic

- improvements to memory management

- merge improvements for teo cpuidle gov, make util-aware (improves latency, performance and energy consumption, check this link for more information

- update ak3 zip, this might enable flashing on custom roms that aborted due to vendor_dlkm error

- 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