Skip to content

Instantly share code, notes, and snippets.

@manashathparia
Last active May 8, 2018 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manashathparia/814dd59ffd55ac6d370c518815053c66 to your computer and use it in GitHub Desktop.
Save manashathparia/814dd59ffd55ac6d370c518815053c66 to your computer and use it in GitHub Desktop.
# Configs
##########################################################################################
# Set to true if you need to enable Magic Mount
# Most mods would like it to be enabled
AUTOMOUNT=true
# Set to true if you need to load system.prop
PROPFILE=false
# Set to true if you need post-fs-data script
POSTFSDATA=false
# Set to true if you need late_start service script
LATESTARTSERVICE=false
Automount= set this to true, it enables magic mount to automatically mount the system or data drive while installing the module.
PROPFILE= if it is set to true then the module will load system.prop script stored in common folder. It is useful if you want to change system settings like screen density after installing the module.
POSTFSDATA= set this to true if you want your module to load post-fs-data.sh from the common folder and execute post-fs-data mode.
LATESTARTSERVICE= set it to false most modules don’t need it.
# Installation Message
##########################################################################################
# Set what you want to show when installing your mod
print_modname() {
ui_print "*******************************"
ui_print " Magisk Module Template "
ui_print "*******************************"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment