Skip to content

Commit 104d90e

Browse files
committed
Add hmbird support for all sm8750 devices
1 parent 596361e commit 104d90e

File tree

6 files changed

+9
-18
lines changed

6 files changed

+9
-18
lines changed

.github/actions/action.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -725,12 +725,8 @@ runs:
725725
fi
726726
if [ "$OP_HMBIRD" = true ]; then
727727
echo "Patching hmbird!"
728-
echo 'obj-y += hmbird_patch.o' >> ./drivers/Makefile
729-
patch -p1 -F 3 < "../../../kernel_patches/oneplus/hmbird/hmbird_kernel_patch.patch"
730-
echo "Patching hmbird files!"
731-
cd ./kernel/sched
732-
rm -rf ext.c ext.h build_policy.c slim.h slim_sysctl.c
733-
patch -p1 -F 3 < "../../../../../kernel_patches/oneplus/hmbird/hmbird_files_patch.patch"
728+
dos2unix "../../../kernel_patches/oneplus/hmbird/fengchi_${OP_MODEL}_${OP_OS_VERSION}.patch"
729+
patch -p1 -F 3 < "../../../kernel_patches/oneplus/hmbird/fengchi_${OP_MODEL}_${OP_OS_VERSION}.patch"
734730
else
735731
echo "Hmbird not enabled, skipping fengchi patch"
736732
fi
@@ -1165,11 +1161,6 @@ runs:
11651161
cp "$IMAGE_PATH" "$GITHUB_WORKSPACE/AnyKernel3/Image"
11661162
cd "$GITHUB_WORKSPACE/AnyKernel3"
11671163
1168-
if [ "$OP_HMBIRD" = true ]; then
1169-
cp "$GITHUB_WORKSPACE/kernel_patches/oneplus/hmbird/bins/"* ./tools/ 2>/dev/null || true
1170-
patch -F 3 < "$GITHUB_WORKSPACE/kernel_patches/oneplus/hmbird/ak3_hmbird_patch.patch"
1171-
fi
1172-
11731164
ZIP_NAME="AK3_${OP_MODEL}_${OP_OS_VERSION}_${KERNEL_FULL_VER}_Next_${KSUVER}_${SUSVER}.zip"
11741165
ARTIFACTS_DIR="$CONFIG_DIR/artifacts"
11751166
mkdir -p "$ARTIFACTS_DIR"

.github/workflows/build-kernel-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ jobs:
598598
### 🔧 System Features
599599
- **TMPFS_XATTR** - Extended attributes for tmpfs (Mountify support)
600600
- **TMPFS_POSIX_ACL** - POSIX ACLs for tmpfs
601-
- **HMBIRD SCX** - OnePlus 13 & Ace 5 Pro scheduler extensions
601+
- **HMBIRD SCX** - Scheduler extensions for all sm8750 devices
602602
603603
---
604604
@@ -623,6 +623,7 @@ jobs:
623623
### Prerequisites
624624
- Unlocked bootloader
625625
- Backup your current boot image
626+
- Have root access using Magisk / KernelSU (Any forks) / Apatch
626627
627628
### Via Custom Recovery
628629
1. Download the appropriate ZIP for your device
@@ -637,7 +638,7 @@ jobs:
637638
638639
### This Release
639640
- Updated SUSFS to v1.5.12
640-
- Added HMBIRD support for OP13/Ace5Pro
641+
- Added HMBIRD support for all sm8750 devices.
641642
- Improved ccache build system
642643
- Enhanced SUSFS hiding capabilities
643644
- Added IP_SET and TTL support
@@ -653,7 +654,6 @@ jobs:
653654
- **KernelSU Next Team** - Root solution
654655
- **simonpunk** - SUSFS development
655656
- **OnePlus** - Kernel source code
656-
- **LineageOS Team** - Kernel patches and improvements
657657
- **Community Contributors** - Testing and feedback
658658
659659
---

configs/oos15/OP-PAD-2-PRO.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"android_version": "android15",
77
"kernel_version": "6.6",
88
"os_version": "OOS15",
9-
"hmbird": false,
9+
"hmbird": true,
1010
"bbg": true,
1111
"bbr": true,
1212
"ttl": true,

configs/oos15/OP-PAD-3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"android_version": "android15",
77
"kernel_version": "6.6",
88
"os_version": "OOS15",
9-
"hmbird": false,
9+
"hmbird": true,
1010
"bbg": true,
1111
"bbr": true,
1212
"ttl": true,

configs/oos15/OP13S.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"android_version": "android15",
77
"kernel_version": "6.6",
88
"os_version": "OOS15",
9-
"hmbird": false,
9+
"hmbird": true,
1010
"bbg": true,
1111
"bbr": true,
1212
"ttl": true,

configs/oos15/OP13T.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"android_version": "android15",
77
"kernel_version": "6.6",
88
"os_version": "OOS15",
9-
"hmbird": false,
9+
"hmbird": true,
1010
"bbg": true,
1111
"bbr": true,
1212
"ttl": true,

0 commit comments

Comments
 (0)