Skip to content

Releases: tbyool/android_kernel_xiaomi_sm6150

Spiteful Kernel 05/11/2025

05 Nov 16:02

Choose a tag to compare

Bumped bpf uname spoof to boot A16 QPR2

Fixed broken pstore logs (purpose is to debug kernel panics/"random reboots")

Fixed many random reboots

Implemented kprofiles

Fixed bad thermal behavior that was causing overheating and ln8000 charging beyond fast charge temp thershold

Slightly nerfed performance to reduce heating

Miscellaneous changes to improve battery life and smoothness

[SUSFS] Merged missed sus_maps backport to SUSFS 1.5.12

Kernel zip now has 3 Images inside!

KernelSU-Next v1.1.1 (12852) + SUSFS 1.5.12 [manager apk/spoofed/susfs module]

RissuKSU v1.0.5-81-legacy (12328) w/o SUSFS. [manager apk/spoofed] (You are expected to hide root through ZygiskNext or ReZygisk + TreatWheel)

No root (Default selection and forced if Magisk is detected)

You need to use the VOL UP + button to cycle through the options and VOL DOWN - to confirm selection

Spiteful Kernel 21/10/2025

21 Oct 13:36

Choose a tag to compare

Upstreamed base crdroid kernel
Reset to 0621 build to rework the kernel from it's initial release

Kept only known good changes from beyond 0621

Switched to WALT with many optimizations for it

More schedtune improvements

Fixed heating during normal usage issue

Set kernel timer back to 300Hz

Set split rate limits, 1000down/500up for little, 2000down/500up for big

Attempts to fix the "this kernel breaks my wifi" issue (however, I can't really fix what I cannot reproduce, please send kernel logs if you're still experiencing this.)

Attempt to fix the charging at high temps issue by toning down charger temperature limits to 40 degrees and making the shutdown charging temp threshold for ln8000 to be 42 degrees

Implemented FUSE short circuit to improve I/O speeds for AOSP (MIUI cannot use it since MIUI uses sdcardfs.)

Brought back 90hz in an much stable manner (for both AOSP and MIUI)

[MIUI] Reworked MIUI drm changes in attempt to fix reported whitescreen flashes and freezing issues

[MIUI] Fixed IR Blaster that was broken by new media rc changes related to bpf changes in upstream crdroid kernel

[MIUI] Add and enable Zen IO scheduler by default to compensate for AOSP having FUSE short circuit and improve I/O speeds for MIUI

If selected "KernelSU" option during flashing:

KernelSU-Next v1.1.1/12852 (manager apk/spoofed manager apk) + SUSFS 1.5.12 (susfs module)

Spiteful Kernel 28/09/2025

28 Sep 16:38

Choose a tag to compare

Dropped ALOT of things from 082X builds that caused stability issues and/or unprecedented increased draining

Dropped 90hz for both AOSP and MIUI due to complexity and stability issues caused

Brought back schedhorizon, devfreq_boost and Sbalance as they where not behind the reason why draining was increased

Made CASS work without Uclamp (as Uclamp was dropped and we are back to SchedTune)

Fixed problem where SLMK was too lax to be triggered (residual of MGLRU)

Allowed memory sysctls (FKM -> Kernel Settings -> Memory tab) to be R/W again due to request

Lowered duration for cpu input and devfreq boosts to 64ms

Many sched changes for much lesser battery drain yet (fr this time 😭)

Minor stuff related to dmesg spamming

[MIUI] Dropped KCAL

If selected "KernelSU" option during flashing:

SukiSU-Ultra v13337 (manager apk) + SUSFS 1.5.10 (SukiSU has integrated SUSFS config in their manager, see the icon next to the power button in SukiSU manager)

Kernel supports other managers too (RKSU and KSUN), however, expect no support for any issues that arises if you're not using the main SukiSU manager. SUSFS module for other managers (direct-dl)

For compatibility reasons with other managers, KPM support is not implemented

Spiteful Kernel 26/08/2025

26 Aug 17:35

Choose a tag to compare

HOTFIX UPDATE

Dropped anxiety and iosched_switcher due to causing unprecedented issues that did not occur during testing phase

[MIUI] Fixed broken media on NSU variant (sdcardfs somehow got disabled for the NSU build)

Upstreamed SukiSU and SUSFS

Minor AK3 changes

SukiSU-Ultra v13312 (manager apk) + SUSFS 1.5.9 (SukiSU has integrated SUSFS config in their manager)

Kernel supports other managers too (RKSU and KSUN), however, expect no support for any issues that arises if you're not using the main SukiSU manager. SUSFS module for other managers (direct-dl)

For compatibility reasons with other managers, KPM support is not implemented.

Spiteful Kernel 22/08/2025

22 Aug 15:48

Choose a tag to compare

Switched from SchedTune to Uclamp and many more sched changes for much lesser battery drain yet consistent smoothness (slightly worse performance maybe)

Dropped schedhorizon, devfreq_boost and disabled Sbalance for battery sake

Made the minimum gpu freq of 140Mhz available, dropped adrenoboost

Silenced so many dmesg log spammers

Added CASS and BORE

Merged binder android12-5.10-lts backports alongside additional more upstreams

Added anxiety i/o scheduler to be changed to in screen off for lesser deep sleep drain along many more changes regarding deep sleep

Relaxed charging temperature limits slightly and added bypass charging

Dropped MGLRU, disabled PSI and MEMCG (aka ROM-sided lmkd support) due to worse mm (thanks @therealmharc for letting me know)

Added SimpleLMK with dynamic configs for 4/6/8 gigs of RAM

Added le9 with dynamic configs for 4/6/8 gigs of RAM

Other stuff I forgor about

[AOSP] Added 90hz

SukiSU-Ultra v13301 (manager apk) + SUSFS 1.5.9 (SukiSU has integrated SUSFS config in their manager)

Kernel supports other managers too (RKSU and KSUN), however, expect no support for any issues that arises if you're not using the main SukiSU manager. SUSFS module for other managers (direct-dl)

For compatibility reasons with other managers, KPM support is not implemented.

Spiteful Kernel 31/07/2025

31 Jul 13:41

Choose a tag to compare

Reverted ALMK, instead picked PSI backports/upstreams and enabled PSI again for ROM-sided lmkd

Even more compiler optimizations

Picked some even more kgsl improvements, a kthread is better than a workqueue

Picked sched improvements

Brought back Sbalance with improvements such a higher polling rate and excluding big cores from IRQ, letting little cores be on IRQ duty because we still can't let big cores do everything ;)

DTSI changes for improvements

Reverted threaded NAPI changes due to causing random kernel panics (soft reboots) with no noticeable benefit

Dropped fake linage paths patch due to causing detections itself

Reverted some power supply changes that caused heating during charging and picked ln8k improvements, bumped fast charge limit to 43c

Brought back schedutil and made it the default due to how power-consuming and performance-oriented schedhorizon is. Fret not, it's still there to be used via FKM if needed

Other minor stuff

[MIUI] Fixed HBM triggering whenever HDR content is played

RissuKSU v1.0.5-10-legacy v12232 (manager apk, spoofed manager apk)
Due to backport constraints and performance issues, SUSFS has been dropped
You are now expected to hide root using ONLY ONE of the 3 module combos below:

ZygiskNext + Shamiko
ReZygisk + TreatWheel
(ZygiskNext/ReZygisk) + NoHello

Being unable to hide root without SUSFS is skill issue.

Spiteful Kernel 20/07/2025

20 Jul 12:55

Choose a tag to compare

Upstreamed base crdroid kernel to 16.0 branch (NFC issue is fixed and some other stuff)
Fixed broken LTO compilation on upstream base (see upstream/lto branch)
Fixed frame drops issue by dropping/disabling Sbalance, PID map reads on little cores and 12ms PELT (using 16ms now)
Implemented TEO cpuidle governor with cpuidle and lpm-level changes
Picked hrticker upstreams/improvements
Disabled support for ROM-sided lmkd and enabled ALMK with improvements to ALMK and OOM reaper
Implemented Oplus mm hacks and reduce swappiness to 10% to compensate for MGLRU being aggressive to ZRAM
Picked ZRAM improvements, required by memory compaction
Picked ThinLTO and MGLO optimizations to provide better performance
Compiled with AOSP Clang 20 to benefit from previously mentioned ThinLTO and MGLO optimizations
Other stuff I forgot..

[MIUI] Block installation on A16 HyperOS/ColorOS/OxygenOS due to stuck on splash screen issue until that gets resolved
[MIUI] Properly import Xiaomi drm changes to fix broken AOD DT2W

RissuKSU v1.0.5-10-legacy v12219 (manager apk, spoofed manager apk)
Due to backport constraints and performance issues, SUSFS has been dropped
You are now expected to hide root using ONLY ONE of the 3 module combos below:

ZygiskNext + Shamiko
ReZygisk + TreatWheel
(ZygiskNext/ReZygisk) + NoHello

Give the kernel up to 5 minutes after boot to settle

Spiteful Kernel 21/06/2025

21 Jun 15:15

Choose a tag to compare

Based on STOCK CRDROID Kernel source
Merged f2fs upstream to make it boot on all AOSP ROMs
Merged bpf changes to boot even A16
Added option to disable ebpf uname spoofing for A13 ROMs which have problems booting with that
Disable WALT, optimizations for PELT instead
12ms pelt half-life, 250Hz kernel tickrate
Tuned to ktweak
Schedhorizon added with several improvements (is the default)
Added bbr2 TCP congestion algorithm (is the default)
Sbalance, boeffla wakelock blocker
Several optimizations and task shifting to the little cores (because we can't just have the big cores do everything)
Several memory management optimizations, added MGLRU
Other stuff I forgot about....
Compiled with Greenforce clang v21 + EvaGCC v16

RissuKSU v1.0.5-10-legacy v12201 (manager apk, spoofed apk)
SUSFS 1.5.7 (direct module dl link)