New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
paulobrien
Old
#1  
paulobrien's Avatar
Senior Member - OP
Thanks Meter 5339
Posts: 4,419
Join Date: Nov 2003
Location: Norwich
Default Installing the patched recovery image on your device (permanently!)

The patched Hero recovery image from Cyanogen is super-useful, but having to boot it up via fastboot all the time is a pain... so why not install it on your device permanently?

To do so...

- download this file and extract it to your PC or mac
- open a command prompt to the directory containing the extracted files
- type the following commands (prefix each command with ./ if you're on a mac)

Code:
adb shell reboot bootloader (wait for device to reboot into bootloader)
fastboot boot recovery.img
adb shell mount /sdcard
adb push recovery.img /sdcard/recovery.img
adb shell flash_image recovery /sdcard/recovery.img
Job done!

Now if you pull the battery and turn on the device while holding down 'home', you should get the patched recovery image. Handy!

P
 
minogue
Old
#2  
Senior Member
Thanks Meter 0
Posts: 487
Join Date: Jan 2009
Location: Elizabeth
Thanks for this. Ive actually had this done before already but did not share it with anyone! Sorry Guys...


It is the same steps as the g1 and Sapphire so i was lets try it on the Hero and it worked! Next time i will share my findings!
 
enlightener
Old
(Last edited by enlightener; 13th August 2009 at 06:11 PM.)
#3  
Senior Member
Thanks Meter 2
Posts: 134
Join Date: Aug 2008
Location: Rome
There are no custom roms for now, and the OTA updates from HTC need the original recovery, or need to be signed with test keys to be installed with this recovery.
Also there are drawbacks NOT flashing this recovery because after any update from HTC you loose root (at least it's probable)

Btw, if you use modaco's patches, it's better if you flash the recovery so you don't have to fastboot, or you can apply the updates without using a PC :P

It's all about choices!
It's all about choices
 
minogue
Old
#4  
Senior Member
Thanks Meter 0
Posts: 487
Join Date: Jan 2009
Location: Elizabeth
Quote:
Originally Posted by enlightener View Post
There are no custom roms for now, and the OTA updates from HTC need the original recovery (or need to be signed with test keys) to be installed with this recovery.
Also there are drawbacks NOT flashing this recovery because after any update from HTC you loose root (at least it's probable)

It's all about choices!
Yes, but just like with the G1, when there was an OTA, People would find the download URL and then root the update and share it with the android community so that they could flash the update with all the goodies and still have root!
 
enlightener
Old
(Last edited by enlightener; 13th August 2009 at 06:00 PM.)
#5  
Senior Member
Thanks Meter 2
Posts: 134
Join Date: Aug 2008
Location: Rome
Now let's hope that HTC releases an update soon (and write the update url in the log ).
It's all about choices
 
Geniusdog254
Old
#6  
Geniusdog254's Avatar
Recognized Developer
Thanks Meter 161
Posts: 1,094
Join Date: Jan 2009
Location: St. Louis

 
DONATE TO ME
Ok, first off, Hero doesn't support OTA updates, they are side-loading (SD card), so you will have to download them off the HTC website

Also, glad you found a way to permanently install the recovery image. But, couldn't you just use "fastboot flash recovery recovery.img" instead of "fastboot boot recovery.img". Sorry if I'm thinking incorrectly, does the Hero block writing the partitions over fastboot & allow booting? I understand if I'm wrong, please correct if I am, but it seems like the fastboot method is much easier.
Follow me on Twitter @Geniusdog254

If you like my work, please buy one of my apps on the Market or donate!
  • Reflex-A-Tron - A colorful, addicting, & fun game to test yourself & challenge friends for only $.99!
  • Search2Play - Control your music with your device's buttons!
  • Task'd - A beautiful to-do list app!

Phones:
Android Dev Phone 1 - Dec. '08
Rogers HTC Dream - Sept. '09
AT&T Nexus One - March '10
Motorola Droid - Apr. '10
HTC Evo - Jun. '10
HTC Evo 3D - Jun. '11
Sprint Galaxy Nexus - May '12
 
enlightener
Old
#7  
Senior Member
Thanks Meter 2
Posts: 134
Join Date: Aug 2008
Location: Rome
"fastboot flash" check the images for signature, so if you don't have a signed image you cant use it.
If you go under Settings->Security, you have the option to chose what to do with firmware updates, so i suppose that htc will use ota (just like they did with some roms for magic, at least with some test versions)
It's all about choices
 
enlightener
Old
(Last edited by enlightener; 14th August 2009 at 01:08 AM.) Reason: double post
#8  
Senior Member
Thanks Meter 2
Posts: 134
Join Date: Aug 2008
Location: Rome
Exclamation double post

Double post, sorry
It's all about choices
 
Geniusdog254
Old
#9  
Geniusdog254's Avatar
Recognized Developer
Thanks Meter 161
Posts: 1,094
Join Date: Jan 2009
Location: St. Louis

 
DONATE TO ME
Ahh I see the problem with signing. Sorry about that, my ADP1 has an unlocked bootloader, so like most rooted Dream owners, I don't have to worry about signatures.

And about OTA, thats strange, I could have sworn that in the release event they said that it was side-loading only...
Follow me on Twitter @Geniusdog254

If you like my work, please buy one of my apps on the Market or donate!
  • Reflex-A-Tron - A colorful, addicting, & fun game to test yourself & challenge friends for only $.99!
  • Search2Play - Control your music with your device's buttons!
  • Task'd - A beautiful to-do list app!

Phones:
Android Dev Phone 1 - Dec. '08
Rogers HTC Dream - Sept. '09
AT&T Nexus One - March '10
Motorola Droid - Apr. '10
HTC Evo - Jun. '10
HTC Evo 3D - Jun. '11
Sprint Galaxy Nexus - May '12
 
hondasr
Old
#10  
Senior Member
Thanks Meter 21
Posts: 190
Join Date: Aug 2009
Quote:
Originally Posted by Geniusdog254 View Post
Ok, first off, Hero doesn't support OTA updates, they are side-loading (SD card), so you will have to download them off the HTC website

Also, glad you found a way to permanently install the recovery image. But, couldn't you just use "fastboot flash recovery recovery.img" instead of "fastboot boot recovery.img". Sorry if I'm thinking incorrectly, does the Hero block writing the partitions over fastboot & allow booting? I understand if I'm wrong, please correct if I am, but it seems like the fastboot method is much easier.
Are you sure that the Hero dont suport updates OTA because on the Security Tab say Firmware Download and have some option to choose

Download automatically
Promp Before Download
Never

Looks like suport updates OTA


XDA PORTAL POSTS

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more