@@ -225,6 +225,76 @@ jobs:
225
225
# Add additional tmpfs config setting
226
226
echo "CONFIG_TMPFS_XATTR=y" >> ./common/arch/arm64/configs/gki_defconfig
227
227
echo "CONFIG_TMPFS_POSIX_ACL=y" >> ./common/arch/arm64/configs/gki_defconfig
228
+
229
+ # Add additional tmpfs config setting
230
+ echo "CONFIG_IP_NF_TARGET_TTL=y" >> ./common/arch/arm64/configs/gki_defconfig
231
+ echo "CONFIG_IP6_NF_TARGET_HL=y" >> ./common/arch/arm64/configs/gki_defconfig
232
+ echo "CONFIG_IP6_NF_MATCH_HL=y" >> ./common/arch/arm64/configs/gki_defconfig
233
+
234
+ # Add additional tcp_bbr config setting
235
+ # Enable BBR
236
+ # echo "CONFIG_TCP_CONG_ADVANCED=y" >> ./common/arch/arm64/configs/gki_defconfig
237
+ # echo "CONFIG_TCP_CONG_BBR=y" >> ./common/arch/arm64/configs/gki_defconfig
238
+ # # echo "CONFIG_TCP_CONG_BBR2=y" >> ./common/arch/arm64/configs/gki_defconfig
239
+
240
+ # # Optional: Keep Reno/Cubic as alternatives
241
+ # echo "CONFIG_TCP_CONG_CUBIC=y" >> ./common/arch/arm64/configs/gki_defconfig
242
+ # echo "CONFIG_TCP_CONG_RENO=y" >> ./common/arch/arm64/configs/gki_defconfig
243
+ # echo "CONFIG_DEFAULT_CUBIC=y" >> ./common/arch/arm64/configs/gki_defconfig
244
+ # echo 'CONFIG_DEFAULT_TCP_CONG="cubic"' >> ./common/arch/arm64/configs/gki_defconfig
245
+
246
+ # # Disable Unnecessary TCP Congestion Algorithms
247
+ # echo "# CONFIG_TCP_CONG_BIC is not set" >> ./common/arch/arm64/configs/gki_defconfig
248
+ # echo "# CONFIG_TCP_CONG_WESTWOOD is not set" >> ./common/arch/arm64/configs/gki_defconfig
249
+ # echo "# CONFIG_TCP_CONG_HTCP is not set" >> ./common/arch/arm64/configs/gki_defconfig
250
+ # echo "# CONFIG_TCP_CONG_HSTCP is not set" >> ./common/arch/arm64/configs/gki_defconfig
251
+ # echo "# CONFIG_TCP_CONG_HYBLA is not set" >> ./common/arch/arm64/configs/gki_defconfig
252
+ # echo "# CONFIG_TCP_CONG_VEGAS is not set" >> ./common/arch/arm64/configs/gki_defconfig
253
+ # echo "# CONFIG_TCP_CONG_NV is not set" >> ./common/arch/arm64/configs/gki_defconfig
254
+ # echo "# CONFIG_TCP_CONG_SCALABLE is not set" >> ./common/arch/arm64/configs/gki_defconfig
255
+ # echo "# CONFIG_TCP_CONG_LP is not set" >> ./common/arch/arm64/configs/gki_defconfig
256
+ # echo "# CONFIG_TCP_CONG_VENO is not set" >> ./common/arch/arm64/configs/gki_defconfig
257
+ # echo "# CONFIG_TCP_CONG_YEAH is not set" >> ./common/arch/arm64/configs/gki_defconfig
258
+ # echo "# CONFIG_TCP_CONG_ILLINOIS is not set" >> ./common/arch/arm64/configs/gki_defconfig
259
+ # echo "# CONFIG_TCP_CONG_DCTCP is not set" >> ./common/arch/arm64/configs/gki_defconfig
260
+ # echo "# CONFIG_TCP_CONG_CDG is not set" >> ./common/arch/arm64/configs/gki_defconfig
261
+
262
+ # # Enable FQ-CoDel and FQ for Queue Management
263
+ # echo "CONFIG_NET_SCH_FQ=y" >> ./common/arch/arm64/configs/gki_defconfig
264
+ # echo "CONFIG_NET_SCH_FQ_CODEL=y" >> ./common/arch/arm64/configs/gki_defconfig
265
+ # echo "CONFIG_NET_SCH_DEFAULT=y" >> ./common/arch/arm64/configs/gki_defconfig
266
+ # echo "CONFIG_DEFAULT_FQ=y" >> ./common/arch/arm64/configs/gki_defconfig
267
+ # echo 'CONFIG_DEFAULT_NET_SCH="fq"' >> ./common/arch/arm64/configs/gki_defconfig
268
+
269
+ # # Disable Other Queuing Disciplines
270
+ # echo "# CONFIG_NET_SCH_CBQ is not set" >> ./common/arch/arm64/configs/gki_defconfig
271
+ # echo "# CONFIG_NET_SCH_HTB is not set" >> ./common/arch/arm64/configs/gki_defconfig
272
+ # echo "# CONFIG_NET_SCH_HFSC is not set" >> ./common/arch/arm64/configs/gki_defconfig
273
+ # echo "# CONFIG_NET_SCH_ATM is not set" >> ./common/arch/arm64/configs/gki_defconfig
274
+ # echo "# CONFIG_NET_SCH_PRIO is not set" >> ./common/arch/arm64/configs/gki_defconfig
275
+ # echo "# CONFIG_NET_SCH_MULTIQ is not set" >> ./common/arch/arm64/configs/gki_defconfig
276
+ # echo "# CONFIG_NET_SCH_RED is not set" >> ./common/arch/arm64/configs/gki_defconfig
277
+ # echo "# CONFIG_NET_SCH_SFB is not set" >> ./common/arch/arm64/configs/gki_defconfig
278
+ # echo "# CONFIG_NET_SCH_SFQ is not set" >> ./common/arch/arm64/configs/gki_defconfig
279
+ # echo "# CONFIG_NET_SCH_TEQL is not set" >> ./common/arch/arm64/configs/gki_defconfig
280
+ # echo "# CONFIG_NET_SCH_TBF is not set" >> ./common/arch/arm64/configs/gki_defconfig
281
+ # echo "# CONFIG_NET_SCH_CBS is not set" >> ./common/arch/arm64/configs/gki_defconfig
282
+ # echo "# CONFIG_NET_SCH_ETF is not set" >> ./common/arch/arm64/configs/gki_defconfig
283
+ # echo "# CONFIG_NET_SCH_TAPRIO is not set" >> ./common/arch/arm64/configs/gki_defconfig
284
+ # echo "# CONFIG_NET_SCH_GRED is not set" >> ./common/arch/arm64/configs/gki_defconfig
285
+ # echo "# CONFIG_NET_SCH_DSMARK is not set" >> ./common/arch/arm64/configs/gki_defconfig
286
+ # echo "# CONFIG_NET_SCH_NETEM is not set" >> ./common/arch/arm64/configs/gki_defconfig
287
+ # echo "# CONFIG_NET_SCH_DRR is not set" >> ./common/arch/arm64/configs/gki_defconfig
288
+ # echo "# CONFIG_NET_SCH_MQPRIO is not set" >> ./common/arch/arm64/configs/gki_defconfig
289
+ # echo "# CONFIG_NET_SCH_SKBPRIO is not set" >> ./common/arch/arm64/configs/gki_defconfig
290
+ # echo "# CONFIG_NET_SCH_CHOKE is not set" >> ./common/arch/arm64/configs/gki_defconfig
291
+ # echo "# CONFIG_NET_SCH_QFQ is not set" >> ./common/arch/arm64/configs/gki_defconfig
292
+ # echo "# CONFIG_NET_SCH_CODEL is not set" >> ./common/arch/arm64/configs/gki_defconfig
293
+ # echo "# CONFIG_NET_SCH_CAKE is not set" >> ./common/arch/arm64/configs/gki_defconfig
294
+ # echo "# CONFIG_NET_SCH_HHF is not set" >> ./common/arch/arm64/configs/gki_defconfig
295
+ # echo "# CONFIG_NET_SCH_PIE is not set" >> ./common/arch/arm64/configs/gki_defconfig
296
+ # echo "# CONFIG_NET_SCH_FQ_PIE is not set" >> ./common/arch/arm64/configs/gki_defconfig
297
+ # echo "# CONFIG_NET_SCH_INGRESS is not set" >> ./common/arch/arm64/configs/gki_defconfig
228
298
229
299
- name : Run sed and perl Commands
230
300
run : |
@@ -239,9 +309,8 @@ jobs:
239
309
240
310
# Run sed commands for modifications
241
311
sed -i 's/check_defconfig//' ./common/build.config.gki
242
- sed -i '$s|echo "\$res"|echo "\$res-Wild"|' ./common/scripts/setlocalversion
243
- sed -i '$s|echo "\$res"|echo "\$res-Wild"|' ./msm-kernel/scripts/setlocalversion
244
- sed -i '$s|echo "\$res"|echo "\$res-Wild"|' ./external/dtc/scripts/setlocalversion
312
+ tac ./common/scripts/setlocalversion | sed '0,/echo "\$res"/s//res=\$\(echo \$res \| cut -d- -f1-2\)-fatalcoder524\;echo "\$res"/' | tac > ./common/scripts/setlocalversion.tmp && mv ./common/scripts/setlocalversion.tmp ./common/scripts/setlocalversion
313
+ tac ./msm-kernel/scripts/setlocalversion | sed '0,/echo "\$res"/s//res=\$\(echo \$res \| cut -d- -f1-2\)-fatalcoder524\;echo "\$res"/' | tac > ./msm-kernel/scripts/setlocalversion.tmp && mv ./msm-kernel/scripts/setlocalversion.tmp ./msm-kernel/scripts/setlocalversion
245
314
sed -i "/stable_scmversion_cmd/s/-maybe-dirty//g" ./build/kernel/kleaf/impl/stamp.bzl || echo "No stamp.bzl!"
246
315
sed -i 's/-dirty//' ./common/scripts/setlocalversion
247
316
sed -i 's/-dirty//' ./msm-kernel/scripts/setlocalversion
@@ -317,6 +386,25 @@ jobs:
317
386
echo "Navigating to AnyKernel3 directory..."
318
387
cd ./AnyKernel3
319
388
389
+ sed -i 's|^kernel\.string=.*|kernel.string=OnePlus 11 KSUN + SUSFS Kernel by fatalcoder524|' anykernel.sh
390
+ sed -i 's|^do\.devicecheck=.*|do.devicecheck=1|' anykernel.sh
391
+ sed -i 's|^device\.name1=.*|device.name1=CPH2447|' anykernel.sh
392
+ sed -i 's|^device\.name2=.*|device.name2=CPH2449|' anykernel.sh
393
+ sed -i 's|^device\.name3=.*|device.name3=CPH2451|' anykernel.sh
394
+ sed -i 's|^device\.name4=.*|device.name4=PHB110|' anykernel.sh
395
+ sed -i '/ui_print " " " -> ksu_supported: $ksu_supported"/i \
396
+ ui_print "Features:"\
397
+ ui_print "-> KernelSU-Next-Official v1.0.6 (12XXX) "\
398
+ ui_print "-> SUSFS ඞ v1.5.7"\
399
+ ui_print "-> Manual Hooks for Better Hiding"\
400
+ ui_print "-> Wireguard Support"\
401
+ ui_print "-> Simple Maphide for LineageOS Detections"\
402
+ ui_print "-> Futile Maphide for jit-zygote-cache Detections"\
403
+ ui_print "-> Magic Mount Support"\
404
+ ui_print "-> CONFIG_TMPFS_XATTR Support for Mountify"' anykernel.sh
405
+ # ui_print "-> CONFIG_TMPFS_XATTR Support for Mountify"\
406
+ # ui_print "-> TCP Congestion Algorithm: BBR enabled"' anykernel.sh
407
+
320
408
# Zip the files in the AnyKernel3 directory with a new naming convention
321
409
ZIP_NAME="${{ inputs.model }}_${{ inputs.android_version }}_${{ inputs.kernel_version }}_Next_SUSFS_AnyKernel3.zip"
322
410
echo "Creating zip file $ZIP_NAME..."
0 commit comments