Skip to content

20240804

Compare
Choose a tag to compare
@liyafe1997 liyafe1997 released this 04 Aug 17:31
· 30 commits to android14-stable-mod since this release

en

This build is based on @UtsavBalar1231 upstream branch android14-stable, with some small fix, and also use cnss2 driver (Qualcomm WLAN driver) from android12-stable branch (because the new driver has some problems, it crashes when toggling WIFI/Airplane mode seems it fails to put the wlan hardware to sleep mode).

It should works on both stock MIUI and third-party AOSP based Android 11-14 ROMs. I have tested with apollo(Mi 10T / Redmi K30S Ultra) with MIUI12-14/HyperOS & Android11-14, AOSP based ROM (Pixel Experience/Paranoid/LineageOS) & Android13 and 14, also lmi(Redmi K30Pro) with MIUI14.0.4 & Android 12.

Since I only have these two devices, I didn't have a chance to test other models but it should works theoretically. You are welcomed to give feedback (Issues/Pull Requests)!

Please choose your model, AOSP-like or MIUI/HyperOS ROM, and with/without KernelSU from below to download the kernel zip. You can flash it in recovery (TWRP, etc.) or KernelFlasher App.

Note: The zip does not include the dtbo.img and it will not replace your dtbo partition. It is recommanded to keep the stock dtbo or the dtbo from your third-party rom (If the builder comfirmed it works well). Since there are some problems with the dtbo.img which built from this source, one of them is the screen will suddently goes to the highest brightness when shut try to shut off the screen in the lock screen. If you had flashed any other third-party kernels, and you got some weird problem, you should keep an eye to check your dtbo has been replaced or not.

Also, dtb is not flashed by default. (dtb is already in the zip). If you encounter some strange problems, you can try to flash it. Just uncomment # mv $home/kernels/dtb $home/dtb; in anykernel.sh.

zh-cn

该版本基于 @UtsavBalar1231 的上游分支android14-stable,修正了一些小问题,并且使用 android12-stable分支的cnss2驱动(高通的WLAN驱动)。(因为新版驱动在开关WIFI/飞行模式的时候会崩溃,看起来像是在把WLAN硬件切到睡眠模式时出问题)

该内核Build理论上应当能在原版MIUI和第三方的基于AOSP的各种Android11-14的ROM上使用。我只在apollo(Mi 10T / Redmi K30S Ultra)上测过MIUI12-14/HyperOS & Android11-14,AOSP类原生ROM (Pixel Experience/Paranoid/LineageOS) & Android13和14;以及lmi(Redmi K30Pro)上测过MIUI14.0.4 & Android12。

由于我只有这两个设备,所以我只能用这俩手机测,其它型号我没机会测,但理论上应该能用。欢迎大家尝试并反馈(提Issue或Pull Requests)!

请在下面选择正确的型号,AOSP类原生或者MIUI/HyperOS ROM,带或不带KernelSU,下载对应的Kernel zip包。可在Recovery(TWRP等),或者KernelFlasher App中刷入。

注意:该内核的zip包不包含dtbo.img,并且不会刷你的dtbo分区。推荐使用原厂的dtbo,或者来自第三方系统包自带的dtbo(如果原作者确认那好用的话)。因为该源码build出来的dtbo.img有些小问题,比如在锁屏界面上尝试熄屏时,屏幕会突然闪一下到最高亮度。如果你刷过其它第三方内核,或者遇到一些奇怪的问题,建议检查一下你的dtbo是否被替换过。

并且默认不刷dtbdtb已在zip中),如果你遇到奇怪的问题,可以尝试开启刷入dtb。把anykernel.sh中的# mv $home/kernels/dtb $home/dtb;取消注释即可。