2021-01-18 00:07:22 +01:00
2021-01-18 00:07:22 +01:00
2021-01-14 00:20:58 +01:00
2021-01-14 00:12:28 +01:00
2021-01-14 23:19:37 +01:00
2021-01-18 00:06:07 +01:00

rootAVD

newbit @ xda-developers

A Script to root your Android Studio Virtual Device (AVD), with Magisk v21.2 and Magisk Manager v8.0.5 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

S
Description
Script to root AVDs running with QEMU Emulator from Android Studio
Readme GPL-3.0 72 MiB
Languages
Shell 81.4%
Batchfile 18.6%