Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,164 Members 49,808 Now Online
XDA Developers Android and Mobile Development Forum

[Recovery] ClockworkMod Recovery flashable from bootloader

Tip us?
 
Absolute_Zero
Old
(Last edited by Absolute_Zero; 1st February 2012 at 04:46 PM.)
#1  
Absolute_Zero's Avatar
Senior Member - OP
Thanks Meter 119
Posts: 412
Join Date: Aug 2010
Location: DC
Default [Recovery] ClockworkMod Recovery flashable from bootloader

Someone asked if it was possible to flash ClockworkMod Recovery through hboot instead of using RomManager. The answer...yes.

Primary reason something of this nature may be useful, as I see it, is if your recovery is damaged, your ROM is bootlooping, and you don't want to use or have access to ADB.
In that case you would:
  1. remove your sdcard from your phone
  2. place the zip on the root of the sdcard (using an adapter or another phone) and make sure it is named the appropriate "PG05IMG.zip"
  3. place the sdcard back in your phone
  4. boot to bootloader as if you're installing a radio (power+VolDown from powerOff). It will then find the zip, recognize it as recovery and ask if you want to install (if it does not prompt then select "Bootloader" from hboot).
  5. Follow the instructions and after it finishes flashing pull your battery to power off (since the ROM will be bootlooping and hboot will constantly find the zip)
  6. Now remove the sdcard and delete the zip (via adapter or other phone) like you did to put it on the sdcard, then place the card back in the phone.
  7. Boot back to bootloader (Pwr+VolDwn)
  8. Select "Recovery" and use CWR to wipe data/cache, flash a new rom, restore, or whatever you wish.

Obviously not the only reason since some people prefer this method over RM but clearly in that case the whole sdcard switching mess is unnecessary. Just do steps 2 and 4 and reboot when prompted like you do with radios.
Remember to remove any PGO5IMG.zip from your sdcard when done.

If this isn't useful to you, so be it. I just figured I'd throw this out there. Maybe it will help someone.

I will keep this updated as new versions come out for those few that find it useful.

**Credit to Koush and jcase**
All I did was decide to throw them in a zip that was useful in some situations for panicking users.

Updates
8/9/2011: Added latest official stable for mecha (4.0.1.5) released 8/8/2011.
8/30/2011: Added latest official stable for mecha (5.0.0.1) released less than an hour ago. Added mirror.
8/31/2011: Added latest official stable for mecha (5.0.0.8)
9/1/2011: Added latest official stable for mecha (5.0.1.0)
9/5/2011: Added latest official stable for mecha (5.0.2.1)
2/1/2012: Added touch based CWR released this morning (5.8.0.2) *NOTE: Have not personally tested.


If any of these cause problems please let me know immediately.

Latest Official=5.0.2.1
jcase modded=4.0.0.5

Mirror: http://www.mediafire.com/?9zt68cegl6qa3

MD5:
66750618ecfba292c0b0e42c50c2c3ee - (CWR3.1.0.2)PG05IMG.zip
1f390edad7e87310fe80b3264a57b14b - (CWR4.0.0.5)PG05IMG.zip
6aac529cedcd2b22afac7391a4cb7efb - (CWR4.0.1.5)PG05IMG.zip
bf25b2601441b9fffb7d68954c4ff3b5 - (CWR5.0.0.1)PG05IMG.zip
dfe1ddf0c574977ee2c1828735ef2dc0 - (CWR5.0.0.8)PG05IMG.zip
8474c8d607177b0144eec624dea687b7 - (CWR5.0.1.0)PG05IMG.zip
c4c1d9c5e553fd7b151352551b931369 - (CWR5.0.2.1)PG05IMG.zip
58557e1e355c795d748c2e6c66251f0a - (CWR5.8.0.2)PG05IMG.zip
Current:
SGN (toro) - CM10 Nightlies
Thunderbolt - CM7.1.1, 906w, custom theme
Droid - CM7 #174
Antiquated:
HTC Touch Pro - Calkulin 6.5
LG Voyager

1) I have a question that apparently noone has asked since I cannot find the answer. What do I do?
2) How-to: Ask a question

GApps || CWR || Stock CM7 Kerns
The Following 29 Users Say Thank You to Absolute_Zero For This Useful Post: [ Click to Expand ]
 
DroidTh3ory
Old
#2  
Account currently disabled
Thanks Meter 2,105
Posts: 3,859
Join Date: Dec 2010
Location: Troy, Michigan

 
DONATE TO ME
Quote:
Originally Posted by Absolute_Zero View Post
Someone asked if it was possible to flash ClockworkMod Recovery through hboot instead of using RomManager. I didn't see the need at the time but I took a few minutes to throw together a test. Let me know if it works for you or not.

I tested flashing the stock recovery from the custom firmware, confirmed it had replaced CWR, then used this to install CWR back.

Primary reason something of this nature may be useful, as I see it, is if your recovery is damaged, your ROM is bootlooping, and you don't want or have access to ADB. In that case you would just pull your sdcard, place this on the root (via adapter or someone else's phone) named the appropriate "PG05IMG.zip", place back in your phone, and boot to bootloader as if you're installing a radio. It should then find it, recognize it as recovery and ask if you want to install.

Additionally, seems if it is as easy as swapping the .img out which is all I did, then the original custom upgrade firmware flashed in the last step of the root guide could include this. Then you'd have CWR immediately after finishing the permaroot guide.

If this doesn't work and doesn't have any use for anyone, so be it. I just figured I'd throw this out there.

BTW, this is ClockworkMod Recovery 3.1.0.2 (latest for mecha at time of posting).

Note1: Only tested on Engr hboot with S-off obviously
Note2: I don't have access to an MD5 generator where I am so people that test this should have a booting ROM with RomManager or at least know how to manually reflash ClockworkMod Recovery if it doesn't work.
Good work.on this... A LOT of people are going enjoy it!! It is also a great way to install the modded 4.0.0.5 Clockwork with the boot to bootloader option.

I always had to "flash recovery" in adb.

Props!!

Sent from my ADR6400L using XDA App
 
PaulG1488
Old
#3  
PaulG1488's Avatar
Senior Member
Thanks Meter 294
Posts: 999
Join Date: Jun 2009
good post will definitely come in hand props
 
Sword.Zero
Old
#4  
Senior Member
Thanks Meter 22
Posts: 161
Join Date: Aug 2010
Quote:
Originally Posted by DroidTh3ory View Post
Good work.on this... A LOT of people are going enjoy it!! It is also a great way to install the modded 4.0.0.5 Clockwork with the boot to bootloader option.

I always had to "flash recovery" in adb.

Props!!

Sent from my ADR6400L using XDA App
There's a modded 4.0.0.5 CWM Recovery out there?? Where can I find the post for this ?
 
Absolute_Zero
Old
#5  
Absolute_Zero's Avatar
Senior Member - OP
Thanks Meter 119
Posts: 412
Join Date: Aug 2010
Location: DC
Quote:
Originally Posted by Sword.Zero View Post
There's a modded 4.0.0.5 CWM Recovery out there?? Where can I find the post for this ?
Post a link to it and I'll make one when I get home. That way I can test again. Hopefully the modded one you speak of is fully stable and functional.
Current:
SGN (toro) - CM10 Nightlies
Thunderbolt - CM7.1.1, 906w, custom theme
Droid - CM7 #174
Antiquated:
HTC Touch Pro - Calkulin 6.5
LG Voyager

1) I have a question that apparently noone has asked since I cannot find the answer. What do I do?
2) How-to: Ask a question

GApps || CWR || Stock CM7 Kerns
The Following User Says Thank You to Absolute_Zero For This Useful Post: [ Click to Expand ]
 
DroidTh3ory
Old
#6  
Account currently disabled
Thanks Meter 2,105
Posts: 3,859
Join Date: Dec 2010
Location: Troy, Michigan

 
DONATE TO ME
Quote:
Originally Posted by Absolute_Zero View Post
Post a link to it and I'll make one when I get home. That way I can test again. Hopefully the modded one you speak of is fully stable and functional.
Here is your package with the 4.0.0.5 Modded Recovery ready to flash in HBOOT.

JCASE created the Recovery, so him the love for it. I all I have done is use it. LOL It gives you the option under "advanced" to "reboot bootloader". So you can install the ROM, then simply boot into boot loader to flash the radio.


(CWR4.0.0.5)PG05IMG.zip
The Following 2 Users Say Thank You to DroidTh3ory For This Useful Post: [ Click to Expand ]
 
Absolute_Zero
Old
(Last edited by Absolute_Zero; 22nd July 2011 at 03:58 AM.)
#7  
Absolute_Zero's Avatar
Senior Member - OP
Thanks Meter 119
Posts: 412
Join Date: Aug 2010
Location: DC
Quote:
Originally Posted by DroidTh3ory View Post
Here is your package with the 4.0.0.5 Modded Recovery ready to flash in HBOOT.

JCASE created the Recovery, so him the love for it. I all I have done is use it. LOL It gives you the option under "advanced" to "reboot bootloader". So you can install the ROM, then simply boot into boot loader to flash the radio.


Attachment 661641
In your case it would probably be easier to just use flash_image from terminal on the phone (i.e. flash_image recovery /sdcard/recovery.img) assuming your current rom has it (if not just search and download it) or you have RM installed. The main case I saw this being useful was if you didn't have or want to use ADB and your ROM was unusable (e.g. bootlooping). I may add Jcase's modded recovery to the OP as well since it seems useful/wanted by some.
Current:
SGN (toro) - CM10 Nightlies
Thunderbolt - CM7.1.1, 906w, custom theme
Droid - CM7 #174
Antiquated:
HTC Touch Pro - Calkulin 6.5
LG Voyager

1) I have a question that apparently noone has asked since I cannot find the answer. What do I do?
2) How-to: Ask a question

GApps || CWR || Stock CM7 Kerns
The Following 2 Users Say Thank You to Absolute_Zero For This Useful Post: [ Click to Expand ]
 
Mustang302LX
Old
#8  
Mustang302LX's Avatar
Senior Member
Thanks Meter 162
Posts: 1,618
Join Date: Feb 2011
Location: Petaluma, CA
I thought the one JCase made had issues with nandroid backups installing? I could be wrong but for some reason I remember that issue for several people.
**Devices: Samsung Galaxy S3 | Google Nexus 7**
 
DroidTh3ory
Old
#9  
Account currently disabled
Thanks Meter 2,105
Posts: 3,859
Join Date: Dec 2010
Location: Troy, Michigan

 
DONATE TO ME
Quote:
Originally Posted by Mustang302LX View Post
I thought the one JCase made had issues with nandroid backups installing? I could be wrong but for some reason I remember that issue for several people.
I have been using for a good month now on 3 different bolts... Never had a issue??
 
scotty1223
Old
(Last edited by scotty1223; 21st July 2011 at 11:25 PM.)
#10  
scotty1223's Avatar
Senior Member
Thanks Meter 2,252
Posts: 2,234
Join Date: Jan 2011
Quote:
Originally Posted by Absolute_Zero View Post
Additionally, seems if it is as easy as swapping the .img out which is all I did, then the original custom upgrade firmware flashed in the last step of the root guide could include this. Then you'd have CWR immediately after finishing the permaroot guide.
actually,thats allready how it is ive rooted mr2 twice and the mr1 upgrade allready has clockwork installed.

it is that easy,i have done this,and i have also removed the hboot and stock recovery from PG05IMG RUUs so that i could flash without destroying recovery and my eng bootloader.

thanks for putting it together and offering the download, it has many uses, as people will see. the biggest one allready having been mentioned,if something screws up your OS and recovery,its easy to get it back.

did you make up your own android info file? or what did you take it from?

again thanks for posting this,it was commonplace to install inc recoverys in hboot,and ive done it on the eris as well

Tags
bootloader, clockworkmod, hboot, recovery, thunderbolt
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes