Skip to content

Commit 0c3945c

Browse files
committed
Make Changes to point to my repos
1 parent fb8bc36 commit 0c3945c

File tree

2 files changed

+197
-92
lines changed

2 files changed

+197
-92
lines changed

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

Lines changed: 99 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -19,48 +19,66 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
include:
22-
- model: OP11
22+
- model: OP11_v
2323
soc: kalama
2424
branch: oneplus/sm8550
2525
manifest: oneplus_11_v.xml
2626
android_version: android13
2727
kernel_version: "5.15"
28-
- model: OP11r
29-
soc: waipio
30-
branch: oneplus/sm8475
31-
manifest: oneplus_11r_v.xml
32-
android_version: android13
33-
kernel_version: "5.10"
34-
- model: OP-OPEN
28+
- model: OP11_u
3529
soc: kalama
3630
branch: oneplus/sm8550
37-
manifest: oneplus_open_v.xml
31+
manifest: oneplus_11_u.xml
3832
android_version: android13
3933
kernel_version: "5.15"
40-
- model: OP-ACE-2
41-
soc: waipio
42-
branch: oneplus/sm8475
43-
manifest: oneplus_ace2_v.xml
34+
- model: OP11_t
35+
soc: kalama
36+
branch: oneplus/sm8550
37+
manifest: oneplus_11_t.xml
4438
android_version: android13
45-
kernel_version: "5.10"
46-
- model: OP10t
47-
soc: waipio
48-
branch: oneplus/sm8475
49-
manifest: oneplus_10t_v.xml
50-
android_version: android12
51-
kernel_version: "5.10"
52-
- model: OP10pro
53-
soc: waipio
54-
branch: oneplus/sm8450
55-
manifest: oneplus_10_pro_v.xml
56-
android_version: android12
57-
kernel_version: "5.10"
58-
- model: OP-ACE-2-PRO
39+
kernel_version: "5.15"
40+
- model: OP11_t_1
5941
soc: kalama
6042
branch: oneplus/sm8550
61-
manifest: oneplus_ace2pro_v.xml
43+
manifest: oneplus_11_t_1.xml
6244
android_version: android13
6345
kernel_version: "5.15"
46+
# - model: OP11r
47+
# soc: waipio
48+
# branch: oneplus/sm8475
49+
# manifest: oneplus_11r_v.xml
50+
# android_version: android13
51+
# kernel_version: "5.10"
52+
# - model: OP-OPEN
53+
# soc: kalama
54+
# branch: oneplus/sm8550
55+
# manifest: oneplus_open_v.xml
56+
# android_version: android13
57+
# kernel_version: "5.15"
58+
# - model: OP-ACE-2
59+
# soc: waipio
60+
# branch: oneplus/sm8475
61+
# manifest: oneplus_ace2_v.xml
62+
# android_version: android13
63+
# kernel_version: "5.10"
64+
# - model: OP10t
65+
# soc: waipio
66+
# branch: oneplus/sm8475
67+
# manifest: oneplus_10t_v.xml
68+
# android_version: android12
69+
# kernel_version: "5.10"
70+
# - model: OP10pro
71+
# soc: waipio
72+
# branch: oneplus/sm8450
73+
# manifest: oneplus_10_pro_v.xml
74+
# android_version: android12
75+
# kernel_version: "5.10"
76+
# - model: OP-ACE-2-PRO
77+
# soc: kalama
78+
# branch: oneplus/sm8550
79+
# manifest: oneplus_ace2pro_v.xml
80+
# android_version: android13
81+
# kernel_version: "5.15"
6482
uses: ./.github/workflows/build.yml
6583
secrets: inherit
6684
with:
@@ -71,66 +89,66 @@ jobs:
7189
android_version: ${{ matrix.android_version }}
7290
kernel_version: ${{ matrix.kernel_version }}
7391

74-
build-batch-2:
75-
# needs: build-batch-1
76-
strategy:
77-
fail-fast: false
78-
matrix:
79-
include:
80-
- model: OP13
81-
soc: sun
82-
branch: oneplus/sm8750
83-
manifest: JiuGeFaCai_oneplus_13_v.xml
84-
android_version: android15
85-
kernel_version: "6.6"
86-
- model: OPAce5Pro
87-
soc: sun
88-
branch: oneplus/sm8750
89-
manifest: JiuGeFaCai_oneplus_ace5_pro_v.xml
90-
android_version: android15
91-
kernel_version: "6.6"
92-
- model: OP12
93-
soc: pineapple
94-
branch: oneplus/sm8650
95-
manifest: oneplus12_v.xml
96-
android_version: android14
97-
kernel_version: "6.1"
98-
- model: OP13r
99-
soc: pineapple
100-
branch: oneplus/sm8650
101-
manifest: oneplus_13r.xml
102-
android_version: android14
103-
kernel_version: "6.1"
104-
- model: OP-ACE-5
105-
soc: pineapple
106-
branch: oneplus/sm8650
107-
manifest: oneplus_ace5.xml
108-
android_version: android14
109-
kernel_version: "6.1"
110-
- model: OP-NORD-4
111-
soc: pineapple
112-
branch: oneplus/sm7675
113-
manifest: oneplus_nord_4_v.xml
114-
android_version: android14
115-
kernel_version: "6.1"
116-
uses: ./.github/workflows/build.yml
117-
secrets: inherit
118-
with:
119-
model: ${{ matrix.model }}
120-
soc: ${{ matrix.soc }}
121-
branch: ${{ matrix.branch }}
122-
manifest: ${{ matrix.manifest }}
123-
android_version: ${{ matrix.android_version }}
124-
kernel_version: ${{ matrix.kernel_version }}
92+
# build-batch-2:
93+
# # needs: build-batch-1
94+
# strategy:
95+
# fail-fast: false
96+
# matrix:
97+
# include:
98+
# - model: OP13
99+
# soc: sun
100+
# branch: oneplus/sm8750
101+
# manifest: JiuGeFaCai_oneplus_13_v.xml
102+
# android_version: android15
103+
# kernel_version: "6.6"
104+
# - model: OPAce5Pro
105+
# soc: sun
106+
# branch: oneplus/sm8750
107+
# manifest: JiuGeFaCai_oneplus_ace5_pro_v.xml
108+
# android_version: android15
109+
# kernel_version: "6.6"
110+
# - model: OP12
111+
# soc: pineapple
112+
# branch: oneplus/sm8650
113+
# manifest: oneplus12_v.xml
114+
# android_version: android14
115+
# kernel_version: "6.1"
116+
# - model: OP13r
117+
# soc: pineapple
118+
# branch: oneplus/sm8650
119+
# manifest: oneplus_13r.xml
120+
# android_version: android14
121+
# kernel_version: "6.1"
122+
# - model: OP-ACE-5
123+
# soc: pineapple
124+
# branch: oneplus/sm8650
125+
# manifest: oneplus_ace5.xml
126+
# android_version: android14
127+
# kernel_version: "6.1"
128+
# - model: OP-NORD-4
129+
# soc: pineapple
130+
# branch: oneplus/sm7675
131+
# manifest: oneplus_nord_4_v.xml
132+
# android_version: android14
133+
# kernel_version: "6.1"
134+
# uses: ./.github/workflows/build.yml
135+
# secrets: inherit
136+
# with:
137+
# model: ${{ matrix.model }}
138+
# soc: ${{ matrix.soc }}
139+
# branch: ${{ matrix.branch }}
140+
# manifest: ${{ matrix.manifest }}
141+
# android_version: ${{ matrix.android_version }}
142+
# kernel_version: ${{ matrix.kernel_version }}
125143

126144
trigger-release:
127145
needs:
128146
- build-batch-1
129-
- build-batch-2
147+
# - build-batch-2
130148
runs-on: ubuntu-latest
131149
if: ${{ inputs.make_release }}
132150
env:
133-
REPO_OWNER: TheWildJames
151+
REPO_OWNER: fatalcoder524
134152
REPO_NAME: OnePlus_KernelSU_SUSFS
135153
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
136154
RELEASE_NAME: "*TEST BUILD* OnePlus Kernels With KernelSU Next & SUSFS v1.5.5 *TEST BUILD*"

.github/workflows/build.yml

Lines changed: 98 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ jobs:
8989
9090
ANYKERNEL_BRANCH="gki-2.0"
9191
SUSFS_BRANCH="gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}"
92-
92+
9393
# Debug print the branches
9494
echo "Using branch for AnyKernel3: $ANYKERNEL_BRANCH"
9595
echo "Using branch for SUSFS: $SUSFS_BRANCH"
96-
96+
9797
# Clone repositories using the branch names
9898
git clone https://github.com/TheWildJames/AnyKernel3.git -b "$ANYKERNEL_BRANCH"
9999
git clone https://gitlab.com/simonpunk/susfs4ksu.git -b "$SUSFS_BRANCH"
@@ -107,7 +107,7 @@ jobs:
107107
108108
# Initialize and sync kernel source
109109
echo "Initializing and syncing kernel source..."
110-
$REPO init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1 --no-clone-bundle --no-tags
110+
$REPO init -u https://github.com/fatalcoder524/OnePlus_kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1 --no-clone-bundle --no-tags
111111
112112
# Sync repo and apply patches
113113
$REPO --version
@@ -174,7 +174,7 @@ jobs:
174174
cd "$CONFIG/kernel_platform"
175175
176176
echo "Adding configuration settings to gki_defconfig..."
177-
177+
178178
# Add KSU configuration settings
179179
echo "CONFIG_KSU=y" >> ./common/arch/arm64/configs/gki_defconfig
180180
echo "CONFIG_KSU_WITH_KPROBES=n" >> ./common/arch/arm64/configs/gki_defconfig
@@ -200,29 +200,98 @@ jobs:
200200
# Add additional tmpfs config setting
201201
echo "CONFIG_TMPFS_XATTR=y" >> ./common/arch/arm64/configs/gki_defconfig
202202
echo "CONFIG_TMPFS_POSIX_ACL=y" >> ./common/arch/arm64/configs/gki_defconfig
203+
204+
# Add additional tmpfs config setting
205+
echo "CONFIG_IP_NF_TARGET_TTL=y" >> ./common/arch/arm64/configs/gki_defconfig
206+
echo "CONFIG_IP6_NF_TARGET_HL=y" >> ./common/arch/arm64/configs/gki_defconfig
207+
echo "CONFIG_IP6_NF_MATCH_HL=y" >> ./common/arch/arm64/configs/gki_defconfig
208+
209+
# Add additional tcp_bbr config setting
210+
# Enable BBR
211+
echo "CONFIG_TCP_CONG_ADVANCED=y" >> ./common/arch/arm64/configs/gki_defconfig
212+
echo "CONFIG_TCP_CONG_BBR=y" >> ./common/arch/arm64/configs/gki_defconfig
213+
214+
# Optional: Keep Reno/Cubic as alternatives
215+
echo "CONFIG_TCP_CONG_CUBIC=y" >> ./common/arch/arm64/configs/gki_defconfig
216+
echo "CONFIG_TCP_CONG_RENO=y" >> ./common/arch/arm64/configs/gki_defconfig
217+
echo "CONFIG_DEFAULT_CUBIC=y" >> ./common/arch/arm64/configs/gki_defconfig
218+
echo 'CONFIG_DEFAULT_TCP_CONG="cubic"' >> ./common/arch/arm64/configs/gki_defconfig
219+
220+
# Disable Unnecessary TCP Congestion Algorithms
221+
echo "# CONFIG_TCP_CONG_BIC is not set" >> ./common/arch/arm64/configs/gki_defconfig
222+
echo "# CONFIG_TCP_CONG_WESTWOOD is not set" >> ./common/arch/arm64/configs/gki_defconfig
223+
echo "# CONFIG_TCP_CONG_HTCP is not set" >> ./common/arch/arm64/configs/gki_defconfig
224+
echo "# CONFIG_TCP_CONG_HSTCP is not set" >> ./common/arch/arm64/configs/gki_defconfig
225+
echo "# CONFIG_TCP_CONG_HYBLA is not set" >> ./common/arch/arm64/configs/gki_defconfig
226+
echo "# CONFIG_TCP_CONG_VEGAS is not set" >> ./common/arch/arm64/configs/gki_defconfig
227+
echo "# CONFIG_TCP_CONG_NV is not set" >> ./common/arch/arm64/configs/gki_defconfig
228+
echo "# CONFIG_TCP_CONG_SCALABLE is not set" >> ./common/arch/arm64/configs/gki_defconfig
229+
echo "# CONFIG_TCP_CONG_LP is not set" >> ./common/arch/arm64/configs/gki_defconfig
230+
echo "# CONFIG_TCP_CONG_VENO is not set" >> ./common/arch/arm64/configs/gki_defconfig
231+
echo "# CONFIG_TCP_CONG_YEAH is not set" >> ./common/arch/arm64/configs/gki_defconfig
232+
echo "# CONFIG_TCP_CONG_ILLINOIS is not set" >> ./common/arch/arm64/configs/gki_defconfig
233+
echo "# CONFIG_TCP_CONG_DCTCP is not set" >> ./common/arch/arm64/configs/gki_defconfig
234+
echo "# CONFIG_TCP_CONG_CDG is not set" >> ./common/arch/arm64/configs/gki_defconfig
235+
236+
# Enable FQ-CoDel and FQ for Queue Management
237+
echo "CONFIG_NET_SCH_FQ=y" >> ./common/arch/arm64/configs/gki_defconfig
238+
echo "CONFIG_NET_SCH_FQ_CODEL=y" >> ./common/arch/arm64/configs/gki_defconfig
239+
echo "CONFIG_NET_SCH_DEFAULT=y" >> ./common/arch/arm64/configs/gki_defconfig
240+
echo "CONFIG_DEFAULT_FQ=y" >> ./common/arch/arm64/configs/gki_defconfig
241+
echo 'CONFIG_DEFAULT_NET_SCH="fq"' >> ./common/arch/arm64/configs/gki_defconfig
242+
243+
# Disable Other Queuing Disciplines
244+
echo "# CONFIG_NET_SCH_CBQ is not set" >> ./common/arch/arm64/configs/gki_defconfig
245+
echo "# CONFIG_NET_SCH_HTB is not set" >> ./common/arch/arm64/configs/gki_defconfig
246+
echo "# CONFIG_NET_SCH_HFSC is not set" >> ./common/arch/arm64/configs/gki_defconfig
247+
echo "# CONFIG_NET_SCH_ATM is not set" >> ./common/arch/arm64/configs/gki_defconfig
248+
echo "# CONFIG_NET_SCH_PRIO is not set" >> ./common/arch/arm64/configs/gki_defconfig
249+
echo "# CONFIG_NET_SCH_MULTIQ is not set" >> ./common/arch/arm64/configs/gki_defconfig
250+
echo "# CONFIG_NET_SCH_RED is not set" >> ./common/arch/arm64/configs/gki_defconfig
251+
echo "# CONFIG_NET_SCH_SFB is not set" >> ./common/arch/arm64/configs/gki_defconfig
252+
echo "# CONFIG_NET_SCH_SFQ is not set" >> ./common/arch/arm64/configs/gki_defconfig
253+
echo "# CONFIG_NET_SCH_TEQL is not set" >> ./common/arch/arm64/configs/gki_defconfig
254+
echo "# CONFIG_NET_SCH_TBF is not set" >> ./common/arch/arm64/configs/gki_defconfig
255+
echo "# CONFIG_NET_SCH_CBS is not set" >> ./common/arch/arm64/configs/gki_defconfig
256+
echo "# CONFIG_NET_SCH_ETF is not set" >> ./common/arch/arm64/configs/gki_defconfig
257+
echo "# CONFIG_NET_SCH_TAPRIO is not set" >> ./common/arch/arm64/configs/gki_defconfig
258+
echo "# CONFIG_NET_SCH_GRED is not set" >> ./common/arch/arm64/configs/gki_defconfig
259+
echo "# CONFIG_NET_SCH_DSMARK is not set" >> ./common/arch/arm64/configs/gki_defconfig
260+
echo "# CONFIG_NET_SCH_NETEM is not set" >> ./common/arch/arm64/configs/gki_defconfig
261+
echo "# CONFIG_NET_SCH_DRR is not set" >> ./common/arch/arm64/configs/gki_defconfig
262+
echo "# CONFIG_NET_SCH_MQPRIO is not set" >> ./common/arch/arm64/configs/gki_defconfig
263+
echo "# CONFIG_NET_SCH_SKBPRIO is not set" >> ./common/arch/arm64/configs/gki_defconfig
264+
echo "# CONFIG_NET_SCH_CHOKE is not set" >> ./common/arch/arm64/configs/gki_defconfig
265+
echo "# CONFIG_NET_SCH_QFQ is not set" >> ./common/arch/arm64/configs/gki_defconfig
266+
echo "# CONFIG_NET_SCH_CODEL is not set" >> ./common/arch/arm64/configs/gki_defconfig
267+
echo "# CONFIG_NET_SCH_CAKE is not set" >> ./common/arch/arm64/configs/gki_defconfig
268+
echo "# CONFIG_NET_SCH_HHF is not set" >> ./common/arch/arm64/configs/gki_defconfig
269+
echo "# CONFIG_NET_SCH_PIE is not set" >> ./common/arch/arm64/configs/gki_defconfig
270+
echo "# CONFIG_NET_SCH_FQ_PIE is not set" >> ./common/arch/arm64/configs/gki_defconfig
271+
echo "# CONFIG_NET_SCH_INGRESS is not set" >> ./common/arch/arm64/configs/gki_defconfig
203272
204273
- name: Run sed and perl Commands
205274
run: |
206275
echo "Changing to configuration directory: $CONFIG..."
207276
cd "$CONFIG/kernel_platform"
208277
209278
echo "Running sed commands..."
210-
279+
211280
sed -i 's/CONFIG_LTO=n/CONFIG_LTO=y/' "./common/arch/arm64/configs/gki_defconfig"
212281
sed -i 's/CONFIG_LTO_CLANG_FULL=y/CONFIG_LTO_CLANG_THIN=y/' "./common/arch/arm64/configs/gki_defconfig"
213282
sed -i 's/CONFIG_LTO_CLANG_NONE=y/CONFIG_LTO_CLANG_THIN=y/' "./common/arch/arm64/configs/gki_defconfig"
214283
215284
# Run sed commands for modifications
216285
sed -i 's/check_defconfig//' ./common/build.config.gki
217-
sed -i '$s|echo "\$res"|echo "\$res-Wild+"|' ./common/scripts/setlocalversion
218-
sed -i '$s|echo "\$res"|echo "\$res-Wild+"|' ./msm-kernel/scripts/setlocalversion
219-
sed -i '$s|echo "\$res"|echo "\$res-Wild+"|' ./external/dtc/scripts/setlocalversion
286+
sed -i '$s|echo "\$res"|echo "\$res-fatalcoder524"|' ./common/scripts/setlocalversion
287+
sed -i '$s|echo "\$res"|echo "\$res-fatalcoder524"|' ./msm-kernel/scripts/setlocalversion
288+
sed -i '$s|echo "\$res"|echo "\$res-fatalcoder524"|' ./external/dtc/scripts/setlocalversion
220289
sed -i "/stable_scmversion_cmd/s/-maybe-dirty//g" ./build/kernel/kleaf/impl/stamp.bzl || echo "No stamp.bzl!"
221290
sed -i 's/-dirty//' ./common/scripts/setlocalversion
222291
sed -i 's/-dirty//' ./msm-kernel/scripts/setlocalversion
223292
sed -i 's/-dirty//' ./external/dtc/scripts/setlocalversion
224293
sed -i 's/-dirty//' ./build/kernel/kleaf/workspace_status_stamp.py || echo "No workspace_status_stamp.py!"
225-
294+
226295
sed -i '/echo "LTO $LTO "/i export LTO=thin' ./oplus/build/oplus_setup.sh
227296
sed -i 's/export REPACK_IMG=true/export REPACK_IMG=false/g' ./oplus/build/oplus_setup.sh
228297
@@ -277,15 +346,33 @@ jobs:
277346
run: |
278347
echo "Changing to configuration directory: $CONFIG..."
279348
cd "$CONFIG"
280-
349+
281350
echo "Copying Image"
282351
cp ./out/dist/Image ../AnyKernel3/Image
283352
284353
- name: Create ZIP Files for Different Formats
285354
run: |
286355
echo "Navigating to AnyKernel3 directory..."
287356
cd ./AnyKernel3
288-
357+
358+
sed -i 's|^kernel\.string=.*|kernel.string=OnePlus 11 KSUN + SUSFS Kernel by fatalcoder524|' anykernel.sh
359+
sed -i 's|^do\.devicecheck=.*|do.devicecheck=1|' anykernel.sh
360+
sed -i 's|^device\.name1=.*|device.name1=CPH2447|' anykernel.sh
361+
sed -i 's|^device\.name2=.*|device.name2=CPH2449|' anykernel.sh
362+
sed -i 's|^device\.name3=.*|device.name3=CPH2451|' anykernel.sh
363+
sed -i 's|^device\.name4=.*|device.name4=PHB110|' anykernel.sh
364+
sed -i '/ui_print " " " -> ksu_supported: $ksu_supported"/i \
365+
ui_print "Features:"\
366+
ui_print "-> KernelSU-Next-Official v1.0.6 (12490) "\
367+
ui_print "-> SUSFS ඞ v1.5.5"\
368+
ui_print "-> Manual Hooks for Better Hiding"\
369+
ui_print "-> Wireguard Support"\
370+
ui_print "-> Simple Maphide for LineageOS Detections"\
371+
ui_print "-> Futile Maphide for jit-zygote-cache Detections"\
372+
ui_print "-> Magic Mount Support"\
373+
ui_print "-> CONFIG_TMPFS_XATTR Support for Mountify"\
374+
ui_print "-> TCP Congestion Algorithm: BBR enabled"' anykernel.sh
375+
289376
# Zip the files in the AnyKernel3 directory with a new naming convention
290377
ZIP_NAME="${{ inputs.model }}_${{ inputs.android_version }}_${{ inputs.kernel_version }}_Next_SUSFS_AnyKernel3.zip"
291378
echo "Creating zip file $ZIP_NAME..."

0 commit comments

Comments
 (0)