64
64
# Clone repositories using the branch names
65
65
git clone https://github.com/TheWildJames/AnyKernel3.git -b "$ANYKERNEL_BRANCH"
66
66
git clone https://gitlab.com/simonpunk/susfs4ksu.git -b "$SUSFS_BRANCH"
67
- #cd susfs4ksu
68
- #git checkout b5c3ada461a61c6ad033693b7a00494ead3a28fd
69
- #cd ..
70
67
git clone https://github.com/TheWildJames/kernel_patches.git
71
68
git clone https://github.com/kerneltoast/${{ inputs.repo }}
72
69
76
73
cd "$CONFIG"
77
74
78
75
echo "Adding KernelSU..."
79
- curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/next /kernel/setup.sh" | bash -s next
76
+ curl -LSs "https://raw.githubusercontent.com/WildKernels/Wild_KSU/wild /kernel/setup.sh" | bash -s wild
80
77
81
78
- name : Apply SUSFS Patches
82
79
run : |
@@ -90,32 +87,23 @@ jobs:
90
87
cp ../susfs4ksu/kernel_patches/fs/* ./fs/
91
88
cp ../susfs4ksu/kernel_patches/include/linux/* ./include/linux/
92
89
93
- cd ./KernelSU-Next
90
+ cd ./Wild_KSU
94
91
95
- echo "Applying next SUSFS patches..."
92
+ echo "Applying wild SUSFS patches..."
96
93
cp ../../susfs4ksu/kernel_patches/KernelSU/10_enable_susfs_for_ksu.patch ./
97
94
patch -p1 --forward < 10_enable_susfs_for_ksu.patch || true
98
95
99
- echo "Applying next SUSFS Fix patches..."
100
- cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_apk_sign.c.patch ./
101
- patch -p1 --forward < fix_apk_sign.c.patch
102
-
103
- cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_core_hook.c.patch ./
96
+ echo "Applying wild SUSFS Fix patches..."
97
+ cp ../../kernel_patches/wild/susfs_fix_patches/v1.5.9/fix_core_hook.c.patch ./
104
98
patch -p1 --forward < fix_core_hook.c.patch
105
-
106
- cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_selinux.c.patch ./
107
- patch -p1 --forward < fix_selinux.c.patch
108
-
109
- cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_ksud.c.patch ./
110
- patch -p1 --forward < fix_ksud.c.patch
111
99
112
- cp ../../kernel_patches/next /susfs_fix_patches/v1.5.9/fix_rules.c.patch ./
100
+ cp ../../kernel_patches/wild /susfs_fix_patches/v1.5.9/fix_rules.c.patch ./
113
101
patch -p1 --forward < fix_rules.c.patch
114
102
115
- cp ../../kernel_patches/next /susfs_fix_patches/v1.5.9/fix_sucompat.c.patch ./
103
+ cp ../../kernel_patches/wild /susfs_fix_patches/v1.5.9/fix_sucompat.c.patch ./
116
104
patch -p1 --forward < fix_sucompat.c.patch
117
105
118
- cp ../../kernel_patches/next /susfs_fix_patches/v1.5.9/fix_kernel_compat.c.patch ./
106
+ cp ../../kernel_patches/wild /susfs_fix_patches/v1.5.9/fix_kernel_compat.c.patch ./
119
107
patch -p1 --forward < fix_kernel_compat.c.patch
120
108
121
109
# Change to common directory and apply SUSFS patch
@@ -129,7 +117,7 @@ jobs:
129
117
echo "Changing to configuration directory: $CONFIG..."
130
118
cd "$CONFIG"
131
119
# Apply additional patch
132
- cp ../kernel_patches/next /syscall_hooks.patch ./
120
+ cp ../kernel_patches/wild /syscall_hooks.patch ./
133
121
patch -p1 -F 3 < syscall_hooks.patch
134
122
135
123
- name : Apply Hide Stuff Patches
@@ -228,7 +216,7 @@ jobs:
228
216
cd ./AnyKernel3
229
217
230
218
# Zip the files in the AnyKernel3 directory with a new naming convention
231
- ZIP_NAME="${{ inputs.codename }}_A16_Sultan_Next_SUSFS .zip"
219
+ ZIP_NAME="${{ inputs.codename }}_A16_Sultan_WKSU_SUSFS .zip"
232
220
echo "Creating zip file $ZIP_NAME..."
233
221
zip -r "../$ZIP_NAME" ./*
234
222
0 commit comments