topnotchfreaks/kernel-wiki/home
linux-5.15android 13โ€“16gki + clo
TNF
// kernel project wiki v1.0

TopNotchFreaks
Kernel Project

GitHub Actions CI/CD for Android Linux 5.15 kernels. Three workflows: weekly YASK, quick Main, and full-control Advanced builds.

5.15
Kernel
3
Workflows
GKI+CLO
Sources
Wild-KSU
Root

The Three Build Workflows

๐Ÿค– Automated ยท Weekly

YASK

Automated weekly release: 4 variants (GKI/CLO + KSU/non-KSU), LTO full, canary KSU. GitHub Release + Telegram.

4 variantsLTO full
๐Ÿš€ Manual ยท Simple

Main Build

Quick manual build from any source. noksu/ksu/both, LTO thin, Wild-KSU stable. ZIP via Telegram.

stable KSUquick
โš™๏ธ Manual ยท Full Control

Advanced Build

LTO mode, O2/O3/Os, tick rate, 2 toolchains (AOSP/greenforce). Full tuning.

O2/O3/Os100โ€“1000 Hz

Shared Infrastructure

๐Ÿ“ฆ

AnyKernel3 packaging

Flashable ZIP for all workflows.

๐Ÿ’‰

Shared patches

sign-builds, no-dirty, GKI fixup.

๐Ÿ”„

Swap expansion

10-20 GB to avoid OOM.

Build Projects Comparison

YASK.yml
triggerweekly+cron
targets4 variants
LTOfull
ksuWild canary
releaseGitHub Release
main.yml
triggermanual
variantsnoksu/ksu/both
LTOthin
ksuWild stable
advanced_build.yml
triggermanual
LTOthin/full
toolchains2 modes
optimizationO2/O3/Os

Supported Devices

โ„น๏ธ
Snapdragon 680/685 (MSM 5.15) โ€” Redmi Note 12/13 series, Redmi Pad SE. GKI or CLO images.
DeviceSoCRecommended
Redmi Note 12 4GSD685CLO
Redmi Note 13 4GSD685CLO
Redmi Pad SESD680GKI

Kernel Features

โšก

Full/Thin LTO

Clang LTO choices per workflow.

๐ŸŒ

TCP BBR+Westwood

Westwood default for mobile.

๐Ÿ›ก๏ธ

Baseband Guard (BBG)

LSM modem protection.

๐Ÿ”‘

Wild KernelSU + SUSFS

Root + full hiding.

YASK โ€” Automated Weekly

weekly sunday4 parallel builds

Builds GKI+CLO KSU/non-KSU, full LTO, canary KSU, BBG enabled. Output: All-in-one ZIP under YASK-NEXT release. Telegram photo + link.

โœ… Recommended for end users: always get latest stable weekly release.

Main Build โ€” Quick Manual

Simple build with LTO thin, stable Wild-KSU. No BBG. Inputs: kernelSourceURL, kernelBranch, device defconfig. Delivers ZIP via Telegram document.

Advanced Build โ€” Full Control

Exposes LTO mode, optimization -O2/O3/Os, tick rate (100โ€“1000Hz), toolchain (AOSP r584948b or greenforce). 20GB swap. BBG always enabled.

โš ๏ธ
LTO input case mismatch: LTOOptimizations (capital O) may not propagate correctly.

Build Matrix

WorkflowVariants
YASKGKI-KSU, CLO-KSU, GKI-noksu, CLO-noksu
Main/Advanceddynamic: noksu, ksu, or both

KernelSU & SUSFS

Wild_KSU (canary or stable) + SUSFS with full hiding (magic mount, spoof uname, kallsyms removal, open redirect, etc). YASK uses canary; Main uses stable; Advanced uses canary.

SUSFS flags
# Core hiding featuresCONFIG_KSU_SUSFS_HAS_MAGIC_MOUNT=y
CONFIG_KSU_SUSFS_SUS_PATH=y
CONFIG_KSU_SUSFS_SPOOF_UNAME=y

Toolchains

ToolchainUsed in
clang-r547379YASK, Main
clang-r584948bAdvanced (android-tools)
greenforce_clangAdvanced (custom-tools)

Workflow Inputs

๐Ÿ”ง
Main/Advanced require: kernelSourceURL, kernelDevice, buildKSU (noksu/ksu/both). Advanced adds LTOOptimizations, optimizationLevel, tickRate, buildToolchains.

Secrets

GH_TOKEN
YASK only โ€” to push GitHub Release
TELEGRAM_BOT_TOKEN
All workflows โ€” Telegram bot token
TELEGRAM_USER_ID
All workflows โ€” chat ID

Artifacts & Output

\n
WorkflowFinal ZIPDelivery
YASKAnykernel3_YASK-WildKSU-AIO-FULL_*.zipGitHub Release + Telegram photo
MainAnykernel3_WildKSU_*.zipTelegram document + artifact
AdvancedAnykernel3_*.zipTelegram document + artifact