Coder Social home page Coder Social logo

Comments (2)

newbit1 avatar newbit1 commented on June 25, 2024

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.

davidjuhyung avatar davidjuhyung commented on June 25, 2024

Thank you!! I will look into the documents you've shared! I would really hope to make it work!!

from rootavd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.