PDA

View Full Version : Common Linux tools on Android without root by installing BusyBox



wraggster
December 6th, 2012, 09:45
http://hackadaycom.files.wordpress.com/2012/12/install-busybox-on-unrooted-android.png?w=580&h=225
[Adam Outler] shows us
http://www.youtube.com/watch?v=L_bVC0x4l-g. He does this by installing BusyBox. The binary is copied to the device using the Android Developer Bridge. He then opens an ADB shell, adds execution permissions to the binary, and runs it. BusyBox calls itself the Swiss Army Knife of Embedded Linux (http://www.busybox.net/about.html). It provides a set of very common tools which you’ll find useful in your tinkering. The one that [Adam] shows off in his video is the vi editor, but the basics that make a shell work are all there like: ls, mkdir, grep, dmesg, mount… you get the point.
So what are you going to do with your unrooted device now that you have these commands at your disposal? That’s really for you to figure out. [Adam] continues his demonstration by installing a package that does require root access. It’s BotBrew Basil (https://play.google.com/store/apps/details?id=com.botbrew.basil&hl=en), which adds apt-get and a few more complex packages. He then uses vi to write a C++ Hello World program, then compiles it and runs it. So if you’re looking to do some development on your phone this is one way.

http://hackaday.com/2012/12/05/common-linux-tools-on-android-without-root-by-installing-busybox/