diff --git a/README.md b/README.md index 60cbb3c3..ad89275a 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,23 @@ Then, For adding the ksu modifications in the .c files, For whichever defconfig python3 KernelSU/scripts/integrate-no-kprobe.py <__your_defconfig__> ``` +Usage: + +To use the script, you would run it from the command line, providing the path to your defconfig file as an argument. For example: +``` +python3 KernelSU/scripts/integrate-no-kprobe.py /path/to/your_defconfig +``` +If you want to disable KernelSU in your defconfig: +``` +python3 KernelSU/scripts/integrate-no-kprobe.py some_random_defconfig --disable-ksu +``` +If you want to disable external modifications (non neccessary ones like inode.c, input.c): +``` +python3 KernelSU/scripts/integrate-no-kprobe.py your_defconfig --disable-external-mods +``` + + +If you want to build your kernel entirely online with custom gcc or clang, checkout [kernelsu_build_action](https://github.com/xiaoleGun/KernelSU_Action/) ## Credits - Initially, was built over [this](https://github.com/vc-teahouse/KernelSU-nongki) repository.