Comments (2)
Hi @davidjuhyung,
I am glade it worked for you. Yes, using this script on a Google Play Store AVD Image makes the most sense.
Regarding your title-question:
does installing this ramkdisk.img allow us to call "su" runtime on Android?
Yes, this is the whole point of installing Magisk into the AVD, so that whatever apk can access su.
Unfortunately, I can not really help you with your issue, it is quite a bit off topic here. But I can tell you some of my
experiences I made while I was writing an apk.
I had to study the work "How-To SU" from the on only @Chainfire himself.
With his examples and explanations for his libsuperuser I was able to get su access in my apk.
If you just read his readme, he will point you to his "old" page http://su.chainfire.eu/, and further on
to TopJohnWu's libsu
Regarding your directory that isn't created. As far as I know, every apk must have some permissions to access
the sdcard. And for that, you need to implement a routine that checks and asks the user for this permissions.
For a quick and dirty solution, it might be possible to grant these permissions via the apk settings in the system.
Like shown here, yes it is from Android 6, but it is still the
same way and principe today. And with a bit more detailed information on how to get there, here.
Good Luck
from rootavd.
Thank you!! I will look into the documents you've shared! I would really hope to make it work!!
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.