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.
Hi Mike,
I am also facing the same above mentioned issue. Have you found any solution to this problem?
No.
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.
Any ideas?
Mike
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.
Thanks,
Yixing
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!
Thanks,
mike
If so, I don't have any idea. Sorry for the noise and I've deleted my post.
No apologies needed - your time & effort is appreciated.
There is a solution - I'm polling for what others have done to address this!
Thanks,
mike
Mike
What is the progress of this issue? Do you want to keep this one open or otherwise we should close this?
Thanks,
Yixing
Yixing,
Please keep this open until someone at least points a way or suggests a probable solution!
Thanks,
Mike
Mike
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.
Thanks,
Yixing
Mike
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.
Thanks,
Yixing
No this is still an issue in review.... Any input/suggestions would be most welcome!
mike
ok, I'll check it soon.