Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/Build Kernel Only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,15 @@ on:
- 'On'
- 'Off'
default: 'Off'

GUNYAH_FIX:
description: "是否添加 Gunyah修复补丁(仅6.1内核生效)"
required: true
type: choice
options:
- 'On'
- 'Off'
default: 'Off'

jobs:
build:
Expand Down Expand Up @@ -271,6 +280,11 @@ jobs:
cp ../kernel_patches/common/unicode_bypass_fix_6.1-.patch ./common/unicode_bypass_fix.patch
fi
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
fi

if [ "${{ github.event.inputs.lz4kd }}" == "On" ]; then
# Copy lz4k from ShirkNeko
Expand All @@ -289,6 +303,12 @@ jobs:
patch -p1 < unicode_bypass_fix.patch
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 正在应用 Gunyah 修复补丁..."
patch -p1 < gunyah_large_memory_access_fix.patch
patch -p1 < gunyah_scm_vmid_fix.patch
fi

if [ "${{ github.event.inputs.lz4kd }}" = "Off" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 应用lz4+zstd补丁..."
git apply -p1 < 001-lz4.patch || true
Expand Down Expand Up @@ -507,4 +527,4 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: ${{ github.event.inputs.FEIL }}_zram.ko
path: ./kernel_workspace/kernel_platform/common/out/drivers/block/zram/zram.ko
path: ./kernel_workspace/kernel_platform/common/out/drivers/block/zram/zram.ko
22 changes: 21 additions & 1 deletion .github/workflows/Build KernelSU Next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,15 @@ on:
- 'On'
- 'Off'
default: 'Off'

GUNYAH_FIX:
description: "是否添加 Gunyah修复补丁(仅6.1内核生效)"
required: true
type: choice
options:
- 'On'
- 'Off'
default: 'Off'

jobs:
build:
Expand Down Expand Up @@ -319,6 +328,11 @@ jobs:
fi
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
Comment on lines +332 to +333
fi

if [ "${{ github.event.inputs.lz4kd }}" == "On" ]; then
# Copy lz4k from ShirkNeko
cp -r ../SukiSU_patch/other/zram/lz4k/include/linux/* ./common/include/linux
Expand All @@ -334,6 +348,12 @@ jobs:
echo "📦 正在应用Unicode零宽绕过修复补丁..."
patch -p1 < unicode_bypass_fix.patch
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 正在应用 Gunyah 修复补丁..."
patch -p1 < gunyah_large_memory_access_fix.patch
patch -p1 < gunyah_scm_vmid_fix.patch
fi

if [ "${{ github.event.inputs.lz4kd }}" = "Off" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 应用lz4+zstd补丁..."
Expand Down Expand Up @@ -616,4 +636,4 @@ jobs:
# KPM: Not Support
# LZ4KD: ${{ github.event.inputs.lz4kd }}
# BBR: ${{ github.event.inputs.bbr }}
# KSU_VAR: "NEXT"
# KSU_VAR: "NEXT"
22 changes: 21 additions & 1 deletion .github/workflows/Build KernelSU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,15 @@ on:
- 'On'
- 'Off'
default: 'Off'

GUNYAH_FIX:
description: "是否添加 Gunyah修复补丁(仅6.1内核生效)"
required: true
type: choice
options:
- 'On'
- 'Off'
default: 'Off'

jobs:
build:
Expand Down Expand Up @@ -315,6 +324,11 @@ jobs:
fi
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
Comment on lines +328 to +329
fi

if [ "${{ github.event.inputs.lz4kd }}" == "On" ]; then
# Copy lz4k from ShirkNeko
cp -r ../SukiSU_patch/other/zram/lz4k/include/linux/* ./common/include/linux
Expand All @@ -339,6 +353,12 @@ jobs:
echo "📦 正在应用Unicode零宽绕过修复补丁..."
patch -p1 < unicode_bypass_fix.patch
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 正在应用 Gunyah 修复补丁..."
patch -p1 < gunyah_large_memory_access_fix.patch
patch -p1 < gunyah_scm_vmid_fix.patch
fi

if [ "${{ github.event.inputs.lz4kd }}" = "Off" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 应用lz4+zstd补丁..."
Expand Down Expand Up @@ -588,4 +608,4 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: ${{ github.event.inputs.FEIL }}_zram.ko
path: ./kernel_workspace/kernel_platform/common/out/drivers/block/zram/zram.ko
path: ./kernel_workspace/kernel_platform/common/out/drivers/block/zram/zram.ko
22 changes: 21 additions & 1 deletion .github/workflows/Build ReSukiSU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,15 @@ on:
- 'On'
- 'Off'
default: 'Off'

GUNYAH_FIX:
description: "是否添加 Gunyah修复补丁(仅6.1内核生效)"
required: true
type: choice
options:
- 'On'
- 'Off'
default: 'Off'

jobs:
build:
Expand Down Expand Up @@ -330,6 +339,11 @@ jobs:
fi
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
Comment on lines +343 to +344
fi

if [ "${{ github.event.inputs.lz4kd }}" == "On" ]; then
# Copy lz4k from ShirkNeko
cp -r ../SukiSU_patch/other/zram/lz4k/include/linux/* ./common/include/linux
Expand All @@ -345,6 +359,12 @@ jobs:
patch -p1 < unicode_bypass_fix.patch
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 正在应用 Gunyah 修复补丁..."
patch -p1 < gunyah_large_memory_access_fix.patch
patch -p1 < gunyah_scm_vmid_fix.patch
fi

if [ "${{ github.event.inputs.lz4kd }}" = "Off" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 应用lz4+zstd补丁..."
git apply -p1 < 001-lz4.patch || true
Expand Down Expand Up @@ -624,4 +644,4 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: ${{ github.event.inputs.FEIL }}_zram.ko
path: ./kernel_workspace/kernel_platform/common/out/drivers/block/zram/zram.ko
path: ./kernel_workspace/kernel_platform/common/out/drivers/block/zram/zram.ko
22 changes: 21 additions & 1 deletion .github/workflows/Build SukiSU Ultra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,15 @@ on:
- 'On'
- 'Off'
default: 'Off'

GUNYAH_FIX:
description: "是否添加 Gunyah修复补丁(仅6.1内核生效)"
required: true
type: choice
options:
- 'On'
- 'Off'
default: 'Off'

jobs:
build:
Expand Down Expand Up @@ -333,6 +342,11 @@ jobs:
cp ../kernel_patches/common/unicode_bypass_fix_6.1-.patch ./common/unicode_bypass_fix.patch
fi
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
Comment on lines +347 to +348
fi

if [ "${{ github.event.inputs.lz4kd }}" == "On" ]; then
# Copy lz4k from ShirkNeko
Expand All @@ -349,6 +363,12 @@ jobs:
patch -p1 < unicode_bypass_fix.patch
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 正在应用 Gunyah 修复补丁..."
patch -p1 < gunyah_large_memory_access_fix.patch
patch -p1 < gunyah_scm_vmid_fix.patch
fi

if [ "${{ github.event.inputs.lz4kd }}" = "Off" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 应用lz4+zstd补丁..."
git apply -p1 < 001-lz4.patch || true
Expand Down Expand Up @@ -652,4 +672,4 @@ jobs:
# KPM: ${{ github.event.inputs.KPM }}
# LZ4KD: ${{ github.event.inputs.lz4kd }}
# BBR: ${{ github.event.inputs.bbr }}
# KSU_VAR: "SukiSU"
# KSU_VAR: "SukiSU"
22 changes: 21 additions & 1 deletion .github/workflows/Build SukiSU Ultra_40129.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,15 @@ on:
- 'On'
- 'Off'
default: 'Off'

GUNYAH_FIX:
description: "是否添加 Gunyah修复补丁(仅6.1内核生效)"
required: true
type: choice
options:
- 'On'
- 'Off'
default: 'Off'

jobs:
build:
Expand Down Expand Up @@ -320,6 +329,11 @@ jobs:
cp ../kernel_patches/common/unicode_bypass_fix_6.1-.patch ./common/unicode_bypass_fix.patch
fi
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
Comment on lines +334 to +335
fi

if [ "${{ github.event.inputs.lz4kd }}" == "On" ]; then
# Copy lz4k from ShirkNeko
Expand All @@ -336,6 +350,12 @@ jobs:
patch -p1 < unicode_bypass_fix.patch
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 正在应用 Gunyah 修复补丁..."
patch -p1 < gunyah_large_memory_access_fix.patch
patch -p1 < gunyah_scm_vmid_fix.patch
fi

if [ "${{ github.event.inputs.lz4kd }}" = "Off" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
echo "📦 应用lz4+zstd补丁..."
git apply -p1 < 001-lz4.patch || true
Expand Down Expand Up @@ -625,4 +645,4 @@ jobs:
# KPM: ${{ github.event.inputs.KPM }}
# LZ4KD: ${{ github.event.inputs.lz4kd }}
# BBR: ${{ github.event.inputs.bbr }}
# KSU_VAR: "SukiSU"
# KSU_VAR: "SukiSU"
Loading