From 2e185f4ec9b2a6b3a0e33cd32752c461a5ec14fb Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 30 Mar 2017 02:47:40 +0800 Subject: [PATCH] Add core props support --- scripts/magic_mask.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/magic_mask.sh b/scripts/magic_mask.sh index b082cd424..98e95f9dd 100644 --- a/scripts/magic_mask.sh +++ b/scripts/magic_mask.sh @@ -367,6 +367,14 @@ case $1 in log_print "* Running post-fs-data.d" general_scripts post-fs-data + log_print "* Loading core props" + for PROP in $COREDIR/props/* ; do + if [ -f $PROP ]; then + log_print "Load prop: $PROP" + $MAGISKBIN/resetprop --file $PROP + fi + done + # Exit if disabled [ -f $DISABLEFILE ] && unblock