Motorola Droid Forum Logo
Motorola Droid Forum Logo - Right

[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 ...

Navigation Navigation » Droid Forum - Verizon Droid & the Motorola Droid Forum > Droid Hacking > Droid Hacks » [How-To] Back to Stock, no su, no BusyBox, etc.

Droid Hacks Discussions on hacking and rooting Android Phones. Unofficial DROID hacks belong in here.

Reply
 
LinkBack Thread Tools Display Modes
Old 01-04-2010, 08:10 PM   #1
Master Droid
 
mrZoSo's Avatar
 
Member #13807
Join Date: Dec 2009
Location: GA from Philly PA
Posts: 386
Phone: Moto Droid & Droid X
**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 10:09 AM. Reason: Updated
mrZoSo is offline   Reply With Quote
Old 01-04-2010, 09:51 PM   #2
dezidez87
Guest
 
dezidez87's Avatar
 
Member #
Posts: n/a
I dont understand step 4...
Also, when you say 'stock' will I be back on 2.0.1? Or something older?
  Reply With Quote
Old 01-04-2010, 10:00 PM   #3
Droid
 
freddroidhead's Avatar
 
Member #18067
Join Date: Dec 2009
Location: Akron, OH.
Posts: 43
Phone: On my 2nd Motorola Droid :)
you should be back to 2.01.
freddroidhead is offline   Reply With Quote
Old 01-04-2010, 10:16 PM   #4
Droid
 
Shanged's Avatar
 
Member #15761
Join Date: Dec 2009
Posts: 62
Phone: Droid
He suggests restore factor y defaults, does this wipe your settings/info?
Shanged is offline   Reply With Quote
Old 01-04-2010, 10:17 PM   #5
Banned
 
RAWR IM A DROID RAWR's Avatar
 
Member #21318
Join Date: Dec 2009
Posts: 31
Phone: RAWR DROID RAWR
Originally Posted by Shanged View Post
He suggests restore factor y defaults, does this wipe your settings/info?
Yes. It will be as if you got a brand new droid.
RAWR IM A DROID RAWR is offline   Reply With Quote
Old 01-04-2010, 10:22 PM   #6
Junior Droid
 
E.1999's Avatar
 
Member #23502
Join Date: Jan 2010
Posts: 17
Phone: Enter Current Phone Here
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.
E.1999 is offline   Reply With Quote
Old 01-04-2010, 11:29 PM   #7
Master Droid
 
mrZoSo's Avatar
 
Member #13807
Join Date: Dec 2009
Location: GA from Philly PA
Posts: 386
Phone: Moto Droid & Droid X
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-04-2010 at 11:39 PM.
mrZoSo is offline   Reply With Quote
Old 01-05-2010, 02:00 PM   #8
Master Droid
 
doug piston's Avatar
 
Member #17066
Join Date: Dec 2009
Posts: 562
Phone: Dinc Dinc
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
doug piston is online now   Reply With Quote
Old 01-05-2010, 07:06 PM   #9
Droid Newbie
 
thegift_curse's Avatar
 
Member #22480
Join Date: Jan 2010
Location: Philadelphia
Posts: 1
Phone: Motorola Droid
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
thegift_curse is offline   Reply With Quote
Old 01-05-2010, 09:02 PM   #10
Senior Droid
 
zathus's Avatar
 
Member #15207
Join Date: Dec 2009
Location: El cajon Ca
Posts: 179
Phone: Droid
Originally Posted by doug piston View Post
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.
zathus is offline   Reply With Quote
Reply



Lower Navigation
Go Back   Droid Forum - Verizon Droid & the Motorola Droid Forum > Droid Hacking > Droid Hacks

Divider
Droid Accessories Store


Visitors found this page by searching for these keywords:

stock droid recovery

,

droidbr.zip

,

remove busybox android

,

DROID X BACK TO STOCK

,

droid x back to stock

,

flash back droid x

,

back to stock

,
droid x flash back to stock rom
,
removing xbin droid x
,
droid re-flash the Stock ROM
,
Offical 2.1
,
restore droid x back to stock 2.1
,
moto droid restore to 2.1
,
how to flash stock rom droid x
,
flash stock rom droid x
,
moto droid remove busybox
,
how to flash stock droid recovery
,
clockworkmod recovery back to stock info
,
droid forums back to stock no su no busy box
,
restore my droid x to 2.1 from 2.2
,
To test root type "su" into a terminal. You should get a "#"
,
droid x stock operating system download
,
flash droid x back to factory
,
how to remove busybox from your phone
,
droid X flash back to stock

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
busybox install help plz tdawg5480 Droid Hacks 33 05-05-2010 05:54 AM
Made Dolphin my default browser, how can i switch back to stock? missin44 Droid General Discussions 8 02-15-2010 09:50 PM
Back to Stock Home Screen - anyone else? Vulcan1600 Droid General Discussions 111 01-20-2010 12:06 PM
Busybox help ? swickdick Droid Hacks 20 12-28-2009 03:30 PM
Noobie all in one busybox, flash_image, and more app tdawg5480 Droid Hacks 10 12-20-2009 11:05 PM