yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] ginchiller:
then you have to root your phone again like it is described in

http://xdaforums.com/showpost.php?p=4257045&postcount=38

i would recommend you to make a backup with nandroid (just select it and push the track ball) and then continiue with

6 ROOTING - MODIFYING THE CODE TO GET ROOT ACCESSS
[Hero, G2 Touch Android Development] Radeon1337:
Ofcourse! stupid me :p so easy.. Thank you :D
[Hero, G2 Touch Android Development] walter_yaron:
after i update the rom to the new one 2.73

i can't root my hero

i get this error msg "FAILED (remote: not allow)"

i need to install fonts and i can't

anyone can help me
[Hero, G2 Touch Android Development] kingkeld:
Wait, I gotta format the SD card?

Why would this be needed? Isnt it enough to just do the rest???
[Hero, G2 Touch Android Development] ginchiller:
excuse me,... but did you read and fully understand the first article from this thread?!
[Hero, G2 Touch Android Development] ginchiller:
i also thought of that, i think it does not matter but i have a lot of 2gb micro sdhc cards so i just followed as described
[Hero, G2 Touch Android Development] Geochelone:
I'd like to update with RUU, but failed with this error. Kindly advice :-)
[Hero, G2 Touch Android Development] ginchiller:
do you have a branded phone?
[Hero, G2 Touch Android Development] tembares:
When I followed the instructions, everything worked, until I have to restart with Home button pressed.

I see the HERO word on my screen, but nothing else happens.

Has someone some suggestions?

I followed the instructions already twice.

-------------------------------------------------------------

SOLVED:

In the first page there is a link to flashrec-20090815.apk. That did not work for me.

I used http://code.google.com/p/flashrec/ to download the file.

Thank you for your interest in reading my post.
[Hero, G2 Touch Android Development] :
No. I don't have a branded HTC Hero.
[Hero, G2 Touch Android Development] :
I think I know why the update failed. My HTC Hero has build number 2.73.728.5, and software version 1.0.0.A6288.
[Hero, G2 Touch Android Development] frumadsen:
i'm in the boot menu what now, how do i get access to fastboot from here??
[Hero, G2 Touch Android Development] reticon:
No console entry?

Stupid Question - I think I did all correct from the instructions, I'm booting into the recovery mode, but there is no entry "console".

The line at bottom tells me: Build: CyanogenMod v1.4 + JF .. but the entries above are

reboot

apply sdcard

apply any zip from sd

wipe data

nandroid v2.2 backup

restore latest backup

repair ext filesystems

That's it .. any ideay what I'm doing wrong?
[Hero, G2 Touch Android Development] packetlss:
That is the modified recovery image, you can then use this to do more or less what you want to with your phone.

If you want to access the shell, you need to use the adb command on your PC.
[Hero, G2 Touch Android Development] felikz:
it is not necessary to format the sd card
[Hero, G2 Touch Android Development] Leechoonhwee:
backup failed

I get a backup failed message when I click on the backup recovery image :(
[Hero, G2 Touch Android Development] david_again:
Works perfectly! Thanks!!!

I'm now rooted again and deleted unwanted apps with this tutorial

Downloaded CacheToSD & AdFree, and now I've got a super phone! :D
[Hero, G2 Touch Android Development] japher:
I had exactly the same problem. Tried two different, completely formatted SD cards but kept getting the same failure.

I then downloaded Task Killer from the market and used it to close any background tasks that I knew were not needed (e.g. Peep, Gmail, Settings, Installer, etc). After doing this, the backup was able to complete successfully.

As an aside, I noticed that the backup only took a second or two when it was successful.
[Hero, G2 Touch Android Development] Leechoonhwee:
I tried closing all except HTC Sense and it still fails :(
[Hero, G2 Touch Android Development] Semp:
Root Access ?

Done all what was in first topic of this tread ..

after that I go to http://xdaforums.com/showpost.php?p=4257045&postcount=38

6 ROOTING - MODIFYING THE CODE TO GET ROOT ACCESSS

On first look all going nice :)

But when i try : "Now your fone should be rebooting itself. At this point you can unplug from USB and let it reboot - it *should* be rooted - You can check by plugging in the USB without mounting - from a Command console cd to the tools directory and then type "adb shell" (You see a little dollar sign) then type "su" (must be lower case) - the Superuser app should ask for permission, click allow always and then you'll see the little rooted # sign - You are rooted!!"

When phone is plugged in to USB - and in cmd try adb shell

i get : "error: device not found"

Phone are in work mode ...or it must one of fastboot or recovery mode ?

But about 5 ROOTING!!! BOOTING INTO RECOVERY IMAGE

i must do fastboot recovery image from PC ? before 6 step ?

If yes - when i can't do this ... :( or i missunderstood in what boot status on phone it must be done ..

Any help ? :)

SOLVED ?

Oh.. i missed up what USB debugging was disabled ..

Now when phone in workmode

connect to USB

In CMD "adb shell"

I see $, then i print "su" and sign has changed to #

:) Phone are rooted ?

HTC Hero

Firmware ver. 1.5

Build ver. 2.73.405.5 146733
[Hero, G2 Touch Android Development] maxwells_daemon:
I had the same. I suspect this problem was, for me, because my phone was already rooted (I'm testing out the procedure). It didn't work with MoDaCo's 2.73 custom ROM. When I went back to the stock 1.76, the backup worked fine.

Another thing you can try is rebooting the phone with the USB cable disconnected and then run the flash recovery program from memory (no need to reinstall it). Even with 1.76, one of my tests didn't work right after dismounting the SD card from the PC, but it was fine after a reboot.
[Hero, G2 Touch Android Development] blackpuck:
My "HERO" is die

After doing "got the new hboot" my "HERO" is die - no turn on.

Help me
[Hero, G2 Touch Android Development] hav0c:
Works. Thanks!
[Hero, G2 Touch Android Development] lloydsparkes:
Hi

I have just flashed the new rom, and have followed the steps to the letter at the top of this post.

But i get a "Backup Failed" Error. I followed steps recommended in other replys, and killed everything else running, i still got the same error.

Does anyone know anything else which could be causing that error?
[Hero, G2 Touch Android Development] LeWaN:
I had the same problem.

After a reboot it did work! Try it...
[Hero, G2 Touch Android Development] lloydsparkes:
Tried that, it still doesnt work. People think the kernel on this RUU has been patched as to block flashrec
[Hero, G2 Touch Android Development] grassiekuik:
i am having the same backup failed error. Also tried to reboot and retried but no luck yet
[Hero, G2 Touch Android Development] chrisjasper:
Flashrec doesnt work for me either, its a certainty that the kernel vulnerability has been patched.

The only way we could do this is to find an RUU of the original rom. Anyone got one??
[Hero, G2 Touch Android Development] lloydsparkes:
If we get a nandroid backup of it, it *might* be possible to reverse engineer a RUU
[Hero, G2 Touch Android Development] chrisjasper:
I have a nandroid backup of my phone from before I first installed Modaco 2.2, after which I stupidly installed the official t-mobile upgrade, so how exactly would you engineer an RUU out of that??
[Hero, G2 Touch Android Development] lloydsparkes:
My theory is:

Take 2.73 RUU run it, but dont go through the wizard just leave it running

Go to %TEMP% and search for rom.zip

Copy the folder containing it.

Now do the same to a Stock 1.76 RUU and keep a copy of that (idea here is to find out any differences between 2.73 and 1.76 in the updating process that may cause us problems

Then we take the 2.73 version of rom.zip extract it, and replace the files in it with the ones from the nandroid backup.

Now i have tried this, with a 2.73 (which has a kernel exploit in it) to try and flash it on my phone, but so far this has failed due to after flashing the device, it does another signiture check which fails, so it undoes the updates.

Anyway its still a work in progress, but its slow progress, as each time i try and fail i have to reset up the phone (its my only phone, and i actually need to use it)

The problem is bypassing or faking the signiture checks, which is the issue
[Hero, G2 Touch Android Development] Jesterz:
is the rom.zip file locked during the ruu process ? I would just replace the rom.zip file with the older rom.zip from the 1.73 RUU.

I don't have the time currently, but i'll have a look at the ruu.exe to see where the cid check is done and try and bypass it as we did in the "old days" with the htc prophet....

i havent played around enough, but does the android.txt file in the rom.zip (that contains the cid's) do anything ? ie. change the contents of that file to include cids from other providers to figure out if it is used as a check ?
[Hero, G2 Touch Android Development] lloydsparkes:
The RUU process might lock it (for writing) but if you take a copy of the folder then modify the rom.zip then just run ARwizard.exe

Yea i believe android-info.txt contains CID codes, so modifying it *SHOULD* allow us to add more handsets/operators.

When i get a chance i will be playing around with it.

Also does anyone know how to mount / modify the boot.img image? (Linux or Windows)
[Hero, G2 Touch Android Development] Jesterz:
android-info.txt from official t-mobile 2.73 ruu update:

ModelID: HERO10000

CIDNUM: T-MOB102

CIDNUM: T-MOB005

CIDNUM: T-MOB004

CIDNUM: T-MOB003

CIDNUM: 11111111

MainVer: 2.73.110.26

android-info.txt from official htc 1.73 ruu update:

ModelID: HERO10000

CIDNUM: HTC__001

CIDNUM: HTC__032

CIDNUM: HTC__203

CIDNUM: HTC__102

CIDNUM: HTC__405

CIDNUM: HTC__E11

CIDNUM: 11111111

MainVer: 1.76.405.1_R3

figure out:

1. if andoid-info.txt is used to check cid against phone, if so, change android-info.txt inside the 1.73 htc ruu to bypass cid check and flash tmob phone with official htc rom

2. if 1 isn't the cid check, look at aruwizard.exe and figure out where/how it's checking the cid.

i'll open a seperate thread on this, as this is not only important for tmob people, but for anything who doesn't have a "standard" cid phone.

edit:

thread here:

http://xdaforums.com/showthread.php?p=4704200

please post there if you have something useful to contribute
[Hero, G2 Touch Android Development] paulobrien:
The rom.zip is signed, engineering one isn't going to happen any time soon I suspect...

We have the HTC 1.73.x RUU, just not the T-Mo one.

P
[Hero, G2 Touch Android Development] Jesterz:
yup, we need a older (meaning with kernel exploit) RUU for t-mo / orange /whatever provider to be able to flash back to that when you want to root/play around.

currently a no go until we find an older RUU or a way to re-sign the rom.zip or get a s-off spl
[Hero, G2 Touch Android Development] mozart:
Hero flashed without succesfull backup in Flashrec

Got it!

Like many people I could not flash a recovery image after upgrading to shipped rom 2.73, which uses hboot. "Backup rec. image" button press gave an error. Rebooting, killing apps etc. did not work.

But the maker, Zinx, has a reply on his forum (http://zenthought.org/content/project/flashrec) saying: "If your image is really invalid, you can push the hidden button to the right of the backup button to flash a recovery image without backing up."

So, I clicked on the screen next to the "backup rec. image" button, and an asterix appears next to it. Entered the name of the recovery img in the textbox and pressed "Flash rec. image".

E presto!

This probably is quite dangerous (no backup was made), so all ohne gewähr and don't try this if you are prone to bricking or sensible. But I got my patched Hero recovery image from Cyanogen back.

Edit: I have a Hero and 2.73.405.5
[Hero, G2 Touch Android Development] lloydsparkes:
What device / Rom version are you using?
[Hero, G2 Touch Android Development] lloydsparkes:
Tried, and i get "Flash Failed"
[Hero, G2 Touch Android Development] kojirovn:
I tried this method, the flash recovery button show up but when I click on it, nothing happend
[Hero, G2 Touch Android Development] jamesjiao:
big thanks, I just done it
[Hero, G2 Touch Android Development] LazySheep:
Worked great

I followed that guide and it turned out great :)

Thanks alot, now i have root access and hebrew fonts:D
[Hero, G2 Touch Android Development] ginodp:
Works like a sharm. Thanks
[Hero, G2 Touch Android Development] dtobin:
Hi,

I managed to successfully flash my Hero a week or so ago using this thread and the Goldcard method. However, a couple of days ago it went crazy and I had to revert back to the stock T-Mobile Rom.

Now I am unable to flash again. Following this guide. I get "backup failed" when creating the backup recovery image or "Flash Failed" if I bypass this stage and try to flash cm-hero-recovery.img.

I've tried everything I can think of and really don't want to be stuck with the T-Mobile Rom!

Any ideas?

Cheers
[Hero, G2 Touch Android Development] dtobin:
Anyone? Please!
[Hero, G2 Touch Android Development] rajesh2626:
HTC hero ROM update required for 2.73.720.5

SIR I have performed all these Quick how to steps.

Then i tried installing a theme by rebooting the phone by pressing HOME+POWER simultaneously which gave me option to choose a zip file from my sd card. I installed the theme successfully .The phone didn't rebooted after that.

When i asked Customer support about the problem.They told me that your phone needs ROM update.

I think i need to install ROM in my HTC HERO as suggested by service center in Ludhiana. They din't had ROM updates for my phone.They suggested me to get it from online and install them.

Kindly send me Original ROM for my phone.

Build number : 2.73.720.5

IMEI number :357988022021476

S/N number :HT98XL902524

P/N number :99HHM098-00

Please help me and send me Original ROM as soon as possible. My phone is not working from few days.

Regards

Rajesh Chadha (09463411097)

rajesh2626@gmail.com

Ludhiana Punjab India
[Hero, G2 Touch Android Development] gugi_sat:
Hi There

i tried doing all the steps now when i typed in :

sdcard/cm-hero-recovery.img

Flasg Recovery Image buuton greyed out and i can't do any thing

i have a t-mobile G2 with latest update 2.73.110.26

please advise what to do

thank you for your support
[Hero, G2 Touch Android Development] an0therus3r:
I was wondering why in the start post a older recovery image was used and not this one?

Now i have older recovery image and would like to upgrade to this mentioned image.

Any tips ?
[Hero, G2 Touch Android Development] furrypotato:
Just like me. Have you used the Goldcard method to flash the generic HTC ROM yet ? If not you'll need to do it first. Then root the phone ( http://neilandtheresa.co.uk/Android/ ) I just have and am now in the middle of flashing modaco rom back onto my phone after doing a nandroid backup.

Oh, and thanks guys !!
[Hero, G2 Touch Android Development] gadjet:
Question please.

Can I use flashrec to flash an earlier rom?, i.e. RUU_Hero_HTC_WWE_1.76.405.6_WWE_release_signed_NoDriver the reason I ask is I liked the flip clock etc.

And if yes how or what do I put on my sd card?

Thanks in advance..

Ooops, found out here http://android.modaco.com/content/h...-09-10-hero-roms-radios-in-update-zip-format/

downloaded 1.76.405.6, will try later..Thanks again.
[Hero, G2 Touch Android Development] tongcc8:
Very Good

Worked on my HTC Hero Chinese Version, but ofcouse no Chinese Locale after flash. So I updated the ROM with

HTC Generic 2.73.751.4 (as 2.73.405.5 + Chinese support) from modaco:

http://android.modaco.com/content/h...-09-10-hero-roms-radios-in-update-zip-format/

and then root the phone as usual.
[Hero, G2 Touch Android Development] omokas:
If we brick it without having flashed a custom recovery mode or have a nandroid backup , is it posiible to unbrick ? Also how can we brick the phone ?
[Hero, G2 Touch Android Development] furrypotato:
If you truly brick it, then nothing you can do. Happened to me. I was updating radio and got confused during one part, thinking it was not working so I pulled the battery a few times. It seems as if the flash was still going on and I stopped it. So my phone would not start or charge or ANTTHING. Totally dead. that's the true definition of brick. If you can still access the options to restore from nandroid backup etc then it aint bricked :)

Dylan

PS Oh, and it all turned out ok. I had it repaired under warranty. they simply replaced the whole mainboard on it. But life without my phone for 2 weeks was hell !!!
[Hero, G2 Touch Android Development] omokas:
Yes but if I follow this tutorial is it easy to brick ?

I have read for a "Radio" flash before I do something, what is that ?

Also is it possible to do this tutorial with those specs / infos on my phone ?

Specs / Infos

Model Number : HTC Hero

Firmware Version : 1.5

Baseband Version : 63.18.55.06EU_6.35.06.18

Kernel Version : 2.6.27-8dd6deee htc-kernel@and18-2

Build Number : 2.73.405.5 146733 CL#61267 release-keys

Software Version : 1.0.0.A6288
[Hero, G2 Touch Android Development] dial100:
USB MS toggle--- How can I on/ off ? When I choose USB toggle it asks for home to confirm etc but nothing happenes.

Sorry. Please ignore. Wrong thread.
[Hero, G2 Touch Android Development] polarebear:
G2 Touch

Does this procedure also work on the tmobile G2 touch with the last Tmobile rom update (2.73)?

TX Polarbear
[Hero, G2 Touch Android Development] furrypotato:
You'll need to use Goldcard method first to remove the T-Mobile firmware and replace it with generic. Thats What I did and I'm now happily running ModDaCo ROm 2.9
[Hero, G2 Touch Android Development] furrypotato:
You shouldnt brick your phone following any of the instructions related to rooting/flashing etc. Bricking tends to happen if someone doesnt follow instructions properly or does something out of order. and even then it's pretty hard.

2.73.405.5 is a generic HTC ROM and so will install fine. and this method is automated so chances of bricking your phone are as low as they will go.
[Hero, G2 Touch Android Development] omokas:
Thanks for your answer. I used this guide and rooted my phone. But I have heard that I need to update Radio and SPL. Why should I do that ? And what are those (radio and spl).

Why should I install a modified ROM ? I personaly think that this generic is better. Or it has much more options/functions ?
[Hero, G2 Touch Android Development] polarebear:
Thanks for the tip i will try it

Polarbear
[Hero, G2 Touch Android Development] packetlss:
(I'll try and explain in laymans terms, if you wan't more detail info, just ask)

Your phone has actually two CPU cores that runs simultanously, one of them runs the radio, the other runs Android.

The radio is what runs the modem in the phone (the hardware that actually handles calls and data transfer). If you don't have any problems (like dropped calls/crappy reception) and you are happy with your phone there is no need for you to update.

SPL (aka Secondary Program Loader and sometimes HBOOT) is the small program that boots Android on your phone. Some people want to have older versions of the SPL, since these allow them to customize further. Newer versions tend to be more secure and limits modifications.

That is a matter of personal taste really, since this is a modding forum there is obviously alot people here running modded ROMs.
[Hero, G2 Touch Android Development] omokas:
Thanks for the answer. I have some questions now.

I used the flashrec apk (latest) to flash a custom recovery. Although it went good and it flashed it. But now I want another recovery. I want Amon_Ra's recovery. The file I flashed was called cm_hero_recovery.img I think. Should I name amon_ra's recovery to cm_hero_recovery.img so the program just replace it ? Or should I just flash it with the original Amon_Ra's filename ?

Also what a modded ROM can offer me ? Does MoDaCo ROM offers more abilities and options ?
[Hero, G2 Touch Android Development] Lord Lucan:
@omokas, I flashed the very latest Amon's recovery 1.3.2 but replaced with previous 1.2.3 which I think is fine. There are several way to flash it and they are all amond his thread. I used one in post #151
[Hero, G2 Touch Android Development] cgagon:
I am not able to boot to recovery mode no matter what I do. I have flashed the recovery with flashrec and it says that it is successful. I get stuck at the "HTC" screen forever when I reboot in recovery mode (either by manually holding down home & power, by using bootloader to boot to recovery mode, or through doing 'reboot recovery' in the terminal).

What can I do to boot to recovery?
[Hero, G2 Touch Android Development] packetlss:
What version of Hero do you have?

Which recovery did you flash?
[Hero, G2 Touch Android Development] solarbird:
Please somebody help me :( i have done everything. I have flashed cm-hero-recovery.img via flashrec and it said "succesfull". and then when i switch off phone and power on again while holding MENU, nothing happend. it just switch my phone on normally.

and one importatnt thing, i have HTC Generic 2.73.405.5 ROM flashed via RUU..

how can i do that my phone can update via update.zip? :(
[Hero, G2 Touch Android Development] :
You are doing it wrong. It's Power + Home.
[Hero, G2 Touch Android Development] solarbird:
I hold Home and then press power. What is wrong?
[Hero, G2 Touch Android Development] vacendack:
It worked

thanks a lot, it worked like a charm.....
[Hero, G2 Touch Android Development] ror87:
I get stuck when on step 9. I don't have a file browser, and I can't connect to the internet to get one. I have recently bought this Orange UK phone and have tried unlocking etc with no luck.

Is there a way of installing a file browser via the SD card? I tried to install it with adb but it said I didn't have permission.

Any help greatly appreciated, I've bought unlock codes/rebell 2 sim (keeps saying my o2 sim card is not supported or something) and I'm nearing running out of frustration.

Many thanks
[Hero, G2 Touch Android Development] sayagainin:
Corrupted Recovery Image

My Recovery image is Corrupted - probably due to accidental click on "Restore image" on FlashRec (no "are you sure" prompt.. Doh!). I used FlashRec 1.1.3 but initially I used 1.1.2 to create the backup, during initial rooting.

Starting my Hero with HOME + POWER, will freeze on the "HERO" logo. Starting normally, phone works great. But I can't install RUU (get error 155) and can't run "fastboot boot ..." (get error "not allow"). I have Orange-UK branded phone, currently loaded 1.76.61.3 ROM.

Since initial rooting I loaded back the Original Rom. Which prevents rooting. That's why my SD is a GoldCard.

I have a full Nandroid backup... but I don't know how to restore it without Recovery mode? I don't have root access anymore also. SU would say "permission denied"a

I appreciate any input. Thank you :-)
[Hero, G2 Touch Android Development] Superbravo:
I got a problem when I tried to root my Hero via Dayzee's noobguide (http://xdaforums.com/showpost.php?p=4257045&postcount=38)

, when using this > fastboot boot cm-hero-recovery.img in CMD.

then I ended up with this error: "downloading 'boot.img' ... FAILED (remote: not allow)

Then I read of more ppl getting same error and they was told that they should try this tutorial..

I did, but still getting the same error.

Anyone got any clue whats wrong?
[Hero, G2 Touch Android Development] FernandoMiguel:
please consider updating the 1st page links for flashrec.

the ones there are very old.

http://zenthought.org/content/project/flashrec

Pre-compiled: flashrec-1.1.3-20091107-2.apk (Allow non-market apps on phone to install)
[Hero, G2 Touch Android Development] Pitel:
Amon Ra

I just used this way to root my eu gsm 2.73 hero. Using flashrec 1.1.3 and lates amon ra recovery. no problem. Thanks.
[Hero, G2 Touch Android Development] asnatlas:
I am getting the same thing on my HTC Hero (CDMA) phone from sprint that I just got yesterday...