This commit is contained in:
Phapoom Saksri 2025-01-19 12:03:33 +07:00
parent 8dd85eab08
commit 28f850cf6b

View file

@ -35,8 +35,9 @@ install_kernel_su_next() {
}
patch_susfs() {
if [ $KERNEL_MAJOR -ge 4 ]; then
echo "Entering to KernelSU-Next directory..."
cd KernelSU-Next
if [ $KERNEL_MAJOR -ge 4 ]; then
if [ $KERNEL_MAJOR -ge 19 ]; then
echo "Kernel version is >=4.19, using GKI patch"
curl -LSs "https://raw.githubusercontent.com/galaxybuild-project/tools/refs/heads/main/Patches/0001-KernelSU-Next-Implement-SUSFS-v1.5.3-plus-GKI.patch" > susfs.patch