1. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

[How-To] Back to Stock, no su, no BusyBox, etc.

Discussion in 'Android Hacks and Help' started by mrZoSo, Jan 4, 2010.

  1. mrZoSo
    Offline

    mrZoSo New Member

    Joined:
    Dec 9, 2009
    Messages:
    412
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    GA from Philly PA
    **UPDATED** [How-To] Back to Stock, no su, no BusyBox, etc.

    Seen this over at alldroid. I take no credit. Thanks goes to Speeddymon @ alldroid
    Thank You

    *** UPDATED 01-08-2010 ***
    Tested and works!


    Safe for 2.1, thanks to http://www.sholes.info!


    Idiot's guide to getting back to stock:

    Plug your phone into the computer and mount your sdcard so you can see it in your Operating System on the computer (turn on USB storage).

    Download droidbr.zip (mirror 1) (mirror 2) and unzip it. Copy the boot.img and recovery.img to your sdcard.

    Download virginoem-backup.zip (mirror 1) (mirror 2) and unzip it. Copy the virginoem-backup folder to the nandroid folder on the sdcard.


    Safely remove the card from your Operating System (Right click on the drive and hit Eject for you Windows users)

    Turn off USB storage on the phone now

    Reboot into recovery
    Pick Backup/Restore > Advanced Nandroid Restore > Backup
    Select the virginoem-backup

    Your screen will jump back to the previosu screen, but you should now see virginoem-backup as such:

    Choose an option or press POWER to return
    prefix:
    virginoem-backup


    Select Perform restore
    When it's finished, select Reboot system now
    .

    At this point the phone should be running 2.0.1 and you should have to sign in.
    Open terminal or an ADB shell(don't forget to have USB debugging enabled)

    Copy and paste the following if using an ADB shell, or type it all in if using a terminal emulator on the phone:
    (if using adb shell, don't forget to put phone in USB debugging mode)

    su
    flash_image recovery /sdcard/recovery.img
    flash_image boot /sdcard/boot.img



    Reboot into recovery (press x on the physical k/b + power button) and verify that you have to press Vol+ and Camera at the /!\ screen, to be able to get to the menu.
    If the nandroid recovery menu comes up, you'll need to try the above steps again.

    If it is the stock recovery, reboot

    Once you are back in the OS, you still have root and busybox installed, because the nandroid backup you restored has those.

    So the next step is to either open a terminal on the phone or go into ADB shell and run the following commands:


    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    rm /system/bin/busybox
    rm /system/xbin/busybox
    rm /system/app/Superuser.apk
    mv /system/recovery-from-boot.old /system/recovery-from-boot.p


    restart phone

    From there you still have su left, and you have 2 options for getting rid of it.

    A) Since you are already root, just run rm /system/bin/su .. I personally don't like this option because the phone by default has a su binary that just doesnt allow you access.
    After you do the above do this:

    mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot


    B)- (prefered method)
    Download the official 2.0.1 update, which will replace the 2.0.1 su binary.
    Rename it to update.zip
    Copy it to sdcard
    Reboot phone in to recovery(hold x + power button), at the /!\ hold the volume+ and camera button.
    Select apply sdcard:update.zip, you might see an error but it should complete.
    Reboot when finished.



    Once you are done with all of that you are back at a stock image.
    To test if su is gone, download Android Terminal Emulator and do an su, you should get a permission denied response.

    If you want to take an extra step, which isn't really needed, do a factory reset.

    Now go download at least a couple of the apps you use so your phone looks like it's actually been used.. :icon_ banana:
  2. dezidez87
    Online

    dezidez87 Guest

    I dont understand step 4...
    Also, when you say 'stock' will I be back on 2.0.1? Or something older?
  3. freddroidhead
    Offline

    freddroidhead New Member

    Joined:
    Dec 21, 2009
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Akron, OH.
    you should be back to 2.01.
  4. Shanged
    Offline

    Shanged New Member

    Joined:
    Dec 15, 2009
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    0
    He suggests restore factor y defaults, does this wipe your settings/info?
  5. RAWR IM A DROID RAWR
    Online

    RAWR IM A DROID RAWR Guest

    Yes. It will be as if you got a brand new droid.
  6. E.1999
    Offline

    E.1999 New Member

    Joined:
    Jan 4, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    ok so i do the "Open terminal, type flash_image recovery /sdcard/recovery.img
    " using terminal and it say delete img file after successful flash..so i reboot into recovery (by holding x and power after i power the phone off" and its still the nandroid recovery...did i miss something.
  7. mrZoSo
    Offline

    mrZoSo New Member

    Joined:
    Dec 9, 2009
    Messages:
    412
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    GA from Philly PA
    Did you extract the recovery.img from droidbr.zip, and put it on your sdcard?

    Make sure your root too,,,do an su first, also don't be in recovery mode.


    su
    flash_image recovery /sdcard/recovery.img
  8. doug piston
    Offline

    doug piston Premium Member Premium Member

    Joined:
    Dec 19, 2009
    Messages:
    1,203
    Likes Received:
    4
    Trophy Points:
    0
    Open terminal, type flash_image recovery /sdcard/recovery.img



    im still very very new. what is this reminal you speak of? want ot go all back to stock for the offical 2.1
  9. thegift_curse
    Offline

    thegift_curse New Member

    Joined:
    Jan 2, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Philadelphia
    I'm thinking of doing this, looks like all I'd need to do would be just backup my apps and contacts. But the phone will still be activated with Verizon right? haha
  10. zathus
    Offline

    zathus New Member

    Joined:
    Dec 13, 2009
    Messages:
    243
    Likes Received:
    8
    Trophy Points:
    0
    Location:
    El cajon Ca

    Terminal Emulator. found on the market. download it, open it up and type su .... just su nothing else, if it shows a # your rooted. then follow the instructions listed above. if it doesnt show a # your not rooted.
  11. mrZoSo
    Offline

    mrZoSo New Member

    Joined:
    Dec 9, 2009
    Messages:
    412
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    GA from Philly PA
    The original author is working on a newer and improved way to do this, so I would hold off a bit for now. When he's finished I'll update the OP.
  12. pjmurphy77
    Offline

    pjmurphy77 New Member

    Joined:
    Dec 7, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Everything was going smooth until I was applying the update.zip from my SD card. Installation aborted.. ?
  13. JimmySVT
    Offline

    JimmySVT New Member

    Joined:
    Dec 20, 2009
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    0
    yup same as you pjmurphy77 update aborted
  14. pjmurphy77
    Offline

    pjmurphy77 New Member

    Joined:
    Dec 7, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    and since I did the SU flash per the instructions, I cannot get back to the rooted recovery mode so I am kinda stuck now?!
  15. Sooks
    Offline

    Sooks New Member

    Joined:
    Dec 17, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Ok so i have done this many many times , and still have root and su , so im not sure whats going on , i am off 2.1 and back to 2.01 but still have as said. so idk any advice ? need to bring my phone back to verizon as my mic has stopped working and cant bring it back rooted and with su on it.

    EDIT : after another reboot , i no longer have root , but still have su icon ... any ideas ?
  16. Droidlicous
    Online

    Droidlicous Guest

    Ok, so I typed SU and no # but I still have superuser so I need to get rid of that and to get it to update OTA, help would be appreciated!
  17. JimmySVT
    Offline

    JimmySVT New Member

    Joined:
    Dec 20, 2009
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    0
    yeah so anyone come up with a fix for this yet?
  18. mrZoSo
    Offline

    mrZoSo New Member

    Joined:
    Dec 9, 2009
    Messages:
    412
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    GA from Philly PA
    First post has been updated ;)
  19. hajabooja
    Offline

    hajabooja New Member

    Joined:
    Nov 30, 2009
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    0
    Just for reference has anyone done this (with the newly updated 01/06/10 guide) and had no problems? Just nice to have this quick reference. Thanks
  20. mrZoSo
    Offline

    mrZoSo New Member

    Joined:
    Dec 9, 2009
    Messages:
    412
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    GA from Philly PA
    OK, I just tried it and it works like a charm!
    I made some edits to hopefully make it a little clearer for some.

    End result = Like I just unboxed the phone
Search tags for this page
busybox uninstaller
,

droidbr.zip

,
how can i restore the original busybox in android
,
how remove busybox completely
,
how to delete busybox on android
,
how to remove busybox
,

how to remove busybox binary

,
how to remove busybox from android
,
how to remove busybox restore default
,
how to remove su binary
,
how to uninstall busybox
,
how to uninstall busybox android
,
restore busybox
,
stock os with root access and su binary
,
su and busybox removal