unify-magisk-module-template
unify-magisk-module-template copied to clipboard
System/Less Module Template for Magisk - discontinued lol
SYSTEM/LESS MODULE TEMPLATE
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.
How to Create a System/Less Module
- Clone / download this repo
- Open
config.sh, follow the instructions written at the beginning of the file. You should at least changeconfig.shandmodule.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.
Tips for developers
- 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