Modules
Modules are how you change a rooted system without changing the system: a ZIP that installs files into /data/adb/modules and mounts them over the real paths at boot.
Installing
Install → Select file and patch accepts both boot images and module ZIPs; the install screen picks the right action from the file. A module install needs no reboot to be recorded, but its files only appear after one.
Layout
/data/adb/modules/<id>/
├── module.prop # id, name, version, author, description
├── post-fs-data.sh # runs in post-fs-data, blocking
├── service.sh # runs late, after boot completes
├── system/ # mounted over /system via overlay
└── disable # presence disables the moduleMetamodules
A module with metamodule=1 in module.prop takes over mounting for every other module. Only one metamodule can be active; installing a second one replaces the first. XenonSU warns before uninstalling a metamodule because every other module depends on it.
Module WebUI
A module can ship a WebUI: the manager hosts webroot/index.html in a WebView. XenonSU's WebUI uses the same KSU JavaScript bridge, so modules that provide a WebUI work unchanged.
Removing
Uninstall from the module's page. The files are gone after the next reboot — the module keeps running until then, because its mounts are already in place.