# wildkernels/gki_kernelsu_susfs architecture

> Architecture diagram of the GitHub repository wildkernels/gki_kernelsu_susfs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/wildkernels/gki_kernelsu_susfs
- Repository: https://github.com/wildkernels/gki_kernelsu_susfs

## Overview

Wild Kernels is a GitHub Actions-based build system for customizable Android GKI kernels. The documented user workflow is to fork the repository, choose a kernel family, patch level, root implementation, and feature set, then build through GitHub Actions. Its capability branches cover root implementations and hiding, mount and partition protection, networking, BPF, performance, and container support. The repository tree identifies corresponding action directories, but no source excerpts were provided, so internal call order and action wiring are not asserted.

Main entry points: [`.github/workflows/build.yml`](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/workflows/build.yml) (GitHub Actions), [`.github/actions/resolve-managers/action.yml`](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/resolve-managers/action.yml) (Root managers), [`.github/actions/susfs/action.yml`](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/susfs/action.yml) (SUSFS hiding), [`.github/actions/ptrace/action.yml`](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/ptrace/action.yml) (Ptrace leak fix)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_build["Kernel build"]
  node_actions["GitHub Actions<br/>[build.yml]"]
  node_kernel["GKI kernel"]
end

subgraph group_root["Root and hiding"]
  node_root_managers["Root managers<br/>[action.yml]"]
  node_susfs["SUSFS hiding<br/>[action.yml]"]
  node_ptrace["Ptrace leak fix<br/>[action.yml]"]
  node_unicode["Unicode fix<br/>[action.yml]"]
end

subgraph group_system["System features"]
  node_nomount["NoMount<br/>[action.yml]"]
  node_metamodule["Mountify module<br/>[action.yml]"]
  node_bbg["Baseband Guard<br/>[action.yml]"]
  node_tmpfs["TMPFS support<br/>[action.yml]"]
end

subgraph group_network["Networking and BPF"]
  node_networking["Networking<br/>[action.yml]"]
  node_cifs["CIFS support<br/>[action.yml]"]
  node_btf["BTF and eBPF<br/>[action.yml]"]
  node_fusebpf["FUSE-BPF<br/>[action.yml]"]
end

subgraph group_runtime["Performance and runtime"]
  node_performance["Performance<br/>[action.yml]"]
  node_ntsync["NTSync<br/>[action.yml]"]
  node_droidspaces["DroidSpaces<br/>[action.yml]"]
end

node_builder(("Kernel builder"))

node_builder -->|"selects options"| node_actions
node_actions -.->|"builds kernel"| node_kernel
node_actions -.->|"integrates root"| node_root_managers
node_actions -.->|"adds hiding"| node_susfs
node_actions -.->|"adds fix"| node_ptrace
node_actions -.->|"adds fix"| node_unicode
node_actions -.->|"adds feature"| node_nomount
node_actions -.->|"adds feature"| node_metamodule
node_actions -.->|"adds feature"| node_bbg
node_actions -.->|"adds feature"| node_tmpfs
node_actions -.->|"adds networking"| node_networking
node_actions -.->|"adds networking"| node_cifs
node_actions -.->|"adds BPF"| node_btf
node_actions -.->|"adds BPF"| node_fusebpf
node_actions -.->|"adds performance"| node_performance
node_actions -.->|"adds performance"| node_ntsync
node_actions -.->|"adds runtime"| node_droidspaces

click node_actions "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/workflows/build.yml"
click node_root_managers "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/resolve-managers/action.yml"
click node_susfs "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/susfs/action.yml"
click node_ptrace "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/ptrace/action.yml"
click node_unicode "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/unicode-fix/action.yml"
click node_nomount "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/nomount/action.yml"
click node_metamodule "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/nomount-metamodule/action.yml"
click node_bbg "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/bbg/action.yml"
click node_tmpfs "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/misc/action.yml"
click node_networking "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/networking/action.yml"
click node_cifs "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/cifs/action.yml"
click node_btf "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/btf/action.yml"
click node_fusebpf "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/fuse-bpf/action.yml"
click node_performance "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/performance/action.yml"
click node_ntsync "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/ntsync/action.yml"
click node_droidspaces "https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/droidspaces/action.yml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_actions,node_kernel toneBlue
class node_root_managers,node_susfs,node_ptrace,node_unicode toneAmber
class node_nomount,node_metamodule,node_bbg,node_tmpfs toneMint
class node_networking,node_cifs,node_btf,node_fusebpf toneRose
class node_performance,node_ntsync,node_droidspaces,node_builder toneIndigo
```

## Components

### Kernel build

- [GitHub Actions](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/workflows/build.yml): `.github/workflows/build.yml`
- **GKI kernel**

### Root and hiding

- [Root managers](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/resolve-managers/action.yml): `.github/actions/resolve-managers/action.yml`
- [SUSFS hiding](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/susfs/action.yml): `.github/actions/susfs/action.yml`
- [Ptrace leak fix](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/ptrace/action.yml): `.github/actions/ptrace/action.yml`
- [Unicode fix](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/unicode-fix/action.yml): `.github/actions/unicode-fix/action.yml`

### System features

- [NoMount](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/nomount/action.yml): `.github/actions/nomount/action.yml`
- [Mountify module](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/nomount-metamodule/action.yml): `.github/actions/nomount-metamodule/action.yml`
- [Baseband Guard](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/bbg/action.yml): `.github/actions/bbg/action.yml`
- [TMPFS support](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/misc/action.yml): `.github/actions/misc/action.yml`

### Networking and BPF

- [Networking](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/networking/action.yml): `.github/actions/networking/action.yml`
- [CIFS support](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/cifs/action.yml): `.github/actions/cifs/action.yml`
- [BTF and eBPF](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/btf/action.yml): `.github/actions/btf/action.yml`
- [FUSE-BPF](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/fuse-bpf/action.yml): `.github/actions/fuse-bpf/action.yml`

### Performance and runtime

- [Performance](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/performance/action.yml): `.github/actions/performance/action.yml`
- [NTSync](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/ntsync/action.yml): `.github/actions/ntsync/action.yml`
- [DroidSpaces](https://github.com/wildkernels/gki_kernelsu_susfs/blob/main/.github/actions/droidspaces/action.yml): `.github/actions/droidspaces/action.yml`

### Other components

- **Kernel builder**

## Connections

- Kernel builder → GitHub Actions: selects options (evidence: `README.md`)
- GitHub Actions → GKI kernel: builds kernel
- GitHub Actions → Root managers: integrates root
- GitHub Actions → SUSFS hiding: adds hiding
- GitHub Actions → Ptrace leak fix: adds fix
- GitHub Actions → Unicode fix: adds fix
- GitHub Actions → NoMount: adds feature
- GitHub Actions → Mountify module: adds feature
- GitHub Actions → Baseband Guard: adds feature
- GitHub Actions → TMPFS support: adds feature
- GitHub Actions → Networking: adds networking
- GitHub Actions → CIFS support: adds networking
- GitHub Actions → BTF and eBPF: adds BPF
- GitHub Actions → FUSE-BPF: adds BPF
- GitHub Actions → Performance: adds performance
- GitHub Actions → NTSync: adds performance
- GitHub Actions → DroidSpaces: adds runtime
