Help - Search - Members - Calendar
Full Version: Busibox For Android
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Android
jpmatrix
http://benno.id.au/blog/2007/11/14/android-busybox

how can we install that to the zaurus android ?
Android Zaurus
QUOTE(jpmatrix @ Jan 20 2008, 07:48 AM) *
http://benno.id.au/blog/2007/11/14/android-busybox

how can we install that to the zaurus android ?


As benno says, copy it to android-root/data/app/busybox and add PATH to your android-root/start script.

But question is how to get an Android console. The easiest way would be modify your android-root/start script.

Before
====
/init

After
===
/init &
/system/bin/sh

After booting Android up, try [Fn] + [left/right cursor]. If you find "\u@\h:\w$", that's the Android console.

\u@\h:\w$ busybox | busybox more
\u@\h:\w$ busybox ash

There is a one issue. The keycodes are passed to the graphical screen too. Which means everytime you press [Enter] key, some activies are fired in the graphical screen. It is kind of annoying.

To avoid this issue, launch Android from ssh console of your PC.

If you are using Angstrom based Android, you can try this.

Android Zaurus: setconsole and tty1
http://androidzaurus.seesaa.net/article/75560174.html

Please do not try on Poky based Android. I've been told by cortez that it doesn't work for his image.
jpmatrix
ok. thanks

in fact when i do

busybox --install

as said on benno's site i get a "permission denied..." although i chmod 777 busybox...

(i use android under debian with angstrom kernel smile.gif
Android Zaurus
QUOTE(jpmatrix @ Jan 21 2008, 07:00 PM) *
ok. thanks

in fact when i do

busybox --install

as said on benno's site i get a "permission denied..." although i chmod 777 busybox...

(i use android under debian with angstrom kernel smile.gif


Get sh console up with busybox. You can execute any commands in busybox.
\u@\h:\w$ busybox ash
/ $ gzip --help

You will notice "ps" output difference between busybox and toolbox.
/ $ ps
/ $ /system/bin/ps

Or you can install manually by making symbolic link. If you want "tar" and "top" then;
$ cd /data/app/busybox
$ ln -s busybox tar
$ ln -s busybox top

My opinion. I would not try to --install until toolbox source code becomes public because I don't know what side effect would be. I guess toolbox could be yet another version of busybox.

For now, I stick with "busybox tar", "busybox top" kind of way.

Cheers,
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.