yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch General] dags:
at last i have a proper recovery image.tried almost everything always got flash image not found (using better terminal) everytime i booted into recovery i got image of phone with red triangle.press volume up and power button got me into a very limited recovery options.

solution i grabbed rom manager from market (free one clockworkmod) scroll to botom flash alternate recovery.and hey it worked.full recovery options.

this is after trying both * ** (problems finding flash_image)

hope this helps someone out.

cheers dags
[Hero, G2 Touch General] ENNEVs:
unable to install recovery image

I was following the guide but i'm stuck ...

The rooting went ok.

The next step is to install the recovery image.

But when i do this I get flash_image not found.

So... we go to the next point in the tutorial to solve this problem.

Download the Flash_image zip

setup ADB

But ... When i do the following command: adb root

I get => adbd cannot run as root in production builds.

What is the next step to solve this problem?
[Hero, G2 Touch General] robmac9:
this worked great. thanks
[Hero, G2 Touch General] dags:
Enne

Try as I did in the post above yours
[Hero, G2 Touch General] busbutt:
I've been following this guide, and had problems in part 5 of the "Root and recovery" section, trying to flash a recovery image. The "flash_image" command was missing from my phone, so I tried to follow the additional instructions for this, but had problems with adb. Seems the latest version will not execute the command "adb root" successfully? It displays an error - "adbd cannot run as root in production builds".

After trawling around other forum threads, it seemed the problem was related to hboot or something? I am still not really sure, as most of it was way over my head - I am a newbie after all :) However, I found an alternative way to get the "flash_image" onto my phone without a working "adb root" or "adb remount":

"adb shell"

"su" (and then confirm superuser privileges on phone)

"mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system"

"chmod 0777 /system/bin" (so that adb push will work outside of shell)

"exit" (superuser)

"exit" (shell)

"adb push flash_image /system/bin" - errors due to permissions if chmod was not previously done

"adb shell"

"su"

"mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system"

"chmod 0755 /system/bin/flash_image"

"chmod 0755 /system/bin" - restore permissions to something safer.

"exit" (superuser)

"exit" (shell)

Could this extra info be added to the guide in some way, as I suspect anyone trying this now will have the same problems that I did?
[Hero, G2 Touch General] Dark Emotion:
Hi guys ! I am new at this forum and ofc at android modding .

I want to root my GSM hero so that i can instal villainrom 12 (spelling?), so my questions is can I break my hero if I do something wrong while rooting?

thanks
[Hero, G2 Touch General] btdag:
Its very hard to break it. Just follow the instructions, if it doesn't work don't do anything stupid. :)
[Hero, G2 Touch General] Aurus:
Hey guys, I'm trying to follow this guide and it's pretty straight forward my only problem is I can't seem to get the Keyboard to come up on the Emulator tool....Any help would be appreciated it.

Thanks!

Edit: Got it up...ignore this!
[Hero, G2 Touch General] Aurus:
I got everything done. Thanks for the guide...it was really helpful!

The one issue I seem to be having is that I can't get any data whilst on it. It works fine if I have wifi on but I do have a data plan and the H that used to be there seems to have disappeared.

I'm on Telus in Canada and would again appreciate any help...

Thanks.

Edit: And once again, I just had to call them and get it fixed...

Thanks again for the guide!
[Hero, G2 Touch General] Dark Emotion:
Ok , thank you but I have few more questions :)

I have read (i don't know where) that rooting 2.1 is hard .I have official 2.1 -update1 on my Hero so can I do it with this tutorial?

And can you tell me how long it take to flash or wait on "loadings" so that i don't get scared and do something stupid.

Thank you
[Hero, G2 Touch General] Slugbug:
As far as I know rooting on the Hero running Android 2.1 isn't any harder than it used to be post 2.1. There was a little hole to begin with, but then VR's batch script came around and along came Universal AndRoot aswell. Both methods should work just fine. This guide worked wonders for me, and I was on the newest OTA 2.1 update. :)
[Hero, G2 Touch General] Dark Emotion:
Ok , I have rooted my hero .

Now I want to install custom ROM so I need to know what is Kernel and do I have to Install/ flash it? If I install villain rom 12 , will the CPU clocks be on stock?

Is there any roms with stock clocks of cpu?

thanks
[Hero, G2 Touch General] swatsbiz:
You don't need to worry about kernels, just flash the rom and it will have it's own stock kernel.

You can then flash other kernels at any point "onto" the rom (just do a nandroid or bart back-up before flashing for safety)
[Hero, G2 Touch General] Dark Emotion:
thank you very much
[Hero, G2 Touch General] NICKseven:
may I know what is the purpose of installing HTC Sync?
[Hero, G2 Touch General] spikeeee:
Thanks for the guide, it was my first attempt and it mostly went smoothly following your excellent guide. The only issue that I found was trying to install the recovery. I tried all techneques which all failed apart from this one:

INSTALL ROM MANAGER FROM MARKET IT IS FREE

open it and sellect flash alternate recovery image from the bottom, you can use the clockwork recovery but it is not compattable with all roms.

once done turn phone off, boot into recovery home + power choose to exit recovery with reboot shut down once again and if you can enter recovery then everything is sweet.

I was using 2.1 Stock, upgraded from a 1.6 UK 3 branded ROM using the Gold card methed and ROM installer from here. It may be worth while moving this section higher as it was very simple to do, install app and hit the button :)
[Hero, G2 Touch General] spikeeee:
Double post please ignore this one, Sorry! Mod can you please remove this post? ty
[Hero, G2 Touch General] spikeeee:
To install the device drivers for the phone onto the PC I believe
[Hero, G2 Touch General] qgackt:
Newbie here

I'm stuck on the root and recovery part. I keep getting a error saying no flash_image found. I tried solution 2 + 3 and still can't get it to work. Any pointers would help. Below are the message I get from cmd. I'm doing this on Vista

solution 3

C:\Users\Owner>adb shell

$ su

su

# mount -o rw,remount -t yaffs /dev/block/mtdblock3 /system

mount -o rw,remount -t yaffs /dev/block/mtdblock3 /system

# rm \system\etc\install-recovery.sh

rm failed for systemetcinstall-recovery.sh, Read-only file system

solution 2

C:\recovery>adb remount

remount failed:Operation not permitted

c:\recovery>adb push flash_image /system/bin

failed to copy 'flash_image' to '/system/bin/flash_image': Permission denied

c:\recovery>adb shell chmod 0755 /system/bin/flash_image

Unable to chmod /system/bin/flash_image: No such file or directory

c:\recovery>adb push recovery.img /sdcard/

1591 KB/s <4067328 bytes in 2.496s>

c:\recovery>adb shell Is /sdcard/

Is: permission denied
[Hero, G2 Touch General] busbutt:
I had similar problems to you, though I see you have a couple of mistakes in the commands you have entered.

Take a look at my post #633 - if you follow those steps you ought to be able to get flash_image into your system/bin directory. It worked for me.
[Hero, G2 Touch General] jncevcosta:
Hi!

I'm new in this area, and I want to try some different rom of the oficial.

I have 2.1 android version, and when a try to boot from recovery menu appear a black screen with a pda and triangle with an exclamation point.

What can i do to access recovery menu?

Cumps
[Hero, G2 Touch General] 87Vortex87:
Hi all. I would like to flash the latest radio. Where can I get it and can I flash any radio made for any gsm hero? Do I need to wipe the old radio?

Thanks to the people that can help me out.
[Hero, G2 Touch General] UltraBoykj:
Thank you for this

Works great. I had a rooted Hero for the longest time ( was done for me ) and it was removed from my possession. I picked up a 2nd hand one on eBay and had to root it myself. Thanks to this guide, the entire process of updating my Rom, Radio and google apps was doable in an hour and 1/2 of that was spent reading.

<3 Cyanogenmod
[Hero, G2 Touch General] btdag:
Which part of the process are you at?

You can find radio's on villainrom.co.uk - thats where I get mine. Yep only radio's for gsm hero.
[Hero, G2 Touch General] UltraBoykj:
Just curious

Now that I have a custom rom installed on my hero, can I just jump to "Install your Custom Rom" section if I want to try a new one? I am very new to this and while my recent success has given me enough confidence to try again, I am worried about "gotchas" like - backups etc.

"Note: This part of the guide can be repeated with as many different rom's as you like. You do not have to repeat the previous section once you have a recovery image installed."

This soothes most of my worries, but just confirming. Pretty sure I am ok.

Would this be the place to ask for suggestions of roms to try or should I be looking elsewhere? Only real issue I have with CyanogenMod is the camera. Regretfully I use it enough for it to be just a little annoying. Should I wait out for an update since I am happy with everything else?
[Hero, G2 Touch General] jncevcosta:
I read in other topic that i need to make a downgrade using a golden card, right?

I make de golden card, but when a try to install de downgrade my hero isn't recognized... :(
[Hero, G2 Touch General] btdag:
If you want to back everything up just go into backup and choose Nand backup from the sub menu. I have a guide in my sig which is more in depth. But yes to change rom's its as simple as wiping the data and flashing a different one.

No need for the goldcard any more. Old method and very time consuming! My guide is one for all and appears to work for 99% of people, much quicker.
[Hero, G2 Touch General] jncevcosta:
I followed your guide. And when a try to make the sixth step in my Hero appear a black visor with a red triangle :(
[Hero, G2 Touch General] btdag:
Try the three solutions posted below the guide (*, **, and ***).
[Hero, G2 Touch General] BeRT402:
First of all I wanna say thanx for having this rooting for dummies guide.I am not dumb when it comes to these things but Ive been looking to root my phone for sometime now and never seemed to be able to get it right.This guide was step by step and worked as promised.

I recently(today) rooted my phone using this guide.I had already chose to flash villianrom12 because I heard nothing but good things about it.Ive been messing with it for about an hour or two but cant figure out how to get live wallpapers on it. I can see a selection of them and the demo works fine.After I push set to wallpaper and go home I still have a static standard htc wallpaper.Any suggestions anyone? also is there any other roms I might try out to get the best performance out of my hero.Cheers and thanx in advance.
[Hero, G2 Touch General] melvie:
I would like to suggest Rcmix ROM because it is more in development atm!

Ps live wallpapers work with 2.2 FroYo roms but not very good imo..
[Hero, G2 Touch General] sparkyj62:
Maybe a stupid question, searched the forums and couldnt really find a solid answer. Just flashed the team whiskey Bionix Fusion 1.1 on my Samsung Vibrant, with great success. Everything is working fine except my battery life is not that great. It seems i am having the same issue i had before with the radio constantly searching/ transferring data. I fixed it by doing a factory reset and my battery life improved ten fold. My question is, Can i do a factory reset with a custom rom with no ill effects? Some have said it will end up in a constant boot loop. Others say it will be fine. I want a solid answer, before i try it. I am new to the whole rooting, custom rom thing. and really dont want to go through the whole odin thing, as i am not familiar with it yet.

Thanks IN advance for your help!!
[Hero, G2 Touch General] jncevcosta:
When I make a nand backup where is the backups files saved?

Can i copy they to my pc for security?
[Hero, G2 Touch General] erasmux:
under the "nandroid" folder of the sdcard. It is indeed recommend you keep the backups you care about also on your computer....
[Hero, G2 Touch General] jncevcosta:
Thanks. I make right now one copy for my computer :)
[Hero, G2 Touch General] btdag:
Ironically it is not a stupid question but it will go unanswered! Mostly because you posted it in a HTC Hero forum..... but even more because you picked my topic :eek::D:D:D

Try in your phones forums for the answer.
[Hero, G2 Touch General] ChosSimbaOne:
Does this guide also work if you are on 1.5?

EDIT: Nevermind - can see from the guide that it does :-)
[Hero, G2 Touch General] liderzre:
I have completed steps untill

3. In the app and choose the correct version from the dropdown box:

Superuser for Android 2.0~2.2 - if you have updated your phone recently

Superuser for Android 1.5~1.6 - if you have refused updates recently or your country/provider hasn't released one yet

Then choose: "Root :-)"

Wait until it says "Woot ! Your device is rooted !" and exit the program.

I've got"Woot ! Your device is rooted !", but no Superuser apk on my Hero?

When i start terminal emulator and type # su i've got permision denied.

firmware 2.1-update 1

63.18.55.06PU_6.35.15.11

help please
[Hero, G2 Touch General] story:
Seems this is easier than the Android Terminal Emulator way for sure.

INSTALL ROM MANAGER FROM MARKET IT IS FREE

open it and sellect flash alternate recovery image from the bottom, you can use the clockwork recovery but it is not compattable with all roms.

once done turn phone off, boot into recovery home + power choose to exit recovery with reboot shut down once again and if you can enter recovery then everything is sweet.
[Hero, G2 Touch General] liderzre:
I've try with rom meanger but no success. when i want to go to recovery(home+power) got black screen with red triangle .

Try to type adb root getting me: adbd cannot run in buiild production builds.

adb shell and su give me #, but can't flash recovery.img

5. Run "Terminal Emulator". Type (press and hold menu to get the keyboard up) in the following:

su (press enter and wait for the "Super User Request Prompt". Choose "Allow" and make sure its ticked to Allow every time.)

flash_image recovery /sdcard/recovery.img (press enter - make sure this is typed exactly as seen)

get me message flash_image: not found

I triple check all typing errors ....

:confused::confused::confused:
[Hero, G2 Touch General] nozo.mk:
I have successful rooted with "Universal Androot", but whenever I try the "su" command in a terminal I get the message "Permission denied".

My phone is T-mobile G2 but I have official HTC Hero 2.1 ROM (with goldcard procedure )
[Hero, G2 Touch General] btdag:
Install SuperUser from XDA (search for it) and then try again.
[Hero, G2 Touch General] bobbytomorow:
Just want to say thank you for this guide, its the best guide online :)
[Hero, G2 Touch General] braaaii:
How can I update my "ClockworkMod Recovery - current version - 2.5.1.2"??

I have all ready searched on the forum but without succes.
[Hero, G2 Touch General] btdag:
The HTC Desire isn't supported in this topic, partially because its a hero topic, but mostly because Desire users are lucky bastards who have a very nice phone....

You have a Recovery app in your programs list on your phone in order to get clockwork mod recovery - use that!
[Hero, G2 Touch General] zolmajstor:
hy, i had hero on 1.5 android and then i used this post:

http://xdaforums.com/showthread.php?t=714855&highlight=ota+update

to make it to 2.1 .

1.)do i need to do somethin before i go on this rooting tutorial or i just follow the steps and do it?

2.) if in some rom says that app2sd is supported, do i need to do somethin with my Sd card at first or rom will do it for me ?
[Hero, G2 Touch General] swatsbiz:
You need to follow the instructions at the start of this thread. That's all you need to get root, and you'll need to partition your card to set-up the old-skool apps2sd (which is a superior method).

Read all this for more:

http://xdaforums.com/showthread.php?t=797740
[Hero, G2 Touch General] zolmajstor:
thank you very much, so i root first and then that superior methond for app2sd right?
[Hero, G2 Touch General] swatsbiz:
It's been a while since I rooted etc, but as long as you follow the instructions you should be good
[Hero, G2 Touch General] zolmajstor:
i have to ask you one more thing :D

it's best to start with freshly formated sd card and in this simply proces do i need to format sd card some particular way becouse of app2sd or i just use old fashion FAT32 and then the procedure will do the rest?
[Hero, G2 Touch General] swatsbiz:
You'll need to set-up an ext2 partition for apps2sd. I have 500Mb which is more than enough
[Hero, G2 Touch General] zolmajstor:
any link on how i can do that?

found it :)

http://xdaforums.com/showthread.php?t=512873
[Hero, G2 Touch General] swatsbiz:
You can do this once you've rooted the phone and booted into the recovery software. Both AmonRA and Clockwork provide the options to do this.

Point 6 of the recovery process here: http://xdaforums.com/showthread.php?t=645253

take you into the recovery console
[Hero, G2 Touch General] btdag:
That is an incredibly long winded way of achieving this. If I were you i'd use my guide on it (copied into the first post). Its much quicker and partitions your sd card for you.
[Hero, G2 Touch General] zolmajstor:
thank you very much.i just wanted to be sure.great tutorial :)
[Hero, G2 Touch General] zolmajstor:
in the emulator after typing the following:

su then enter to get permisions

flash_image recovery /sdcard/recovery.img

i get message error opening /sdcard/recovery.img .No such file or directory ?????

what should i do? :(
[Hero, G2 Touch General] RatTSnake:
... sometime I have problem with 2g/3g connection, maybe ...

EDIT: forget it, it was solved

thx
[Hero, G2 Touch General] zolmajstor:
in the emulator after typing the following:

su then enter to get permisions

flash_image recovery /sdcard/recovery.img

i get message error opening /sdcard/recovery.img .No such file or directory ?????

what should i do?
[Hero, G2 Touch General] treesurf:
Did you put the recovery.img on the sdcard? Did you make sure to rename it "recovery.img" from its original name?
[Hero, G2 Touch General] zolmajstor:
I did it wrong.when i renamed recovery into recovery.img, i obviusly get recovery.img.img and that's why i couldn't flash it with terminal emulator.now eveything is working..soory for bothering all with my mistakes. Cheers
[Hero, G2 Touch General] treesurf:
No worries, glad to hear you got it all up and running. :)
[Hero, G2 Touch General] rackierowdd:
would this work on LG GT540?

would this work on LG GT540?
[Hero, G2 Touch General] Heavynetpro:
Hi. I just wanted to say thanks for very helpful guide. I have just installed custom rom and i love it. I must say i struggled at step 5 (flash_image recovery /sdcard/recovery.img) it would give me access denied, then i goggled and found that the memory card has to unmounted. that was the only problem that i had. Thanks again to btdag for making life a lot easier:):):)
[Hero, G2 Touch General] btdag:
No worries, can you link me the stuff about unmounting mem card? Sounds interesting.
[Hero, G2 Touch General] Heavynetpro:
yeah, i just have to go through my bookmarks... as soon i will have i post it...ok?
[Hero, G2 Touch General] btdag:
Nice one, thanks
[Hero, G2 Touch General] keyzjh:
I'm on chocolate eclair currently and using AmonRa's 1.6 recovery image, can I just repeat your steps in page 1 to update my recovery as I'm preparing to flash a froyo ROM?
[Hero, G2 Touch General] btdag:
Just install and use the terminal and install it through there, or use the guide on the amon ra thread itself.
[Hero, G2 Touch General] Ravi774:
hi could you tell me the benefits of flashing a new radio, i've flashed new roms couple of times and never touched the radio, is it necessary, why does it upgrade in fact, thanks in advance for helpin
[Hero, G2 Touch General] ericsim:
hi everyone,

I own a HTC hero with custom ROM on it. Its written:

Software version

www . HiAPK . com 1.0_g3_sense

My question is, can i straight away update to another custom ROM without downgrading to the original version first?

can someone help me :(

thanks
[Hero, G2 Touch General] treesurf:
Yup! Just start from the "Install a Custom ROM" section on the first post of this thread you should be fine. :)
[Hero, G2 Touch General] ericsim:
thanks alot treesurf!!! Do i have to root the phone first? I'm not sure my phone is rooted or not but I can boot into recovery mode by pressing HOME + POWER button.

How do I back up all my contacts?

Thanks
[Hero, G2 Touch General] btdag:
Signal & 3G - always worth it IMHO.

If you have a custom rom you've rooted before. As long as you have a recovery you can install a new custom rom.

Backup what you need (guide in my sig)
[Hero, G2 Touch General] dexter2016:
Help I PULLED THE BATTERY OUT AND MY HANDSET BROCK DOWN

WHAT CAN I DO ? HELP PLZ
[Hero, G2 Touch General] ericsim:
thanks btdag and anyone who helped me!! greatly appreciated!!

I will install the ROM tomorrow and see how is goes.

Thanks
[Hero, G2 Touch General] btdag:
WHY ARE YOU SHOUTING?

What were you doing at the time? Does it switch on again?
[Hero, G2 Touch General] aenimiac:
Ok, newbie here. I've read the whole thread but no one seems to have had the same problem that I'm having...

I've downloaded Universal androot and the recovery image. I've installed androot and run it and the message comes back to say that it's been successful.

However, when I run the terminal app and type su I get a message back saying "[1] Segementation fault su"

I did notice that rooting didn't seem to install superuser.apk for some reason, so I downloaded it from the Market but it doesn't make any difference.

I've tried uninstalling and reinstalling everything, rebooted my phone etc but nothing seems to work.

FYI: I've got an unbranded Hero running the stock HTC version of 2.1. Firmware version is '2.1-update1', Build number is 3.32.405.2 CL191507.

Any suggestions?
[Hero, G2 Touch General] treesurf:
Have you tried running Universal Androot again? I seem to remember having to run it twice when I was going through the process...
[Hero, G2 Touch General] aenimiac:
I've run it twice, yeah. It seems to work the first time, then I press the root button again and it comes up saying that it's already been rooted, but I tell it to root again and it seems to work (again). But still no luck with the su command in the terminal app.

However, I've found... if I type su (in lower case) it brings up the segmentation message, but if I type SU (in capitals) it says permission denied. Is the command case sensitive (ie. is su different to SU) or is something more strange going on?
[Hero, G2 Touch General] treesurf:
If Superuser does not request you to allow permissions for Terminal when typing "su" then you clearly haven't rooted successfully.

You could try z4root, which seems to have mixed luck with the Hero based on comments in this thread (where you can also download the app):

http://xdaforums.com/showthread.php?t=833954

Note in particular this post:

http://xdaforums.com/showthread.php?p=9137468&highlight=hero#post9137468
[Hero, G2 Touch General] aenimiac:
Unfortunately that one doesn't appear to have worked either.

Ah well!
[Hero, G2 Touch General] btdag:
Have you tried the * methods from my post? Different terminal programs?
[Hero, G2 Touch General] aenimiac:
I installed Better Terminal and tried to use that but it just force closed before I could even get to enter anything.

I think it's a problem with the rooting as I've installed Titanium Backup now and when I start that I get a message saying it can't get root acces, even though two different versions of Androot (and z4root) both say the rooting was successful.