Files
root-avd/README.md
T
2021-01-19 10:36:47 +01:00

3.3 KiB

rootAVD

newbit @ xda-developers

A Script to root your Android Studio Virtual Device (AVD), with Magisk and Magisk Manager within seconds

How To Use it

  • rootAVD needs a path with file to an AVD ramdisk
  • rootAVD will backup your ramdisk.img and replace it when done patching

Linux

./rootAVD.sh ~/Android/Sdk/system-images/android-30/google_apis_playstore/x86_64/ramdisk.img

MacOS

./rootAVD.sh ~/Library/Android/sdk/system-images/android-30/google_apis_playstore/x86_64/ramdisk.img

Windows

rootAVD.bat %LOCALAPPDATA%\Android\Sdk\system-images\android-30\google_apis_playstore\x86_64\ramdisk.img

Notes

  • adb must be in your $PATH

Options

  • Install all APKs placed in the Apps folder
  • If you set PATCHFSTAB=true
    • fstab.ranchu will get patched to automount Block Devices like /dev/block/sda1
    • !! a custom build Kernel is needed !!

Successfully tested with Stock Kernel on

Credits