mirror of
				https://github.com/topjohnwu/Magisk.git
				synced 2025-10-31 00:15:42 +00:00 
			
		
		
		
	Allow avd_magisk on API 28
This commit is contained in:
		| @@ -91,7 +91,7 @@ elif [ -e /sbin ]; then | |||||||
|   mount_sbin |   mount_sbin | ||||||
|   mkdir -p /dev/sysroot |   mkdir -p /dev/sysroot | ||||||
|   block=$(mount | grep ' / ' | awk '{ print $1 }') |   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 |   mount -o ro $block /dev/sysroot | ||||||
|   for file in /dev/sysroot/sbin/*; do |   for file in /dev/sysroot/sbin/*; do | ||||||
|     [ ! -e $file ] && break |     [ ! -e $file ] && break | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 topjohnwu
					topjohnwu