• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root RaidZero Recovery

GirLuvsDroid

Android Expert
I searched and did not find a thread, or even a mention, of this new recovery. The beauty of it is that it has SPRecovery's stability, but allows you to install update zip files without renaming, has the ability to install from folders (but it's a little more limited that CWR in that respect), restores either SPR or ClockworkMod Recovery backups, allows you to wipe all partitions (data, cache, boot, system, Dalvik cache), allows you to choose the colors you want, and allows charging while in recovery.

Oh, and did I mention that he makes it the easiest thing ever to flash the recovery, because you can do it by update zip. Then after you've finished flashing the update zip, you just reboot recovery and RZR is there!

There's more, but I'll let RZ speak for himself.

This is from RaidZero's thread: [Recovery] RZR SPR-based *update.zips-battery charging-more* - Droid Forum - Verizon Droid & the Motorola Droid Forum.

---------------------------------
*RZrecovery*:
-=Overclocked to 1.1ghz, LV kernel=-
-=Arbitrary update.zip selection (don't have to rename files to update.zip).=-
-=rom.tgz support (of course)=-
-=Unsigned update.zip support=-
-=ability to wipe any partition on the device (system, data, boot, cache, misc, dalvik-cache)=-
-=No automatic backup when installing a rom.tgz=-
-=Pretty colors
wink.gif
=-
-=Arbitrary kernel/recovery image install=-
-=Wipe battery statistics=-
-=Help menu=-
-=Battery charging!=-
-=clockwork nandroid restore=-
---------------------------------

wol_error.gif
This image has been resized. Click this bar to view the full image. The original image is sized 1009x169 and weights 14KB.
whychooserzr.png


Updated 01/24/11:
added ability to wipe dalvik-cache
added ability to restore clockwork backups


Background
So as you probably know, I love SPR for its rom.tgz support. I decided to dive into it and start modding it, so I got the source from DroidMod.

The first thing I did was install my custom overclock kernel to get SPR running at 1.1ghz, which greatly sped up my ROM install routine. Next, I changed the colors to blue instead of orange. Then I got rid of the automatic backup function when installing a rom.tgz. (For my ROM this makes sense since one of the features is on the fly themeing from recovery - metamorph style). After that I made it accept arbitrary update.zip's by giving the user a selection of update.zips on the sdcard to install. I verified that it would accept unsigned update.zips. After these changes I added some functions to install arbitrary kernel and recovery images from recovery, in img format. I believe a kernel and ramdisk should be united, as mine are made for each other. If you install an anykernel package it will extract yiour current ramdisk and put it with a new kernel. I don't like this, so I changed it (NOTE: you can still install anykernel updater kernel packages if you wish). I did the same thing for recovery images. Finally, as you might expect, I spend a as LOT of time in recovery. This is the big one, with help from trevorj of DroidMod, I enabled battery charging while in recovery. He sent me a version of SPRecovery that he had reworked to include battery charging. The only problem was it required all kinds of alien technology to run. I had to install a squashfs image on my sdcard that this version of SPR used and contained all the extra functionality that I did not need or want (wifi, ubifs, squashfs, kernel modules like crazy). I isolated what charged the battery and stuck it in my recovery image, which is just a single img file or SBF for ease of use. Without trevorj, none of the charging stuff would be possible.

Screenshots:
dancingDroid.gif

1.png
2.png
3.png


dancingDroid.gif

4.png
5.png
6.png

dancingDroid.gif

7.png
8.png
9.png

dancingDroid.gif

10.png
11.png
12.png

dancingDroid.gif

action shots:
My Droid charging:
action2.jpg

TanknSpank's Droid charging:
action1.jpg


Downloads

UPDATE.ZIP: http://www.rzroms.com/droid/recovery/RZR-0.1.7/RZR-0.1.7-update.zip
(May be flashed from SPR/RZR/CWM)
No terminal action is necessary, nor is RSD lite. Simply flash the update.zip like anything else.

Donate
If you would like to do more than just say thanks, feel free to donate. Of course it is not required. Donations are also a great way to help my wife see that this stuff is not a waste of time
wink.gif
Actually, she is very supportive but a little extra encouragement never hurts.
https://www.paypal.com/cgi-bin/websc...ton_id=7397475

Disclaimer:
I do this for fun, make no guarantees and accept no responsibility for anything you do with my files.

Credits:
Again, I have to say this could NOT have happened without trevorj of DroidMod. The whole charging concept and execution was his idea. These are my files from my ROM but I would have no idea which ones I needed to get if it weren't for Trevor already doing this eight months ago. The script that launches and monitors the battery daemon was originally written by him, modified by me to fit into my recovery image.
Tim-o-tato, pandroid, tanknspank, thizzmark for testing and encouragement. cvpcs also gave me some ideas, which will be impletemented in his own way when RCR is released. For now, enjoy RZR!

---------------------------------
 
I want to try this because I suspect that other recoveries' format/factory reset operations aren't really wiping everything. So I think I'll install RZR, try the full wipe, and then reinstall a ROM.

I'll report when I'm done.
 
Okay, I can confirm that RZR can do a COMPLETE wipe of all phone data, not just a simple factory reset. Meaning that once the wipe is accomplished, there's no ROM left and you can't boot the phone again (except into bootloader/recovery) until you flash a ROM again.

This is something I've been wanting for a while. I'm fairly certain that factory resets still leave some detritus behind, but now it looks like I can finally scrub my phone clean after 50+ ROM installs. Now to flash SS4.9.

Thanks for this!
 
Factory resets only do /data and /cache, if I recall correctly. Even ClockworkMod Recovery was able to also wipe /boot and /system.
 
Factory resets only do /data and /cache, if I recall correctly. Even ClockworkMod Recovery was able to also wipe /boot and /system.

I tried that once and it didn't actually wipe the OS off the phone, so I assume it was just wiping the non-essential, post-install data from the boot and system partitions.
 
If wiping all four of those things doesn't remove the OS, you're definitely doing something wrong. As the name implies, pretty much all of Android is stored in /system.
 
I also don't believe that RZR is necessarily superior to CWR in the thoroughness of the wiping/formatting of partitions. But the Wipe All option is pretty awesome -- one click to wipe data/cache/system/boot/misc/Dalvik cache/battery stats. Now that's nice. And there are a number of options that neither SPR nor CWR has, and it's faster than CWR.

Another nice little feature is that when you wipe individual patitions, it tells you which partition it is in the confirmation screen before you select it -- no more accidentally wiping a partition that you don't mean to wipe, or backing out to the parent menu to see which partition you actually selected.
 
Question, what happens if an OTA tries to install itself and you have this?
I know SPRecovery blocked it.
 
so it restores either clockwork or spr backups... can only it restore the backups that it makes? if so thats kind of a deal breaker... i think id like all my backups to be the same.
 
so it restores either clockwork or spr backups... can only it restore the backups that it makes? if so thats kind of a deal breaker... i think id like all my backups to be the same.

Saying that it restores either ClockworkMod or SPRecovery backups means that it restores any backups made by ClockworkMod or SPRecovery (and, of course, it also restores backups made by it, which are in the same format as SPRecovery backups). These are not mutually exclusive -- it restores any and all of those backups. I have personally verified that it will restore backups made by ClockworkMod through ROM Manager.
 
Saying that it restores either ClockworkMod or SPRecovery backups means that it restores any backups made by ClockworkMod or SPRecovery (and, of course, it also restores backups made by it, which are in the same format as SPRecovery backups). These are not mutually exclusive -- it restores any and all of those backups. I have personally verified that it will restore backups made by ClockworkMod through ROM Manager.

i got that part... my question is this: say i make a backup with it,and something happens that i cannot use it to restore the backup.

from your statement sounds like i can use SPR to restore the backup made by raidzero. how bout clockwork? will it restore a raidzero backup?
 
i got that part... my question is this: say i make a backup with it,and something happens that i cannot use it to restore the backup.

from your statement sounds like i can use SPR to restore the backup made by raidzero. how bout clockwork? will it restore a raidzero backup?

No. ClockworkMod only restores backups made with ClockworkMod.
 
Thanks for the link. I like the wipe feature on this. I usually wipe when switching back and forth between saved roms so this is very convienent. I also like the Rom a lot. Smooth as butter. I just can't get used to the transitions on the blue themed rom. Had to turn them off, they give me a headache (what doesn't?)
 
RZR version 0.1.8 is now on RZ's FTP site. According to RZ (I'm quoting him), the changes from 0.1.7 to 0.1.8 are:

"ROM-rooter" (w/ flash recovery service disabler) added
Clockwork nandroid restore preserves root access.
Custom RGB code entry for colors
Fixed update.zip routine
Flashlight (lol - I really just wanted to see if it could be done, and it can; though I only see it coming in handy if you break your ROM and can only boot into recovery, and then at the same time your city goes into a blackout...)
__________________

UPDATE: v0.1.8 is now released in the RZRecovery OP: http://www.droidforums.net/forum/ra...-based-update-zips-battery-charging-more.html.
 
Flashlight (lol - I really just wanted to see if it could be done, and it can; though I only see it coming in handy if you break your ROM and can only boot into recovery, and then at the same time your city goes into a blackout...)
__________________[/QUOTE]

That's awesome. Gonna flash this now!
 
So far so good with me, though restoring a CWRecovery backup is terribly sloooww, and even the reboot into android afterwards hung so long, I did a battery pull. Otherwise, this has some pretty good promise as it is quite fast in most every other way. Oh yeah, I had my phone plugged into my pc and tried the power off function in RZR and the phone powered off, stayed off, yet kept on charging.
 
anyone know what folder RZR is storing its backup files in? i like to keep backups of backups on my computer,just in case :)
 
*smacks forehead" doh! there it is. i coulda sworn id looked in nandroid(thats also where my eris stored backups using amon_ra) but maybe not. :o

i have been using clockwork to make backups,wich are obviosuly under clockworkmod/backup.

thanks for pointing out what should have been obvious :)
 
Thanks for this one GLD!!! Been using it for a week now and love it!!! Going to be moving on to the Thunderbolt soon and I'm going to miss most of the community here, my OG Droid is going to the wife though so it will still live on.

Hope to see you get a Thunderbolt GLD you are one of the best parts of these forums!
 
Thanks for this one GLD!!! Been using it for a week now and love it!!! Going to be moving on to the Thunderbolt soon and I'm going to miss most of the community here, my OG Droid is going to the wife though so it will still live on.

Hope to see you get a Thunderbolt GLD you are one of the best parts of these forums!


Awwwwww, thanks ska.t!! We'll miss you!! :(

But have a great time with your Thunderbolt and let us know what you think of it!
 
RZR version 2 released:

RZR 2.0 Released!
Overview
---------------------------------
*RZrecovery*:
-=Overclocked to 1.1ghz, LV kernel w/ custom overclock settings=-
-=Arbitrary update.zip selection (with folders) (don't have to rename files to update.zip).=-
-=rom.tgz support (of course)=-
-=Unsigned update.zip support=-
-=ability to wipe system, data, boot, dalvik-cache-
-=No automatic backup when installing a rom.tgz=-
-=Pretty colors
wink.gif
=-
-=Arbitrary kernel/recovery image install=-
-=update.zip from folder support (/sdcard/updates)=-
-=Wipe battery statistics=-
-=Battery charging!=-
-=clockwork nandroid restore=-
-=Ability to root any ROM=-
-=11 predefined colors + RGB color selection=-
-=Hold space while selecting update.zip/rom.tgz to auto backup=-
-=preinstall update.zip menu=-
-=battery status (charging status and charge level) display=-
-=Flashlight (just for fun)=-
-=android_secure nandroid / wipe support=-
---------------------------------

Now you can install update zip files of any name, from any folder on your sd card. [Recovery] RZR SPR-based *update.zips-battery charging-more* - Droid Forum - Verizon Droid & the Motorola Droid Forum


You should try his kernels, too -- really nice, cool-running kernels with all modules. [KERNELS] Low Voltage 2.6.32.9 - Droid Forum - Verizon Droid & the Motorola Droid Forum.
 
Back
Top Bottom