Android OS Forum banner

[RECOVERY] ClockworkMod Recovery (v. 5.0.2.7)

78K views 74 replies 36 participants last post by  billylee258  
#1 · (Edited by Moderator)
Here it is guys, after much blood, sweat, and tears... late nights and soft-bricked phones....

ClockworkMod Recovery 5.0.2.7
Image


<standard disclaimer> Remember: You use this at your OWN risk. If you are not sure what you are doing, or don't know what to do in the event of a problem, don't try it. I am not responsible if you mess up your phone while flashing this or using the program to flash something else. As with the rooted kernel, this WILL void your warranty. </standard disclaimer>

Flash this using heimdall (or odin if you know how) like you would any other image, using the command:

Code:
heimdall flash --recovery cwm5_recovery.bin
(If you need help setting up heimdall, please reference the rooting guide here.)

Let me know if anyone has any issues with this recovery, or come across any weird behavior. I will admit I had to do some pretty clever hacking in order to get this to work right. (Stupid cache partition!) I can verify that nandroid backup, restore, selective restore, data wipe, and flashing update zips work. Also, since this is part of the 5.x version of CWM, Titanium Backup Pro (the paid version) can restore apps from images made from this recovery.

Booting to Recovery:
Currently, the only two ways I can do it is with
Code:
adb reboot recovery
or holding Vol Up + Vol Down + Power when powering on.

Controls for Navigation:
Vol Up/Menu => Up
Vol Down/Home => Down
Back => Back
Power/Search => Enter

Thanks goes to dalladub, dennis, and demoman (am I missing anyone) for helping me test my recoveries as I built them, and to imnuts for providing the binaries I needed to get this all going!
Image


Download Recovery Image (md5: 6efa51bd06f77adf125ae4e1df09cfad)
 
#2 · (Edited by Moderator)
KNOWN ISSUES:
  • If you have too many apps installed and not enough extra room on the sd card, then the recovery has been known to fail during backup.

    I am still trying to figure out why this is. So, if you are backing up and the phone reboots itself, you have this issue. When it happened to me, I had 1GB worth of installed apps, and I removed some down to 500MB, and then it worked. I also tried a clean 32GB sd card in it with the 1GB of apps and it worked too, so I am not sure if there is some kind of spooling being done somewhere on the card or what. I will be investigating this as I learn to recompile the recovery from source and get some better insight as to what is going on.
 
#4 ·
If you install terminal emulator you should technically be able to type in "reboot recovery" and it should reboot to the recovery image. Once we get some devs to cook up some roms it can also be integrated into the the reboot script to allow a reboot to recovery. Just some thoughts. If I could find some decent tutorials I would even be willing to try to build some custom roms but unfortunately I dont have access to this phone to play around with all the time.
 
#5 ·
Wow awesome work guys! I really hope now that the nexus is out light will be shed on the RIL. I need AOSP!

Booting to Recovery:
Currently, the only way I can do it is with
Code:
adb reboot recovery
If anyone knows how to boot into recovery without using adb, please let me know. I've personally tried the battery pull method, Vol Up + Vol Down, Vol Up + Home, and Vol Up + Vol Down + X and none of them work for me.
Image
I have not yet installed this recovery. Vol Up + Vol Down + Power boots into the stock recovery for me. You must be sure to release the power key as soon as you see the samsung logo! otherwise it reboots again into the OS if you hold power too long! Then release vol up/down when you see the recovery start up. Hope this helps. Can others confirm this and say what recovery you are running?
 
#6 ·
I have not yet installed this recovery. Vol Up + Vol Down + Power boots into the stock recovery for me. You must be sure to release the power key as soon as you see the samsung logo! otherwise it reboots again into the OS if you hold power too long! Then release vol up/down when you see the recovery start up. Hope this helps. Can others confirm this and say what recovery you are running?
I just tried it again, and it did not work for me. :-(
 
#11 ·
Recovery is.bugging.out every now and then not letting me use the search button to select. It seems to happen after "back button disabled" shows nothing rebooting into recovery won't fix but kinda annoying I guess I'll try and run logcat while in recovery to see if I can get you some more info. Anyone else experiencing this?

Sent from my SCH-I400 using Tapatalk
 
#12 ·
Actually, its not bugging out, it seems to be some feature that is added to it. Again, I don't know why... even more reason for me to rebuild this thing from the actual source when I get more time.

I noticed it does this when you press up and down alot in rapid succession, especially wrapping from the bottom of the list back to the top (like pressing down at the last option to go to the top and up at the top to go to the bottom)... if you keep doing this, it will disable, re-enable, disable, re-enable (printing a message each time). I didn't mention this cause I didn't think anyone else would come across it.
 
#13 ·
The back button disabled has long been in CWM....I remeber it being there when I was using my Nexus One. It was there because originally there was not a **GO BACK** option you used the back button. But not all phones load the soft keys so they added a way to get the go back option. IIRC

Sent from my SCH-I405 using Tapatalk
 
#14 ·
Right I knew it was there but once it shows up I can't select anything or "press enter" like I said tho its not a big deal just wanted to make sure you were aware and I do tend to cycle from bottom to top and top to bottom, no worries its all good
Image
just glad it does backup, restore and flashing

Sent from my SCH-I400 using Tapatalk
 
#15 ·
Just installed. Love the logo
Image
. VU+VD+Pwr still works. I see that you updated the first post. You might want to mention that you should release the power key as soon as you see the samsung logo or else it will reboot again and go into the OS.

With a working recovery, could converting to ext4 be possible? I am going to start researching that and try to get my hands dirty but just wondering if that is a dead end right now.
 
#19 ·
I'm waiting to see what the Droid 4 price will be with 2 year contract before I make the jump to root and recovery. I'm paying close attention to this forum as it seems rootzwiki is the only place that really cares about development for the Strat. Should I decide to stick with the Strat I plan to throw some donation money towards you, Knight. Hopefully you can help bring us some ROMs since you scored on the recovery, I miss cm7. I'm sure I'm not the only one holding my breath and spamming refresh. Thank you for your determination.
 
#22 · (Edited by Moderator)
nagmier said:
Just so you know the trend with "high profile" phones on VzW is 299, Rezound, Razr, Nexus all 299... so I'm betting it will be 299 as well
Ya, I figure if they drop it at 199 then I'll probably get it but if its 299 then I'll just keep my Strat. With the extended return policy I'm just gonna wait and see before flagging my bootloader, probably wait until we have a .sbf anyway.
 
#23 ·
  1. I can confirm that Widgetsoid does reboot into recovery if you choose that option. Certainly a lot easier than playing the multiple button game.
 
#28 ·
I can't get this work tried on windows x64 and x32 with no luck. It gives me error 12 libusb everytime before it flashes. I installed the latest heimdall and odin and they both recoginzed the phone when identified but wont install. Too bad this isn't up on Rom manager for the stratosphere but until then can someone help me get recovery for the stratosphere.
 
#29 ·
You need heimdall drivers......look up how to use heimdall. I did it a while ago and don't remember sorry. I know it comes with the program to install it. Basicly you get the vendor id and the device id and plug them into this program that is with heimdall and it makes it so heimdall can work with the phone in download mode.

Sent from my SCH-I405 using Tapatalk
 
#31 · (Edited by Moderator)
So I rooted my phone, and waited a couple days to make sure it seemed ok. And it did seem fine, so I went ahead and installed the recovery last night. It all went well, and everything seemed fine (took a good ten minutes to do a nandroid backup, though.) Plugged the phone in last night, left it on, and when I woke up, it was stuck in a bootloop. I went in fixed permissions, bootloop. Cleared caches, bootloop. Had to clear data/factory reset and that got me back in. Didn't lose root, but I had to redownload TB, refreeze and restore apps.

edit: aaargh, it happened again, but a battery pull got me back.