[How-To] Back to Stock, no su, no BusyBox, etc.
This is a discussion on [How-To] Back to Stock, no su, no BusyBox, etc. within the Droid Hacks forums, part of the Droid Hacking category; Seen this over at alldroid. I take no credit. Thanks goes to Speeddymon @ alldroid
Thank You
*** UPDATED 01-08-2010 ***
Tested and works!
Safe ...
-
**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..
Last edited by mrZoSo; 03-24-2010 at 11:09 AM.
Reason: Updated
mrZoSo
-
-
I dont understand step 4...
Also, when you say 'stock' will I be back on 2.0.1? Or something older?
-
you should be back to 2.01.
-
He suggests restore factor y defaults, does this wipe your settings/info?
-

Originally Posted by
Shanged
He suggests restore factor y defaults, does this wipe your settings/info?
Yes. It will be as if you got a brand new droid.
-
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.
-
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
Last edited by mrZoSo; 01-05-2010 at 12:39 AM.
mrZoSo
-
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
-
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
-

Originally Posted by
doug piston
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
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By missin44 in forum Droid General Discussions
Replies: 13
Last Post: 03-23-2011, 08:36 AM
-
By tdawg5480 in forum Droid Hacks
Replies: 33
Last Post: 05-05-2010, 06:54 AM
-
By Vulcan1600 in forum Droid General Discussions
Replies: 111
Last Post: 01-20-2010, 01:06 PM
-
By swickdick in forum Droid Hacks
Replies: 20
Last Post: 12-28-2009, 04:30 PM
-
By tdawg5480 in forum Droid Hacks
Replies: 10
Last Post: 12-21-2009, 12:05 AM
Search tags for this page
android flash su
,
can't reboot into recovery mode and flash it to update su bi
,
droid 1 stock flash
,
droid x restore to stock
,
droidbr.zip
,
flash droid x back to stock
,
flash su binary
,
how to delete su binary
,
how to flash phone to update su binary
,
how to flash su binary
,
how to reboot into recovery mode and flash it to update your
,
how to remove su and busybox
,
how to remove su binary
,
how to update su binary
,
remove busybox adb
,
remove busybox android
,
remove busybox from android
,
restore droid to stock
,
update su binary
,
your su binary is outdated
Click on a term to search our site for related topics.