Welcome KernelSU Next
This commit is contained in:
parent
ad3db97b79
commit
a7d0f558f3
5 changed files with 9 additions and 9 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "KernelSU-Next"]
|
||||||
|
path = KernelSU-Next
|
||||||
|
url = https://github.com/rifsxd/KernelSU-Next
|
1
KernelSU
1
KernelSU
|
@ -1 +0,0 @@
|
||||||
Subproject commit b766b98513b5a7eb33bc1c4a76b5702bf1288f07
|
|
1
KernelSU-Next
Submodule
1
KernelSU-Next
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b89fd07911cf625bfa794b92eaa5e3c0c2c42554
|
11
build.sh
11
build.sh
|
@ -1,22 +1,19 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
command_one() {
|
command_one() {
|
||||||
echo "Building without KernelSU..."
|
echo "Building without KernelSU Next..."
|
||||||
./kernel_build/build.sh "$(pwd)" || exit 1
|
./kernel_build/build.sh "$(pwd)" || exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
command_two() {
|
command_two() {
|
||||||
echo "Building with KernelSU..."
|
echo "Building with KernelSU Next..."
|
||||||
./kernel_build/build-ksu.sh "$(pwd)" || exit 1
|
./kernel_build/build-ksu.sh "$(pwd)" || exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
command_three() {
|
command_three() {
|
||||||
rm -rf setup.sh*
|
rm -rf setup.sh*
|
||||||
rm -rf KernelSU*
|
rm -rf KernelSU*
|
||||||
wget https://raw.githubusercontent.com/nitanmarcel/KernelSU-susfs/refs/heads/main/kernel/setup.sh
|
curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s next
|
||||||
chmod +x setup.sh
|
|
||||||
./setup.sh*
|
|
||||||
rm -rf setup.sh
|
|
||||||
}
|
}
|
||||||
|
|
||||||
command_four() {
|
command_four() {
|
||||||
|
@ -29,7 +26,7 @@ while true; do
|
||||||
echo "Choose what to do:"
|
echo "Choose what to do:"
|
||||||
echo "1: Build FireAsf kernel without KernelSU"
|
echo "1: Build FireAsf kernel without KernelSU"
|
||||||
echo "2: Build FireAsf kernel with 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!"
|
echo "Type 'exit' to guess what? Exit, yeah exit!"
|
||||||
read -p "Make a good choice: " choice
|
read -p "Make a good choice: " choice
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
../KernelSU/kernel
|
../KernelSU-Next/kernel
|
Loading…
Reference in a new issue