[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] momojuro:
Hello, friend.

Inspired by @wrongway213's original custom kernel for Pixel 4/XL, I decided to make my own project once I grab my hand on a Google device myself. 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 blu.spark, Sultan 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 Google and Qualcomm - CAF

Filesystem (ext4/f2fs) optimizations

Scheduler code improvements for better CPU tasks assigning

Disabled several debugging cruft

WireGuard support

Memory related features

Merge zRAM and zRAM's compression algorithm code updates

Increase zRAM's disksize to 4GB (from the stock 2GB). Apps can be easily memory intensive nowadays...

Swap 1 page at a time instead of the default's 8, so that it may help in case "the device is under extreme memory pressure"

(source: https://source.android.com/devices/tech/perf/low-ram)

Reduce memory and CPU time usage by avoiding dynamic memory allocations in different kernel components (thanks to @arter97 and @Sultanxda)

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

The processor uses freq-energy-model with calculated capacities for power efficiency

Some of the main kernel parts (such as the audio drivers and the WLAN driver's delayed work/tasks) now use power-efficient workqueues (thanks to @Freak07)

Display "power-saving tweaks" merged-in (from Proton kernel - Pixel 4a 5G/Pixel 5)

Reduce the GPU idle timeout set to 58 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

Implement LRNG for better performance

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

Return before thermal trip evaluates (it is a workaround for the lag occurring when the device is low on battery and automatically switches to battery saving mode)

Other under the hood changes

Extra features

KCAL Color Control with KLAPSE v5.0 support (thanks to @savoca, @tbalden, @flar2 and @eng.stk)

Backlight min. brightness and HBM option (thanks to @flar2)

Boeffla Wakelock Blocker (to use with caution, and only if it is necessary)

Download & Links

#2.66 Android 12 ZIP download:

https://sourceforge.net/projects/fs...a12/fsociety-tribute-stable#2.66.zip/download

#2.62 Android 11 ZIP download:

https://sourceforge.net/projects/fs...a11/fsociety-tribute-stable#2.62.zip/download

Android 12 Franco Kernel Manager custom json:

https://raw.githubusercontent.com/fsociety-tribute/sunfish/a12/fkm/fkm.json

Android 11 Franco Kernel Manager custom json:

https://raw.githubusercontent.com/fsociety-tribute/sunfish/a11/fkm/fkm.json

Telegram group:

https://t.me/fsociety_tribute_sunfish

Donations:

PayPal

Credits go to

@eng.stk for their clean sourcedrops' bases, their personal pieces of advice and also for their contributions

@wrongway213 for inspiring me to achieve this project, their precious free time and also for their contributions (especially this thread template)

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

@arter97 for his contributions

@kdrag0n for Proton kernel and their innovative contributions

@osm0sis for AnyKernel3 and his contributions

@Sultanxda for their outstanding contributions

@Kaz205 for their contributions

@flar2 for his contributions

@HolyAngel for HolyDragon kernel and their contributions

@pkgnex for his tuning script and contributions

@nathanchance for his compilation guides and repos

Thanks to

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

Every person that submitted a donation and showed me their support!

XDA:DevDB Information

fsociety tribute for Pixel 4a, Kernel for the Google Pixel 4a

Contributors

momojuro

Source code: Github repository

Kernel Special Features: Boeffla Wakelock Blocker, KCAL, KLAPSE, Wireguard

Version Information

Status: Stable

Current Stable Version: 2.66 (A12) - 2.62 (A11)

Stable Release Date: 2022-03-13

Created 2021-04-06

Last Updated 2022-03-13