diff --git a/website/docs/guide/faq.md b/website/docs/guide/faq.md index cc3c66f2..46356474 100644 --- a/website/docs/guide/faq.md +++ b/website/docs/guide/faq.md @@ -32,6 +32,13 @@ We don't think so and it's not our goal. Magisk is good enough for userspace roo It is possible. But you should download the kernel source and intergrate KernelSU to the source tree and compile the kernel yourself. +## Can KernelSU support devices below Android 12? + +It is device's kernel that affect KernelSU's compatability and it has nothing to do with Android version.The only restriction is that devices launched with Android 12 must be kernel 5.10+(GKI devices). So: + +1. Devices launched with Android 12 must be supported. +2. Devices with has an old kernel (Some Android 12 devices is also old kernel) is compatable (You should be kernel yourself) + ## Can KernelSU support old kernel? It is possible, but you need to backport it manully and PRs welcome! diff --git a/website/docs/guide/how-to-build.md b/website/docs/guide/how-to-build.md index 943e0d7c..98d9a864 100644 --- a/website/docs/guide/how-to-build.md +++ b/website/docs/guide/how-to-build.md @@ -5,6 +5,8 @@ First, you should read the Android Official docs for kernel build: 1. [Building Kernels](https://source.android.com/docs/setup/build/building-kernels) 2. [GKI Release Builds](https://source.android.com/docs/core/architecture/kernel/gki-release-builds) +> This page is for GKI devices, if you use an old kernel, please refer [how to integrate KernelSU for old kernel](how-to-integrate-for-non-gki) + ## Build Kernel ### Sync the kernel source code diff --git a/website/docs/guide/installation.md b/website/docs/guide/installation.md index 2abb43ff..213dd053 100644 --- a/website/docs/guide/installation.md +++ b/website/docs/guide/installation.md @@ -4,8 +4,8 @@ Download the KernelSU manager app from [github releases](https://github.com/tiann/KernelSU/releases) or [github actions](https://github.com/tiann/KernelSU/actions/workflows/build-manager.yml), and then install the app to device and open the app: -- If the app shows `Unsupported`, it means KernelSU is not supported for your device. -- If the app shows `Not installed`, then your devices is supported by KernelSU. +- If the app shows `Unsupported`, it means **You should compile the kernel yourself**, KernelSU won't and never provide a boot image for you to flash. +- If the app shows `Not installed`, then your devices is officially supported by KernelSU. ## Find proper boot.img diff --git a/website/docs/zh_CN/guide/faq.md b/website/docs/zh_CN/guide/faq.md index 9b5b52e7..b663e21c 100644 --- a/website/docs/zh_CN/guide/faq.md +++ b/website/docs/zh_CN/guide/faq.md @@ -4,19 +4,19 @@ 首先,您的设备应该能够解锁 bootloader。 如果不能,则不支持。 -然后在你的设备上安装 KernelSU 管理器并打开它,如果它显示 `Unsupported` ,那么你的设备是不受支持的,以后也不会得到支持。 +然后在你的设备上安装 KernelSU 管理器并打开它,如果它显示 `不支持` ,那么你的设备是不受支持的;但你可以自己编译内核来使用。 ## KernelSU 是否需要解锁 Bootloader ? -当然。 +当然需要。 ## KernelSU 是否支持模块 ? -是的,但它是早期版本,可能有问题。请等待它稳定 :) +支持,但它是早期版本,可能有问题。请等待它稳定 :) ## KernelSU 是否支持 Xposed ? -是的,[Dreamland](https://github.com/canyie/Dreamland) 和 [TaiChi](https::/taichi.cool) 现在部分可用,我们正在努力使其他 Xposed Framework 可用。 +支持,[Dreamland](https://github.com/canyie/Dreamland) 和 [TaiChi](https::/taichi.cool) 现在部分可用,我们正在努力使其他 Xposed Framework 可用。 ## KernelSU 与 Magisk 兼容吗 ? @@ -26,12 +26,19 @@ KernelSU 的模块系统与 Magisk 的 magic mount 有冲突,如果 KernelSU ## KernelSU 会替代 Magisk 吗? -我们不这么认为,这不是我们的目标。Magisk 对于用户空间 root 解决方案来说已经足够好了,而且它的寿命会很长。KernelSU 的目标是为用户提供内核接口,而不是替代 Magisk。 +我们不这么认为,这也不是我们的目标。Magisk 对于用户空间 root 解决方案来说已经足够好了,它会存活很久。KernelSU 的目标是为用户提供内核接口,而不是替代 Magisk。 ## KernelSU 可以支持非 GKI 设备吗? 可以。但是你应该下载内核源代码并将 KernelSU 集成到源代码树中并自己编译内核。 +## KernelSU 支持 Android 12 以下的设备吗? + +影响 KernelSU 兼容性的是设备内核的版本,它与设备的 Android 版本没有直接的关系。唯一有关联的是:**出厂 Android 12 的设备,一定是 5.10 或更高的内核(GKI设备);因此结论如下: + +1. 出厂 Android 12 的设备必定是支持的(GKI 设备) +2. 旧版本内核的设备(即使是 Android 12,也可能是旧内核)是兼容的(你需要自己编译内核) + ## KernelSU 可以支持旧内核吗? 可以,但你需要手动移植它,欢迎 PR ! diff --git a/website/docs/zh_CN/guide/how-to-build.md b/website/docs/zh_CN/guide/how-to-build.md index 2ac6248e..02a77796 100644 --- a/website/docs/zh_CN/guide/how-to-build.md +++ b/website/docs/zh_CN/guide/how-to-build.md @@ -5,6 +5,8 @@ 1. [构建内核](https://source.android.com/docs/setup/build/building-kernels) 2. [通用内核映像 (GKI) 发布构建](https://source.android.com/docs/core/architecture/kernel/gki-release-builds) +> 本文档适用于 GKI 设备,如果你是旧内核,请参考[如何为非GKI设备集成 KernelSU](how-to-integrate-for-non-gki) + ## 构建内核 ### 同步内核源码 diff --git a/website/docs/zh_CN/guide/installation.md b/website/docs/zh_CN/guide/installation.md index 4c1a9021..d2d7c285 100644 --- a/website/docs/zh_CN/guide/installation.md +++ b/website/docs/zh_CN/guide/installation.md @@ -4,7 +4,7 @@ 从 [GitHub Releases](https://github.com/tiann/KernelSU/releases) 或 [GitHub Actions](https://github.com/tiann/KernelSU/actions/workflows/build-manager.yml) 下载 KernelSU 管理器应用,然后将应用程序安装到设备并打开: -- 如果应用程序显示 “不支持”,则表示您的设备不支持 KernelSU。 +- 如果应用程序显示 “不支持”,则表示您的设备不支持 KernelSU,你需要自己编译设备的内核才能使用,KernelSU 官方不会也永远不会为你提供一个可以刷写的 boot 镜像。 - 如果应用程序显示 “未安装”,那么 KernelSU 支持您的设备。 ## 找到合适的 boot.img