Introducing XDA:DevCon – A Conference For Developers By Developers
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 5246
Posts: 4,390
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 0
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 0
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 0
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 0
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

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Go to top of page...

XDA PORTAL POSTS

Xposed Framework Module for the AT&T Galaxy S 4

Got yourself a brand new Galaxy S 4? Are you looking for some fun mods to make it truly your … more

Job Interview Prep: Phone Screen Part 1 – XDA Developer TV

XDA Developer TV Producer Jayce has been very busy creating videos to help … more

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more