![]() ![]() |
Jan 19 2008, 02:48 PM
Post
#1
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
|
|
|
|
Jan 21 2008, 01:39 AM
Post
#2
|
|
|
Group: Members Posts: 45 Joined: 30-December 07 From: Japan Member No.: 21,136 |
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. |
|
|
|
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 |
|
|
|
Jan 21 2008, 03:06 AM
Post
#4
|
|
|
Group: Members Posts: 45 Joined: 30-December 07 From: Japan Member No.: 21,136 |
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 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, |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 05:22 AM |