Skip to content

Commit

Permalink
Allow avd_magisk on API 28
Browse files Browse the repository at this point in the history
  • Loading branch information
topjohnwu committed Nov 1, 2023
1 parent 489100c commit 3ba0085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/avd_magisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ elif [ -e /sbin ]; then
mount_sbin
mkdir -p /dev/sysroot
block=$(mount | grep ' / ' | awk '{ print $1 }')
[ $block = "/dev/root" ] && block=/dev/block/dm-0
[ $block = "/dev/root" ] && block=/dev/block/vda1
mount -o ro $block /dev/sysroot
for file in /dev/sysroot/sbin/*; do
[ ! -e $file ] && break
Expand Down

0 comments on commit 3ba0085

Please sign in to comment.