From e38ce517de58fa1fd2413b34da5b7a743e0e47aa Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Mon, 7 Jan 2019 20:32:53 +0100 Subject: [PATCH] nanodroid-overlay: in system mode mount /system read-write --- Full/system/xbin/nanodroid-overlay | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Full/system/xbin/nanodroid-overlay b/Full/system/xbin/nanodroid-overlay index 12fc34c..fd95147 100755 --- a/Full/system/xbin/nanodroid-overlay +++ b/Full/system/xbin/nanodroid-overlay @@ -225,6 +225,8 @@ get_config .nanodroid-overlay opt=${1} [[ -z ${opt} ]] && show_help || shift +[[ ${NO_MAGISK} -eq 1 ]] && mount -orw,remount /system + case ${opt} in -l | --list ) overrides_list ;; -a | --add ) overrides_add "${@}" ;; @@ -241,3 +243,5 @@ case ${opt} in * ) show_help ;; esac + +[[ ${NO_MAGISK} -eq 1 ]] && mount -oro,remount /system