From fcae9fd604ae93f67d11b1626d494b688213a157 Mon Sep 17 00:00:00 2001 From: ragebreaker <125530737+mlm-games@users.noreply.github.com> Date: Tue, 10 Sep 2024 15:52:33 +0530 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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.