An Zygisk Module Template based on zygisk-module-sample. Both cmake and ndk-build are supported.
- Edit your moduleId in build.gradle.kts (It's also your module's soname).
- Edit other module info in build.gradle.kts or module/template/module.prop.
- Write your code in module/src/main/cpp .
- Run gradle task
:zipDebug
or:zipRelease
to build the module. Your module zip will be generated undermodule/release
. - Run gradle task
:install(Magisk|Ksu)[AndReboot](Debug|Release)
to flash your module (optional).