Commit 1a964e78 authored by 石松洲's avatar 石松洲 Committed by John Wu

Support 32-bit emulators

This would be helpful when debugging arch-related bugs, there is no reason to prevent it.
parent 4264ae49
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# AVD Magisk Setup # AVD Magisk Setup
##################################################################### #####################################################################
# #
# Support emulator ABI: x86_64 and arm64 # Support emulator ABI: ALL
# Support API level: 23 - 31 (21 and 22 images do not have SELinux) # Support API level: 23 - 31 (21 and 22 images do not have SELinux)
# #
# With an emulator booted and accessible via ADB, usage: # With an emulator booted and accessible via ADB, usage:
...@@ -135,7 +135,11 @@ cp -af ./magiskboot $MAGISKBIN/magiskboot ...@@ -135,7 +135,11 @@ cp -af ./magiskboot $MAGISKBIN/magiskboot
cp -af ./magiskinit $MAGISKBIN/magiskinit cp -af ./magiskinit $MAGISKBIN/magiskinit
cp -af ./busybox $MAGISKBIN/busybox cp -af ./busybox $MAGISKBIN/busybox
ln -s ./magisk64 $MAGISKTMP/magisk if [ "$IS64BIT" = "true" ]; then
ln -s ./magisk64 $MAGISKTMP/magisk
else
ln -s ./magisk32 $MAGISKTMP/magisk
fi
ln -s ./magisk $MAGISKTMP/su ln -s ./magisk $MAGISKTMP/su
ln -s ./magisk $MAGISKTMP/resetprop ln -s ./magisk $MAGISKTMP/resetprop
ln -s ./magisk $MAGISKTMP/magiskhide ln -s ./magisk $MAGISKTMP/magiskhide
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment