Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manager: detect init_boot with Android version in uname (#2142)
Redmi Note 12 Turbo (marble) comes shipped with Android 13, but the baseline/kernel target version is Android 12. ``` # getprop | grep api_level [ro.board.api_level]: [31] [ro.board.first_api_level]: [31] [ro.product.first_api_level]: [33] [ro.vendor.api_level]: [31] # uname -a Linux localhost 5.10.198-android12-9-00085-g226a9632f13d-ab11136126 #1 SMP PREEMPT Wed Nov 22 14:16:37 UTC 2023 aarch64 Toybox ``` Maybe we should use `ro.board.first_api_level` instead of `ro.product.first_api_level`, or the minimum value. But anyway, it's better to be consistent with ksud. https://github.com/tiann/KernelSU/blob/2f9210b2e79338e7e7b1eb91878cada2b9a37ed6/userspace/ksud/src/boot_patch.rs#L407
- Loading branch information