From d6931c7ced5874d8fed3035c75e719066c73885e Mon Sep 17 00:00:00 2001 From: linx3141 Date: Sun, 15 Feb 2026 15:57:16 +0800 Subject: [PATCH 01/15] Initial SM8150 bringup --- .github/workflows/build.yml | 58 +++++-------------------------------- 1 file changed, 8 insertions(+), 50 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a61cb77..2e995d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,8 +22,7 @@ on: options: - LineageOS - crdroidandroid - - OnePlus12R-development - + kernel_branch: description: Kernel Branch(such as lineage-23.2 sixteen-qpr1) required: true @@ -36,12 +35,7 @@ on: type: choice options: - None - - Official-KernelSU - - KernelSU-Next - - KernelSU-Next-with-susfs - - KowSU - - ReSukiSU - - ReSukiSU-with-susfs + - KernelSU-by-\xx jobs: SM8550_Kernel_CI: @@ -107,60 +101,24 @@ jobs: export OBJCOPY="${CLANG_ROOT}/llvm-objcopy" export OBJDUMP="${CLANG_ROOT}/llvm-objdump" export STRIP="${CLANG_ROOT}/llvm-strip" + export CROSS_COMPILE=aarch64-linux-gnu- - cd sm8550 + cd sm8150 case "${{ inputs.ksu_type }}" in "None") ;; - "Official-KernelSU") - curl -LSs "https://raw.githubusercontent.com/tiann/KernelSU/main/kernel/setup.sh" | bash -s main - ;; - - "KowSU") - curl -LSs "https://raw.githubusercontent.com/KOWX712/KernelSU/main/kernel/setup.sh" | bash -s master - ;; - - "KernelSU-Next") - curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/next/kernel/setup.sh" | bash -s dev - ;; - - "KernelSU-Next-with-susfs") - curl -LSs "https://raw.githubusercontent.com/pershoot/KernelSU-Next/refs/heads/dev-susfs/kernel/setup.sh" | bash -s dev-susfs - ;; - - "ReSukiSU"|"ReSukiSU-with-susfs") - curl -LSs "https://raw.githubusercontent.com/ReSukiSU/ReSukiSU/main/kernel/setup.sh" | bash -s builtin + "KernelSU-by-\xx") + curl -LSs "https://raw.githubusercontent.com/backslashxx/KernelSU/refs/heads/master/kernel/setup.sh" | bash -s master ;; esac - if [[ "${{ inputs.ksu_type }}" == *susfs ]]; then - git clone -b gki-android13-5.15 https://gitlab.com/simonpunk/susfs4ksu.git susfs - cd susfs - cp ./kernel_patches/50_add_susfs_in_gki-android13-5.15.patch .. - cp ./kernel_patches/fs/* ../fs/ - cp ./kernel_patches/include/linux/* ../include/linux/ - cd .. - patch -p1 < 50_add_susfs_in_gki-android13-5.15.patch - echo "CONFIG_KSU_SUSFS=y" >> arch/arm64/configs/gki_defconfig - echo "CONFIG_KSU_SUSFS_SUS_PATH=y" >> arch/arm64/configs/gki_defconfig - echo "CONFIG_KSU_SUSFS_SUS_MOUNT=y" >> arch/arm64/configs/gki_defconfig - echo "CONFIG_KSU_SUSFS_SUS_KSTAT=y" >> arch/arm64/configs/gki_defconfig - echo "CONFIG_KSU_SUSFS_SPOOF_UNAME=n" >> arch/arm64/configs/gki_defconfig - echo "CONFIG_KSU_SUSFS_ENABLE_LOG=y" >> arch/arm64/configs/gki_defconfig - echo "CONFIG_KSU_SUSFS_HIDE_KSU_SUSFS_SYMBOLS=y" >> arch/arm64/configs/gki_defconfig - echo "CONFIG_KSU_SUSFS_SPOOF_CMDLINE_OR_BOOTCONFIG=y" >> arch/arm64/configs/gki_defconfig - echo "CONFIG_KSU_SUSFS_SUS_MAP=y" >> arch/arm64/configs/gki_defconfig - fi - touch ./.scmversion - echo "CONFIG_TMPFS_XATTR=y" >> arch/arm64/configs/gki_defconfig - make O=out gki_defconfig vendor/kalama_GKI.config vendor/oplus/kalama_GKI.config vendor/debugfs.config - - make -j2 O=out + make O=out vendor/sm8150-perf_defconfig vendor/oplus.config + make -j2 O=out Image - name: Make AnyKernel3 run: | From c7613459cd5c8b337eba611332f44b8454df5a4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Sun, 15 Feb 2026 16:58:42 +0800 Subject: [PATCH 02/15] Update kernel source from sm8550 to sm8150 --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0da2f6a..6551ed7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,8 +74,7 @@ jobs: - name: Clone Kernel Source run: | - git clone --depth=1 -b ${{ inputs.kernel_branch }} https://github.com/${{ inputs.kernel_source }}/android_kernel_oneplus_sm8550.git sm8550 - git clone --depth=1 -b ${{ inputs.kernel_branch }} https://github.com/${{ inputs.kernel_source }}/android_kernel_oneplus_sm8550-modules.git sm8550-modules + git clone --depth=1 -b ${{ inputs.kernel_branch }} https://github.com/${{ inputs.kernel_source }}/android_kernel_oneplus_sm8150.git sm8150 - name: Download AOSP Clang run: | @@ -135,7 +134,7 @@ jobs: - name: Create GitHub Release run: | - REL_NAME="OPSM8550_${{ inputs.kernel_source }}-${{ inputs.kernel_branch }}_${{ inputs.ksu_type }}_$(date -u +"%Y%m%d_%H%M")" + REL_NAME="OPSM8150_${{ inputs.kernel_source }}-${{ inputs.kernel_branch }}_${{ inputs.ksu_type }}_$(date -u +"%Y%m%d_%H%M")" cd ${GITHUB_WORKSPACE} ZIP_FILE=$(ls *.zip) gh release create "$REL_NAME" --title "$REL_NAME" --notes "" "${ZIP_FILE}" Image From 2736d20cba446e175899290e6187ad59e506bd45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Sun, 15 Feb 2026 18:13:27 +0800 Subject: [PATCH 03/15] Update ksu_supported to true in AnyKernel3 Enable ksu support in AnyKernel3 by modifying anykernel.sh. --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6551ed7..08d67b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,7 +129,8 @@ jobs: cp sm8550/out/arch/arm64/boot/Image AnyKernel3/Image cp sm8550/out/arch/arm64/boot/Image ./Image cd AnyKernel3 - + sed -i "s|ksu_supported=false|ksu_supported=true|" anykernel.sh + zip -r9 ../"${ZIP_NAME}.zip" * -x .git - name: Create GitHub Release From 838fb9dee6aa071b8617cc5f1a3f726194bbc06b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Sun, 15 Feb 2026 18:21:18 +0800 Subject: [PATCH 04/15] Refactor CI workflow for SM8150 kernel build --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08d67b1..f34fd9c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,10 +38,10 @@ on: - KernelSU-by-\xx jobs: - SM8550_Kernel_CI: + Kernel_CI: env: - CLANG_VER: clang-r547379 GH_TOKEN: ${{ github.token }} + SOC: sm8150 runs-on: ubuntu-latest permissions: contents: write @@ -74,7 +74,7 @@ jobs: - name: Clone Kernel Source run: | - git clone --depth=1 -b ${{ inputs.kernel_branch }} https://github.com/${{ inputs.kernel_source }}/android_kernel_oneplus_sm8150.git sm8150 + git clone --depth=1 -b ${{ inputs.kernel_branch }} https://github.com/${{ inputs.kernel_source }}/android_kernel_oneplus_${SOC}.git ${SOC} - name: Download AOSP Clang run: | @@ -104,7 +104,7 @@ jobs: export STRIP="${CLANG_ROOT}/llvm-strip" export CROSS_COMPILE=aarch64-linux-gnu- - cd sm8150 + cd ${SOC} case "${{ inputs.ksu_type }}" in @@ -126,8 +126,8 @@ jobs: ZIP_NAME="${{ inputs.ksu_type }}_$(date -u +"%Y%m%d_%H%M")" git clone https://github.com/Kernel-SU/AnyKernel3.git - cp sm8550/out/arch/arm64/boot/Image AnyKernel3/Image - cp sm8550/out/arch/arm64/boot/Image ./Image + cp ${SOC}/out/arch/arm64/boot/Image AnyKernel3/Image + cp ${SOC}/out/arch/arm64/boot/Image ./Image cd AnyKernel3 sed -i "s|ksu_supported=false|ksu_supported=true|" anykernel.sh @@ -135,7 +135,7 @@ jobs: - name: Create GitHub Release run: | - REL_NAME="OPSM8150_${{ inputs.kernel_source }}-${{ inputs.kernel_branch }}_${{ inputs.ksu_type }}_$(date -u +"%Y%m%d_%H%M")" + REL_NAME="${SOC}_${{ inputs.kernel_source }}-${{ inputs.kernel_branch }}_${{ inputs.ksu_type }}_$(date -u +"%Y%m%d_%H%M")" cd ${GITHUB_WORKSPACE} ZIP_FILE=$(ls *.zip) gh release create "$REL_NAME" --title "$REL_NAME" --notes "" "${ZIP_FILE}" Image From 368653d824e7ea906a65646eb7e32fa9136401a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Sun, 15 Feb 2026 19:19:23 +0800 Subject: [PATCH 05/15] Fix typo in KernelSU option in build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f34fd9c..57503f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ on: type: choice options: - None - - KernelSU-by-\xx + - KernelSU-by-xx jobs: Kernel_CI: @@ -111,7 +111,7 @@ jobs: "None") ;; - "KernelSU-by-\xx") + "KernelSU-by-xx") curl -LSs "https://raw.githubusercontent.com/backslashxx/KernelSU/refs/heads/master/kernel/setup.sh" | bash -s master ;; esac From 86b3b3553da776db154e8758179a08e2862e470c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Mon, 16 Feb 2026 12:48:16 +0800 Subject: [PATCH 06/15] Add CONFIG_KSU_TAMPER_SYSCALL_TABLE to config --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 57503f7..da1812a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,7 +115,8 @@ jobs: curl -LSs "https://raw.githubusercontent.com/backslashxx/KernelSU/refs/heads/master/kernel/setup.sh" | bash -s master ;; esac - + + echo "CONFIG_KSU_TAMPER_SYSCALL_TABLE=y" > arch/arm64/configs/vendor/sm8150-perf_defconfig touch ./.scmversion make O=out vendor/sm8150-perf_defconfig vendor/oplus.config From 8125d6c8dfb49da8830918731b1bea9df8dcda5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Mon, 16 Feb 2026 12:58:11 +0800 Subject: [PATCH 07/15] Fix duplicate echo command in build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index da1812a..eb34713 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -113,10 +113,10 @@ jobs: "KernelSU-by-xx") curl -LSs "https://raw.githubusercontent.com/backslashxx/KernelSU/refs/heads/master/kernel/setup.sh" | bash -s master + echo "CONFIG_KSU_TAMPER_SYSCALL_TABLE=y" > arch/arm64/configs/vendor/sm8150-perf_defconfig ;; esac - echo "CONFIG_KSU_TAMPER_SYSCALL_TABLE=y" > arch/arm64/configs/vendor/sm8150-perf_defconfig touch ./.scmversion make O=out vendor/sm8150-perf_defconfig vendor/oplus.config From 04f7995c841e62002dd3adbbf735d0aed58a8daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Mon, 16 Feb 2026 13:17:58 +0800 Subject: [PATCH 08/15] Update KernelSU build configuration output path Redirect output of CONFIG_KSU_TAMPER_SYSCALL_TABLE to out/.config instead of vendor config. --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb34713..148a402 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -113,20 +113,19 @@ jobs: "KernelSU-by-xx") curl -LSs "https://raw.githubusercontent.com/backslashxx/KernelSU/refs/heads/master/kernel/setup.sh" | bash -s master - echo "CONFIG_KSU_TAMPER_SYSCALL_TABLE=y" > arch/arm64/configs/vendor/sm8150-perf_defconfig ;; esac touch ./.scmversion make O=out vendor/sm8150-perf_defconfig vendor/oplus.config + echo "CONFIG_KSU_TAMPER_SYSCALL_TABLE=y" >> out/.config make -j2 O=out Image - name: Make AnyKernel3 run: | ZIP_NAME="${{ inputs.ksu_type }}_$(date -u +"%Y%m%d_%H%M")" git clone https://github.com/Kernel-SU/AnyKernel3.git - cp ${SOC}/out/arch/arm64/boot/Image AnyKernel3/Image cp ${SOC}/out/arch/arm64/boot/Image ./Image cd AnyKernel3 From f2595a577fff05c443f168026f5ce60b4ad5e10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Mon, 16 Feb 2026 13:20:26 +0800 Subject: [PATCH 09/15] Update build.yml to conditionally set config option Conditionally add CONFIG_KSU_TAMPER_SYSCALL_TABLE based on ksu_type input. --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 148a402..ade043d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,7 +119,10 @@ jobs: touch ./.scmversion make O=out vendor/sm8150-perf_defconfig vendor/oplus.config - echo "CONFIG_KSU_TAMPER_SYSCALL_TABLE=y" >> out/.config + if [[ "${{ inputs.ksu_type }}" == "KernelSU-by-xx" ]]; then + echo "CONFIG_KSU_TAMPER_SYSCALL_TABLE=y" >> out/.config + fi + make -j2 O=out Image - name: Make AnyKernel3 From b8757c2616adb88d5fd8080da33e76c86306591b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Sat, 21 Feb 2026 12:01:24 +0800 Subject: [PATCH 10/15] Enhance build.yml to include ReSukiSU-with-susfs Added support for ReSukiSU-with-susfs in the build workflow, including necessary setup and configuration. --- .github/workflows/build.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ade043d..d593d40 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,8 @@ on: options: - LineageOS - crdroidandroid - + - ReSukiSU-with-susfs + kernel_branch: description: Kernel Branch(such as lineage-23.2 sixteen-qpr1) required: true @@ -114,11 +115,32 @@ jobs: "KernelSU-by-xx") curl -LSs "https://raw.githubusercontent.com/backslashxx/KernelSU/refs/heads/master/kernel/setup.sh" | bash -s master ;; + "ReSukiSU-with-susfs") + curl -LSs "https://raw.githubusercontent.com/ReSukiSU/ReSukiSU/main/kernel/setup.sh" | bash -s main esac touch ./.scmversion + if [[ "${{ inputs.ksu_type }}" == *susfs ]]; then + curl -Lo susfs.patch https://raw.githubusercontent.com/JackA1ltman/NonGKI_Kernel_Build_2nd/refs/heads/mainline/Patches/Patch/susfs_patch_to_4.14.patch + curl -Lo inline.sh https://raw.githubusercontent.com/JackA1ltman/NonGKI_Kernel_Build_2nd/refs/heads/mainline/Patches/susfs_inline_hook_patches.sh + patch -p1 < susfs.patch + sh inline.sh + + echo "CONFIG_KSU=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig + echo "CONFIG_KSU_SUSFS=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig + echo "CONFIG_KSU_SUSFS_SUS_PATH=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig + echo "CONFIG_KSU_SUSFS_SUS_MOUNT=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig + echo "CONFIG_KSU_SUSFS_SUS_KSTAT=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig + echo "CONFIG_KSU_SUSFS_SPOOF_UNAME=n" >> arch/arm64/configs/vendor/sm8150-perf_defconfig + echo "CONFIG_KSU_SUSFS_ENABLE_LOG=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig + echo "CONFIG_KSU_SUSFS_HIDE_KSU_SUSFS_SYMBOLS=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig + echo "CONFIG_KSU_SUSFS_SPOOF_CMDLINE_OR_BOOTCONFIG=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig + echo "CONFIG_KSU_SUSFS_SUS_MAP=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig + fi + make O=out vendor/sm8150-perf_defconfig vendor/oplus.config + if [[ "${{ inputs.ksu_type }}" == "KernelSU-by-xx" ]]; then echo "CONFIG_KSU_TAMPER_SYSCALL_TABLE=y" >> out/.config fi From 54724216b6507dd4092cd446a79b3b7c6f0663eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Sat, 21 Feb 2026 12:02:34 +0800 Subject: [PATCH 11/15] Update build.yml to add ReSukiSU option --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d593d40..fdf79c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,6 @@ on: options: - LineageOS - crdroidandroid - - ReSukiSU-with-susfs kernel_branch: description: Kernel Branch(such as lineage-23.2 sixteen-qpr1) @@ -37,7 +36,7 @@ on: options: - None - KernelSU-by-xx - + - ReSukiSU-with-susfs jobs: Kernel_CI: env: From 9c446dcf11e28a258d1e63f3467a0705bcdf0464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Sat, 21 Feb 2026 12:14:15 +0800 Subject: [PATCH 12/15] Change script execution from sh to bash --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fdf79c0..05c2f2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -124,7 +124,7 @@ jobs: curl -Lo susfs.patch https://raw.githubusercontent.com/JackA1ltman/NonGKI_Kernel_Build_2nd/refs/heads/mainline/Patches/Patch/susfs_patch_to_4.14.patch curl -Lo inline.sh https://raw.githubusercontent.com/JackA1ltman/NonGKI_Kernel_Build_2nd/refs/heads/mainline/Patches/susfs_inline_hook_patches.sh patch -p1 < susfs.patch - sh inline.sh + bash inline.sh echo "CONFIG_KSU=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig echo "CONFIG_KSU_SUSFS=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig From 3ef008b59ab37a4c2fab5705b77aecc7f9492325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Mon, 23 Feb 2026 16:58:48 +0800 Subject: [PATCH 13/15] Add 'yaap' option to workflow choice --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05c2f2d..9597d1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,7 @@ on: options: - LineageOS - crdroidandroid + - yaap kernel_branch: description: Kernel Branch(such as lineage-23.2 sixteen-qpr1) From dea104ed977187b5d17e5b6aa3e7201c6f207a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Mon, 23 Feb 2026 17:06:38 +0800 Subject: [PATCH 14/15] Update kernel source cloning logic in build.yml --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9597d1f..ab8e31b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,7 +75,14 @@ jobs: - name: Clone Kernel Source run: | - git clone --depth=1 -b ${{ inputs.kernel_branch }} https://github.com/${{ inputs.kernel_source }}/android_kernel_oneplus_${SOC}.git ${SOC} + case "${{ inputs.kernel_source }}" in + "yaap") + git clone --depth=1 -b ${{ inputs.kernel_branch }} https://github.com/yaap/kernel_oneplus_${SOC}.git ${SOC} + ;; + *) + git clone --depth=1 -b ${{ inputs.kernel_branch }} https://github.com/${{ inputs.kernel_source }}/android_kernel_oneplus_${SOC}.git ${SOC} + ;; + esac - name: Download AOSP Clang run: | From 7d2f58b86b5b7459fd85c78e9f838895585ef0d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=96=E5=A4=95Linx?= Date: Mon, 23 Feb 2026 17:22:41 +0800 Subject: [PATCH 15/15] Modify build configuration based on kernel source --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab8e31b..c991df3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -145,9 +145,16 @@ jobs: echo "CONFIG_KSU_SUSFS_SPOOF_CMDLINE_OR_BOOTCONFIG=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig echo "CONFIG_KSU_SUSFS_SUS_MAP=y" >> arch/arm64/configs/vendor/sm8150-perf_defconfig fi - - make O=out vendor/sm8150-perf_defconfig vendor/oplus.config + case "${{ inputs.kernel_source }}" in + "yaap") + make O=out gulch_defconfig vendor/debugfs.config + ;; + *) + make O=out vendor/sm8150-perf_defconfig vendor/oplus.config + ;; + esac + if [[ "${{ inputs.ksu_type }}" == "KernelSU-by-xx" ]]; then echo "CONFIG_KSU_TAMPER_SYSCALL_TABLE=y" >> out/.config fi