Skip to content

Commit d341412

Browse files
committed
Test FDT Patch
1 parent b01dab5 commit d341412

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/actions/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,18 +209,20 @@ runs:
209209
echo "Kernel >= $MIN_VERSION, skipping ptrace patch"
210210
fi
211211
212-
if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ]; then
212+
if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" || [ "${{ inputs.model }}" == "OP12" ]; then
213213
echo "Patching hmdird!"
214-
curl -Ls https://raw.githubusercontent.com/Plan2241/HMBird-GKI-patch/main/boot.patch | patch -p1 -F 3 --verbose
214+
#curl -Ls https://raw.githubusercontent.com/Plan2241/HMBird-GKI-patch/main/boot.patch | patch -p1 -F 3 --verbose
215215
# echo 'obj-y += hmbird_patch.o' >> ./drivers/Makefile
216216
# curl -Ls https://raw.githubusercontent.com/Numbersf/Action-Build/refs/heads/SukiSU-Ultra/patches/hmbird_patch.patch | patch -p1 -F 3 --verbose
217+
echo 'obj-y += hmbird_fdt.o' >> ./drivers/Makefile
218+
curl -Ls https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/hmbird_fdt.c -o ./drivers/hmbird_fdt.c
217219
echo "Patching hmbird files!"
218220
# curl -Ls https://github.com/schqiushui/android_kernel_common_oneplus_sm8750/commit/5d2cc9706a35f5e4b5dbbd5d247487225a46e02c.patch | patch -p1 -F 3
219221
cd ./kernel/sched
220222
rm -rf ext.c ext.h build_policy.c slim.h slim_sysctl.c
221223
curl -Ls https://github.com/HanKuCha/sched_ext/commit/7ab1d04d5cb622d6c32c932add617803074ec5a7.patch | patch -p1 -F 3
222224
else
223-
echo "Not OPAce5Pro / OP13, skipping fengchi patch"
225+
echo "Not OPAce5Pro / OP13 / OP12, skipping fengchi patch"
224226
fi
225227
226228
- name: Apply KSUN Hooks

.github/workflows/build-kernel-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,12 @@ jobs:
172172
manifest: oneplus_ace5_pro.xml
173173
android_version: android15
174174
kernel_version: "6.6"
175-
# - model: OP12
176-
# soc: pineapple
177-
# branch: oneplus/sm8650
178-
# manifest: oneplus12_v.xml
179-
# android_version: android14
180-
# kernel_version: "6.1"
175+
- model: OP12
176+
soc: pineapple
177+
branch: oneplus/sm8650
178+
manifest: oneplus12_v.xml
179+
android_version: android14
180+
kernel_version: "6.1"
181181
# - model: OP13r
182182
# soc: pineapple
183183
# branch: oneplus/sm8650

0 commit comments

Comments
 (0)