having issues with 2.1 SP recovery SBF

Discussion in 'Android Hacks and Help' started by sicilianbadguy, Apr 17, 2010.

  1. sicilianbadguy

    sicilianbadguy New Member

    Apr 13, 2010
    Likes Received:
    Trophy Points:
    so im trying install and do all this to my droid and heres im stuck

    i downloaded su and superuser files like instructed but having troubles, i downloaded and installed the SDK but im not sure if doing stuff right. I cant get the command prompts to recognize my commands here is where im stuck.

    if any one can help it is greatly appreciated by the way im new to rooting and all this hacking stuff

    "then in a terminal window/command prompt from you PC use a couple of adb commands (assuming you have (Android SDK installed on your PC) if not Download it here:

    For the purposes of this guide "installing" Android SDK simply means downloading the SDK from the link below and unzipping it to a folder on your computer like C:\Android so that the tools directory is at C:\Android\tools.

    Android SDK | Android Developers

    The step below is to add the Android SDK to your system PATH. While the web site says it is optional if you do not add it to your PATH the Commands below will not work as written.

    Do step 2 here:
    Installing the SDK | Android Developers

    Test to see if you have added it to your path correctly by opening a command prompt and simply typing "adb" (without quotes), if it comes up a bunch of command info then it should be good.


    In a terminal window (linux) Command prompt (windows)
    Navigate to the folder you downloaded the (su and Superuser.apk) files into.

    * adb push su /system/bin/su

    * adb push Superuser.apk /system/app/Superuser.apk

    * adb shell "/system/bin/chmod 6755 /system/bin/su"

    * adb shell "/system/bin/chmod 644 /system/app/Superuser.apk"

    reboot phone to normal mode, open terminal emulator if you have it installed if not get it from market then open terminal window and type su if you get a # you have successfully gained root "superuser" access to your phone.

    Install Busybox:

    Note:(radar3d recommends again booting into recovery and mounting /system as done above)

    Note:(radar3d recommends again booting into recovery and mounting /system as done above)

    In a terminal window (linux) Command prompt (windows)
    Navigate to the folder you downloaded the busybox file into

    * adb push busybox /data/local/busybox

    Copies the busybox.zip file from your tools folder into the Local Data directory on your Droid.

    Reboot phone into normal mode and open terminal emulator

    $ su

    Connect as a “super user” to gain permissions for the following commands.

    # cd /data/local

    Change to the Local Data directory on your Droid.

    # /system/bin/chmod 755 busybox

    Changes the permissions to the busybox file so that anyone can read/execute but only the owner can
    write to it.

    # ./busybox

    Executes the Busybox shell script.

    # /system/bin/mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

    Readies the mtdblock4 and System filesystems.

    # mkdir /system/xbin

    Creates a new directory called “xbin” in the system filesystem.

    # /data/local/busybox cp /data/local/busybox /system/xbin

    Copies Busybox from the Local Data directory to the newly created xbin directory.

    # /data/local/busybox cp /data/local/busybox /system/bin

    Copies Busybox from the Local Data directory to the System Bin directory.

    # cd /system/xbin

    Change to the newly created xbin directory on your Droid.

    # busybox ––install .

    (Note: you need the . And there needs to be a space between “install” and the “.”)

    Installs and executes Busybox in xbin.

    # /system/bin/mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system

    Unmounts the mtdblock4 and System filesystems that are no longer in use.

    # sync

    Synchronizes all the aforementioned commands to the Droid.

    # reboot

    Reboots the Droid

    Busybox note from teddyearp:
    The second thing is that installing busybox doesn't take that many commands. The user should make sure that they have the straight busybox binary and then go ahead and just put it on their sdcard. Then follow the set of commands here for installing busybox:

    1. su (if this is the first time using this command, your phone will have a pop-up window asking for your permission, select yes and your prompt should change from a "$" to a "#", if not, you haven't done the root correctly, SO STOP RIGHT HERE!)
    2. mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    3. mkdir /system/xbin (I prefered to put busybox here, separate from the rest, but still in the $PATH on your phone)
    4. cd /system/xbin
    5. cat /sdcard/busybox > busybox
    6. chmod 755 busybox
    7. busybox --install. (the "." period is intentional, this is the command that makes it fully installed 'native')
    8. mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
    9. exit (at this point, your prompt should change back to a "$")
    10. busybox

    And after that last command, you should be presented with various info about busybox. If not, then you probably did something wrong, refer to my Introduction article. Now, for me, whether I was using a Terminal Emulator on my phone, or the adb shell on my computer and had seen that I had installed busybox successfully (per the info messages), I would enter the following commands:
    * su
    * reboot