Skip to content
KernelSU Modules

Example Module Demo

Immutable release Synced

A minimal module that shows how to publish to KernelSU Modules

Description

icon

Example Module Demo

A minimal KernelSU module that shows how to publish a module to the KernelSU Modules. It installs nothing and does nothing on the device — copy this repository as a starting point for your own module.

Layout

Path Purpose
module/ The module itself; its contents become the root of the release ZIP
module/module.prop id, version and versionCode — the only source of version information
module.yaml KernelSU Modules display metadata (name, summary, icon, tags, …)
README.md This page — also the module's detail page, referenced from module.yaml
assets/icon.png Icon (generated by node scripts/gen-icon.mjs)
.github/workflows/release.yml Publishes an immutable release when a v* tag is pushed

Releasing a new version

  1. Enable Settings → General → Releases → Enable release immutability (once).

  2. Bump version and versionCode in module/module.prop (versionCode must increase).

  3. Commit, then tag and push:

    git tag v1.0.1 && git push origin v1.0.1
    
  4. The workflow zips module/, prechecks it with the KernelSU Modules validator and publishes example_module_demo-<versionCode>-<version>.zip as an immutable release. Tags containing - (e.g. v1.1.0-rc1) are published as prereleases.

KernelSU Modules picks up the release automatically within minutes. See the developer documentation for details.

License

MIT

Releases

Transparency

Tag
v1.0.0 Immutable release
Tag commit
7836e073f2a1
Content commit
7836e073f2a1
SHA-256
3d588e6c5a8e0c8480e5c61b33b5d7704954c2370808e895f33953ab8ba42f52
Last change synced

Verify it yourself

KernelSU Modules does not sign or audit modules. The SHA-256 only proves the download matches this index. Verify the release yourself with the GitHub CLI:

gh release verify v1.0.0 -R KernelSU-Modules/example-module
gh release verify-asset v1.0.0 example_module_demo-100-v1.0.0.zip -R KernelSU-Modules/example-module