Build OnePlus latest kernel for your device with KSUN/WildKSU/KSU + SusFS anytime without knowing or self-patching. Just clone, edit the config as per requirement and build.
-
Voila. All Done here :-)
-
Then clone the repo to your local system. [Optional if you want fine control]
- Change Branch from main to devices.
- Edit the config for your device using web edit option.
Note: Not gonna explain for cloned user as you already have some idea on how to use git or use AI to learn.
-
Click on Actions Tab.
-
Click "Build OnePlus Kernel" under All Workflows
- Branch: Always keep it main.
- Select the OnePlus kernels to build: Select your device and OOS/COS version. Eg: OP11_oos16
- Enter KernelSU build json: This input needs a valid single line json. Eg:
[{"type":"ksun","hash":"dev"}]a. type: Valid options are :-ksunandksub. hash: This is the branch name or commit hash of selected KSU variant you want to build. Some valid values are: i.[{"type":"ksun","hash":"dev"}]ii.[{"type":"ksu","hash":"main"}]iii.[{"type":"ksun","hash":"8de61e2305d02b927f32c41b91c05437c8a92425"}] - Compiler optimization level: Valid options are
O2andO3. Recomended to always useO2. - Clean build (no ccache): Enabling this builds without previous caches. First build is always clean and take a long time. Subsequent builds are faster when cache is used. If a cache is not used for a long time, the cache is invalidated and will be considered a fresh build.
Below Options all have same properties:
- Enter SusFS Branch or commit hash for selected device kernel: Enter SusFS hash based on device kernel
Note:
- Leave blank for latest.
- Take hash from SusFS repo and correct branch based on your kernel.
- You need to fill hash only for your kernel version if you need a particular version.
Builds can fail for various reasons:
- Fix Patches developed for KSUN + SusFS might be outdated.
- SusFS might not be in sync with latest KSUN or KSU.
- KSUN might not be in sync with latest SusFS.
- Issue in remote build logic during maintainance or update.
- Wait for Fix Patches to get updated if KSUN + SusFS build is failing.
- Wait for All Projects [SusFS, KSUN, KSU, Remote build(WildKernels OnePlus Repo)] to get update.
- Check if both branches are in sync with upstream action build.
- Build with old working hashes. [You can ask for build hashes in WildKernels TG group]
- Depending on how important the changes are:
- 1-3 days if new detection fixes are added.
- If unimportant and standard fixes, then 1 week to 2 weeks.
You can clone my OnePlus build repo or Wild Kernels repo and do the necessary changes there and then point remote action build to your own fork so that you can build for your changes and your devices only. This repo should help you build and test your patches before PRs.
Check the devices branch for list of devices and supported OOS/COS version.
Nope. COS is supported. Its just a naming scheme used. COS and OOS both use same kernel. If there is any difference, it is denoted using model numbers like PJZ or CPH.
Check the compatibity list at Wild Kernels. You can build and test the kernel yourself and report us at WildKernels if its working for you, so that we can update the list.





