Const Coccinelle

CosmicFresh kernel for M21 devices running OneUI 3.1

/ Features /

Supports M21 (2020) devices
Samsung debug cruft nuked to reduce overall overhead
Using zswap + vbswap to replace zram:

Latest SElinux subsystem backported from mainline
mmap/mremap backported from mainline for perf boost
vmalloc backported from mainline to improve memory allocation performance
tlb backports from mainline
Latest G2D drivers backported from GS101
Kernel arm64 routines backported from linux-next
Kernel libs backported from mainline
Latest Wi-Fi/BT driver stack from Samsung
GPU driver improvements backported from GS101
Hrtimer backported from mainline
CGROUP and FREEZER_V2 backported from mainline
FUSE_SHORTCIRCUIT ported over from oplus for better io perf
Updated ARM GPU drivers stack
And more

Uses Sultan’s Simple LMK
VLAs nuked in their entirety
Use 300hz ticker rate
Network stack improvements
LSE atomic enabled
vDSO 32 patches to improve 32-bit performance
Uses arter97’s RapidGC as f2fs GC
Optimized freq table for the SOC
Touchscreen driver optimizations for lower power usage and latency
Fingerprint driver optimizations for lower latency
Uses SRandom for better perf(but very unsafe)
Westwood as the default TCP network congestion control
Modules inlined for an overall lighter kernel
Built with Clang 12 and ThinLTO, DCE and -03 optimizations
Power usage optimizations
Memory management optimizations
Affined important services to Big cluster.

/ Changelog /


Flashing instructions



Updated on