AnsweredAssumed Answered

Busybox accessing from Android app

Question asked by MIKE PETERSEN on Apr 3, 2014
Latest reply on Nov 26, 2014 by MIKE PETERSEN

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:

  • Runtime.getRuntime().exec("ls -l")
  • Runtime.getRuntime().exec("ping")

But any busybox command does not (e.g.);

  • Runtime.getRuntime().exec("busybox traceroute")


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;

  • Runtime.getRuntime().exec("traceroute")


Still no-go.  Immediate exit=1 from the .exec()   ?????????


I'm STUMPED!  Any input would be most appreciated!