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)
- Rooted by still get error HOT 1
- ListAllAVDs not working HOT 3
- su not found or inaccessible can you help ? HOT 1
- stuck always HOT 21
- Is Android 11 supported? HOT 8
- Execute binaries through adb shell HOT 8
- Stuck on windows HOT 1
- Polestar 2 AVD support? HOT 10
- Not working properly in Mac M2 HOT 2
- How to installation Masgisk 26.1
- Cannot run EnvFixTask HOT 7
- Cannot run `adb shell -t su` permission denied HOT 5
- Different errors in Windows PowerShell and CMD HOT 4
- `NOT in an emulator shell` error despite `adb shell` command working HOT 5
- Feature Request: Environmental Variables file HOT 2
- Can I use %ANDROID_HOME% instead of %LOCALAPPDATA%/Android ? HOT 2
- Script does not work as intended (Windows 10) HOT 12
- 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
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.