Skip to content

Commit b958a3d

Browse files
committed
Test fallback patch using Ak3 zip
1 parent 59fcb18 commit b958a3d

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/actions/action.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,18 +209,10 @@ runs:
209209
echo "Kernel >= $MIN_VERSION, skipping ptrace patch"
210210
fi
211211
212-
echo "Patching hmdird!"
213-
echo 'obj-y += hmbird_fdt.o' >> ./drivers/Makefile
214-
curl -Ls https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/hmbird_fdt.c -o ./drivers/hmbird_fdt.c
215212
if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ] || [ "${{ inputs.model }}" == "OP12" ]; then
216213
echo "Patching hmdird!"
217-
#curl -Ls https://raw.githubusercontent.com/Plan2241/HMBird-GKI-patch/main/boot.patch | patch -p1 -F 3 --verbose
218-
# echo 'obj-y += hmbird_patch.o' >> ./drivers/Makefile
219-
# curl -Ls https://raw.githubusercontent.com/Numbersf/Action-Build/refs/heads/SukiSU-Ultra/patches/hmbird_patch.patch | patch -p1 -F 3 --verbose
220-
# echo 'obj-y += hmbird_fdt.o' >> ./drivers/Makefile
221-
# curl -Ls https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/hmbird_fdt.c -o ./drivers/hmbird_fdt.c
214+
curl -Ls https://raw.githubusercontent.com/Numbersf/Action-Build/refs/heads/SukiSU-Ultra/patches/hmbird_patch.patch | patch -p1 -F 3 --verbose
222215
echo "Patching hmbird files!"
223-
# curl -Ls https://github.com/schqiushui/android_kernel_common_oneplus_sm8750/commit/5d2cc9706a35f5e4b5dbbd5d247487225a46e02c.patch | patch -p1 -F 3
224216
cd ./kernel/sched
225217
rm -rf ext.c ext.h build_policy.c slim.h slim_sysctl.c
226218
curl -Ls https://github.com/HanKuCha/sched_ext/commit/7ab1d04d5cb622d6c32c932add617803074ec5a7.patch | patch -p1 -F 3
@@ -400,6 +392,10 @@ runs:
400392
echo "Navigating to AnyKernel3 directory..."
401393
cd ../AnyKernel3
402394
395+
if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ] || [ "${{ inputs.model }}" == "OP12" ]; then
396+
curl -Ls https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/ak3_hmbird_patch.patch | patch -F 3
397+
fi
398+
403399
# Zip the files in the AnyKernel3 directory with a new naming convention
404400
ZIP_NAME="AnyKernel3_${{ inputs.model }}_${{ inputs.android_version }}-${{ inputs.kernel_version }}_Next_${{ env.KSUVER }}_SUSFS_${{ env.SUSVER }}.zip"
405401
echo "Creating zip file $ZIP_NAME..."

0 commit comments

Comments
 (0)