Android @ MoDaCo: 06/Jan - Installing the patched recovery image on your device - Android @ MoDaCo

Jump to content

Galaxy Nexus Review
We put the Galaxy Nexus and Ice Cream Sandwich through their paces.

Google Music Launch
Google bring Music out of beta and launch their music store.

MoDaCo Plus / Ad Free
Hate ads? Want cool stuff? Sign up for a MoDaCo Plus / MoDaCo Ad Free account with Online Kitchen access!

Close
Open
Close
  • 8 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

06/Jan - Installing the patched recovery image on your device
***** 1 Votes


#1 User is offline   PaulOBrien 

  • It's My Party
  • View gallery
  • Group: Founder
  • Posts: 32,387
  • Joined: 06-November 02
  • Gender:Male
  • Location:Norwich, UK
  • Interests:Snowboarding, Arsenal FC, Mobile Phones (duh!), Fast Cars, Slow VW Campers!
  • Devices:Galaxy S II / Xoom 3G
  • Twitter:@paulobrien

Posted 13 August 2009 - 03:30 PM

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

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

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

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

install-recovery-cdma-windows.bat

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

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

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! :)

P

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

You can 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

Want to donate? MoDaCo is raising money the Multiple Sclerosis society.

Posted Image
0

Sponsored Links


#2 User is offline   the_milkman 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 23-January 07
  • Devices:null

Posted 13 August 2009 - 10:20 PM

Hi Paul...

Excellent!!!! works really well! :D

Your doing some good stuf!! cheers mate. :angry:

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

0


#3 User is offline   trip hazard 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 16-August 09

Posted 16 August 2009 - 10:30 PM

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.

0


#4 User is offline   AlThePost 

  • Regular
  • PipPip
  • Group: MoDaCo Ad Free
  • Posts: 60
  • Joined: 16-August 09
  • Gender:Male
  • Location:Inverness
  • Devices:Hero, Desire Z, Galaxy S2
  • Twitter:@AlBremner

Posted 17 August 2009 - 12:08 AM

View Posttrip hazard, on Aug 16 2009, 22:30, said:

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. :D

This post has been edited by AlThePost: 17 August 2009 - 12:08 AM

Samsung Galaxy S2/Orange UK
Forum Mod - Android Forums
@AlBremner
0


#5 User is offline   trip hazard 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 16-August 09

Posted 17 August 2009 - 11:54 AM

View PostAlThePost, on Aug 17 2009, 00:08, said:

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. :D


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 :angry:

0


#6 User is offline   AlThePost 

  • Regular
  • PipPip
  • Group: MoDaCo Ad Free
  • Posts: 60
  • Joined: 16-August 09
  • Gender:Male
  • Location:Inverness
  • Devices:Hero, Desire Z, Galaxy S2
  • Twitter:@AlBremner

Posted 17 August 2009 - 12:05 PM

View Posttrip hazard, on Aug 17 2009, 12:54, said:

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

Samsung Galaxy S2/Orange UK
Forum Mod - Android Forums
@AlBremner
0


#7 User is offline   trip hazard 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 16-August 09

Posted 17 August 2009 - 12:32 PM

View PostAlThePost, on Aug 17 2009, 12:05, said:

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 :D

Thanks again for the advice. My phone's due to be delivered tomorrow so I'll give it a go then.

0


#8 User is offline   vyizis 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 27
  • Joined: 09-November 04
  • Location:Bangor, North Wales
  • Devices:HTC Hero

Posted 26 August 2009 - 07:42 PM

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!

Posted Image
0


#9 User is offline   zeflar 

  • Newbie
  • Pip
  • Group: MoDaCo Ad Free
  • Posts: 28
  • Joined: 06-September 04

Posted 27 August 2009 - 10:03 AM

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

0


#10 User is offline   zyborg 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 30-June 08
  • Gender:Male
  • Location:Copenhagen
  • Devices:HTC Touch Diamond

Posted 27 August 2009 - 11:54 AM

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.

View Postzeflar, on Aug 27 2009, 11:03, said:

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

0


#11 User is offline   zeflar 

  • Newbie
  • Pip
  • Group: MoDaCo Ad Free
  • Posts: 28
  • Joined: 06-September 04

Posted 27 August 2009 - 03:14 PM

View Postzyborg, on Aug 27 2009, 12:54, said:

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

0


#12 User is offline   munkimatt 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 137
  • Joined: 26-August 09
  • Location:Barrow-in-Furness, Cumbria
  • Devices:HTC Hero
  • Twitter:@munkimatt

Posted 27 August 2009 - 03:31 PM

View Postzeflar, on Aug 27 2009, 16:14, said:

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.

0


#13 User is offline   vik2001 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 28
  • Joined: 28-August 09
  • Devices:HTC G2 Touch

Posted 28 August 2009 - 03:06 PM

View Postzeflar, on Aug 27 2009, 10:03, said:

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

0


#14 User is offline   zeflar 

  • Newbie
  • Pip
  • Group: MoDaCo Ad Free
  • Posts: 28
  • Joined: 06-September 04

Posted 01 September 2009 - 11:05 AM

thanks for all help - resolution was to enable debugging and dowload the drivers.
cheers

0


#15 User is offline   pluccio 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 27-July 08
  • Devices:SGH i900

Posted 01 September 2009 - 07:11 PM

in this way have i root my phone or have i to do something else? ty

0


#16 User is offline   allfather 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 02-September 03

Posted 03 September 2009 - 07:11 AM

View Postpluccio, on Sep 1 2009, 20:11, said:

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: 03 September 2009 - 07:14 AM

0


#17 User is offline   Dr Hotdog 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 35
  • Joined: 04-September 09
  • Location:Sydney
  • Devices:HTC Hero
  • Twitter:@anthonyhorton

Posted 04 September 2009 - 05:02 AM

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: 04 September 2009 - 05:04 AM

0


#18 User is offline   sibbor 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 52
  • Joined: 19-April 09
  • Devices:LG Optimus 2x, HTC Hero
  • Twitter:@sibbor

Posted 04 September 2009 - 07:48 AM

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

0


#19 User is offline   Stevie B 

  • Regular
  • PipPip
  • Group: MoDaCo Ad Free
  • Posts: 100
  • Joined: 26-August 09
  • Gender:Male
  • Location:Burgess Hill
  • Devices:Galaxy Nexus + Galaxy Tab 10.1
  • Twitter:@stevethesimtec

Posted 04 September 2009 - 07:57 AM

View Postsibbor, on Sep 4 2009, 08:48, said:

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
0


#20 User is offline   Igniztion 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 85
  • Joined: 03-September 09
  • Devices:HTC Hero, Samsung Galaxy S
  • Twitter:@vegardhe

Posted 04 September 2009 - 11:30 AM

View Postsibbor, on Sep 4 2009, 09:48, said:

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.

0


Sponsored Links

Share this topic:


  • 8 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2012. MoDaCo uses IntelliTxt technology. Privacy Policy / Contact Details.

Skin and Language

Sign in here


Sign in options
Log in with Facebook Log in with Twitter   Go to advanced login Register Now!