Skip to content

Releases: NEESCHAL-3/EVONIX-Kernel

EVONIX Kernel V4.5

Choose a tag to compare

@NEESCHAL-3 NEESCHAL-3 released this 13 Oct 12:22

EVONIX Kernel V4.5

For POCO X7 Pro / Redmi Turbo 4 (rodin). Available for HyperOS and ColorOS, with Normal and KernelSU Next + SUSFS editions.

CPU scheduling and performance

  • Added latency-sensitive wakeup handling and shorter scheduling slices for tasks marked by the ROM.
  • Added PREEMPT_SHORT scheduling while retaining Android and MediaTek scheduling decisions.
  • Reduced repeated EEVDF eligibility calculations.
  • Fixed task-group runnable accounting overflow.
  • Corrected CPU-group selection for queued workloads.
  • Fixed utilization-clamp values carrying over between EAS CPU candidates.
  • Removed duplicate utilization updates during CPU and idle-state selection.
  • Skipped EAS domains without an allowed CPU candidate.
  • Avoided unused fallback calculations when MediaTek supplies CPU placement.
  • Reduced unnecessary frequency and CPU-capacity scans.
  • Improved guarded migration of queued workloads to suitable idle, higher-capacity CPUs.
  • Prevented failed misfit migrations from delaying unrelated load balancing.
  • Removed unnecessary destination searches and load-balancer updates.
  • Preserved vendor-requested NOHZ balancing work.
  • Added DVFS notifications when active cgroup performance clamps change.
  • Fixed CPUFreq policy initialization and reduced repeated frequency-table lookups.
  • Corrected schedutil rate-limit conversion overflow.

Power management and idle

  • Added power-efficient handling for selected asynchronous power-management work.
  • Reduced redundant deferred DMA-buffer worker notifications.
  • Avoided unused runtime-idle callback lookups.
  • Corrected normal-task timer-slack inheritance from real-time parents.
  • Fixed idle power-domain allocation cleanup and clocksource registration cleanup.
  • Corrected the userspace wakelock-limit boundary and tick-broadcast replacement race.
  • Reduced unnecessary memory clearing in OEM charging-status reads.

Memory and multitasking

  • Made proactive MGLRU reclaim interruptible during suspend.
  • Made interrupted memory-reclaim requests restartable.
  • Added Tasks-RCU progress reporting during reclaim, page migration and cgroup writeback.
  • Stopped obsolete memory-cgroup reclaim after newer limit updates.
  • Fixed locked-memory accounting and allocator zeroing.
  • Fixed shrinker callback handling.
  • Corrected swap readahead after its configured ceiling is lowered.
  • Rejected unsafe direct swap files on filesystem-encrypted storage.
  • Fixed repeated DAMON region aging, merge-threshold overflow and stale access-result reuse.

Storage and filesystems

  • Fixed ext4 orphan-buffer leaks and stale writeback tags.
  • Corrected ext4 direct-I/O to buffered-I/O fallback handling.
  • Fixed F2FS move-range validation and writeback error reporting.
  • Fixed block-cgroup creation cleanup, statistics traversal and dying-group handling.
  • Corrected block-device timeout cleanup and queue teardown.
  • Included offline CPUs' pending latency samples in block, Kyber and I/O-cost accounting.

Networking and kernel fixes

  • Fixed TCP retransmission lifetime, urgent-data corruption and outdated-ACK handling.
  • Fixed UDP tunnel-segmentation use-after-free.
  • Corrected IPv6 checksum bounds, extension-header parsing and segment-routing validation.
  • Fixed ARP interface-name termination, XPS traffic-class validation and IPv4 route cleanup.
  • Fixed POSIX CPU-timer lifetime races and PID-reference leaks.
  • Corrected timer-migration state, workqueue flush checks and watchdog overflow handling.
  • Fixed ARM64 per-CPU write casting and bitmask generation.

ColorOS

  • Integrated native MT6899 OPlus SchedAssist with MediaTek scheduler hooks.
  • Isolated OPlus scheduler storage from Xiaomi scheduler data.
  • Added the native waker-identification scheduler bridge.
  • Integrated FrameBoost with corrected MT6899 cluster ordering and CPUFreq-aware initialization.
  • Added OPlus CPUFreq health support and fixed OCH frequency-table lookup.
  • Integrated MIDAS v2.
  • Added OPlus process-reclaim, kswapd and proactive-compaction helpers.
  • Added HealthInfo Lite CPU-loading support.
  • Added OPlus project identification, rodin fallback and device/memory diagnostics.
  • Added Phoenix observation support without enabling its recovery watchdog.
  • Brought the shared V4.5 changes to both ColorOS editions.

KernelSU Next editions

  • Updated KernelSU Next to v3.4.1.
  • Corrected SUSFS kernel-stat compatibility with userspace.
  • Simplified SUSFS filesystem-stat handling using the existing VFS helper.

Download

  • HyperOS + KernelSU Next: EVONIX-HOS-V4.5-KSU-rodin-20261013.zip
  • HyperOS Normal: EVONIX-HOS-V4.5-Normal-rodin-20261013.zip
  • ColorOS + KernelSU Next: EVONIX-COS-V4.5-KSU-rodin-20261013.zip
  • ColorOS Normal: EVONIX-COS-V4.5-Normal-rodin-20261013.zip

Choose the ZIP for your ROM and preferred root edition. Verify its checksum using SHA256SUMS, flash through a compatible recovery or AnyKernel-capable kernel flasher, then reboot. Keep a backup of your working boot image. Do not install these ZIPs as root-manager modules.

Installation guide · Source

EVONIX Kernel V4.0

Choose a tag to compare

@NEESCHAL-3 NEESCHAL-3 released this 03 Oct 20:10

EVONIX Kernel V4.0

ARM64 / 4 KiB-page builds for Poco X7 Pro / Redmi Turbo 4 (rodin). Four enforcing builds are available:
HyperOS and ColorOS, each with KernelSU Next + SUSFS or Normal without built-in root.

Changes

  • Cortex-A725 instruction scheduling with the existing arm64 ISA.
  • Rodin EEVDF base slice tuning: 2 ms instead of 2.8 ms with eight-CPU logarithmic scaling.
  • Power-efficient consolidation for eligible workqueues, lazy RCU batching and deferrable KFENCE sampling.
  • Replaced the old bypass-charging implementation with a shared OEM charge-pause backend.
  • Bypass ownership checks, readback, failure rollback and measured battery-neutral status; fewer inactive supply reads.
  • Baseband-guard integration with independent LSM credential storage, policy-aware tracking, reference-balanced partition matching and rate-limited diagnostics.
  • KernelSU Next updated to v3.4.0 and SUSFS to v2.3.0 in the KSU builds.
  • Android Clang 23.0.1, ThinLTO and AutoFDO; O2 retained.

Downloads and installation

  • EVONIX-HOS-V4.0-KSU-rodin-20261004.zip: HyperOS, KernelSU Next + SUSFS.
  • EVONIX-HOS-V4.0-Normal-rodin-20261004.zip: HyperOS, no built-in root.
  • EVONIX-COS-V4.0-KSU-rodin-20261004.zip: ColorOS port, KernelSU Next + SUSFS.
  • EVONIX-COS-V4.0-Normal-rodin-20261004.zip: ColorOS port, no built-in root.

Choose the correct ROM family and root variant. Keep a known-good boot image and a recovery path. Verify the ZIP against SHA256SUMS before flashing with your compatible AnyKernel installation method. These ZIPs update the kernel Image only: no vendor_boot, recovery replacement or vendor modules are included.

EVONIX Kernel v3.5

Choose a tag to compare

@NEESCHAL-3 NEESCHAL-3 released this 13 Sep 06:52

EVONIX Kernel v3.5

Build Overview

Attribute Specification
Device Xiaomi POCO X7 Pro / Redmi Turbo 4 (rodin)
SoC MediaTek Dimensity 8400 Ultra (MT6899)
Kernel Base Linux 6.6.142
Stable Maintenance Linux 6.6.143 through 6.6.156 (cherry-picked from kernel.org)
Target ROM HyperOS
Toolchain Clang 23.0.1 / LLD 23.0.1 (Android Clang r614150)
Optimizations ThinLTO + AutoFDO (Android 6.6.142 profile)
Hardware Extensions MTE (Memory Tagging Extension) disabled
Root Integration KernelSU Next + SuSFS (KSU build variant)

Stable Maintenance & Scope

  • Kernel Base: EVONIX remains based on Linux 6.6.142. This is a hardened, targeted backport series rather than a blind rebase or full version jump to 6.6.156.
  • Selective Upstream Backports: Cherry-picked relevant stable patches from Linux 6.6.143 through v6.6.156 directly from kernel.org (linux-6.6.y stable git tree).
  • Scoping: Limited strictly to fixes applicable to rodin, Android GKI, enabled kernel features, and active runtime code paths.
  • Omissions: Server-only, non-arm64 architecture, debug-only, and disabled-subsystem changes were intentionally omitted.
  • Validation: Source and hardware validated on-device. Zero kernel panics, BUGs, Oops, use-after-free conditions, or lockups detected under stress testing.

Build & Compiler Foundation

  • Updated compiler toolchain to Clang 23.0.1 / LLD 23.0.1 (Android Clang build r614150).
  • Enabled ThinLTO (Link-Time Optimization) for smaller binary footprint and cross-module inlining.
  • Enabled AutoFDO (Automatic Feedback-Directed Optimization) using Google's Android Linux 6.6.142 AutoFDO profile.
  • Added pinned Clang 23 toolchain configuration for fully reproducible builds.
  • Disabled Memory Tagging Extension (MTE) to eliminate runtime overhead and avoid vendor module conflicts on Dimensity 8400.
  • Preserved KernelSU Next and SuSFS integration across builds.

Upstream Linux Backports (6.6.143 to 6.6.156)

Rather than waiting for upstream changes to propagate through Google's Android Common Kernel (ACK), critical stable fixes from kernel.org releases 6.6.143 through 6.6.156 were selectively audited and merged directly from the kernel.org stable tree:

  • Targeted Integration: Excluded enterprise, server-only, and non-arm64 architecture patches. Only improvements directly relevant to mobile workloads, Android GKI, memory efficiency, and storage were included.
  • Kernel Version Identity: The kernel identifies as 6.6.142-EVONIX-HOS-V3.5, containing approximately three months of upstream stable fixes applied beneath the base version.

Detailed Component Changelog

Scheduler & EAS (Energy-Aware Scheduling)

  • Utilization Accounting: Corrected runnable utilization accounting during CPU migration; separated runnable_avg and util_avg arithmetic to resolve estimation skew when runnable boosting is active, maintaining consistency between EAS and schedutil.
  • Affinity-Aware Wakeup Stats: Wakeup group statistics now strictly respect the task's allowed CPU mask, preventing disallowed CPUs from skewing destination-group idle statistics.
  • Overloaded Classification: Resolved false overloaded-group classifications under EAS/uclamp by tracking per-group CPU overutilization; requires an actually overutilized CPU before an EAS group is marked overloaded, preventing capacity-clamped groups from outranking genuine misfit groups while preserving root-domain tracking.
  • Overutilization with UCLAMP: Removed uclamp_min from CPU saturation detection to decouple minimum-performance requests from genuine saturation, preserving uclamp_max and vendor-hook hooks.
  • Asymmetric-Capacity Busiest-Group Selection: Evaluates CPU capacity prior to comparing load-balancer group types, preventing unsuitable higher-capacity source groups from prematurely winning selection and pulling tasks toward weaker destination CPUs.
  • Misfit Accounting: Only classifies a scheduling group as misfit when the destination CPU provides meaningfully greater capacity; allows standard has_spare / fully_busy balancing when migration yields no advantage, while maintaining root-domain overload signals and Android 6.6 sg_status / misfit-reason tracking.
  • RT Push IPI: Resolved an RT push IPI condition that could induce real-time scheduling livelocks or severe latency spikes on non-RT kernels.
  • PSI Timer Lifetime: Switched psi_cgroup_free() to timer_shutdown_sync(), preventing the PSI realtime poll timer from firing after its cgroup memory has been deallocated.

CPUFreq & Power Management

  • Hotplug / Suspend Synchronization: Synchronized cpufreq_suspend() against concurrent CPU hotplug events during reboot and suspend sequences, preventing governor data structures from being freed while still referenced by the suspend path.

Memory Management

  • File-Backed Huge-Page Accounting: Updated file PMD memory counters prior to releasing folio references, preventing access to folio state after the final reference is dropped.
  • Memfd Sealing Hardening: Enforced strict F_SEAL_WRITE semantics to prevent writable mappings from being created in violation of seal rules.
  • Deferred TLB Invalidation: Flushed deferred TLB invalidations prior to destroying reclaimed large folios, preventing stale translation entries from surviving folio deallocation.
  • Huge Zero PFN Concurrency: Corrected synchronization primitives around huge zero-page PFN access.

Cgroup Writeback

  • Lock Contention: Eliminated unnecessary wb->list_lock acquisitions when switching inode writeback contexts if no list migration is required.
  • Teardown Races: Resolved race conditions between cgroup writeback teardown and inode writeback switching (inode_switch_wbs()).
  • Asynchronous Switching UAF: Fixed a use-after-free condition in inode_switch_wbs_work_fn() by correcting writeback work lifetime handling.
  • Synchronization Cleanup: Removed the obsolete global RCU barrier from cgroup writeback teardown following race resolutions.

Userfaultfd

  • PTE Validation: Userfaultfd wait logic now checks writability only when the page table entry (PTE) is actually present.
  • VMA Registration Restrictions: Hardened registration against incompatible VMAs; explicitly rejects shadow-stack VMAs and unsupported VM_SPECIAL mappings while preserving valid hugetlb operation.

DAMON (Data Access Monitor)

  • LRU Lifetime Ordering: Acquires folio references prior to verifying LRU presence in DAMON LRU-state checks.
  • Region Management: Corrected tried-region removal routines, fixed hotness scoring under extreme intervals, and enforced exclusive handling of region end addresses.
  • Sysfs Cleanup & Validation: Corrected cleanup ordering for sysfs directories and statistics on internal initialization failures; added range validation to damon_set_regions() to reject overlapping ranges and invalid layouts.

Page Reporting, Suspend & ZRAM

  • Page Reporting Teardown: Transitioned page-reporting tasks onto the freezable system workqueue, ensuring reporting operations freeze before balloon queues are torn down during suspend.
  • ZRAM Partial-Write UAF: Resolved a use-after-free in ZRAM partial writes by ensuring backing-device read operations complete before temporary pages can be modified or released.

eBPF Subsystem

  • Buffer Management: Corrected buffer deallocation in replaced BPF sysctl write paths by using kvfree() for buffers allocated via kvzalloc().
  • Cgroup Sysctl Propagation: Restored propagation of sysctl values modified through bpf_sysctl_set_new_value().
  • Filesystem Inode Lifetime: Restored RCU-delayed freeing for bpffs inode data accessed during RCU path walks.
  • ABI & Structure Validation: Hardened bpf_prog_info userspace ABI by validating trailing padding for future structure compatibility.
  • Network & Socket Handling: Corrected IPv4 TOS handling through the INET6 API on IPv4-mapped IPv6 sockets; fixed NULL dereference in xdp_master_redirect() by verifying the master device before access; ensured private SKB creation before running egress BPF programs on shared SKBs in generic devmaps; hardened devmaps against fragmented frames in clone paths.
  • Message Data Bounds: Resolved integer overflows in bpf_msg_push_data() and bpf_msg_pop_data(), preventing undersized allocations, invalid bounds checks, and scatterlist out-of-bounds copies.
  • Verifier Logic: Corrected verifier stack-slot indexing for speculative-store-bypass mitigations; ensured verification of both normal and abnormal return paths for ld_abs / ld_ind within subprograms; preserved pointer provenance during scalar-pointer commuted arithmetic; enforced valid PTR_TO_STACK arguments in process_iter_arg().
  • JIT & Security: Added range validation for ARM64 BPF JIT conditional branches to reject out-of-range B.cond targets; hardened BPF inode-storage map allocation by rejecting BPF_MAP_TYPE_INODE_STORAGE when BPF LSM is uninitialized; restricted attachment to unsupported LSM hooks while retaining getselfattr support; corrected effective program replacement indexing under BPF_F_PREORDER; enforced rcu_dereference_bh() on TC egress filter reads in act_bpf.

File System (F2FS)

  • Deadlock Resolution: Resolved a deadlock in f2fs_balance_fs() and eliminated the gc_merge deadlock path by flushing cached OPU/IPU data BIOs prior to initiating garbage collection...
Read more

EVONIX Kernel v2.0

Choose a tag to compare

@NEESCHAL-3 NEESCHAL-3 released this 22 Mar 14:07

EVONIX Kernel v2.0

Device: Poco X7 Pro (rodin)

Changelog:

• Kernel

  • Rebased to Linux 6.6.127

• Security / Root

  • Integrated KernelSU Next with SuSFS support

• Memory Management

  • vm_stat_interval increased to 10 seconds (10x fewer VM wakeups during idle)
  • dirty_background_ratio reduced to 5% for improved background writeback
  • KSM disabled to eliminate constant RAM scanning
  • ZSWAP pool size increased to 30%

• CPU & Power Efficiency

  • CPU idle residency threshold reduced to 5µs for faster deep sleep entry
  • Power-efficient workqueues enabled by default
  • DRAM devfreq upthreshold tuned to 95%

• Networking

  • TCP keepalive interval increased to 150 seconds (fewer network wakeups)
  • TCP keepalive probes reduced to 5 (faster dead connection detection)
  • TCP established conntrack timeout reduced from 5 days to 1 hour
  • TCP send and receive buffers increased for better throughput

• System Optimization

  • Hung task check interval increased to 300 seconds (reduced background activity)
  • Console loglevel reduced to 3 (lower kernel logging overhead)

• Compatibility

• This kernel is developed and tested primarily on HyperOS 3.
• AOSP ROM compatibility is not officially tested.

If you plan to test it on AOSP ROMs, please use HyperOS 3–based AOSP builds only.
Feedback

• If you encounter bugs or issues, report them in the community.
• Suggestions and performance feedback are always welcome.

EVONIX Kernel v1.5

Choose a tag to compare

@NEESCHAL-3 NEESCHAL-3 released this 15 Mar 10:34

EVONIX Kernel v1.5

Device: Poco X7 Pro (rodin)


CHANGELOG

Stability fixes

• Reverted experimental scheduler changes that caused battery drain in v1.0
• Restored balanced CPU timer behavior to reduce unnecessary CPU wakeups
• Fixed aggressive disk write tuning that caused excessive background I/O activity

Battery improvements

• Improved CPU idle behavior for better standby battery life
• Smarter power management with deeper CPU sleep states
• Automatic suspend when the device is idle
• Improved energy-aware scheduling

Memory & background activity

• Reduced background memory scanning
• Improved disk writeback behavior to avoid unnecessary activity
• Faster suspend entry for improved idle efficiency

Performance & smoothness

• Improved scheduler latency for smoother UI performance
• Faster task scheduling for better responsiveness
• Reduced unnecessary CPU core migrations

Memory tuning

• Improved filesystem cache retention
• Better RAM headroom for heavy applications
• Reduced aggressive memory swapping

Network optimizations

• Faster network reconnection after idle
• Lower network latency
• Faster cleanup of unused connections

I/O improvements

• Improved disk writeback throttling for smoother performance
• Kyber I/O scheduler tuned for balanced read/write latency


Compatibility

• This kernel is developed and tested primarily on HyperOS 3.
• AOSP ROM compatibility is not officially tested.

If you plan to test it on AOSP ROMs, please use HyperOS 3–based AOSP builds only.

Feedback

• If you encounter bugs or issues, report them in the community.
• Suggestions and performance feedback are always welcome.


Notes

• Focus of this release: stability, battery life, and smoother system behavior
• Fixes battery drain reported in v1.0

EVONIX Kernel v1.0

Choose a tag to compare

@NEESCHAL-3 NEESCHAL-3 released this 09 Mar 03:52

EVONIX Kernel v1.0 — Poco X7 Pro (rodin)
Base: Linux 6.6.126 GKI | Android 16 | HyperOS 3

Changelog

  • Upgraded kernel from 6.6.89 to 6.6.126
  • Kyber I/O scheduler forced as default (1ms read / 5ms write latency)
  • ZSWAP enabled with LZ4 compression for better RAM management
  • BBR TCP congestion control as default
  • KSM auto-enabled for improved memory efficiency
  • PELT x4 for faster CPU frequency response
  • HZ=300 for smoother system responsiveness
  • Writeback tuning for reduced I/O latency
  • AutoFDO profile-guided optimization
  • FUTEX optimizations for faster app wake-up and gaming
  • Memory compaction and migration enabled
  • CRC32 hardware acceleration
  • WiFi/BT vendor module compatibility fix