Arm Emulator In Android Studio Install And Launch
Execute the following:Install Magisk On Official Android EmulatorInstalling an Android System Image (Required) Start the Android Virtual Device Manager (select Start > All Programs > Embarcadero RAD Studio XE6 > Android SDKs.Android Studio 3.1 or later. For me path to JDK is E:\Program Files\Java\jdk1.8.0251. Open Command Prompt ( Win+R, type cmd and press Enter) or use any other terminal you like. This is the step-by-step note that answering the question: How to install and launch Android emulator without installing Android Studio itself.
If you're using ARM system image, replace busybox with busybox_arm.Keep the Start Android Studio box checked and then click the Finish button to start Android Studio. Grab Magisk.zip (or Magisk.apk) and put in this directory. In this case, you do not need. Note: If you installed the Android SDK and NDK during RAD Studio installation, a valid Android system image (such as Android 4.2.2 API 17) should already be shown as Installed in the Android SDK Manager.
Clone this repository and copy the original ramdisk.img into the clone's folder. You will need it everytime you want to patch ramdisk with magisk (for the first time and also for subsequent magisk updates). Make sure you backup the untouched ramdisk.img from /system-images//*/ramdisk.img. For patching the ramdisk with magisk, your AVD must be already created When the first time Android Studio launch, it displayed a Complete Installation dialog window that will introduce you to import settings from a previous installation.
If you prefer patching by MagiskManager, execute patch.sh manager or patch.bat manager, it will create a fake boot.img on internal storage. This is needed when using for example github for desktop, which changes line ending to CRLF instead of LF This requires AVD internet connectivity towards github.Note: If choosing to use 'patch.sh', you might need to run dos2unix patch.sh first so that the script has propper line ending. Alternatively, you can execute patch.sh canary or patch.bat canary to install latest canary Magisk on the ramdisk.img.
Bring up Android system and establish adb connection. Grab Magisk.zip (or Magisk.apk) and put in this directory. Power off and restart (cold start) the emulatorInstall Magisk On Android x86 Project on VirtualBox When finished, copy the patched ramdisk.img back to AVD directory. This method is mainly for Released version of Magisk. When finished,Execute patch.sh pull or patch.bat pull to get the patched ramdisk.img.