busybox install help plz

This is a discussion on busybox install help plz within the Droid Hacks forums, part of the Droid Hacking category; One might say if you dont know what your doing dont do it but im learning more and more linux by the day so to ...

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 34

Thread: busybox install help plz

  1. Master Droid
    tdawg5480's Avatar
    Member #
    8921
    Join Date
    Nov 2009
    Location
    CT
    Posts
    370
    #1

    busybox install help plz

    One might say if you dont know what your doing dont do it but im learning more and more linux by the day so to widen my droids reach I installed busybox however i read on some apps in market says busybox needs to be installed in system/bin or system/xbin I used a tutorial that put it in /data/busybox does it matter where its installed? i used this tut
    Re:Got root? Need more? Install Busybox! - AndroidFanatic Community Forums should i just redo it for system/bin? i know it works because some new commands work when i use better terminal emulator......advice is appreciated THKS
    What happens on the road stays on the road

    Current releases: "Midnight Droid" bootanimations
    http://www.droidforums.net/forum/dro...animation.html

    "True Blue" aka I.C.E metamorph theme set
    http://www.droidforums.net/forum/dro...c-e-tdawg.html
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Droid
    lvlln's Avatar
    Member #
    2561
    Join Date
    Nov 2009
    Posts
    35
    Phone
    Droid Incredible
    #2
    I'd like some help, too. I can install BusyBox fine and use all its tools, but I have to type in

    export PATH=/data/busybox:$PATH

    each and every time I open a shell in order to use the BusyBox commands. Either that or manually call the command by giving its full path (e.g. /data/busybox/ls) How can I permanently add /data/busybox to the PATH variable?

    Also, BusyBox's ls command outputs are a little hard to read due to having no space before the name of each file/folder. Is there a tag to make it more human-readable? I couldn't find anything in the documentation.
  4. cellulararrest's Avatar
    Member #
    2385
    Join Date
    Nov 2009
    Posts
    48
    Phone
    Droid
    #3
    if you don't want to type the path to busybox everytime you want to run it... Just move it to /system/bin and chmod to 755 (probably don't even need 755 since you're root, but that's easy enough).
  5. Master Droid
    kevdog's Avatar
    Member #
    4295
    Join Date
    Nov 2009
    Posts
    722
    Phone
    moto droid
    #4
    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>
    Last edited by kevdog; 12-13-2009 at 09:38 PM.
  6. Senior Droid
    dustin4863's Avatar
    Member #
    1671
    Join Date
    Nov 2009
    Location
    lbk tx
    Posts
    128
    Phone
    droid
    #5
    every time i go to my command prompt to access the adb i get
    "The system cannot find the path specified." or
    "The name specified is not recognized as an internal or external command, operable program or batch file."

    but its not only for the adb i cant access ipconfig,defrag or ping what is the deal here has anyone seen this
  7. Master Droid
    tdawg5480's Avatar
    Member #
    8921
    Join Date
    Nov 2009
    Location
    CT
    Posts
    370
    #6
    im following kevdogs post there but i get invalid cross device link when i get to the install part
    What happens on the road stays on the road

    Current releases: "Midnight Droid" bootanimations
    http://www.droidforums.net/forum/dro...animation.html

    "True Blue" aka I.C.E metamorph theme set
    http://www.droidforums.net/forum/dro...c-e-tdawg.html
  8. Droid
    lvlln's Avatar
    Member #
    2561
    Join Date
    Nov 2009
    Posts
    35
    Phone
    Droid Incredible
    #7
    I see, thank you, that works. Now, I'd like to have it so that I don't have to type in "busybox" every time, but I'm also worried about cluttering up xbin with all of busybox's commands. Is there a way to change the name of the busybox command to something shorter, like "bb?" Copying busybox to bb didn't seem to work.

    Quote Originally Posted by kevdog View Post
    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>
  9. Droid
    lvlln's Avatar
    Member #
    2561
    Join Date
    Nov 2009
    Posts
    35
    Phone
    Droid Incredible
    #8
    Quote Originally Posted by tdawg5480 View Post
    im following kevdogs post there but i get invalid cross device link when i get to the install part
    Same problem here. I can install busybox fine in /data/busybox, but not in /system/xbin.
  10. Master Droid
    tdawg5480's Avatar
    Member #
    8921
    Join Date
    Nov 2009
    Location
    CT
    Posts
    370
    #9
    Quote Originally Posted by lvlln View Post
    Quote Originally Posted by tdawg5480 View Post
    im following kevdogs post there but i get invalid cross device link when i get to the install part
    Same problem here. I can install busybox fine in /data/busybox, but not in /system/xbin.
    follow this Complete How-To Root, Busybox, Flash/Recovery, Framework-res.apk, custom boot ani... busybox works without a glitch seems to me im a newb and from reading theres diff ways to install apps and this works great if u need latest binary ver 1.15.3 lemme know i tried busybox sie and i get tarball files dunno how to install them dont wanna try as method of busybox i had was a single file and not a zip.tar.gz thing
    What happens on the road stays on the road

    Current releases: "Midnight Droid" bootanimations
    http://www.droidforums.net/forum/dro...animation.html

    "True Blue" aka I.C.E metamorph theme set
    http://www.droidforums.net/forum/dro...c-e-tdawg.html
  11. Junior Droid
    mikedageek's Avatar
    Member #
    7667
    Join Date
    Nov 2009
    Posts
    14
    Phone
    Motorola Droid *VZW*
    #10
    Here's a tutorial on how to set variables ... you can leave busybox installed where you want just add the dir to your path ...

    Environment Variables - Linux Commands
+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. How Do You Install A Theme?
    By Jokool_7777 in forum Droid Themes
    Replies: 18
    Last Post: 11-08-2010, 08:35 AM
  2. ecompass install
    By gkdroid in forum Droid General Discussions
    Replies: 1
    Last Post: 12-14-2009, 01:56 AM
  3. Is Anyone NOT Going to Install the OTA Update?
    By TxDoc in forum Droid General Discussions
    Replies: 5
    Last Post: 12-10-2009, 04:04 PM
  4. App install directory?
    By inmotion in forum Droid Hacks
    Replies: 10
    Last Post: 11-30-2009, 05:32 AM
  5. PhantomSkinz Install - First Timer!
    By Zer0Beast in forum Droid General Discussions
    Replies: 2
    Last Post: 11-23-2009, 08:57 PM

Search tags for this page

busy box for droid
,

busybox droid

,

busybox for droid

,
busybox install android
,
busybox invalid cross device link
,

busybox invalid cross-device link

,

droid busybox

,
droid explorer cannot find
,
how to install busybox
,
how to install busybox android
,
how to install busybox on android
,
how to use busy box
,

how to use busybox

,
how to use busybox android
,
how to use busybox installer
,
how to use busybox on android
,
install busybox droid
,
install busybox on android
,
installing busybox on android
,
what is busybox android
Click on a term to search our site for related topics.