This repository hosts a template zygisk module for developers to start developing Zygisk modules. Before developing Zygisk modules, you should first check out the official documentation for Magisk Modules. Do not fork this repository for your new module; either manually clone this repository, or press the "Use this template" button in the GitHub UI.
This repository is archived because it is meant to be read-only; the project is not abandoned. For any issues, please report them to the main Magisk repository.
Zygisk API | Minimal Magisk |
---|---|
2 | 24000 |
Application.mk
unless you know what you are doing.APP_STL
variable in Application.mk
is set to none
. DO NOT use any C++ STL included in NDK.libcxx
included as a git submodule in this repository. Zygisk modules' code are injected into Zygote, and the included libc++
is setup to be lightweight and fully self contained that prevents conflicts with the hosting program.libstdc++
so that you can at least call the new
operator.Android.mk
.module
folder, call ndk-build
to compile your modules.libs/<abi>/lib<module_name>.so
.zygisk
folder, with the ABI as it's file name:module_id
├── module.prop
└── zygisk
├── arm64-v8a.so
├── armeabi-v7a.so
├── x86.so
└── x86_64.so
Although the main Magisk project is licensed under GPLv3, the Zygisk API and its headers are not. Every file in this repository is released to the public domain, so you don't have to worry about any licensing issues while developing Zygisk modules.