tiann / KernelSU

A Kernel based root solution for Android
https://kernelsu.org
GNU General Public License v3.0
10.05k stars 1.64k forks source link

Please add support for android12-5.10.117 #281

Closed brijagstu7 closed 1 year ago

brijagstu7 commented 1 year ago

OnePlus 11r (or Ace 2) has an android12-5.10.117 kernel number

tiann commented 1 year ago

you can try 5.10.149, it is same KMI

natsumerinchan commented 1 year ago

Copy from website

KMI

Kernel Module Interface (KMI), kernel versions with the same KMI are compatible This is what "genernal" means in GKI; conversely, if the KMI is different, then these kernels are not compatible with each other, and brushing in a kernel image with a different KMI than your device may cause a bootloop.

Specifically, for GKI devices, the kernel version format should be as follows:

KernelRelease :=
Version.PatchLevel.SubLevel-AndroidRelease-KmiGeneration-suffix
w      .x         .y       -zzz           -k            -something

w.x-zzz-k is the KMI version. For example, if a device kernel version is 5.10.101-android12-9-g30979850fc20, then its KMI is 5.10-android12-9; theoretically, it can boot up normally with other KMI kernels.

TIP

Note that the SubLevel in the kernel version is not part of the KMI! That means that 5.10.101-android12-9-g30979850fc20 has the same KMI as 5.10.137-android12-9-g30979850fc20!

Kernel version vs. Android version

Please note: Kernel version and Android version are not necessarily the same!

If you find that your kernel version is android12-5.10.101, but your Android system version is Android 13 or other; please don't be surprised, because the version number of the Android system is not necessarily the same as the version number of the Linux kernel; The version number of the Linux kernel is generally consistent with the version of the Android system that comes with the device when it is shipped. If the Android system is upgraded later, the kernel version will generally not change. If you need to flash, please always refer to the kernel version!!

natsumerinchan commented 1 year ago

you can try 5.10.149, it is same KMI

His KMI seems to be 5.10-android12-9, actually he should flash android12-5.10.136?

brijagstu7 commented 1 year ago

you can try 5.10.149, it is same KMI

What about 5.4.xx? There doesn't seem to be one.

tiann commented 1 year ago

Please read the instruction first.

LeChenOS commented 1 year ago

oneplus ace2 kernelsu 文件以及lsp wwnq.lanzoub.com/b022jebod 密码:fizx