Skip to content

NightKernel v3.0.0

Choose a tag to compare

@multi-forge multi-forge released this 18 Oct 19:02
· 19 commits to stable since this release

NightKernel Banner

NightKernel v3.0.0 — Galaxy A14 5G (SM-A146M)

Custom kernel for Samsung Galaxy A14 5G (SM-A146M, Exynos 1330 s5e8535) on Android 15 (One UI 7).

Note

Hardware Compatibility: Tested and verified exclusively on model SM-A146M.


Changelog (v3.0.0 & v2.1.0)

NightKernel v3.0.0

• Cpuidle TEO Governor: Migrated to teo governor (Timer Events Oriented) as default (.rating = 25), replacing legacy Samsung halo. Utilizes the kernel's next scheduled alarm (tick_nohz_get_sleep_length) as a hard ceiling, cutting idle exit latency from ~7.4µs to ~4.4µs and avoiding unnecessary power collapse (hercules-cpu-sl) sleep state drops.
• Samsung EMS Scheduler (Hysteresis Bypass): Latency-sensitive tasks (uclamp_latency_sensitive and uclamp.min >= 20, e.g. render and SurfaceFlinger threads) bypass the small task filter (is_small_task). They are promoted immediately to Cortex-A78 Big cores without waiting for the 16ms PELT window hysteresis, eliminating the 10.1ms p99 tail latency.
• Display-Aware QoS: Hardware pre-wakeup kick via IPI (smp_send_reschedule(6/7)) on display unblank event, proactively waking the Big cluster from power collapse before the first post-unblank frame is drawn.
• NTSync (Wine / Windows Emulators): Priority Inheritance (PI) queueing in /dev/ntsync (ntsync_add_waiter_prio) to prevent priority inversion during intensive emulator and game sync calls.
• MGLRU Texture Cache: Default min_ttl_ms = 1000ms, shielding Vulkan texture cache and graphic buffers against premature zRAM eviction.

NightKernel v2.1.0

• Toolchain & Compiler: Built with upstream LLVM / Clang 22.1.8 with ThinLTO and Google ACK 5.15 AutoFDO profile.
• Mali GPU DVFS: Reduced Mali-G68 DVFS sampling window from 100ms to 10ms for instantaneous sub-frame clock response under render load.
• Display-Aware Frequency Floor: Active 1.15 GHz frequency floor on Cortex-A78 Big cores with screen on, dynamically dropping to 0Hz when screen is off.
• Optimized TMU Filter: Smooth thermal sampling without premature aggressive clock throttling.
• NightBench Suite: In-tree and userspace benchmarking and validation suite.


Retained from Previous Versions

• Root & Stealth: ReSukiSU v4.2.0-rc3 integrated with SuSFS 2.1.0 and supercall isolation.
• Security: Baseband Guard (BBG) LSM protecting radio partitions and /efs.
• Autonomous Recovery: /proc/nightkernel_reboot for direct recovery reboot without USB cable and Panic-to-Recovery failsafe.
• Storage: mq-deadline I/O scheduler, 1024KB readahead, disabled redundant I/O statistics tracking.
• Network: TCP BBR v1 + Fair Queuing (FQ) congestion control by default.


Installation

• TWRP / Recovery: Flash NightKernel-v3.0.0-clang22-a14x.zip
• Odin: Flash boot-NightKernel-v3.0.0-a146m.tar in AP slot
• Root Shell (Termux):

dd if=boot.img of=/dev/block/by-name/boot bs=4096 && sync && reboot

Hashes (SHA-256)

e57497f0b68a7dc27ea4c37ee451c65b1c51b9be08ebbf845826a29561db2b0f  Image
720c37c31930e14495252b69f27cd80ee50593d52abb3089dc3b2a2bd2f5d73c  NightKernel-v3.0.0-clang22-a14x.zip
298f9bc89f757680dfcd34352e7d56da10ea8d995e69c01d20a27f0bc1fe9cb8  boot-NightKernel-v3.0.0-a146m.tar
61647e7e73d46483d60b9e85116f60cb7bb612d2f3e0d0a8f029f4c48aa18898  boot.img
983bf116a463291a2373436a10ad8c155b677efab315e0046b5ad050f50f85c6  nightkernel-v3.0.0-clang22.config