website: update FAQ

This commit is contained in:
tiann
2023-03-14 10:09:40 +08:00
parent 77056a7100
commit 5dd430e6a6
2 changed files with 18 additions and 12 deletions

View File

@@ -4,7 +4,7 @@
First, your devices should be able to unlock the bootloader. If it can't, then it is unsupported. First, your devices should be able to unlock the bootloader. If it can't, then it is unsupported.
Then install KernelSU manager App to your device and open it, if it shows `Unsupported` then your device is unsupported and won't be supported in the future. Then install KernelSU manager App to your device and open it, if it shows `Unsupported` then your device cannot be supported out of box, but you can build kernel source and integrate KernelSU to make it work or using [unofficially-support-devices](unofficially-support-devices).
## Does KernelSU need to unlock Bootloader? ## Does KernelSU need to unlock Bootloader?
@@ -16,7 +16,11 @@ Yes, But it is in early version, it may be buggy. Please wait for it to be stabl
## Does KernelSU support Xposed? ## Does KernelSU support Xposed?
Yes, [Dreamland](https://github.com/canyie/Dreamland) and [TaiChi](https::/taichi.cool) partially works now. For LSPosed, you can follow [Zygisk on KernelSU](https://github.com/Dr-TSNG/ZygiskOnKernelSU) Yes, [Dreamland](https://github.com/canyie/Dreamland) and [TaiChi](https::/taichi.cool) work now. For LSPosed, you can make it work by [Zygisk on KernelSU](https://github.com/Dr-TSNG/ZygiskOnKernelSU)
## Does KernelSU support Zygisk?
KernelSU has no builtin Zygisk support, but you can use [Zygisk on KernelSU](https://github.com/Dr-TSNG/ZygiskOnKernelSU) instead.
## Is KernelSU compatible with Magisk? ## Is KernelSU compatible with Magisk?
@@ -53,11 +57,10 @@ The Kernel version has nothing to do with Android version, if you need to flash
## Is there any --mount-master/global mount namespace in KernelSU? ## Is there any --mount-master/global mount namespace in KernelSU?
There isn't now(maybe in the future), But you can use `nsenter -t 1 -m sh` to enter global mount namespace instead. There isn't now(maybe in the future), But there are many ways to switch to global mount namespace manully, such as:
## Does KernelSU support Zygisk? 1. `nsenter -t 1 -m sh` to get a shell in global mount namespace.
2. Add `nsenter --mount=/proc/1/ns/mnt` to the command you want to execute, then the command is executed in global mount namespace. KernelSU is also [using this way](https://github.com/tiann/KernelSU/blob/77056a710073d7a5f7ee38f9e77c9fd0b3256576/manager/app/src/main/java/me/weishu/kernelsu/ui/util/KsuCli.kt#L115)
KernelSU has no builtin Zygisk support, but you can use [Zygisk on KernelSU](https://github.com/Dr-TSNG/ZygiskOnKernelSU) instead.
## I am GKI1.0, can i use this? ## I am GKI1.0, can i use this?

View File

@@ -4,7 +4,7 @@
首先,您的设备应该能够解锁 bootloader。 如果不能,则不支持。 首先,您的设备应该能够解锁 bootloader。 如果不能,则不支持。
然后在你的设备上安装 KernelSU 管理器并打开它,如果它显示 `不支持` ,那么你的设备是不受支持的;但你可以自己编译内核来使用。 然后在你的设备上安装 KernelSU 管理器并打开它,如果它显示 `不支持` ,那么你的设备没有官方支持的开箱即用的 boot image但你可以自己编译内核集成 KernelSU 进而使用
## KernelSU 是否需要解锁 Bootloader ## KernelSU 是否需要解锁 Bootloader
@@ -16,7 +16,11 @@
## KernelSU 是否支持 Xposed ## KernelSU 是否支持 Xposed
支持[Dreamland](https://github.com/canyie/Dreamland) 和 [TaiChi](https::/taichi.cool) 现在部分可用,我们正在努力使其他 Xposed Framework 可用 支持[Dreamland](https://github.com/canyie/Dreamland) 和 [TaiChi](https::/taichi.cool) 可以正常运行。LSPosed 可以在 [Zygisk on KernelSU](https://github.com/Dr-TSNG/ZygiskOnKernelSU) 的支持下正常运行
## KernelSU 支持 Zygisk 吗?
KernelSU 本体不支持 Zygisk但是你可以用 [Zygisk on KernelSU](https://github.com/Dr-TSNG/ZygiskOnKernelSU) 来使用 Zygisk 模块。
## KernelSU 与 Magisk 兼容吗 ## KernelSU 与 Magisk 兼容吗
@@ -53,11 +57,10 @@ KernelSU 的模块系统与 Magisk 的 magic mount 有冲突,如果 KernelSU
## KernelSU 支持 --mount-master/全局挂载命名空间吗? ## KernelSU 支持 --mount-master/全局挂载命名空间吗?
目前没有(未来可能会支持),现在你可以用 `nsenter -t 1 -m sh` 在 root shell 里面进入全局命名空间。 目前没有(未来可能会支持),但实际上有很多种办法手动进入全局命名空间,无需 su 内置支持,比如:
## KernelSU 支持 Zygisk 吗? 1. `nsenter -t 1 -m sh` 可以获得一个全局 mount namespace 的 shell.
2. 在你要执行的命令之前添加 `nsenter --mount=/proc/1/ns/mnt` 就可以让此命令在全局 mount namespace 下执行。 KernelSU 本身也使用了 [这种方法](https://github.com/tiann/KernelSU/blob/77056a710073d7a5f7ee38f9e77c9fd0b3256576/manager/app/src/main/java/me/weishu/kernelsu/ui/util/KsuCli.kt#L115)
KernelSU 本体不支持 Zygisk但是你可以用 [Zygisk on KernelSU](https://github.com/Dr-TSNG/ZygiskOnKernelSU) 来使用 Zygisk 模块。
## 我是 GKI1.0, 能用 KernelSU 吗? ## 我是 GKI1.0, 能用 KernelSU 吗?