# sidex15/susfs4ksu-module architecture

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

- Interactive diagram: https://gitdiagram.com/sidex15/susfs4ksu-module
- Repository: https://github.com/sidex15/susfs4ksu-module

## Overview

This is a KernelSU module for devices running a SUSFS-patched kernel. Its documented core workflow is installing userspace helpers and providing a script that communicates with the kernel to enable kernel-level root hiding. The README also documents optional boot-digest provisioning and a localized web UI. No source excerpts were provided, so runtime links beyond these documented relationships are omitted; the README does not identify which script implements kernel communication.

Main entry points: [`module.prop`](https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/module.prop) (KernelSU module), [`webroot/index.html`](https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/webroot/index.html) (Module web UI), [`tools/ksu_susfs_arm64`](https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/tools/ksu_susfs_arm64) (Userspace helpers), [`README.md`](https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/README.md) (Root hiding)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_module["Module Runtime"]
  node_module["KernelSU module<br/>[module.prop]"]
  node_helpers["Userspace helpers"]
  node_suhelper["SUS su helper"]
end

subgraph group_kernel["Kernel Integration"]
  node_kernel["SUSFS kernel"]
  node_root_hiding["Root hiding<br/>[README.md]"]
end

subgraph group_web["Web Interface"]
  node_webui["Module web UI<br/>[index.html]"]
  node_translations["UI translations"]
end

subgraph group_boot["Boot Support"]
  node_verified_hash[("Verified boot hash<br/>[README.md]")]
end

node_user(("Device owner"))

node_user -->|"installs"| node_module
node_module -->|"installs"| node_helpers
node_module -->|"communicates"| node_kernel
node_kernel -->|"enables"| node_root_hiding
node_user -->|"provides hash"| node_verified_hash
node_webui -->|"offers language choice"| node_translations

click node_module "https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/module.prop"
click node_helpers "https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/tools/ksu_susfs_arm64"
click node_suhelper "https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/tools/sus_su_arm64"
click node_root_hiding "https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/README.md"
click node_webui "https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/webroot/index.html"
click node_translations "https://github.com/sidex15/susfs4ksu-module/tree/v1.5.2%2B/webroot/languages"
click node_verified_hash "https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/README.md"

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_module,node_helpers,node_suhelper toneBlue
class node_kernel,node_root_hiding toneAmber
class node_webui,node_translations toneMint
class node_verified_hash toneRose
class node_user toneIndigo
```

## Components

### Module Runtime

- [KernelSU module](https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/module.prop): `module.prop`
- [Userspace helpers](https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/tools/ksu_susfs_arm64): `tools/ksu_susfs_arm64`
- [SUS su helper](https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/tools/sus_su_arm64): `tools/sus_su_arm64`

### Kernel Integration

- **SUSFS kernel**
- [Root hiding](https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/README.md): `README.md`

### Web Interface

- [Module web UI](https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/webroot/index.html): `webroot/index.html`
- [UI translations](https://github.com/sidex15/susfs4ksu-module/tree/v1.5.2%2B/webroot/languages): `webroot/languages`

### Boot Support

- [Verified boot hash](https://github.com/sidex15/susfs4ksu-module/blob/v1.5.2%2B/README.md): `README.md`

### Other components

- **Device owner**

## Connections

- Device owner → KernelSU module: installs (evidence: `README.md`)
- KernelSU module → Userspace helpers: installs (evidence: `README.md`)
- KernelSU module → SUSFS kernel: communicates (evidence: `README.md`)
- SUSFS kernel → Root hiding: enables (evidence: `README.md`)
- Device owner → Verified boot hash: provides hash (evidence: `README.md`)
- Module web UI → UI translations: offers language choice (evidence: `README.md`)
