You can also put busybin in /system/xbin (which you have to create the xbin directory since the xbin directory does not exist by default).
/system/xbin is in the default path.
Most tutuorials then tell you that you can use busybox like this (This is an example of using the busybox cp command):
Code:
busybox cp <source> <destination>
.
However if you want to do away with the busybox prefix, while in the /system/xbin directory you can do the following:
Code:
busybox --install <install_destination_directory>
.
So if in the /system/xbin directory this would be:
Code:
busybox --install .
.
If outside the /system/xbin directory you would have to specify the install directory.
So the entire code would be the following:
Code:
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# mkdir /system/xbin
# cd /system/xbin
# cat /sdcard/busybox > busybox
# chmod 755 busybox
busybox --install .
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
# exit
$ busybox
BusyBox v1.15.2 (2009-12-02 21:29:32 EST) multi-call binary
Copyright (C) 1998-2008 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
.
So the net result of doing all of this is that referring to the first example, all you would have to do to use the busybox cp command would be the following:
Code:
cp <source> <destination>