Skip to content
forked from newbit1/rootAVD

Script to root AVDs running with QEMU Emulator from Android Studio

License

Notifications You must be signed in to change notification settings

Crinisus/rootAVD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rootAVD

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 !!

Links

Successfully tested with Stock Kernel on

Credits

About

Script to root AVDs running with QEMU Emulator from Android Studio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 78.2%
  • Batchfile 21.8%