Comments (3)
Yes! Check out the readme, it is all in there.
from rootavd.
This is the output which i have ran. Can you confirm it should work on this image
`C:\Users\user\Downloads\rootAVD-21.4>rootAVD.bat C:\Users\user\AppData\Local\Android\Sdk\system-images\android-29\google_apis_playstore\x86\ramdisk.img
The directory name is invalid.
"[] create Backup File"
1 file(s) copied.
"[-] In any AVD via ADB, you can execute code without root in /data/data/com.android.shell"
"[-] ADB connectoin possible"
"[] looking for Magisk installer Zip"
"[] Cleaning up the ADB working space"
"[] Creating the ADB working space"
"[-] Copy Magisk installer Zip"
C:\Users\user\Downloads\rootAVD-21.4\Magisk.zip: 1 file pushed, 0 skipped. 388.7 MB/s (6173806 bytes in 0.015s)
"[] Copy Busybox installer"
C:\Users\user\Downloads\rootAVD-21.4\update-binary: 1 file pushed, 0 skipped. 1142.0 MB/s (3490664 bytes in 0.003s)
"[] Copy the original AVD ramdisk.img into Magisk DIR"
C:\Users\user\AppData\Local\Android\Sdk\system-images\android-29\google_apis_playstore\x86\ramdisk.img: 1 file pushed, 0 skipped. 832.7 MB/s (882878 bytes in 0.001s)
"[-] Copy rootAVD Script into Magisk DIR"
rootAVD.sh: 1 file pushed, 0 skipped. 60.3 MB/s (12571 bytes in 0.000s)
"[-] Convert Script to Unix Ending"
"[-] run the actually Boot/Ramdisk/Kernel Image Patch Script"
"[] from Magisk by topjohnwu and modded by NewBit XDA"
[!] We are in a emulator shell
[-] Switch to the location of the script file
[] Extracting busybox ...
[] Extracting Magisk.zip ...
[-] Device Platform: x86
[-] Device API: 29
[-] ARCH32 x86
[] copy all files from BINDIR to BASEDIR
[-] taken from shakalaca's MagiskOnEmulator/process.sh
[] executing ramdisk splitting / extraction / repacking
[] After decompressing ramdisk.img, magiskboot will work
Detected format: [gzip]
Decompressing to [/data/data/com.android.shell/Magisk/ramdisk.img]
[-] Test patch status and do restore
[-] Checking ramdisk status
[-] STATUS=0
[-] Stock boot image detected
[-] Patching ramdisk
[!] PATCHFSTAB=false
[!] Skipping fstab.ranchu patch with /dev/block/sda
[?] If you want fstab.ranchu patched, set PATCHFSTAB=true
[!] patching the ramdisk with Magisk Init
Loading cpio: [ramdisk.cpio]
Add entry [init] (0750)
Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[true]
Found fstab file [fstab.ranchu]
Remove pattern [,avb=vbmeta]
Loading cpio: [ramdisk.cpio.orig]
Backup mismatch entry: [fstab.ranchu] -> [.backup/fstab.ranchu]
Backup mismatch entry: [init] -> [.backup/init]
Create directory [.backup] (0000)
Add entry [.backup/.magisk] (0000)
Dump cpio: [ramdisk.cpio]
[] zipping ramdisk
Compressing to [ramdisk.cpio.gz]
"[-] After the ramdisk.img file is patched and back gz'ed,"
"[] pull it back in the Magisk DIR"
/data/data/com.android.shell/Magisk/ramdiskpatched4AVD.img: 1 file pulled, 0 skipped. 80.6 MB/s (1229610 bytes in 0.015s)
"[-] Clean up the ADB working space"
"[] Move and rename the patched ramdisk.img to the original AVD DIR"
1 file(s) copied.
"[-] Install all APKs placed in the Apps folder"
"[] Trying to install APPS\magisk.apk"
Performing Streamed Install
Success
"[-] reboot the AVD and see if it worked"
"[-] Root and Su with Magisk for Android Studio AVDs"
"[-] Modded by NewBit XDA - Jan. 2021"
"[*] Huge Credits and big Thanks to topjohnwu and shakalaca"
C:\Users\user\Downloads\rootAVD-21.4>adb shell
generic_x86:/ $ su
/system/bin/sh: su: inaccessible or not found`
from rootavd.
Yes, it does work on Android 10, API 29 x86!
But you shouldn't use the rootAVD-21.4 release version.
I will delete this Release asap.
The directory name is invalid.
It seems like you are having an issue with your directory.
try:
rootAVD.bat %LOCALAPPDATA%\Android\Sdk\system-images\android-29\google_apis_playstore\x86\ramdisk.img
Did you reboot the AVD? (shut down and restart)
Compare the sizes of the ramdisk.img file, it must be bigger than the ramdisk.img.backup
from rootavd.
Related Issues (20)
- Update for Magisk 26.1 for Shamiko-v0.7.3-174-release.zip HOT 1
- Root AVD with playstore installed HOT 1
- Magisk won't install/root on AVD API 34 (Android 14) HOT 8
- New Install google_apis location HOT 13
- android 10 HOT 22
- Images not found (Android Emulator via Visual Studio 2022) HOT 6
- Error: file C:\Users\pathtoramdisk.img not found HOT 6
- Problem installing with Pixel_3a_XL_API_25 and android 7 HOT 10
- Rooted but Magisk not available HOT 17
- Problem with fakeboot HOT 14
- how to install Magisk 26.2 HOT 9
- mac m1 run rootAVD error
- Wget stopped working HOT 1
- please add the missing else keyword between ignoring echo and actual push HOT 1
- The script doesn't check if it has permission to write. HOT 1
- Can we dump L3 winewive HOT 2
- Process stucks at message - [!] Checking available Magisk Versions HOT 2
- file "ramdisk.img" not found. HOT 1
- rooting process doesn't start HOT 5
- Zygisk is not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rootavd.