File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -209,18 +209,20 @@ runs:
209
209
echo "Kernel >= $MIN_VERSION, skipping ptrace patch"
210
210
fi
211
211
212
- if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ]; then
212
+ if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" || [ "${{ inputs.model }}" == "OP12" ]; then
213
213
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
215
215
# echo 'obj-y += hmbird_patch.o' >> ./drivers/Makefile
216
216
# 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
217
219
echo "Patching hmbird files!"
218
220
# curl -Ls https://github.com/schqiushui/android_kernel_common_oneplus_sm8750/commit/5d2cc9706a35f5e4b5dbbd5d247487225a46e02c.patch | patch -p1 -F 3
219
221
cd ./kernel/sched
220
222
rm -rf ext.c ext.h build_policy.c slim.h slim_sysctl.c
221
223
curl -Ls https://github.com/HanKuCha/sched_ext/commit/7ab1d04d5cb622d6c32c932add617803074ec5a7.patch | patch -p1 -F 3
222
224
else
223
- echo "Not OPAce5Pro / OP13, skipping fengchi patch"
225
+ echo "Not OPAce5Pro / OP13 / OP12 , skipping fengchi patch"
224
226
fi
225
227
226
228
- name : Apply KSUN Hooks
Original file line number Diff line number Diff line change @@ -172,12 +172,12 @@ jobs:
172
172
manifest : oneplus_ace5_pro.xml
173
173
android_version : android15
174
174
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"
181
181
# - model: OP13r
182
182
# soc: pineapple
183
183
# branch: oneplus/sm8650
You can’t perform that action at this time.
0 commit comments