From a7d0f558f37e918b47982f484d24f710c20025a0 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Wed, 15 Jan 2025 16:32:35 +0100 Subject: [PATCH] Welcome KernelSU Next --- .gitmodules | 3 +++ KernelSU | 1 - KernelSU-Next | 1 + build.sh | 11 ++++------- drivers/kernelsu | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 .gitmodules delete mode 160000 KernelSU create mode 160000 KernelSU-Next diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..3cb72bea1 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "KernelSU-Next"] + path = KernelSU-Next + url = https://github.com/rifsxd/KernelSU-Next diff --git a/KernelSU b/KernelSU deleted file mode 160000 index b766b9851..000000000 --- a/KernelSU +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b766b98513b5a7eb33bc1c4a76b5702bf1288f07 diff --git a/KernelSU-Next b/KernelSU-Next new file mode 160000 index 000000000..b89fd0791 --- /dev/null +++ b/KernelSU-Next @@ -0,0 +1 @@ +Subproject commit b89fd07911cf625bfa794b92eaa5e3c0c2c42554 diff --git a/build.sh b/build.sh index 0caee3941..3cc7496db 100755 --- a/build.sh +++ b/build.sh @@ -1,22 +1,19 @@ #!/bin/bash command_one() { - echo "Building without KernelSU..." + echo "Building without KernelSU Next..." ./kernel_build/build.sh "$(pwd)" || exit 1 } command_two() { - echo "Building with KernelSU..." + echo "Building with KernelSU Next..." ./kernel_build/build-ksu.sh "$(pwd)" || exit 1 } command_three() { rm -rf setup.sh* rm -rf KernelSU* - wget https://raw.githubusercontent.com/nitanmarcel/KernelSU-susfs/refs/heads/main/kernel/setup.sh - chmod +x setup.sh - ./setup.sh* - rm -rf setup.sh + curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s next } command_four() { @@ -29,7 +26,7 @@ while true; do echo "Choose what to do:" echo "1: Build FireAsf kernel without KernelSU" echo "2: Build FireAsf kernel with KernelSU" - echo "3: Setup KernelSU Susfs (run before 2)" + echo "3: Setup KernelSU Next (run before 2)" echo "Type 'exit' to guess what? Exit, yeah exit!" read -p "Make a good choice: " choice diff --git a/drivers/kernelsu b/drivers/kernelsu index 9e51d0d62..b32a3654a 120000 --- a/drivers/kernelsu +++ b/drivers/kernelsu @@ -1 +1 @@ -../KernelSU/kernel \ No newline at end of file +../KernelSU-Next/kernel \ No newline at end of file