Skip to content

Releases: Pzqqt/android_kernel_xiaomi_marble

Melt-marble-v2.6

15 Mar 14:00
Compare
Choose a tag to compare

Changelog:

  • Merge 5.10.212
  • Merge KERNEL.PLATFORM.1.0.r3-04200-kernel.0 (base)
  • Merge LA.VENDOR.1.0.r2-09400-WAIPIO.QSSI14.0 (wifi driver, audio driver, eva driver, dataipa driver)
  • Merge VIDEO.LA.2.0.r2-01900-WAIPIO.0 (video driver)
  • Synchronize with the upstream android12-5.10 and android12-5.10-lts branch
  • Update WiFi driver (2.0.9.21U)
  • Update NTFS3 driver
  • Update KernelSU driver
  • Disable CASS (it's said to cause some strange problems)
  • Backport the latest binder driver
  • Backport kernfs driver from android13-5.10
  • Backport the latest Damon driver from AmazonLinux
  • Add EDAC modules to custom module blacklist
  • Add cs35l43_dlkm to custom module blacklist
  • Add Coresight device placeholder driver
  • Recompile the binder prio driver and optimize for AOSP's default launcher and Poco Launcher
  • Fix a memory leak bug in msm_kgsl
  • Use 12ms half-life for PELT (faster system response while taking into account power saving)
  • Introduce & enable Uclamp Assist (improve performance or save power by controlling CPU utilization of tasks in different process groups)
  • aw882xx: Force disable cali mode for marble
  • goodix_9916r: Allow enabling 360HZ sampling rate in the "Game Turbo" app of MIUI/HyperOS (set 触控滑动跟手性 to higher than 2nd gear)
  • goodix_9916r: Fix the problem of high touch sampling rate failure after reopening the screen
  • goodix_9916r: Set the correct regulator output voltage for marble
  • goodix_9916r: Do not compile fod function for marble
  • AK3: Added an option during installation to always use 360HZ touchscreen sampling rate
  • AK3: Added an option during installation to fix abnormal battery usage data in some AOSP roms
  • AK3: Added an option during installation to make the device display a more realistic battery percentage
  • Disguise the kernel version string to pass the Play Integrity authentication (prepare for possible futures)
  • Compile kernel image with Google clang 18.0.1
  • Some other fixes and optimizations

photo_2024-01-15_17-47-06

Note:

  • (for Chinese users) 在尝试安装Melt内核之前,请认真阅读以下内容(如果阅读英文有困难,可以借助翻译软件)。如果你没能阅读并理解以下内容,请不要安装Melt内核!如果你执意按照自己的想法行动,由此造成的设备无法启动、数据丢失、变砖,我不负任何责任!
  • I cannot guarantee it's compatible with EvolutionX A14 rom, please test it yourself.
  • LineageOS based on OSS kernel is not supported.
  • Support both MIUI14 firmware and HyperOS firmware.
  • Unless you are absolutely sure, do not try to bypass restrictions to install Melt on other models. Please be responsible for your actions!
  • If you just installed or updated a rom, then Melt Kernel may fail to install until the snapshot merge is complete. Usually, after installing or updating rom, the Android system will silently merge snapshots in the background. You can manually merge snapshots in TWRP's Advanced menu. Some technical details.
  • If you are installing the Melt Kernel on the current ROM for the first time, we recommend that you follow the prompts during installation to generate a restore package. If you want to restore the stock kernel or replace with another kernel, you should flash this restore package, otherwise you can only dirty flash rom. Please note: If you try to change kernel before reverting to stock kernel, your device may not boot!
  • If you encounter the problem that the device cannot boot after installing Melt Kernel, please refer to the solution.

About KernelSU:

  • Select through the volume keys during the installation process to install the kernel that supports KernelSU.
  • Install the KernelSU app v0.8.1 for use with KernelSU.
  • We don't recommend using Magisk and KernelSU at the same time. If any problems occur, it's your own responsibility!

v2.6-unstable changelog (differences from v2.6):

  • Drop "per memcg lru lock" (it has too many conflicts with mglru)
  • 🚫 Add MultiGenerational LRU support (v15 patch)
  • 🚫 Add BBR2 TCP congestion control algorithm support

⚠️ Warning:

  • Features marked with 🚫 are definitely not going to be in the stable release since they seriously destabilize KMI. It's not worth sacrificing stability for these new features.

So, can this unstable kernel boot?

  • I don't know. Try yourself.

Can I use it for a long time?

  • I don't know. Try yourself.

I found a bug in the unstable build, what should I do?

  • Switch to normal builds, and do NOT report bugs to developer that only happen on unstable builds!

Will the unstable version be kept updated?

  • I will update from time to time.

Melt-marble-v2.5

10 Jan 06:46
Compare
Choose a tag to compare

Changelog:

  • Merge 5.10.206
  • Merge KERNEL.PLATFORM.1.0.r1-17000-kernel.0 (base)
  • Merge LA.VENDOR.1.0.r1-24300-WAIPIO.QSSI14.0 (wifi driver)
  • Update WiFi driver (2.0.9.21L)
  • No more affine critical interrupts to big cores (fixed kernel panic issue when the device starts up when the battery level is below 5%)
  • Backport NTFS3 driver from v5.15
  • Remove SBalance (completely solve the problem of touchscreen sticking)
  • Add cpq I/O scheduler (extracted from diting's HyperOS rom)
  • Update the precompiled kernel modules to MIUI China V14.0.27.0.TMRCNXM / MIUI Global OS1.0.2.0.UMRMIXM
  • Update KernelSU driver
  • Compile kernel with Google clang 18.0.0
  • Some other optimizations

Note:

  • (for Chinese users) 在尝试安装Melt内核之前,请认真阅读以下内容(如果阅读英文有困难,可以借助翻译软件)。如果你没能阅读并理解以下内容,请不要安装Melt内核!如果你执意按照自己的想法行动,由此造成的设备无法启动、数据丢失、变砖,我不负任何责任!
  • I cannot guarantee it's compatible with EvolutionX A14 rom, please test it yourself.
  • Starting from this version, Melt Kernel will support both MIUI14 firmware and HyperOS firmware, and the installer will install different kernel modules according to different firmware. This also means that Melt Kernel starting from this version also supports HyperOS and AOSPA A14.
  • If you just installed or updated a rom, then Melt Kernel will fail to install until the snapshot merge is complete. Usually, after installing or updating rom, the Android system will silently merge snapshots in the background. If you don't want to wait for the process, you can manually merge snapshots in TWRP's Advanced menu. Some technical details.
  • If you are installing the Melt Kernel on the current ROM for the first time, we recommend that you follow the prompts during installation to generate a restore package. If you want to restore the stock kernel or replace with another kernel, you should flash this restore package, otherwise you can only dirty flash rom. Please note: If you try to change kernel before reverting to stock kernel, your device may not boot!
  • The kernel module is still compiled with Google clang 12.0.5, to ensure compatibility with other precompiled kernel modules, but it's doesn't matter.

About KernelSU:

  • Select through the volume keys during the installation process to install the kernel that supports KernelSU.
  • Install the KernelSU app v0.7.5 for use with KernelSU.
  • We don't recommend using Magisk and KernelSU at the same time. If any problems occur, it's your own responsibility!

v2.5 ksufix build changelog:

  • KernelSU: Fix secctx mem leak

If you don't use KernelSU, you can ignore this build.

Melt-marble-v2.4

09 Dec 03:56
Compare
Choose a tag to compare

Changelog:

  • Merge 5.10.201
  • Merge KERNEL.PLATFORM.1.0.r1-16800-kernel.0 (base)
  • Merge LA.VENDOR.1.0.r2-07200-WAIPIO.QSSI13.0 (wifi driver, audio driver)
  • Update WiFi driver (2.0.9.20Z)
  • Backport the latest Damon driver from AmazonLinux
  • Backport zsmalloc from v6.5
  • Backport zram from v6.4
  • Affine fingerprint, touchscreen, display, and GPU interrupts to big cores to improve performance and response speed
  • Replace all kernel modules in vendor_dlkm and vendor_boot (non-recompiled kernel modules will use precompiled modules extracted from MIUI China v14.0.25.0)
  • Optimize the installation script to greatly improve the installation success rate😅
  • Update KernelSU driver
  • Compile kernel with Slim LLVM 17.0.6
  • Some other optimizations

Note:

  • If you just installed or updated a rom, then Melt Kernel will fail to install until the snapshot merge is complete. Usually, after installing or updating rom, the Android system will silently merge snapshots in the background. If you don't want to wait for the process, you can manually merge snapshots in TWRP's Advanced menu. Some technical details.
  • If you are installing the Melt Kernel on the current ROM for the first time, we recommend that you follow the prompts during installation to generate a restore package. If you want to restore the stock kernel or replace with another kernel, you should flash this restore package, otherwise you can only dirty flash rom.
  • The kernel module is still compiled with Google clang 12.0.5, to ensure compatibility with other precompiled kernel modules, but it's doesn't matter.

About KernelSU:

  • Select through the volume keys during the installation process to install the kernel that supports KernelSU.
  • Install the KernelSU app v0.7.1 for use with KernelSU.
  • We don't recommend using Magisk and KernelSU at the same time. If any problems occur, it's your own responsibility!

Melt-marble-v2.3

27 Oct 07:02
Compare
Choose a tag to compare

Changelog:

  • Merge v5.10.197
  • Merge KERNEL.PLATFORM.1.0.r3-03800-kernel.0 (base)
  • Merge LA.VENDOR.1.0.r2-06800-WAIPIO.QSSI13.0 (wifi driver)
  • Merge LA.VENDOR.1.0.r1-23800-WAIPIO.QSSI14.0 (eva driver, dataipa driver)
  • Merge VIDEO.LA.2.0.r1-09200-WAIPIO.0 (video driver)
  • Update WiFi driver (2.0.9.20C)
  • boeffla_wl_blocker: Block some wakelocks by default
  • kernel: Introduce SBalance IRQ balancer
  • Fixed the issue of abnormal battery usage data in some AOSP roms
  • ashmem: Rewrite by Sultan
  • mbcache: Speed up cache entry creation
  • Add & enable lazy RCU
  • Switch to fq_codel queue discipline
  • Latest Nintendo Switch controller drivers
  • Backport "per memcg lru lock" from v5.15
  • AK3: Skip checking super device free space
  • AK3: Update some kernel modules of the vendor_boot partition during installation
  • Some other fixes and optimizations

Note:

  • If you just installed or updated a rom, then Melt Kernel will fail to install until the snapshot merge is complete. Usually, after installing or updating rom, the Android system will silently merge snapshots in the background. If you don't want to wait for the process, you can manually merge snapshots in TWRP's Advanced menu. Some technical details.
  • If you are installing Melt Kernel for the first time, a restore package of the stock kernel, vendor_boot, and vendor_dlkm partition will be created under /sdcard. You can flash it in when you need it.
  • Starting from this version, Melt Kernel will modify the vendor_boot partition as it modifies the vendor_dlkm partition. At present, only some kernel modules are updated, and there may be new functions in the future.
  • If you still encounter the problem of abnormal battery usage data, please dirty flash the ROM and delete the battery usage data, and then try to install Melt kernel again.

About KernelSU:

  • Select through the volume keys during the installation process to install the kernel that supports KernelSU (under the premise that Magisk is not installed).
  • Install the KernelSU app v0.7.0 for use with KernelSU.
  • If the installer detects that you already have Magisk installed, the option to install KernelSU support will not appear. If you want to install the Melt kernel with KernelSU support, be sure to completely uninstall Magisk first.
  • If for some reason you really want to install Melt Kernel with KernelSU support if Magisk is already installed, select Melt-Kernel-marble-v2.3-multi_1.zip. Apart from lifting the above restrictions, there is no other difference from Melt-Kernel-marble-v2.3-multi.zip.

Melt-marble-v2.2

29 Aug 09:02
Compare
Choose a tag to compare

Changelog:

  • Merge v5.10.191
  • Merge KERNEL.PLATFORM.1.0.r1-15600-kernel.0 (base)
  • Merge LA.VENDOR.1.0.r1-23000-WAIPIO.QSSI13.0 (wifi driver)
  • Merge VIDEO.LA.2.0.r1-08700-WAIPIO.0 (video driver)
  • Update cvp, eva, dataipa, datarmnet drivers to LA.VENDOR.1.0.r2-05800-WAIPIO.QSSI14.0
  • Update WiFi driver (2.0.9.19P)
  • Update KernelSU driver
  • Add back the missing touch boost feature
  • Enable TTL/HMARK target support
  • Optimize vibration
  • Add debug_ext to custom module blacklist
  • Fix the problem that sometimes battery usage data was not available
  • Some optimizations for TEO governor
  • Some optimizations for lz4

Note:

  • If you just installed or updated a rom, then Melt Kernel will fail to install until the snapshot merge is complete. Usually, after installing or updating rom, the Android system will silently merge snapshots in the background. If you don't want to wait for the process, you can manually merge snapshots in TWRP's Advanced menu. Some technical details.
  • If you are installing Melt Kernel for the first time, a restore package of the stock kernel and vendor_dlkm partition will be created under /sdcard. You can flash it in when you need it.
  • After installing the rom via fastboot (or installed MIUI.eu rom), if you immediately reboot into recovery and install Melt Kernel, there is a high chance that the generated restore package will be lost after reboot! Some technical details.

About KernelSU:

  • Select through the volume keys during the installation process to install the kernel that supports KernelSU.
  • Install the KernelSU app v0.6.7 for use with KernelSU.

Melt-marble-v2.1

11 Aug 02:15
Compare
Choose a tag to compare

Changelog:

  • Merge v5.10.189
  • Merge KERNEL.PLATFORM.1.0.r3-03400-kernel.0 (base)
  • Merge LA.VENDOR.1.0.r2-05800-WAIPIO.QSSI14.0 (audio)
  • Use the latest msm_video and msm-mmrm drivers (VIDEO.LA.2.0.r2-01200-WAIPIO.0)
  • Add sound control
  • Remove panic logstore driver (useless)
  • Update KernelSU driver
  • Recompile some driver modules to reduce debugging
  • Disable more debug and logspam
  • Adjust the install script to handle various situations

Note:

  • If you just installed or updated a rom, then Melt Kernel will fail to install until the snapshot merge is complete. Usually, after installing or updating rom, the Android system will silently merge snapshots in the background. If you don't want to wait for the process, you can manually merge snapshots in TWRP's Advanced menu. Some technical details.
  • If you are installing Melt Kernel for the first time, a restore package of the stock kernel and vendor_dlkm partition will be created under /sdcard. You can flash it in when you need it.
  • After installing the rom via fastboot (or installed MIUI.eu rom), if you immediately reboot into recovery and install Melt Kernel, there is a high chance that the generated restore package will be lost after reboot! Some technical details.

About KernelSU:

  • Package with -ksu in filename have KernelSU support.
  • Install the KernelSU app v0.6.6 for use with KernelSU build.

Melt-marble-v2.0

26 Jul 16:52
Compare
Choose a tag to compare

Changelog:

  • Merge KERNEL.PLATFORM.1.0.r1-15400-kernel.0
  • Latest WiFi driver (v2.0.9.19K)
  • Added the function of automatically dumping logs when the kernel panics
  • Upgrade aw882xx driver to v1.13
  • Disable some useless logging and debugging drivers
  • Disable avc log by default
  • Disable more debug and logspam
  • Recompiled some kernel modules
  • Some other fixes and optimizations

Note:

  • Previous name: Paradox.
  • Starting from this version, my kernel will flash the new vendor_dlkm partition image during installation. If you want to replace with another kernel, you may need to revert to the original vendor_dlkm partition.
  • Since the new WiFi driver is included in the vendor_dlkm image I provided, no additional AK3 Helper Module will be created during installation. KernelSU build also works with the new WiFi driver without any action.

About KernelSU:

  • Package with -ksu in filename have KernelSU support.
  • Install the KernelSU app v0.6.2 for use with KernelSU build.

Paradox-marble-v1.1

12 Jul 02:11
Compare
Choose a tag to compare

Changelog:

  • Merge v5.10.186
  • Include the latest WiFi driver (v2.0.9.18Z) from CAF
  • Disabled a lot of debugging for WiFi driver module
  • Fixed device wakeup delay
  • Enable NTFS support
  • Disable Coresight driver to improve performance
  • Builtin aw882xx(audio) driver, and disabled a lot of debugging
  • Add a timeout to wakelocks globally
  • Tune cpusets values
  • Tune f2fs driver
  • Disable crc check
  • Some other optimizations

Note:

  • The WiFi driver is compiled as a ko module and loaded automatically at boot time. This feature relies on Magisk and is systemless. It doesn't matter if Magisk is not installed, the WiFi driver will remain the same.

About KernelSU:

  • Package with -ksu in filename have KernelSU support.
  • Install the KernelSU app v0.6.2 for use with KernelSU build.
  • The KernelSU build will not include the new WiFi driver. Because KernelSU handles modules differently than Magisk.

Paradox-marble-v1.0

04 Jul 12:40
Compare
Choose a tag to compare

Changelog:

  • First release
  • Merge v5.10.185
  • Base latest CAF tag (KERNEL.PLATFORM.1.0.r1-15300-kernel.0)
  • Enable DAMON-based reclaim by default
  • zstd: Upgrade to latest upstream stable version (v1.5.5)
  • Add Boeffla wakelock blocker driver
  • Add SamSung Generic I/O scheduler
  • Compile with Google clang 12.0.5

Note:

  • In order to ensure the stability of KMI, I will not add too many features, please understand
  • I'm testing on MIUI, it should also boot on AOSP