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

Cannot intercept my app with Mali Graphics Debugger

Hello,

I just followed the manual but I cannot get the MGD to intercept any call from my app.

The GUI connects to de daemon though USB but no data is traced.

I am using Android 4.4.2 and Mali-400 MP.

Am I missing something?

Parents
  • Hi vruiz,

    There are no special permissions needed in the manifest because the socket we use is an abstract namespace AF_UNIX socket. This works on every production device we've tested it on because it's not located on the filesystem anywhere and therefore we don't need to ensure any visibility/permissions for it, but this is obviously not the case on your platform. I have seen this before however on a system which implemented a secure launcher. In short, you will need to investigate why there is a permission issue on abstract namespace AF_UNIX sockets, as this is causing the interceptor to be unable to talk to the daemon. If it works with the camera app, then that should provide some clues - what is different about how the permissions are set up for that application?...

    Hope this helps,

    Chris

Reply
  • Hi vruiz,

    There are no special permissions needed in the manifest because the socket we use is an abstract namespace AF_UNIX socket. This works on every production device we've tested it on because it's not located on the filesystem anywhere and therefore we don't need to ensure any visibility/permissions for it, but this is obviously not the case on your platform. I have seen this before however on a system which implemented a secure launcher. In short, you will need to investigate why there is a permission issue on abstract namespace AF_UNIX sockets, as this is causing the interceptor to be unable to talk to the daemon. If it works with the camera app, then that should provide some clues - what is different about how the permissions are set up for that application?...

    Hope this helps,

    Chris

Children