This template is a modified version of the original one.
Its purpose is to make Magisk Modules install in either Magisk (as a module) or directly in /system.
- Clone / download this repo
- Open
config.sh
, follow the instructions written at the beginning of the file. You should at least changeconfig.sh
andmodule.prop
- Zip your files, the zipped file is a flashable zip for both Magisk Manager and custom recoveries
- Please check Notes for precautions
You can make a module from this template almost the same as you can make one in the Original template. It should be easy to transition from there to here.
- To automate the detection (system/less), set SYSTEMINSTALL and MAGISKINSTALL to blank and ERROREXIT to false
- To make a module android version specific, set MINAPI and MAXAPI with the same SDK