adb not found/busybox install help

This is a discussion on adb not found/busybox install help within the Droid Hacks forums, part of the Droid Hacking category; I have done a search and couldn't find anything on this so here I go. I am not extremely new to adb shells and linux ...

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: adb not found/busybox install help

  1. zeppelinmad4's Avatar
    Member #
    18908
    Join Date
    Dec 2009
    Location
    Jacksonville Beach, FL
    Posts
    53
    Phone
    Droid
    #1

    adb not found/busybox install help

    I have done a search and couldn't find anything on this so here I go. I am not extremely new to adb shells and linux operating systems (I successfully installed ydl on my ps3) but I have recently run into an issue on my rooted droid. I am trying to install busybox onto the phone and do the following:
    $ su
    # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
    adb push ./busybox /system/sbin

    When I get to the last step I get "adb: not found". I have attached a screen capture to show where I am at. I'm not quite sure why it is coming up with this and don't really know what to do from here. I have a copy of busybox in the tools folder and on the root of the sd card. Thank you for any help and let me know if you need anymore info.
    Attached Images
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Master Droid
    Topsy's Avatar
    Member #
    20373
    Join Date
    Dec 2009
    Location
    Rio Rancho, New Mexico
    Posts
    677
    Phone
    Rooted Droid @ 1Ghz
    #2
    Quote Originally Posted by zeppelinmad4 View Post
    I have done a search and couldn't find anything on this so here I go. I am not extremely new to adb shells and linux operating systems (I successfully installed ydl on my ps3) but I have recently run into an issue on my rooted droid. I am trying to install busybox onto the phone and do the following:
    $ su
    # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
    adb push ./busybox /system/sbin

    When I get to the last step I get "adb: not found". I have attached a screen capture to show where I am at. I'm not quite sure why it is coming up with this and don't really know what to do from here. I have a copy of busybox in the tools folder and on the root of the sd card. Thank you for any help and let me know if you need anymore info.
    You can't do an adb push from within an adb shell, that's what's wrong.

    adb push busybox /sdcard/
    adb shell
    $su
    #mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
    #cp /sdcard/busybox /system/sbin/

    should do the trick.
  4. zeppelinmad4's Avatar
    Member #
    18908
    Join Date
    Dec 2009
    Location
    Jacksonville Beach, FL
    Posts
    53
    Phone
    Droid
    #3
    okay so maybe I'm a little more confused than I originally thought. As you can see in the capture, I did what you said but now get a "cp: not found". I have since exited and tried to push out of the shell but get a permission denied. Thanks for the help.
    Attached Images
  5. Master Droid
    Topsy's Avatar
    Member #
    20373
    Join Date
    Dec 2009
    Location
    Rio Rancho, New Mexico
    Posts
    677
    Phone
    Rooted Droid @ 1Ghz
    #4
    ya sorry that works for me but i forgot it's cause i already have busybox installed , oops

    try this route instead:
    adb push busybox /data/local/busybox
    adb shell
    su
    cd /data/local
    chmod 755 busybox
    ./busybox
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    mkdir /system/xbin
    /data/local/busybox cp /data/local/busybox /system/xbin
    /data/local/busybox cp /data/local/busybox /system/bin
    cd /system/xbin
    busybox --install .
    mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot
  6. zeppelinmad4's Avatar
    Member #
    18908
    Join Date
    Dec 2009
    Location
    Jacksonville Beach, FL
    Posts
    53
    Phone
    Droid
    #5
    Thanks for the helps so far I'm so close. As you can see, I got all the way to "cd /system/xbin" and it says can't cd /system/xbin.
    Attached Images
  7. Master Droid
    Topsy's Avatar
    Member #
    20373
    Join Date
    Dec 2009
    Location
    Rio Rancho, New Mexico
    Posts
    677
    Phone
    Rooted Droid @ 1Ghz
    #6
    Quote Originally Posted by zeppelinmad4 View Post
    Thanks for the helps so far I'm so close. As you can see, I got all the way to "cd /system/xbin" and it says can't cd /system/xbin.

    forgot the / before system,

    cd /system/xbin
    instead of
    cd system/xbin
  8. zeppelinmad4's Avatar
    Member #
    18908
    Join Date
    Dec 2009
    Location
    Jacksonville Beach, FL
    Posts
    53
    Phone
    Droid
    #7
    Thanks got to that part and got busybox --install and got no such file or directory for many many directories.
    Attached Images
  9. zeppelinmad4's Avatar
    Member #
    18908
    Join Date
    Dec 2009
    Location
    Jacksonville Beach, FL
    Posts
    53
    Phone
    Droid
    #8
    I forgot to mention that I did the rest of the steps and then tried to start up metamorph (I'm installing a new theme) and it still said that busybox wasn't installed so I came back here. Then I got this bright idea to turn off debugging and tada!!! I'm pretty sure that everything is good. I really appreciate you sticking around and helping me with this.
  10. Master Droid
    Topsy's Avatar
    Member #
    20373
    Join Date
    Dec 2009
    Location
    Rio Rancho, New Mexico
    Posts
    677
    Phone
    Rooted Droid @ 1Ghz
    #9
    Quote Originally Posted by zeppelinmad4 View Post
    Thanks got to that part and got busybox --install and got no such file or directory for many many directories.
    you've got a busybox that is hard coded to install to another directory.

    Attached is a version that will work for you.


    Well I see you got it working , but it took forever to get the forums to accept the upload, so here it is.
    Last edited by Topsy; 01-14-2010 at 11:47 AM.
  11. zeppelinmad4's Avatar
    Member #
    18908
    Join Date
    Dec 2009
    Location
    Jacksonville Beach, FL
    Posts
    53
    Phone
    Droid
    #10
    Thank you for the help.

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. busybox install help plz
    By tdawg5480 in forum Droid Hacks
    Replies: 33
    Last Post: 05-05-2010, 06:54 AM
  2. trying to get busybox up and running, help plz
    By evilsock in forum Droid Hacks
    Replies: 4
    Last Post: 01-07-2010, 09:45 PM
  3. Busybox Help Please!
    By BigMace23 in forum Droid Hacks
    Replies: 1
    Last Post: 01-07-2010, 09:24 PM
  4. Busybox help ?
    By swickdick in forum Droid Hacks
    Replies: 20
    Last Post: 12-28-2009, 04:30 PM
  5. Noobie all in one busybox, flash_image, and more app
    By tdawg5480 in forum Droid Hacks
    Replies: 10
    Last Post: 12-21-2009, 12:05 AM

Search tags for this page

./busybox: not found
,
adb busybox
,
adb install not found
,

adb not found

,
adb push adb not found
,
adb push busybox
,
adb push not found
,
adb remount not found
,
adb was not found
,

adb: not found

,
android adb not found
,
android busybox not found
,
busy box not found
,
busybox adb
,
busybox install no such file or directory
,

busybox not found

,
busybox not found android
,
busybox was not found
,
busybox: not found
,
install busybox adb
Click on a term to search our site for related topics.