Comments (12)
Is this really rootAVD related?
To disable Magisk-Modules, you can place a disable file into its directory.
Or you can just delete them all at once like in the Magisk FAQ mentioned.
You can do both via adb.
To boot your AVD into Safe Mode, you can follow the guide How to boot your device up in android safe mode
Works perfect.
from rootavd.
Is this really rootAVD related?
Yes, I think, without your amazing work I won't be able to install magisk onto AVD.
However I just want to share my experience.
You can do both via adb.
When a problematic module blocks boot process, adb is simply not available at all.
To boot your AVD into Safe Mode, you can follow the guide How to boot your device up in android safe mode
When the AVD simply fails to boot, there's no chance to click that "reboot to safe mode" button.
from rootavd.
I hope that some hints could be added to README and text prompt of this script, so that in the case a problematic module blocks the AVD from normally booting, the user will feel less anxious.
from rootavd.
What exactly do you want in the readme? The primary scope of the script is to install Magisk, everything beyond this is Magisk
related. You can always wipe data or restore the ramdisk.img
from rootavd.
The primary scope of the script is to install Magisk, everything beyond this is Magisk
related.
Of course. However I didn't know Magisk supports safe mode in the beginning either. I think some reminders about this can be helpful.
Maybe just a reminder like "in case a problematic magisk module bricks your AVD, you may try pressing the volume down button to enter safe mode!" is enough.
You can always wipe data or restore the ramdisk.img
Sometimes you don't want to wipe data. To my understanding, although restoring ramdisk.img can make the AVD boot again, it will neither disable any magisk module, nor provide root access, so that safe mode is still useful to quickly fix a "bricked" AVD by disabling all magisk modules.
from rootavd.
Agree! This does definitely elevate the support level, especially the part that avoids wiping the data.
Could you please provide me this "bricking" module? So I can reproduce that issue and a possible way to fix it.
from rootavd.
Could you please provide me this "bricking" module? So I can reproduce that issue and a possible way to fix it.
Thanks, but, actually it was not a ZIP, I wanted to modify some system files, so I just copied & modified the hosts module (inside /data/adb/modules
) to achieve this. Other modules (including the hosts module) is working without problem.
from rootavd.
Then send me just this. Or create a module that breaks. Without something, I can't reproduce anything. Sorry
from rootavd.
Or create a module that breaks.
Maybe you could try this (assuming you've already added hosts module), after entering adb shell
:
(of course, since this will brick the AVD, you should be prepared for this)
su
cd /data/adb/modules
cp -a hosts badmodule
cd badmodule
rm ./disable
rm ./system/etc/hosts
rmdir ./system/etc/
mkdir ./system/lib/
mkdir ./system/lib64/
touch ./system/lib/libc.so
touch ./system/lib64/libc.so
reboot -p
from rootavd.
thanks! Can't find any module with this name.
Can you provide me a link please?
from rootavd.
Can't find any module with this name.
It can be added by clicking "Systemless hosts" in magisk app settings.
from rootavd.
Thank you for your patience. Readme is updated.
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.