docs: update documentation for the website (#1750)
Description: I was originally browsing through project's FAQ on the [website](https://kernelsu.org/) and noticed a few discrepancies across the text.<br>I edited them out, and once having finished with the FAQ, I looked through other website pages as well. Changes: - updated documentation for the project's website (English version). -- P.S. I actually appreciate the partial documentation on GKI and in-depth Android mechanisms present in it. While there is of course documentation from Google, it is nice to have guidelines from a more practical standpoint.
This commit is contained in:
@@ -4,14 +4,14 @@ Although there are many similarities between KernelSU modules and Magisk modules
|
||||
|
||||
## Similarities
|
||||
|
||||
- Module file format: both use zip format to organize modules, and the format of modules is almost the same
|
||||
- Module installation directory: both located in `/data/adb/modules`
|
||||
- Systemless: both support modifying /system in a systemless way through modules
|
||||
- post-fs-data.sh: the execution time and semantics are exactly the same
|
||||
- service.sh: the execution time and semantics are exactly the same
|
||||
- system.prop: completely the same
|
||||
- sepolicy.rule: completely the same
|
||||
- BusyBox: scripts are run in BusyBox with "standalone mode" enabled in both cases
|
||||
- Module file format: both use zip format to organize modules, and the format of modules is almost the same.
|
||||
- Module installation directory: both located in `/data/adb/modules`.
|
||||
- Systemless: both support modifying /system in a systemless way through modules.
|
||||
- post-fs-data.sh: the execution time and semantics are exactly the same.
|
||||
- service.sh: the execution time and semantics are exactly the same.
|
||||
- system.prop: completely the same.
|
||||
- sepolicy.rule: completely the same.
|
||||
- BusyBox: scripts are run in BusyBox with "standalone mode" enabled in both cases.
|
||||
|
||||
## Differences
|
||||
|
||||
@@ -20,9 +20,9 @@ Before understanding the differences, you need to know how to differentiate whet
|
||||
Here are some differences:
|
||||
|
||||
- KernelSU modules cannot be installed in Recovery mode.
|
||||
- KernelSU modules do not have built-in support for Zygisk (but you can use Zygisk modules through [ZygiskNext](https://github.com/Dr-TSNG/ZygiskNext).
|
||||
- KernelSU modules do not have built-in support for Zygisk (but you can use Zygisk modules through [ZygiskNext](https://github.com/Dr-TSNG/ZygiskNext)).
|
||||
- The method for replacing or deleting files in KernelSU modules is completely different from Magisk. KernelSU does not support the `.replace` method. Instead, you need to create a same-named file with `mknod filename c 0 0` to delete the corresponding file.
|
||||
- The directories for BusyBox are different. The built-in BusyBox in KernelSU is located in `/data/adb/ksu/bin/busybox`, while in Magisk it is in `/data/adb/magisk/busybox`. **Note that this is an internal behavior of KernelSU and may change in the future!**
|
||||
- KernelSU does not support `.replace` files; however, KernelSU supports the `REMOVE` and `REPLACE` variable to remove or replace files and folders.
|
||||
- KernelSU adds `boot-completed` stage to run some scripts on boot completed.
|
||||
- KernelSU adds `post-mount` stage to run some scripts after mounting overlayfs
|
||||
- KernelSU adds `post-mount` stage to run some scripts after mounting overlayfs.
|
||||
|
||||
Reference in New Issue
Block a user