OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Busibox For Android, howto?
jpmatrix
post Jan 19 2008, 02:48 PM
Post #1





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



http://benno.id.au/blog/2007/11/14/android-busybox

how can we install that to the zaurus android ?
Go to the top of the page
 
+Quote Post
Android Zaurus
post Jan 21 2008, 01:39 AM
Post #2





Group: Members
Posts: 45
Joined: 30-December 07
From: Japan
Member No.: 21,136



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.
Go to the top of the page
 
+Quote Post
jpmatrix
post Jan 21 2008, 02:00 AM
Post #3





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



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
Go to the top of the page
 
+Quote Post
Android Zaurus
post Jan 21 2008, 03:06 AM
Post #4





Group: Members
Posts: 45
Joined: 30-December 07
From: Japan
Member No.: 21,136



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,
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2014 - 02:01 PM