Please Log In or Register - it's FREE!

8 Pages V   1 2 3 > »   
Reply to this topicStart new topic
 06/Jan - Installing the patched recovery image on your device
Rating 5 V
Paul
post Aug 13 2009, 15:30
Post #1


It's My Party
Group Icon

Group: Admin Team
Posts: 27,502
Favorited Topics: 102
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): Touch HD / G1
Twitter: @paulobrien



The patched recovery image is your gateway to Custom ROM installs and all sorts of cool stuff... here's how to install it onto your device.

- 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 appropriate to your device / pc...

GSM Hero (a Hero with a SIM card - e.g. the European Hero) on WINDOWS

CODE
adb-windows shell reboot bootloader (wait for device to reboot into bootloader)
fastboot-windows boot recovery-RA-hero-v1.5.2.img (wait for device to boot into recovery)
install-recovery-gsm-windows.bat

GSM Hero (a Hero with a SIM card - e.g. the European Hero) on MAC

CODE
chmod +x ./adb-mac
chmod +x ./fastboot-mac
chmod +x ./install-recovery-gsm-mac.sh
./adb-mac shell reboot bootloader (wait for device to reboot into bootloader)
./fastboot-mac boot recovery-RA-hero-v1.5.2.img (wait for device to boot into recovery)
./install-recovery-gsm-mac.sh

GSM Hero (a Hero with a SIM card - e.g. the European Hero) on LINUX

CODE
chmod +x ./adb-linux
chmod +x ./fastboot-linux
chmod +x ./install-recovery-gsm-linux.sh
./adb-linux shell reboot bootloader (wait for device to reboot into bootloader)
./fastboot-linux boot recovery-RA-hero-v1.5.2.img (wait for device to boot into recovery)
./install-recovery-gsm-linux.sh

CDMA Hero (a Hero without a SIM card - e.g. the Sprint Hero) on WINDOWS

CODE
install-recovery-cdma-windows.bat

CDMA Hero (a Hero without a SIM card - e.g. the Sprint Hero) on MAC

CODE
chmod +x ./install-recovery-cdma-mac.sh
./install-recovery-cdma-mac.sh

CDMA Hero (a Hero without a SIM card - e.g. the Sprint Hero) on LINUX

CODE
chmod +x ./install-recovery-cdma-linux.sh
./install-recovery-cdma-linux.sh

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! biggrin.gif

P

Thanks to chuckhriczko for the CDMA root method and Amon_RA for the recovery images!


--------------------
If you'd like to support MoDaCo, please consider signing up for a MoDaCo Ad Free or a MoDaCo Plus account - now accepting Google Checkout! New to MoDaCo Plus: Free LastPass Premium upgrade!

We're back on IRC! Come join use in #modaco on freenode! You can also follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Devices i'm currently working on releases for: Desire, Galaxy S, Streak
Devices currently paused and next in the queue: Nexus One, Legend
Devices currently on hold: Hero, Pulse, Wildfire
Devices I'm not currently working on: Anything not listed above

If you would like to donate, please click the 'Cancer Research' banner!
Go to the top of the page
 
+Quote Post
the_milkman
post Aug 13 2009, 22:20
Post #2


Newbie
Group Icon

Group: Posters
Posts: 4
Joined: 23rd January 2007
Member No.: 224,238

Device(s): null



Hi Paul...

Excellent!!!! works really well! wink.gif

Your doing some good stuf!! cheers mate. biggrin.gif

Im new to android and loving it.

BTW I had to make a slight change to the instructions.. Just incase anyone was having difficulties

adb shell reboot bootloader (wait for device to reboot into bootloader)
fastboot boot cm-hero-recovery.img
adb shell mount /sdcard
adb push cm-hero-recovery.img /sdcard/cm-hero-recovery.img
adb shell flash_image recovery /sdcard/cm-hero-recovery.img

I replace the recovery.image with cm-hero-recovery.img

Thanks

Ernie
Go to the top of the page
 
+Quote Post
trip hazard
post Aug 16 2009, 22:30
Post #3


Newbie
Group Icon

Group: Posters
Posts: 3
Joined: 16th August 2009
Member No.: 576,469



Hi,

Just wanted confirmation really that what the_milkman said about using "cm-hero-recovery.img" in every instance of "recovery.img" in the original instructions is the right thing to do?

It would seem so to me as there is no recovery.img in the zip file but I'm a complete n00b at this so just wanted to check.

Thanks.
Go to the top of the page
 
+Quote Post
AlThePost
post Aug 17 2009, 00:08
Post #4


Regular
Group Icon

Group: MoDaCo Plus
Posts: 55
Joined: 16th August 2009
From: Inverness
Member No.: 576,296

Device(s): HTC Hero
Twitter: @AlBremner



QUOTE(trip hazard @ Aug 16 2009, 22:30) *
Just wanted confirmation really that what the_milkman said about using "cm-hero-recovery.img" in every instance of "recovery.img" in the original instructions is the right thing to do?


For what it's worth, I did the same when I saw the name of the file and it worked perfectly. Home + Power On now puts me straight into Cyanogen's recovery image. I've been making plenty use of it today trying (unsuccessfully) to get AppsToSD working. smile.gif


This post has been edited by AlThePost: Aug 17 2009, 00:08


--------------------
HTC Hero/Orange UK
(MoDaCo Custom ROM r5)
@AlBremner
Go to the top of the page
 
+Quote Post
trip hazard
post Aug 17 2009, 11:54
Post #5


Newbie
Group Icon

Group: Posters
Posts: 3
Joined: 16th August 2009
Member No.: 576,469



QUOTE(AlThePost @ Aug 17 2009, 00:08) *
For what it's worth, I did the same when I saw the name of the file and it worked perfectly. Home + Power On now puts me straight into Cyanogen's recovery image. I've been making plenty use of it today trying (unsuccessfully) to get AppsToSD working. smile.gif


Thanks for the reply AlThePost.

Just to confirm, when you say you did the same, do you mean you did the same as the_milkman (i.e. "cm-hero-recovery.img") or the same as the original instructions?

Sorry, just wanted to be 100% clear on what it is I need to do as this kind of witchcraft sends a shiver down my spine smile.gif
Go to the top of the page
 
+Quote Post
AlThePost
post Aug 17 2009, 12:05
Post #6


Regular
Group Icon

Group: MoDaCo Plus
Posts: 55
Joined: 16th August 2009
From: Inverness
Member No.: 576,296

Device(s): HTC Hero
Twitter: @AlBremner



QUOTE(trip hazard @ Aug 17 2009, 12:54) *
Just to confirm, when you say you did the same, do you mean you did the same as the_milkman (i.e. "cm-hero-recovery.img") or the same as the original instructions?


The same procedure as the_milkman, sorry.

Al
Go to the top of the page
 
+Quote Post
trip hazard
post Aug 17 2009, 12:32
Post #7


Newbie
Group Icon

Group: Posters
Posts: 3
Joined: 16th August 2009
Member No.: 576,469



QUOTE(AlThePost @ Aug 17 2009, 12:05) *
The same procedure as the_milkman, sorry.

Al



No need to apologise. I thought that was what you mean. I just wanted to be 100% sure...just me being a worrier smile.gif

Thanks again for the advice. My phone's due to be delivered tomorrow so I'll give it a go then.
Go to the top of the page
 
+Quote Post
vyizis
post Aug 26 2009, 19:42
Post #8


Newbie
Group Icon

Group: Posters
Posts: 27
Joined: 9th November 2004
From: Bangor, North Wales
Member No.: 64,183

Device(s): HTC Hero



Is there anyway to revert this back to standard? I am just wondering before i change so i can put it back if i need to get the phone replaced!


--------------------
Go to the top of the page
 
+Quote Post
zeflar
post Aug 27 2009, 10:03
Post #9


Newbie
Group Icon

Group: MoDaCo Ad Free
Posts: 28
Joined: 6th September 2004
Member No.: 55,541



when i type the command i get error:device not found

Im a total newbie to this - do i need to mount the sdcard or just plug in USB ?.

cheers
Go to the top of the page
 
+Quote Post
zyborg
post Aug 27 2009, 11:54
Post #10


Newbie
Group Icon

Group: Posters
Posts: 9
Joined: 30th June 2008
From: Copenhagen
Member No.: 403,022

Device(s): HTC Touch Diamond



Your phone needs a few seconds to detect the USB connection. Wait 10-15 seconds (or so) after entering the CyanogenMod, before you enter the command. Then it works.

QUOTE(zeflar @ Aug 27 2009, 11:03) *
when i type the command i get error:device not found

Im a total newbie to this - do i need to mount the sdcard or just plug in USB ?.

cheers
Go to the top of the page
 
+Quote Post
zeflar
post Aug 27 2009, 15:14
Post #11


Newbie
Group Icon

Group: MoDaCo Ad Free
Posts: 28
Joined: 6th September 2004
Member No.: 55,541



QUOTE(zyborg @ Aug 27 2009, 12:54) *
Your phone needs a few seconds to detect the USB connection. Wait 10-15 seconds (or so) after entering the CyanogenMod, before you enter the command. Then it works.


thanks - but i cant even type the command
adb shell reboot bootloader - i get device not found

Go to the top of the page
 
+Quote Post
munkimatt
post Aug 27 2009, 15:31
Post #12


Regular
Group Icon

Group: Posters
Posts: 135
Joined: 26th August 2009
From: Barrow-in-Furness, Cumbria
Member No.: 579,975

Device(s): HTC Hero
Twitter: @munkimatt



QUOTE(zeflar @ Aug 27 2009, 16:14) *
thanks - but i cant even type the command
adb shell reboot bootloader - i get device not found


have you got USB debugging ticked? It needs to be

Setting-Appliactions-Development-USB debugging.
Go to the top of the page
 
+Quote Post
vik2001
post Aug 28 2009, 15:06
Post #13


Newbie
Group Icon

Group: Posters
Posts: 28
Joined: 28th August 2009
Member No.: 580,750

Device(s): HTC G2 Touch



QUOTE(zeflar @ Aug 27 2009, 10:03) *
when i type the command i get error:device not found

Im a total newbie to this - do i need to mount the sdcard or just plug in USB ?.

cheers


i had this error, you need to download drivers for HTC mobile. i downloaded the ones for vista and worked fine after. if you check in device manager you probably see its got a mark next to the mobile device and needs drivers. do a google for the htc drivers, and if you have vista like myself the windows 7 drivers work fine for HTC
Go to the top of the page
 
+Quote Post
zeflar
post Sep 1 2009, 11:05
Post #14


Newbie
Group Icon

Group: MoDaCo Ad Free
Posts: 28
Joined: 6th September 2004
Member No.: 55,541



thanks for all help - resolution was to enable debugging and dowload the drivers.
cheers
Go to the top of the page
 
+Quote Post
pluccio
post Sep 1 2009, 19:11
Post #15


Newbie
Group Icon

Group: Posters
Posts: 4
Joined: 27th July 2008
Member No.: 411,448

Device(s): SGH i900



in this way have i root my phone or have i to do something else? ty
Go to the top of the page
 
+Quote Post
allfather
post Sep 3 2009, 07:11
Post #16


Newbie
Group Icon

Group: Posters
Posts: 8
Joined: 2nd September 2003
Member No.: 14,645



QUOTE(pluccio @ Sep 1 2009, 20:11) *
in this way have i root my phone or have i to do something else? ty



Why not just give the link to the drivers instead?
Would you prefer if the guides from modaco just where: google it?
http://android.modaco.com/usbdrivers


This post has been edited by allfather: Sep 3 2009, 07:14
Go to the top of the page
 
+Quote Post
Dr Hotdog
post Sep 4 2009, 05:02
Post #17


Newbie
Group Icon

Group: MoDaCo Ad Free
Posts: 35
Joined: 4th September 2009
From: Sydney
Member No.: 583,215

Device(s): HTC Hero
Twitter: @anthonyhorton



Great stuff Paul, using your guides and packages I went from stock Hero to your latest custom ROM and updated radio in no time at all, with no real problems along the way :-D

As I use Linux instead of Windows or Mac I did have to change a couple of things to get the patched recovery image installed though, for the benefit of anyone else running Linux this is what I had to do:

1. Run all the adb and fastboot commands as root (use 'sudo', or 'su -' to switch to the superuser acccount). When I tried to run the adb commands as a normal user I got device not found errors, and a bit of googling suggested this was a permissions problem. There's probably a more elegant way of fixing this problem (changing permissions on the device node for the phone) but just running the commands as root was quick and simple and solved the problem.

2. Download a Linux binary of fastboot. Paul's package includes binaries for Windows (fastboot.exe) and Mac OS X (fastboot) but neither of these will run in Linux. Again google came to my rescue when I found the Fastboot page in the Android Wiki, which included a download link for a Linux binary: fastboot for linux. I simple downloaded the file, replaced the Mac OS X binary with it, made it executable, and then I was able to run the fastboot command as described in Paul's instructions.

3. Just a note that no USB drivers are required to use adb, etc., under Linux. You will need the Linux version of the Android SDK installed though, and the tools subdirectory in the PATH of your (root) user.


This post has been edited by Dr Hotdog: Sep 4 2009, 05:04


--------------------
Go to the top of the page
 
+Quote Post
sibbor
post Sep 4 2009, 07:48
Post #18


Newbie
Group Icon

Group: Posters
Posts: 13
Joined: 19th April 2009
Member No.: 528,501



Hey Paul and others!

I can boot with recovery images to root my phone:

"fastboot boot cm-hero-recovery.img
downloading 'boot.img'... FAILED (remote: not allow)"

This is after updating with RUU version HTC Generic 2.73.405.5
Go to the top of the page
 
+Quote Post
Stevie B
post Sep 4 2009, 07:57
Post #19


Regular
Group Icon

Group: Posters
Posts: 86
Joined: 26th August 2009
From: Burgess Hill
Member No.: 579,898

Device(s): HTC Desire + T-Mobile G2 Touch



QUOTE(sibbor @ Sep 4 2009, 08:48) *
Hey Paul and others!

I can boot with recovery images to root my phone:

"fastboot boot cm-hero-recovery.img
downloading 'boot.img'... FAILED (remote: not allow)"

This is after updating with RUU version HTC Generic 2.73.405.5


This is just I guess - from what I have read, I understand the image you talk of is not rooted and neither does it have the recovery image installed. So it's back to the beginning....


--------------------
Nothin' is easy
Go to the top of the page
 
+Quote Post
Igniztion
post Sep 4 2009, 11:30
Post #20


Regular
Group Icon

Group: Posters
Posts: 80
Joined: 3rd September 2009
Member No.: 582,916

Device(s): HTC Hero, Samsung Galaxy S
Twitter: @vegardhe



QUOTE(sibbor @ Sep 4 2009, 09:48) *
Hey Paul and others!

I can boot with recovery images to root my phone:

"fastboot boot cm-hero-recovery.img
downloading 'boot.img'... FAILED (remote: not allow)"

This is after updating with RUU version HTC Generic 2.73.405.5


Take a look here: http://android.modaco.com/content/htc-hero...-the-new-hboot/

The RUU version replaces the bootloader with one that doesn't allow custom recovery images.
Go to the top of the page
 
+Quote Post

8 Pages V   1 2 3 > » 
Reply to this topicStart new topic

Collapse

Similar Topics

  Topic Replies Topic Starter Views Last Action
No new 03/Sep r2 (8105) WIP - MoDaCo Custom ROM for the Dell Streak (Android 2.1) Online Kitchen
119 Paul 4,958 Today, 06:17
Last post by: jutley
No New Posts Dell update by the end of the week
From mydellmini
3 gillebob 664 Today, 06:48
Last post by: shinset
No New Posts Dell finally moving on GPL?
Its here get cooking!
11 fards 336 Today, 07:40
Last post by: Sader0
No new Topic has attachmentsSlow laggy menus on 2.1 8*** builds
17 craigdabbs 351 Today, 05:55
Last post by: fards
No New Posts Cannot install recovery image
6 Nikki Locke 82 Today, 06:36
Last post by: EddyOS
No New Posts AudioOut on Pulse
same trick as pulse mini works?
13 Gjole86 258 Today, 05:55
Last post by: Gjole86

4 User(s) are reading this topic (4 Guests and 0 Anonymous Users)
0 Members:

 


RSS hit counter Lo-Fi Version Time is now: 9th September 2010 - 07:48

Please visit our 'Plus Partners' - these companies support MoDaCo through 'MoDaCo Plus' - Click Here for more details!

ActiveKitten | Binaryfish | Conduits | DeveloperOne | eSoft Interactive | FTouchSL | Inesoft | LastPass

Lingvosoft | monocube | OmegaOne | Omnisoft | Opera Software | Resco | SBSH | Splashdata

Sprite Software | Syncdata | Teksoft | Titanium Backup | VITO | WalkingHotSpot | WebIS | z4soft

Would your company like to become a 'Plus Partner'? Click Here to contact us!