From e3d2fc64aca3a0d626bbdd45011dc8b0f8a478cf Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Fri, 25 Apr 2025 14:03:16 +0800 Subject: [PATCH] Update the minimum supported kernel version and standardize kernel-related constants to 12800. --- manager/app/src/main/java/com/sukisu/ultra/Natives.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manager/app/src/main/java/com/sukisu/ultra/Natives.kt b/manager/app/src/main/java/com/sukisu/ultra/Natives.kt index ce12191c..ed65fed8 100644 --- a/manager/app/src/main/java/com/sukisu/ultra/Natives.kt +++ b/manager/app/src/main/java/com/sukisu/ultra/Natives.kt @@ -16,14 +16,14 @@ object Natives { // 10946: add capabilities // 10977: change groups_count and groups to avoid overflow write // 11071: Fix the issue of failing to set a custom SELinux type. - const val MINIMAL_SUPPORTED_KERNEL = 11071 + const val MINIMAL_SUPPORTED_KERNEL = 12800 // 11640: Support query working mode, LKM or GKI // when MINIMAL_SUPPORTED_KERNEL > 11640, we can remove this constant. - const val MINIMAL_SUPPORTED_KERNEL_LKM = 11648 + const val MINIMAL_SUPPORTED_KERNEL_LKM = 12800 // 12040: Support disable sucompat mode - const val MINIMAL_SUPPORTED_SU_COMPAT = 12040 + const val MINIMAL_SUPPORTED_SU_COMPAT = 12800 const val KERNEL_SU_DOMAIN = "u:r:su:s0" const val ROOT_UID = 0