Added KernelSU

This commit is contained in:
Ksawlii 2024-11-19 22:44:48 +01:00
parent 7902dbc903
commit 110472ce93
7 changed files with 8340 additions and 2 deletions

1
KernelSU Submodule

@ -0,0 +1 @@
Subproject commit b766b98513b5a7eb33bc1c4a76b5702bf1288f07

File diff suppressed because it is too large Load diff

View file

@ -40,6 +40,8 @@ CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y
# KernelSU
CONFIG_KSU=n
#
# IRQ subsystem
#

View file

@ -17,8 +17,8 @@ command_three() {
while true; do
echo ""
echo "Choose what to do:"
echo "1: Build FireAsf kernel with Debug Logs"
echo "2: Build FireAsf kernel without Debug Logs"
echo "1: Build FireAsf kernel without KernelSU"
echo "2: Build FireAsf kernel with KernelSU"
echo "Type 'exit' to guess what? Exit, yeah exit!"
read -p "Make a good choice: " choice

View file

@ -285,4 +285,5 @@ source "drivers/sensorhub/vendor/Kconfig" # ADDED BY LEGO AUTOMATICALLY: DO NOT
source "drivers/input/sec_input/stm/Kconfig" # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
source "drivers/input/touchscreen/goodix/berlin/Kconfig" # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
source "drivers/usb/typec/sm/sm5714/Kconfig" # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
source "drivers/kernelsu/Kconfig"
endmenu

View file

@ -237,3 +237,5 @@ obj-y += sensorhub/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
obj-y += input/sec_input/stm/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
obj-y += input/touchscreen/goodix/berlin/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
obj-y += usb/typec/sm/sm5714/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
obj-$(CONFIG_KSU) += kernelsu/

1
drivers/kernelsu Symbolic link
View file

@ -0,0 +1 @@
../KernelSU/kernel