Running Android on an Mx5x platform and trying to access and run several (built-in) busybox commands from inside an app.
Many work fine, a couple of examples:
But any busybox command does not (e.g.);
They fail immediate with exit=1, as if hte command does not exist. I have created a soft link for the command which provides a (permissions 777) linked traceroute command. I.e. to allow this;
Still no-go. Immediate exit=1 from the .exec() ?????????
I'm STUMPED! Any input would be most appreciated!
Solved! Go to Solution.
Frustrating because the BusyBox traceroute is well implemented and should be accessible.
Also been thinking about implementing a duplicate function in the kernel - which I could call by Android - but concerned about the ensuring that a kernel function output can be readily captured by a calling Android app.
Alternatively I'm thinking I might have to implement a half-baked trace-route by a function chaining a series of ping's.
This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.
Sorry I've been out of town.
This issue is NOT answered. JayTu recreated precisely the issue I have. The QUESTION I have posted is HOW can I work-around this limitation with busybox?
It seems there is a means to allow access to this command with sufficient permissions to execute it! I'd expect someone knows this technique. My question here is to poll those who have run into this and found a solution.
Please mark this NOT ANSWERED and STILL OPEN!
Is the reply from our AE good? If you still need help, please feel free to reply with an update to this discussion, or create another discussion.
We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow resolved the issue, can we close the discussion? If you still need help, please feel free to reply with an update to this discussion.