- A fork of https://github.com/tiann/KernelSU.git by @tiann
- Let's take [linux] as the path to your kernel source dir.
cd [linux]
git clone https://github.com/itsshashanksp/KernelSU.git
cp -ar KernelSU [linux]/drivers/kernelsu
- edit [linux]/drivers/Kconfig
+source "drivers/kernelsu/Kconfig"
- edit [linux]/drivers/Makefile
+obj-$(CONFIG_KSU) += kernelsu/
- set KSU defconfig
#
# KernelSU
#
CONFIG_KSU=y
# CONFIG_KSU_DEBUG is not set
build your kernel
- For more information or any doubt visit official website of KernelSU https://kernelsu.org/