How to Build a Custom KernelSU and SuSFS Kernel with WildKernels

TL;DR: Building a custom kernel with SUSFS for KernelSU means matching your device’s Generic Kernel Image branch, running WildKernels’ build workflow, testing its output cautiously, and keeping a recoverable stock boot image. It can improve kernel-level hiding, but it cannot guarantee Play Integrity, banking-app compatibility or safe operation on unsupported devices.

How to Build a Custom KernelSU and SuSFS Kernel with WildKernels supporting illustration 1
Current status: `WildKernels/GKI_KernelSU_SUSFS` is active and targets GKI 2.0 kernels 5.10+. The separate `WildKernels/Wild_KSU` repository was…

By the PrivacyPortal team

Last updated July 2026

WildKernels offers a practical route to compiling susfs for kernelsu into a Generic Kernel Image, or GKI, without assembling every patch by hand. Its current generic workflow combines the pershoot KernelSU-Next fork with SUSFS. This is an advanced kernel-replacement procedure: the correct result depends on your device’s kernel branch, boot layout and firmware, not merely its Android version.

Back up everything before starting. Unlocking the bootloader normally performs a factory reset, while flashing an incompatible kernel can leave the phone unable to boot. An unlocked or modified device may lose warranty support, stop accepting normal over-the-air updates, expose a larger security surface, and fail banking, workplace, media or Play Integrity checks.

What WildKernels builds in July 2026

WildKernels is an active third-party project for building modified Android GKI kernels. Its generic workflow currently uses the pershoot KernelSU-Next fork plus SUSFS. It does not build upstream KernelSU, and it should not be confused with the archived Wild_KSU project.

The authoritative starting point is the WildKernels GKI KernelSU and SUSFS repository. Read its current README, workflow notes and release warnings before using an artefact because supported branches, patches and build options can change faster than articles can be updated.

WildKernels r5, released on 25 June 2026, is the latest stable GKI release; r7, released on 14 July 2026, is a pre-release explicitly marked as non-production.

Use the stable release for a daily-use phone unless you are deliberately testing and can recover the device. A higher release number does not automatically mean safer firmware.

Image caption: The WildKernels release page distinguishes stable builds from experimental pre-releases.

How KernelSU and SUSFS fit together

KernelSU places root control in the Android kernel rather than relying entirely on userspace boot-image modifications. Its manager application controls which apps receive superuser access, while the kernel-side implementation and the ksud daemon perform the underlying work.

SUSFS, short for “sus filesystem”, is a kernel patch and supporting userspace component designed to conceal selected filesystem and mount artefacts associated with root or systemless modifications. The official SUSFS for KernelSU source repository contains the patch history and implementation details.

A manager application or module cannot add missing kernel code. For SUSFS to work, the running kernel must first have compatible SUSFS patches. The matching userspace module then exposes and configures the available functions.

The current WildKernels generic workflow builds the pershoot KernelSU-Next fork with SUSFS; it is not an upstream KernelSU or archived Wild_KSU build.

In practice, kernel-level hiding can remove evidence that module-only approaches cannot. It still does not make a modified phone indistinguishable from a locked, certified device. Apps can inspect bootloader state, verified boot, hardware-backed attestation, package lists, unusual processes and other signals unrelated to the filesystem.

Is your phone a suitable candidate?

GKI standardises the reusable Android kernel core around a stable Kernel Module Interface, or KMI. Google’s official Generic Kernel Image documentation explains how the generic kernel and vendor modules remain separate.

Android’s GKI design uses a stable KMI so a generic kernel can work with compatible vendor kernel modules; it does not make every GKI image interchangeable across devices or branches.

A phone being “GKI” is only the first check. The kernel release and KMI generation must match. For example, an android13-5.10 build is not interchangeable with android14-6.1 simply because both are GKI-based.

Device situation Recommendation Main reason
Supported GKI device with an exact matching branch and recoverable boot image Reasonable for an experienced tester Compatibility and recovery are both verifiable
GKI device with uncertain KMI or undocumented boot layout Stop and research the device specifically A generic image may boot-loop or lose vendor functionality
Older non-GKI device Use a device-specific kernel build instead It normally requires integration into the manufacturer’s kernel source
Locked bootloader or no reliable restore method Do not proceed You cannot safely flash or recover
Only phone used for banking, work authentication or emergencies Avoid experimental builds App compatibility and uptime cannot be guaranteed

Check Settings > About phone > Android version > Kernel version, then confirm it from a computer with adb shell uname -a. Record the full output, not just “5.10” or “6.1”. A device community’s explicit confirmation of the required KMI branch is stronger evidence than a generic compatibility list.

Prerequisites and files

Prepare the following before building or flashing:

  • A complete backup of photos, documents, authenticator recovery codes and app data.
  • An unlocked bootloader. Expect the unlock operation to wipe user data.
  • Current Android platform tools providing adb and fastboot.
  • The exact stock firmware for the installed build, including its original boot-related images.
  • A tested route into bootloader or fastboot mode and a known recovery procedure.
  • A GitHub account for forking the repository and running GitHub Actions.
  • The latest compatible KernelSU-Next manager application.
  • The matching SUSFS userspace module if the selected WildKernels output requires it.

Use the versions listed in the appended Modules, apps & files to try section and cross-check them against the build’s release notes. Do not combine a current manager or module with an old kernel merely because installation succeeds.

If bootloader unlocking is unfamiliar, read PrivacyPortal’s Android bootloader unlocking guide before continuing. Users comparing root architectures may also find the KernelSU versus Magisk guide useful.

Image caption: A compatibility checklist pairs the phone’s full kernel branch with the intended WildKernels build target.

How to build SUSFS for KernelSU with WildKernels

  1. Back up and establish recovery. Copy important data off the phone. Download the factory firmware matching the build currently installed, then extract and retain its original boot-related images. Verify that adb devices sees Android and fastboot devices sees the phone in its bootloader interface.
  2. Identify the exact GKI branch. Run adb shell uname -a and record the result. Compare the kernel generation, Android kernel branch and device documentation with the targets supported by WildKernels. Do not select a branch based only on the marketing Android version.
  3. Choose a stable WildKernels baseline. Review the repository’s Releases page and build notes. As of July 2026, r5 is the latest stable release and r7 is a non-production pre-release. Start from stable r5 unless a documented compatibility reason requires another revision.
  4. Fork the repository. Sign in to GitHub, open the WildKernels GKI KernelSU and SUSFS repository, select Fork, and create a personal fork. This gives you an auditable copy of the workflow configuration and commit used for the build.
  5. Open the build workflow. In the fork, select Actions, enable workflows if GitHub asks, and choose the repository’s generic GKI build workflow. Select Run workflow. Workflow names and input labels can change, so follow the current README rather than copying labels from an old video.
  6. Enter the matching build configuration. Select the exact GKI or KMI branch established in step 2. Keep the workflow’s supported KernelSU-Next and SUSFS combination unless the release documentation explicitly describes another pairing. Avoid unrelated experimental patches during the first build; each extra patch adds another possible failure source.
  7. Run and inspect the job. Start the workflow and open its log. A green result means compilation completed, not that the image is compatible with your phone. Confirm the log names the intended branch, the pershoot KernelSU-Next integration and SUSFS patching. Treat rejected patches, missing symbols or packaging errors as a failed build.
  8. Download and preserve the artefacts. Download the output from the completed workflow run. Keep its original archive, workflow URL, commit identifier and log together. Check whether the output is an AnyKernel-style flashable ZIP, a raw kernel image, or another documented package; those formats are not interchangeable.
  9. Compare the package with the device instructions. Inspect the archive and WildKernels notes before flashing. Use the device community’s documented partition and flashing method. Never assume that a file called boot.img belongs in the boot partition: some devices package their kernel or ramdisk differently, use multiple slots, or require vendor-specific tooling.
  10. Flash through the documented route. For a supported AnyKernel-style ZIP, use a compatible kernel flasher or recovery only when the device guide explicitly approves it. For raw images, use the precise fastboot command and partition named by the device documentation. Keep the phone charged and do not disconnect it during the write.
  11. Boot once without adding more modules. Allow extra time for the first boot. If Android does not start, return to the bootloader and restore the original image using the recovery procedure prepared in step 1. Do not repeatedly flash unrelated images in the hope that one boots.
  12. Install and verify the software layer. Open the compatible KernelSU-Next manager and confirm that it reports an installed kernel implementation. Install the matching SUSFS module only if required by the build instructions, reboot, and confirm that its status reports kernel support. Test calls, Wi-Fi, Bluetooth, camera, biometrics, charging and sleep before granting root to any app.

Image caption: The verification screen should confirm both the KernelSU-Next kernel implementation and active SUSFS support.

Verification that matters in practice

A successful boot is necessary but insufficient. Use the phone normally for at least several restart and sleep cycles before trusting it. Compare battery drain and temperature with the stock kernel, and test hardware that depends on vendor modules.

  • Kernel identity: Run adb shell uname -a and confirm the expected build is active.
  • Root control: Confirm KernelSU-Next can grant and revoke access for a harmless root-capable utility.
  • SUSFS state: Check the module’s status or logs for explicit kernel support, not merely “module installed”.
  • Slot recovery: Confirm which slot is active on an A/B device and retain the stock image for that firmware.
  • Daily functions: Test mobile data, calls, camera, encryption, biometrics, VPN and deep sleep.
  • App compatibility: Test the apps you depend on, but do not treat one successful launch as a permanent bypass.

Play Integrity results are not a security certificate for a custom kernel. Conversely, an app failing on a rooted phone does not prove SUSFS is broken: bootloader state, ROM certification, attestation and additional modules may be the actual cause.

Common failure modes and safer responses

The phone returns to fastboot or boot-loops

The likely causes are a mismatched KMI branch, incompatible vendor modules, the wrong partition or a packaging error. Restore the exact stock image for the installed firmware. Do not wipe user data unless the recovery documentation requires it.

KernelSU-Next says it is not installed

The phone may still be running the stock kernel, the wrong slot may be active, or the build may not contain the expected integration. Verify uname -a, the active slot and the workflow log before reflashing.

The SUSFS module installs but reports no support

A userspace module cannot compensate for absent or incompatible kernel patches. Match the SUSFS module to the kernel build and confirm that the workflow applied its patches successfully.

Banking or Play Integrity still fails

SUSFS only addresses part of the detection surface. An unlocked bootloader, custom ROM, hardware-backed verdict, root permissions, Zygisk components or other modules may remain visible. Never assume a module will defeat a particular bank’s checks, and do not weaken the device indiscriminately to chase a verdict.

An OTA update is available

Normal OTA installation may overwrite the custom kernel or fail because boot partitions changed. Restore stock boot components and follow the device’s update procedure. Rebuild against the new firmware’s kernel branch rather than reusing an old image.

Security and maintenance trade-offs

A custom rooted kernel expands the trusted computing base: you now rely on the device vendor, WildKernels, KernelSU-Next, SUSFS, the build workflow and any installed modules. Pin builds to identifiable commits, retain logs, minimise root grants and remove modules that are no longer maintained.

Root hiding is not equivalent to security. Concealing modifications from an app can coexist with weaker verified-boot guarantees and privileged code capable of reading private data. Users who primarily want a hardened, low-maintenance phone may be better served by a supported privacy-focused operating system with a locked bootloader than by a complex hiding stack.

Frequently asked questions

Does SUSFS require a patched KernelSU kernel?

Yes. SUSFS needs compatible kernel-side patches. Installing only its module or manager does not add those kernel functions. WildKernels builds the required integration into its supported GKI output.

Can I flash a WildKernels build on any GKI phone?

No. The device’s KMI branch, vendor modules, boot layout and firmware must match. “GKI compatible” is not a universal flashing guarantee.

Does SUSFS for KernelSU guarantee banking-app support?

No. Banks and other apps use different and changing detection methods. SUSFS may hide particular filesystem artefacts, but no responsible guide can promise compatibility with a specific app.

Should I use WildKernels r7 instead of r5?

Not for an ordinary daily-use installation. As of July 2026, r5 is the latest stable release. r7 is a pre-release marked non-production and is more appropriate for controlled testing with reliable recovery.

Will unlocking the bootloader erase my phone?

Normally, yes. Android bootloader unlocking triggers a factory reset to protect existing user data. Back up before issuing any unlock command and expect some security-sensitive apps to react to the unlocked state.

Can I keep receiving OTA updates?

Updates may overwrite the custom kernel or refuse to install against modified boot components. The safest process is usually to restore the matching stock images, update normally, then rebuild and retest for the new firmware.

Want the private phone without the hassle?
PrivacyPortal sells ready-to-use, de-Googled GrapheneOS Pixels — hardened, kept updated, and shipped with our encrypted Graphite messenger. Browse privacy phones →
Share
Back to blog

Leave a comment