[Google Pixel 5a] momojuro:
Hello, friend.

Inspired by @wrongway213's original custom kernel for Pixel 4/XL, I decided to make my own project starting with the PIxel 4a 4G, and then wanted to expand the support to the Pixel 5a 5G. The naming is a tribute to both his ideas and Mr. Robot. fsociety tribute's goal is to give the device a set of useful features while ensuring its stability for a daily life usage. Those features and changes are pulled from different places like Sultan kernel, Arter97 kernel, Kirisakura and many more.

Features

General features

Built with Google Clang version 14.0.2 + LLD linker

Full -O3 build with chipset's flags included (thanks to @eng.stk and @Sultanxda)

AnyKernel3 powered installation to stay OTA and flashers (EXKM, FKM...) friendly

ARM64 architecture optimization and performance patches

Merged security and code fixes from Qualcomm - CAF

Filesystem (ext4/f2fs) optimizations

Scheduler code improvements for better CPU tasks assigning

Disabled several debugging cruft

Network related features

Set BBR as the default TCP network congestion control and switch to fq_codel queue discipline

(this combination improves network speed and reliability - thanks to @kdrag0n)

Enable support for TTL spoofing

Update Wireguard to its latest release

Power-saving related features

Display "power-saving tweaks" merged-in (from Proton kernel)

Reduce the GPU idle timeout set to 64 ms and implement GPU power-saving changes from Sultan kernel

battery: Tweak QG SOC to be more linear/monotonic (from Proton kernel)

That fixes the stock kernel's unlinear battery level curve, especially between 100% and 90%. The device will need a few charge-discharge cycles to take it into consideration

Performance related features

Faster system call filtering using BPF JIT (from Proton kernel)

Implement LRNG and enable it as default for better performance (more info at: https://www.phoronix.com/scan.php?page=news_item&px=LRNG-Random-2021-v41)

fuse: give wakeup hints to scheduler to speed up compress/decompress in internal storage (from Qualcomm,

found in P6's Kirisakura kernel)

Disable the GPU memory usage tracing (which was enabled for debugging purposes)

Other under the hood changes

Extra features

KCAL Color Control support (from ElementalX/Cleanslate - thanks to @savoca, @tbalden, and @flar2)

Vibration Control support (from ElementalX)

Download & Links

#1.57 ZIP download: https://sourceforge.net/projects/fsociety-tribute/files/pixel5a-5g/fsociety-tribute-stable#1.57.zip/download

Android 12/L Franco Kernel Manager custom json: https://github.com/fsociety-tribute/barbet/raw/a12-rebase/fkm/fkm.json

Support: Telegram group

Donations: PayPal

Credits go to

LineageOS and GrapheneOS for providing their initial source drops

@wrongway213 for inspiring me to achieve this project and his contributions (especially this thread template)

@eng.stk for blu_spark kernel, for his contributions and his personal pieces of advice

@tbalden for Cleanslate kernel, KCAL support, providing the building script and his contributions

@Freak07 for his guidance in solving my first kernel compiling issues and for his amazing contributions

@kdrag0n for Proton kernel and his innovative contributions

@Sultanxda for Sultan kernel and his outstanding contributions

@arter97 for Arter97 kernel and his efficient contributions

@osm0sis for AnyKernel3 and his contributions

@flar2 for ElementalX and his contributions

@nathanchance for his compilation guides and repos

Thanks to

@Anonshe, @peikojose and all my Telegram's group members for being the awesome testers they are

@lacia-chan and @JoshuaDoes for their technical support and the discussions we had together

Every person that submitted a donation, including Shane that gave me his financial contribution which pushed me to work on redbull

XDA:DevDB Information

fsociety tribute for Pixel 5a 5G, Kernel for the Google Pixel 5a 5G

Contributors

momojuro

Source code: Github repository

Kernel Special Features: KCAL, Vibration Control, Wireguard

Version Information

Status: Stable

Current Stable Version: 1.57

Stable Release Date: 2022-06-12

Created 2022-02-22

Last Updated 2022-06-12