This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MGD for non rooted devices?

Hello Mali devs,

Are there any plans to provide MGD for non rooted devices?

Looking at the setup instructions for rooted, it seems like it could be achieved with a combination of linkage to interceptor libs + override SO preloading in tandem with running the daemon as a run-as target. I haven't experimented directly yet but it seems it could be done.

Thanks!

Stephane

Parents
  • This sounds like a reasonable requirement, I'm not 100% on whether this will work right now but it's worth trying. Can you run mgddaemon from /sdcard/, or in some other way that doesn't require root?

    I suppose you could take the libGLES_mgd.so and bundle this with your application, tell your Android.mk file to pull it in as a prebuilt shared library and link against it instead of libGLESv2,so. The library will still look in /system/lib/egl etc for the real thing so it might just work... Let me know if you give it a try and I'll do some testing at my end also.

    Thanks for the suggestion,

    Chris

Reply
  • This sounds like a reasonable requirement, I'm not 100% on whether this will work right now but it's worth trying. Can you run mgddaemon from /sdcard/, or in some other way that doesn't require root?

    I suppose you could take the libGLES_mgd.so and bundle this with your application, tell your Android.mk file to pull it in as a prebuilt shared library and link against it instead of libGLESv2,so. The library will still look in /system/lib/egl etc for the real thing so it might just work... Let me know if you give it a try and I'll do some testing at my end also.

    Thanks for the suggestion,

    Chris

Children