From a717d9217a9f474e43c9fcb2332f222c7e39b457 Mon Sep 17 00:00:00 2001 From: xmicro Date: Sat, 27 Jun 2026 10:17:31 -0400 Subject: [PATCH 1/8] English translations for build workflow (#240) * English translations for build workflow * Another English translation for build workflow --- .github/workflows/Build Kernel OnePlus.yml | 48 +++++++++++----------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/Build Kernel OnePlus.yml b/.github/workflows/Build Kernel OnePlus.yml index 31e5cebe1..5e00a1334 100644 --- a/.github/workflows/Build Kernel OnePlus.yml +++ b/.github/workflows/Build Kernel OnePlus.yml @@ -4,7 +4,7 @@ on: inputs: FILE: type: choice - description: "配置文件" + description: "配置文件//Configuration file" required: true default: oneplus_ace2_pro_b options: @@ -71,7 +71,7 @@ on: - oneplus_ace6_ultra_Canary MANAGER_SOURCE: type: choice - description: "管理器调用方向" + description: "管理器调用方向//Manager download source" required: true default: MD3 options: @@ -79,7 +79,7 @@ on: - MD3_SPOOF SUSFS_CI: type: choice - description: "SUSFS模块下载调用方向" + description: "SUSFS模块下载调用方向//SUSFS module branch" required: true default: N/A options: @@ -88,7 +88,7 @@ on: - N/A KPM: type: choice - description: "内核模块实现方式" + description: "内核模块实现方式//Kernel module implementation method" required: true default: N/A options: @@ -97,96 +97,96 @@ on: - N/A SUSFS_META: type: string - description: "回退SUSFS(输入哈希或次数或-1关闭)" + description: "回退SUSFS(输入哈希或次数或-1关闭)//Rollback SUSFS (Enter commit hash, count, or -1 to disable)" required: false default: "" DYNAMIC_REPO: type: string - description: "动态清单仓库所有者" + description: "动态清单仓库所有者//Manifest repository owner" required: true default: "Numbersf" BUILD_TIME: type: string - description: "自定义构建时间(输入F使用UTCT或-1关闭)" + description: "自定义构建时间(输入F使用UTCT或-1关闭)//Custom build time (Enter F to use UTCT, or -1 to disable)" required: false default: "Fri Dec 12 11:37:03 UTC 2025" KSU_META: type: string - description: "分支名(必填)/自定义版本标识(留空不修改)/回退分支提交哈希版本(留空不修改)" + description: "分支名(必填)/自定义版本标识(留空不修改)/回退分支提交哈希版本(留空不修改)//Branch name (Required) / Custom version identifier (Leave blank to not modify) / Rollback branch commit hash version (Leave blank to not modify)" required: false default: "main/Numbersf/" LZ4_UPDATE: type: boolean - description: "是否升级LZ4到上游最新?" + description: "是否升级LZ4到上游最新//Upgrade LZ4 to the latest upstream?" required: true default: false ZRAM: type: string - description: "ZRAM(0关闭1开启)/算法名/大小" + description: "ZRAM(0关闭1开启)/算法名/大小//ZRAM (0: disable, 1: enable) / Algorithm name / Size" required: true default: "0/lz4kd/8589934592" SUFFIX: type: string - description: "自定义内核后缀(不输入使用RAND_STR或-1关闭)" + description: "自定义内核后缀(不输入使用RAND_STR或-1关闭)//Custom kernel suffix (Leave blank to use RAND_STR, or -1 to disable)" required: false default: "" RESUBLEVEL: - description: "自定义内核等级欺骗(SUBLEVEL)" + description: "自定义内核等级欺骗(SUBLEVEL)//Custom kernel SUBLEVEL spoofing" required: false default: "" FAST_BUILD: type: boolean - description: "是否启用极速构建?" + description: "是否启用极速构建//Enable ultra-fast build?" required: true default: true LSM_BBG: type: boolean - description: "是否启用关键分区写入保护模块(BBG)?" + description: "是否启用关键分区写入保护模块(BBG)?//Enable critical partition write protection module (BBG)?" required: true default: true NETFILTER: type: boolean - description: "是否启用网络功能拓展(NETFILTER)?" + description: "是否启用网络功能拓展(NETFILTER)//Enable network feature extensions (NETFILTER)?" required: true default: true CCM: type: boolean - description: "是否启用网络拥塞控制与管理机制(BBR+ECN)?" + description: "是否启用网络拥塞控制与管理机制(BBR+ECN)//Enable network congestion control and management mechanism (BBR+ECN)?" required: true default: true UNICODE_BYPASS: type: boolean - description: "是否添加Unicode不可见字码点绕过读取漏洞修复?" + description: "是否添加Unicode不可见字码点绕过读取漏洞修复?//Add patch for Unicode invisible code point read bypass vulnerability?" required: true default: false SCHED_HMBIRD: type: boolean - description: "是否添加风驰驱动1.0?" + description: "是否添加风驰驱动1.0?//Add Fengchi (HMBIRD) Driver 1.0?" required: true default: false DROID_SPACES: type: boolean - description: "是否添加轻量级Linux容器支持(DroidSpaces)?" + description: "是否添加轻量级Linux容器支持(DroidSpaces)?//Add lightweight Linux container support (DroidSpaces)?" required: true default: false RE_KERNEL: type: boolean - description: "是否添加Re-Kernel?" + description: "是否添加Re-Kernel?//Add Re-Kernel?" required: true default: false SUSFS_DEV: type: boolean - description: "是否拉取SUSFS-DEV分支?" + description: "是否拉取SUSFS-DEV分支?//Pull the SUSFS-DEV branch?" required: true default: false SPACE_NOCLEAN: type: boolean - description: "是否停用空间清扫?" + description: "是否停用空间清扫?//Disable workspace cleaning?" required: true default: false BUILD_NOCACHE: type: boolean - description: "是否停用此次缓存?" + description: "是否停用此次缓存?//Disable caching for this build?" required: true default: false @@ -1782,4 +1782,4 @@ jobs: key: thinlto-${{ runner.os }}-${{ github.ref_name }}-${{ github.event.inputs.FILE }}-16.8 - name: Post-build Disk Check - run: df -h \ No newline at end of file + run: df -h From 034fc5275fdc2c6102ce21421d99e2141aa290c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=BF=E4=BA=91=E5=86=B7=E9=9B=A8?= <106859907+Numbersf@users.noreply.github.com> Date: Sat, 27 Jun 2026 22:39:26 +0800 Subject: [PATCH 2/8] Improve workflow_dispatch inputs translation --- .github/workflows/Build Kernel OnePlus.yml | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/Build Kernel OnePlus.yml b/.github/workflows/Build Kernel OnePlus.yml index 5e00a1334..9b7140eec 100644 --- a/.github/workflows/Build Kernel OnePlus.yml +++ b/.github/workflows/Build Kernel OnePlus.yml @@ -117,7 +117,7 @@ on: default: "main/Numbersf/" LZ4_UPDATE: type: boolean - description: "是否升级LZ4到上游最新//Upgrade LZ4 to the latest upstream?" + description: "是否升级LZ4到上游最新?//Upgrade LZ4 to the latest upstream?" required: true default: false ZRAM: @@ -136,57 +136,57 @@ on: default: "" FAST_BUILD: type: boolean - description: "是否启用极速构建//Enable ultra-fast build?" + description: "是否启用极速构建?//Enable ultra-fast build?" required: true default: true LSM_BBG: type: boolean - description: "是否启用关键分区写入保护模块(BBG)?//Enable critical partition write protection module (BBG)?" + description: "是否启用关键分区写入保护模块(BBG)?//Enable critical partition write protection module (BBG)?" required: true default: true NETFILTER: type: boolean - description: "是否启用网络功能拓展(NETFILTER)//Enable network feature extensions (NETFILTER)?" + description: "是否启用网络功能拓展(NETFILTER)?//Enable network feature extensions (NETFILTER)?" required: true default: true CCM: type: boolean - description: "是否启用网络拥塞控制与管理机制(BBR+ECN)//Enable network congestion control and management mechanism (BBR+ECN)?" + description: "是否启用网络拥塞控制与管理机制(BBR+ECN)?//Enable network congestion control and management mechanism (BBR+ECN)?" required: true default: true UNICODE_BYPASS: type: boolean - description: "是否添加Unicode不可见字码点绕过读取漏洞修复?//Add patch for Unicode invisible code point read bypass vulnerability?" + description: "是否添加Unicode不可见字码点绕过读取漏洞修复?//Add patch for Unicode invisible code point read bypass vulnerability?" required: true default: false SCHED_HMBIRD: type: boolean - description: "是否添加风驰驱动1.0?//Add Fengchi (HMBIRD) Driver 1.0?" + description: "是否添加风驰驱动1.0?//Add Fengchi (HMBIRD) Driver 1.0?" required: true default: false DROID_SPACES: type: boolean - description: "是否添加轻量级Linux容器支持(DroidSpaces)?//Add lightweight Linux container support (DroidSpaces)?" + description: "是否添加轻量级Linux容器支持(DroidSpaces)?//Add lightweight Linux container support (DroidSpaces)?" required: true default: false RE_KERNEL: type: boolean - description: "是否添加Re-Kernel?//Add Re-Kernel?" + description: "是否添加Re-Kernel?//Add Re-Kernel?" required: true default: false SUSFS_DEV: type: boolean - description: "是否拉取SUSFS-DEV分支?//Pull the SUSFS-DEV branch?" + description: "是否拉取SUSFS-DEV分支?//Pull the SUSFS-DEV branch?" required: true default: false SPACE_NOCLEAN: type: boolean - description: "是否停用空间清扫?//Disable workspace cleaning?" + description: "是否停用空间清扫?//Disable workspace cleaning?" required: true default: false BUILD_NOCACHE: type: boolean - description: "是否停用此次缓存?//Disable caching for this build?" + description: "是否停用此次缓存?//Disable caching for this build?" required: true default: false @@ -1782,4 +1782,4 @@ jobs: key: thinlto-${{ runner.os }}-${{ github.ref_name }}-${{ github.event.inputs.FILE }}-16.8 - name: Post-build Disk Check - run: df -h + run: df -h \ No newline at end of file From c475dba4f9981f8b5fe0671f3db8952e30e49a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=BF=E4=BA=91=E5=86=B7=E9=9B=A8?= <106859907+Numbersf@users.noreply.github.com> Date: Tue, 30 Jun 2026 17:52:26 +0800 Subject: [PATCH 3/8] Synchronize Re-Kernel 10.0 --- .github/workflows/Build Kernel OnePlus.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/Build Kernel OnePlus.yml b/.github/workflows/Build Kernel OnePlus.yml index 9b7140eec..3a3e24892 100644 --- a/.github/workflows/Build Kernel OnePlus.yml +++ b/.github/workflows/Build Kernel OnePlus.yml @@ -1035,8 +1035,7 @@ jobs: sed -i '/endmenu/i source "drivers/rekernel/Kconfig"' drivers/Kconfig sed -i '$a \#Re-Kernel Support\nobj-$(CONFIG_REKERNEL) += rekernel/' drivers/Makefile mkdir -p drivers/rekernel - cp ${RE_DIR}/rekernel.c ${RE_DIR}/rekernel.h ${RE_DIR}/Makefile ${RE_DIR}/Kconfig drivers/rekernel/ - sed -i "s|^\s*//\s*#define KERNEL_${KERNEL_SHORT_PATCH_VERSION}|\#define KERNEL_${KERNEL_SHORT_PATCH_VERSION}|" drivers/rekernel/rekernel.h + cp ${RE_DIR}/rekernel_*.c ${RE_DIR}/rekernel.h ${RE_DIR}/Makefile ${RE_DIR}/Kconfig drivers/rekernel/ - name: Apply DROID_SPACES env: From c9e5099f1ee1012195fb02aea8efe28eb2d8d51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=BF=E4=BA=91=E5=86=B7=E9=9B=A8?= <106859907+Numbersf@users.noreply.github.com> Date: Tue, 30 Jun 2026 18:24:03 +0800 Subject: [PATCH 4/8] Synchronize Re-Kernel 10.0-2 --- .github/workflows/Build Kernel OnePlus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build Kernel OnePlus.yml b/.github/workflows/Build Kernel OnePlus.yml index 3a3e24892..b907f38b5 100644 --- a/.github/workflows/Build Kernel OnePlus.yml +++ b/.github/workflows/Build Kernel OnePlus.yml @@ -1035,7 +1035,7 @@ jobs: sed -i '/endmenu/i source "drivers/rekernel/Kconfig"' drivers/Kconfig sed -i '$a \#Re-Kernel Support\nobj-$(CONFIG_REKERNEL) += rekernel/' drivers/Makefile mkdir -p drivers/rekernel - cp ${RE_DIR}/rekernel_*.c ${RE_DIR}/rekernel.h ${RE_DIR}/Makefile ${RE_DIR}/Kconfig drivers/rekernel/ + cp -r "${RE_DIR}"/* drivers/rekernel/ - name: Apply DROID_SPACES env: From bb4865cbf500ba9d88a42e2621a3d930f8ba0efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=BF=E4=BA=91=E5=86=B7=E9=9B=A8?= <106859907+Numbersf@users.noreply.github.com> Date: Thu, 2 Jul 2026 10:49:04 +0800 Subject: [PATCH 5/8] revert: exclude unpublished asuite/tradefederation prebuilts, replacing Canary manifest --- .github/workflows/Build Kernel OnePlus.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Build Kernel OnePlus.yml b/.github/workflows/Build Kernel OnePlus.yml index b907f38b5..a5e6eb525 100644 --- a/.github/workflows/Build Kernel OnePlus.yml +++ b/.github/workflows/Build Kernel OnePlus.yml @@ -56,19 +56,12 @@ on: - oneplus_turbo_6 - oneplus_nord_6 - oneplus_ace_6t - - oneplus_ace_6t_Canary - oneplus_15r - - oneplus_15r_Canary - oneplus_15 - - oneplus_15_Canary - oneplus_15t - - oneplus_15t_Canary - oneplus_pad_3_pro - - oneplus_pad_3_pro_Canary - oneplus_pad_4 - - oneplus_pad_4_Canary - oneplus_ace6_ultra - - oneplus_ace6_ultra_Canary MANAGER_SOURCE: type: choice description: "管理器调用方向//Manager download source" @@ -288,6 +281,8 @@ jobs: echo "MANIFEST_REPO_NAME=$FOUND_REPO_NAME" >> "$GITHUB_ENV" echo "MANIFEST_BRANCH=$FOUND_BRANCH" >> "$GITHUB_ENV" + # 回退未公开项 + sed -i -e '/prebuilts\/asuite"/{/ks-kernel\.lnx\.5\.0\.r3-rel/d}' -e '/tools\/tradefederation\/prebuilts"/{/ks-kernel\.lnx\.5\.0\.r3-rel/d}' "$XML_PATH" # 解析 revision 字符串 REVISION=$(grep -oP ']+revision="\K[^"]+' "$XML_PATH" | head -n1 || true) echo "解析 FILE 获取 CPU 和 ANDROID_VERSION..." From 3ccdfe5b4261e766086244019247b4a9e52e63de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=BF=E4=BA=91=E5=86=B7=E9=9B=A8?= <106859907+Numbersf@users.noreply.github.com> Date: Thu, 2 Jul 2026 11:10:51 +0800 Subject: [PATCH 6/8] fix: move sed operation to avoid being overwritten --- .github/workflows/Build Kernel OnePlus.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/Build Kernel OnePlus.yml b/.github/workflows/Build Kernel OnePlus.yml index a5e6eb525..d9a58337f 100644 --- a/.github/workflows/Build Kernel OnePlus.yml +++ b/.github/workflows/Build Kernel OnePlus.yml @@ -281,8 +281,6 @@ jobs: echo "MANIFEST_REPO_NAME=$FOUND_REPO_NAME" >> "$GITHUB_ENV" echo "MANIFEST_BRANCH=$FOUND_BRANCH" >> "$GITHUB_ENV" - # 回退未公开项 - sed -i -e '/prebuilts\/asuite"/{/ks-kernel\.lnx\.5\.0\.r3-rel/d}' -e '/tools\/tradefederation\/prebuilts"/{/ks-kernel\.lnx\.5\.0\.r3-rel/d}' "$XML_PATH" # 解析 revision 字符串 REVISION=$(grep -oP ']+revision="\K[^"]+' "$XML_PATH" | head -n1 || true) echo "解析 FILE 获取 CPU 和 ANDROID_VERSION..." @@ -541,6 +539,7 @@ jobs: echo "使用$MANIFEST_REPO/$MANIFEST_REPO_NAME($MANIFEST_BRANCH)初始化仓库..." repo init -u "$BASE_URL" -b "$MANIFEST_BRANCH" -m "${FILE}.xml" --depth=1 --no-clone-bundle --no-tags + sed -i -e '/prebuilts\/asuite"/{/ks-kernel\.lnx\.5\.0\.r3-rel/d}' -e '/tools\/tradefederation\/prebuilts"/{/ks-kernel\.lnx\.5\.0\.r3-rel/d}' ".repo/manifests/${FILE}.xml" repo sync -c -j$(nproc) --no-clone-bundle --no-tags --force-sync KERNEL_REPOS="" From d281ab604e356dce287933b497a998defc6203ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=BF=E4=BA=91=E5=86=B7=E9=9B=A8?= <106859907+Numbersf@users.noreply.github.com> Date: Thu, 2 Jul 2026 11:42:20 +0800 Subject: [PATCH 7/8] fix: clean up canary devices missed in previous removal --- .github/workflows/Build Kernel OnePlus.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/Build Kernel OnePlus.yml b/.github/workflows/Build Kernel OnePlus.yml index d9a58337f..7e01bf455 100644 --- a/.github/workflows/Build Kernel OnePlus.yml +++ b/.github/workflows/Build Kernel OnePlus.yml @@ -18,7 +18,6 @@ on: - oneplus_11r_b - oneplus_ace2_b - oneplus_pad_lite_b - - oneplus_pad_lite_Canary_b - oneplus_pad_mt6983_b - oneplus_ace_2v_b - oneplus_ace_pro_v From d99fd93513beaf3e4ed9e4596aefef1f6b9eac5a Mon Sep 17 00:00:00 2001 From: Numbersf Date: Thu, 2 Jul 2026 19:12:02 +0800 Subject: [PATCH 8/8] docs: switch readme typing svg to new domain --- README-en.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README-en.md b/README-en.md index 001d11ad5..e43adcfef 100644 --- a/README-en.md +++ b/README-en.md @@ -10,7 +10,7 @@ # Action-Build - + Prohibit the promotion of forked repositories with **no modifications**; see [LICENSE](LICENSE)
diff --git a/README.md b/README.md index 917d31565..8a70e31ff 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ # Action-Build - + 禁止宣传**没有任何修改**的`fork`仓库,详见[LICENSE](LICENSE)