Skip to content

Commit

Permalink
app/magisk/update-binary: Explicitly remount system volume as writable
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Gunnerson <[email protected]>
  • Loading branch information
chenxiaolong committed Oct 3, 2022
1 parent 524a532 commit 0f332cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/magisk/update-binary
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ if [ -f /sbin/recovery ] || [ -f /system/bin/recovery ]; then

ui_print 'Mounting system'
if mount /system_root; then
mount -o remount,rw /system_root
root_dir=/system_root
else
mount /system
mount -o remount,rw /system
root_dir=/
fi

Expand Down

0 comments on commit 0f332cc

Please sign in to comment.