mirror of
https://gitlab.com/newbit/rootAVD.git
synced 2026-07-03 13:15:10 +02:00
e553ea434189643b5b5ca028953562f98e9d0d86
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 !!
Links
Successfully tested with Stock Kernel on
- [Jan. 2021] - Android 11 (R) API 30 Google Apis Play Store x86_64 r10 Darwin/MacOS Production Build
- [Jan. 2021] - Android 11 (R) API 30 Google Apis Play Store x86_64 r10 Windows Production Build
- [Jan. 2021] - Android 11 (R) API 30 Google Apis Play Store x86_64 r10 Linux Production Build
- [Jan. 2021] - Android 11 (R) API 30 Google Apis Play Store x86 r09 Linux Production Build
- [Dec. 2019] - Android 10 (Q) API 29 Google Apis Play Store x86_64 r09 Linux Production Build
- [Dec. 2019] - Android 10 (Q) API 29 Google Apis x86_64 r11 User Debug Build
- [Jan. 2021] - Android 7 (Nougat) API 24 Google Apis Play Store x86 r19 Production Build
Credits
Languages
Shell
81.4%
Batchfile
18.6%