Magisk Module Installer

This commit is contained in:
topjohnwu
2019-03-28 10:00:56 -04:00
parent f8c14b4455
commit f9bd37f7f2
10 changed files with 208 additions and 1 deletions

9
common/post-fs-data.sh Normal file
View File

@ -0,0 +1,9 @@
#!/system/bin/sh
# Do NOT assume where your module will be located.
# ALWAYS use $MODDIR if you need to know where this script
# and module is placed.
# This will make sure your module will still work
# if Magisk change its mount point in the future
MODDIR=${0%/*}
# This script will be executed in post-fs-data mode

9
common/service.sh Normal file
View File

@ -0,0 +1,9 @@
#!/system/bin/sh
# Do NOT assume where your module will be located.
# ALWAYS use $MODDIR if you need to know where this script
# and module is placed.
# This will make sure your module will still work
# if Magisk change its mount point in the future
MODDIR=${0%/*}
# This script will be executed in late_start service mode

3
common/system.prop Normal file
View File

@ -0,0 +1,3 @@
# This file will be read by resetprop
# Example: Change dpi
# ro.sf.lcd_density=320