yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch General] zaf1987:
Backup ROM (Nandroid)

1. Turn off your phone

2. Hold Home + Power to turn it on into Recovery Mode

3. Press the following:

Backup/Restore

Nand Backup

Home

4. Wait until you see the confirmation message: "Backup Complete!"

Restore ROM (Nandroid)

1. Turn off your phone

2. Hold Home + Power to turn it on into Recovery Mode

3. Press the following:

Backup/Restore

Nand Restore

4. Select the folder and then the latest backup (date is backwards in the name). Press Home to confirm and wait for confirmation message: "Restore Complete!"
[Hero, G2 Touch General] ubl6612:
Ok. So how do I get one?

The only thing I can access right now is the Recovery Menu, and when I read up on apps2SD it talks about installing an app. I don't see how I can proceed at my current stage.

I have access to the "Partion sdcard" in recovery menu, can I work my way out from there?

I really appreciate the help.
[Hero, G2 Touch General] treesurf:
Actually this is not something you need to worry about. You don't need an ext partition on your SD card, unless you want to do an apps2sd setup. Basically, you can ignore that error message and continue on with the rest of the instructions to flash a custom ROM.

If you want to add an apps2sd setup you can always do that later too.
[Hero, G2 Touch General] ubl6612:
The problem is that I can't proceed.

I have installed a custom rom, but if I try to boot all I get is the Hero screen and nothing else.
[Hero, G2 Touch General] zaf1987:
ive isntalled a new rom, but cant get past the villainrom screen, just says l;oading and nothing else happens.
[Hero, G2 Touch General] ddotpatel:
Full wipe and flash again.
[Hero, G2 Touch General] ubl6612:
Tried that more then once, and the result is the same. Hero screen and nothing else. It's FroydVillain 1.5.0 I'm trying to flash.
[Hero, G2 Touch General] treesurf:
Did you flash the FroydVillain ROM AND one of the kernels?
[Hero, G2 Touch General] ubl6612:
ahh, Disco.

No I only flashed the kernel. Hadn't noticed there was more then one file.

So I flash the Rom and then one of the kernels, and then boot? right?
[Hero, G2 Touch General] treesurf:
That is correct! Flash the ROM. Immediately thereafter flash a kernel of your choice. then reboot. Take note that if you wish to change kernels all you have to do is boot back into recovery mode and flash another kernel, which will automatically replace the existing one.
[Hero, G2 Touch General] ubl6612:
thanks a billion mate, that did the trick.
[Hero, G2 Touch General] zaf1987:
Rooted and flashed

Everyone thanks for helping, rooted, and flashed villainrom 1.5. love it.

deciding weather to do app2sd
[Hero, G2 Touch General] naaadiaa:
I have a question? Why after successfully completing all the procedure mentioned in the initial post, the recovery rom only appears once? i flashed the recovery twice but same result. (the recovery image with the red triangle appears every time) Any solution?
[Hero, G2 Touch General] adrian319:
thanks for the info..

just got to say thanks for the information posted by the person who took the time to really put it together for guys like me to use.. thanks:)
[Hero, G2 Touch General] btdag:
Please check your spelling in the terminal. This seems to be a common error. If you find that you're unable to spell correctly then install ROM Manager from the market and install ClockworkMOD Recovery instead. But you'll find no support for that recovery here. Bear in mind it is not as simple as AmonRA's recovery and I have been unable to find a good change log for it so i've no idea what they change with their many updates.

Glad I could help.
[Hero, G2 Touch General] 42turkeys:
Tested this on 1.5 the other day, nice one BtDaG ;)

For those of you having problems flashing the recovery, try entering this before the flash_image command:

rm /data/local/rights/mid.txt
ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt

(btw, ROM Manager has an option to flash Amon_RA at the bottom ;) )
[Hero, G2 Touch General] btdag:
Thanks for helping to test, info added to the first post :)
[Hero, G2 Touch General] Hupske:
hello, im new to this.

My english isnt that good. so my excuse for it.

i've got some problems witch i dont understand. With universal androot is goes well. it say exactly woot ! your device is rooted!

now i go to terminal emulator. i type: su and press on enter and wait(how long i have to wait?) bud i never get a super user request prompt.

so i thought i will type the next command of:

flash_image recovery /sdcard/recovery.img

bud always get this error: error writing recovery: permission denied.

so that must be the problem of not getting the super user request prompt.

i also used better terminal, bud its the same.

Bud what i did wrong? did i missed something?

i've got a HTC Hero with 2.1 OTA.
[Hero, G2 Touch General] jbrad:
Hi,

I have the same problem as above and i can spell perfectly! Also clockworkmod has exactly the same problem. After a spot of googling the problem appears to be that the original rom which is T-mobile 2.1 OTA is rewriting the boot sector on each boot thus it only works once.

However I cannot find any information which indicates how to fix this?

Maybe I don't need to fix it but just flash a new rom on the first reboot? I really need to know whether this would be a safe thing to do before I brick my phone!

Any help would be greatly appreciated,

John.
[Hero, G2 Touch General] cauli:
That's exactly what you need to do :)
[Hero, G2 Touch General] Slugbug:
I've been having problems using VR's batch script root method, but this worked perfect! Thanks a lot! :)
[Hero, G2 Touch General] EzZn0:
I am having trouble to flash the recovery image on my HTC hero 3.32.405.2. I have put the recovery-img on the root of my sdcard (not in any folder) and when I try to backup it with recovery flasher I get a "Backup FAILED: Could not run command.

I think that my phone is rooted because when I tried the universal androot i got a "Woot, your phone is rooted and when I tried again I got a "Your phone is already rooted"
[Hero, G2 Touch General] btdag:
I assumed the files in that link were the .exe's sorry for the confusion!

I will edit the guide but you'll have to follow the gold card procedure if you are not currently on that rom.

@arshad14 - i would also recommend the goldcard method
[Hero, G2 Touch General] nortynort:
Hi thanks. Everything sorted now.

Got a couple of questions though.

1) flashed villain3.4 on and noticed the market is the american one and the apps are the american specific ones. Is there any way around this? Could you point me to any UK roms if not?

2) do I need to go through all the gold card/recovery rom stuff again when I flash another rom, or do I just load up another update.zip and hold home and power up and away I go?

thanks
[Hero, G2 Touch General] btdag:
Just flash the new rom from the recovery screen. I'm fairly certain that all the Eris rom's are american based (i.e. they came from the Droid Eris) but the next version of villain (3.5) will be based upon the legendary rom, which is european in origin. This may change things.
[Hero, G2 Touch General] arshad14:
I created the Goldcard for my phone, which is the same one I used for my friend's phone and worked on both of them. I was trying to use it with this phone but failed. I even created a new one following the steps on the first page but still failed. What might I be doing wrong?
[Hero, G2 Touch General] btdag:
What part failed exactly? What errors are you getting?
[Hero, G2 Touch General] arshad14:
When I try to use flashrec 1.1.2 and do a backup, it says backup failed. I tried using the goldcard and go into Fastboot and downgrade the ROM, even that doesn't work. It says it's loading with the bar going up but then it says checking. After that I reboot and try the flashrec backup again but fails again.
[Hero, G2 Touch General] btdag:
If flashrec doesn't work that means your rom doesn't have the back door in it (try v1.1.3 jic). Are you sure you are successfully downgrading to v2.73.405.5? Are you using the exe through your pc or using fastboot? I haven't ever tried it through fastboot, i was unaware there was a procedure for that.
[Hero, G2 Touch General] arshad14:
I am doing it directly through fastboot by holding down the back button when turning it on. I am not using the exe version but the .zip version. I just have to rename them to HEROIMG.zip so that the phone would pick it up as its own ROM.

As for whether or not I'm successful at it, it doesn't give me any errors when I do downgrade. I have tried the 1.1.3 version as well and even that doesn't work.
[Hero, G2 Touch General] nortynort:
thanks for clearing that up :)
[Hero, G2 Touch General] stealthopts17:
Thanks for taking the time to write a thorough guide. I was running the stock 2.73.728.5. Downgraded using the GoldCard method, and then a few more steps later, had root access. Thanks again!
[Hero, G2 Touch General] btdag:
Try it using the exe file which is linked in the downgrade section of the guide. As i said, i've never used any other method. I figured you'd need to have flashrec to be able to get a recovery image before you could flash any zips from the phone, but i could be wrong.
[Hero, G2 Touch General] moleculezz:
Radio

I have a baseband: 63.18.55.06EU_6.35.06.18. I went to the site with the list of radios and have noticed that there are some JU, EU, IU, FU versions. Do I need to get get the latest JU version or EU version?
[Hero, G2 Touch General] ddotpatel:
No it doesn't matter,... Originally my phone had an radio with EU in the name, upgraded to one with JU,... and network signal is much better,... It wont be an issue. .... Also you CAN roll back to a previous version if needed.
[Hero, G2 Touch General] moleculezz:
Cool.. thanks for the info
[Hero, G2 Touch General] btdag:
Updated the guide to make this clear for other users :)
[Hero, G2 Touch General] ddotpatel:
BTDAG,.... Add this,.....

..... 4. Choose:

Flash Zip from SD Card

Click Confirm.....

Then do not touch until you get the pull down bar to unlock again. This could be upto 5 - 10 minutes in some cases. DO NOT PULL THE BATTERY OUT, THIS WILL BRICK YOUR HANDSET.

Once phone has completely started up, do another reboot.

This is quickly becoming one of the most informative threads on here,... Good job man.
[Hero, G2 Touch General] krippel6:
Hiya,

So I tried this method [the standard one] did the flash from sdcard thing.

It worked - no errors what so ever, and afterward i did the reboot. A different welcome/logon screen came on after a while - says "HTC \newline quietly brilliant" and it's been on that for heading towards 2 hours.

Is it safe to start panicking? :(
[Hero, G2 Touch General] btdag:
Added - thanks, I sometimes overlook the little things :)
[Hero, G2 Touch General] ddotpatel:
What was it you was doing,... Updating Radio or flashing a different ROM?

If you were flashing a ROM then I *THINK* it is ok to pull out your battery if it freezes.

But please do not blame me if I am incorrect.
[Hero, G2 Touch General] krippel6:
haha - no worries ;)

It didn't brick it. But, after letting it sit for another couple of minutes post reboot, I think it's not liking that rom.

To answer your other question, I flashed it to the Villian 4.0 Legend Beta. Busy downloading the 3.4 version, I hope it's ok to just repeat the steps from here forward:

????
[Hero, G2 Touch General] SikiN:
Problems flashing the recovery and red triangle and exclamation mark is solved.

I'm on 2.1 OTA and use Better Terminal

su

rm /data/local/rights/mid.txt

ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt

flash_image recovery /sdcard/recovery.img

Turn off your phone and press Home + Power and boot into recovery mode.

Thanks 42turkeys and btdag :)
[Hero, G2 Touch General] Ampicillin:
Use flashrec old version it will let you flash though it ..
[Hero, G2 Touch General] smallbit:
This tutorial works perfectly for me :D (UK T-Mobile)

However on the line (Wipe SD:ext partition > Home) i got error "...use adb!" and then spent about 1 hour to find out that i can ignore it since i am not using ext partition (u might add this info to the tutorial since it's for newbies, and on google there are many solutions for this error like formating sd card etc.. that aren't the case for this tutorial :))

I've also noticed that in some ROMS (i.e. VillainROM 12) option (Wipe cache > Home) is not available.

and that to i takes only 2 click to come back to the previous backup-ed ROM :D

Thanks !!!
[Hero, G2 Touch General] Hupske:
5 days ago i messaged my problem here. Bud nobody has a solution for me?:(

It have to work for everybody isnt?
[Hero, G2 Touch General] letmedanz:
Applause!

Well, for anyone who has read my ramblings on another thread - btdag is aware of that :)

i have an orange UK mobile, but did not have an orange sim card.

It was impossible for me to either root the phone or load custom roms.

luckily, i had a friend coming over from UK & i had her get me one Orange Sim.

The tutorial works perfectly, it is supportive to the last necessary detail.

Thanks btdag for an awesome & perfect guide.

I haven't seen too many for the HTC hero tutorials online which offers this kind of assistance.

it was a breeze & i highly recommend this to any one looking to root & load custom roms on their hero.

btw i loaded the villain rom 12.0.0 & it's running nicely.

Thanks villain!

one issue however persists... the phone is not unlocked...

is it impossible to unlock the phone without buying an unlock code or a rebel sim??

would be grateful for your responses

Thanks again btdag & villain
[Hero, G2 Touch General] cauli:
Afraid so, you do need an unlock code.
[Hero, G2 Touch General] Kanzar:
I did the OTA update to 2.1 on my GSM Hero (Aussie stock), and originally it was build number 2.73.710.61 (for firmware 1.5), and now it is "3.39.710.1 CL205671 release-keys" (firmware is 2.1-update1).

This is the official 2.1 update for my phone - will I be able to root without having to make a GoldCard to downgrade?

EDIT: Never mind, I managed to root and install a Froyo rom on my first go. :) Cheers!
[Hero, G2 Touch General] kukhen:
can't get root access

I'm stuck on one of the first steps, and have been for a long time. According to Universal Andoot my phone is rooted, but whenever I try the "su" command in a terminal I get the message "Permission denied", which means it isn't rooted (since I don't have root access), right?

I have a HTC Hero (GSM, brown one) with fw 2.1-update1 (updated a couple of weeks ago from 1.5)

What can I do to solve this? Thanks in advance!
[Hero, G2 Touch General] Kanzar:
What's the build number? :/
[Hero, G2 Touch General] harsha_aithal:
[NEED HELP] {SOLVED} how to use Superuser.apk

Hi all,

After rooting (I have an Orange Hero), I want to use applications which need root access. Is it possible for me to do that after rooting ? If yes, where will I find the latest Superuser.apk and how to push it.? I m extremely sorry if it has been already posted somewhere.

EDIT: Solved.
[Hero, G2 Touch General] Samhainn:
Hey all,

After performing all these perfectly clear steps and installing the CM6 nightly ROM, i ran into a problem. After perfoming step 5 of "Install Your Custom ROM" I get the Hero start-up screen, followed by the cyanogen (mod) screen with the Android guy on the skateboard. This screen keeps on restarting every 10 seconds and nothing else happens. Any ideas on how to fix this or what I did wrong?

I already performed a search in this topic but couldn;t find a similar problem.
[Hero, G2 Touch General] ddotpatel:
Re-download the ROM again and place on SD,... Start up into recovery (HOME+POWER), Go to WIPE, Wipe all. Reflash ROM.
[Hero, G2 Touch General] Samhainn:
Thanks for thinking along but I tried it and keep having the same problem...
[Hero, G2 Touch General] erasmux:
Maybe its a problem with the nightly. Nightlies are are not stable.

Personally I have tried the cm_hero-09302010-010350.zip one and from my very quick and basic testing it is work fine (it definitively boots). Of course did a full wipe before installing it....
[Hero, G2 Touch General] Samhainn:
Third time is a charm apparently... :) thanks for the support.
[Hero, G2 Touch General] btdag:
Superuser.apk is installed automatically by Universal Androot.... but o well

Can't find your post, please quote yourself next time.
[Hero, G2 Touch General] Hupske:
here it is!

i hope you understand it. i've read that someone else got the same problem as me.
[Hero, G2 Touch General] btdag:
Try installing the superuser.apk from xda (search) or from the market. This should be installed automatically but my guess is that it hasn't been (no idea why). And try again.
[Hero, G2 Touch General] Hupske:
Oke ive done it.

Now when i go back and type 'su' in better terminal i get the message thats its not found in: system/bin.

Now i went to Linda manager: and saw that su is in it. And i still get message not found en when i type the rest of commant i get permission denied.

Mimimi and my phone willnt connect to my pc(no idea why.the drivers are on the pc bud my phone not give the message for connecting) So i cant get a clean install 2.1 on it.
[Hero, G2 Touch General] flyover1:
Permission denied

hey guys i rooted my phone now im trying to put custom rom on this is what iv done

1. downloaded Better Terminal Pro

2. Su

3. allowed

4. Flash_image recovery /sdcard/recovery.img

Cannot find :Flash_image:

so i tryed

Su Flash_image recovery /sdcard/recovery.img

permission denied

i am rooted and i do have superuser
[Hero, G2 Touch General] btdag:
Get rid of the capital letters maybe.

I'm grasping at straws here, but trying to figure this out. There might be a way to ensure flash_image is found. I'll have a google later.
[Hero, G2 Touch General] flyover1:
hey yea there was no caps in command line

still saying not found

thanks anywayz
[Hero, G2 Touch General] Sash27:
same f....... problem to me. Image not found, but the image is there!!!!!!!!
[Hero, G2 Touch General] btdag:
Can you try and get a hold of busybox and install that and then try again. There should be a version available on here somewhere.
[Hero, G2 Touch General] flyover1:
busybox installed same issue going to try rom manager aswell

ok well i have Rom Manger

but

it wont let me install the recovery thats on my SDcard so i tryed to install there one and it wont connect to the server any ideas
[Hero, G2 Touch General] Sash27:
cant install busybox, allways get the message there is not enough space in system directory, but for sure there is enough space!!!
[Hero, G2 Touch General] btdag:
Found the solution (unedited):

Edited and added to the main guide.
[Hero, G2 Touch General] Sash27:
I tried it:

adb root:

adbd cannot run as root in production builds

adb remount:

remount failed: Operation not permitted

adb push flash_image /system/bin:

Failed to copy flash_image to ........ Read-only file system
[Hero, G2 Touch General] dags:
same here

no matter how many times i try flash image recovery sd card.i always get image not found,and yet it is there.

phone is only a week old from orange,so is fully updated...

cheers dags
[Hero, G2 Touch General] Siauka:
Is it a coincidence or is there explanation, why after rooting and installing custom rom (FROYO_2.2_v2.1_Android_Stock) my microsd card Sandisk 8gb became blank and I cannot do with it nothing even format, pc see it like 30mb FAt system...
[Hero, G2 Touch General] Jaysn:
Is anyone having luck getting this to work on a G2 yet?
[Hero, G2 Touch General] btdag:
There should be a fix in the * parts of the guide.

Coincidence. Either that or you formatted it for A2SD and ****ed it up royally. But this process will NEVER cause this to happen.

This is designed and tested and fully working on a G2. Get your eyes tested...
[Hero, G2 Touch General] Jaysn:
Not only do the title and initial post make no mention of this thread being g2 compatible, none of the posts since the device launched mention it either. Get your silicovaginosis checked, sounds like you have a bad case...
[Hero, G2 Touch General] Hupske:
How is it possible that this process still not working for me? Because of one stupid thing: i get no message of superuser. Ive installed the apk and rooted. Still no superuser.how is it possible? Some guys an idea?

And no i cant connect my mobile to my pc. Because i dont get a notification on my mobile. So to root it maybe the only way to let it work again:S
[Hero, G2 Touch General] btdag:
Why would i mention it when this is posted in the G2 development forum? Specifically dedicated to G2 users. My question to you is why in the hell are you browsing this forum if you don't have a G2?
[Hero, G2 Touch General] btdag:
If your cable to connect to the pc isn't working its unlikely root is going to fix this. get another cable or send the phone back to HTC for repair (depending on which is the issue). Root wont change a hardware fault.
[Hero, G2 Touch General] Jaysn:


The reason for my initial question is after following your steps I get "Failed! No ~~~ Fu goo~~~" when trying to root with androot.
[Hero, G2 Touch General] wezzel4schezzel:
did it work?

Hi, Great work!

seems to be a real good guide.

i tried it myself but weird errors occured in the terminal emulator..

i tried it again with the texts

rm /data/local/rights/mid.txt

ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt

after that i entered the

flash_image recovery /sdcard/recovery.img

and nothing happened..

i shut down my phone and restarted it with HOME + POWER butten and it did boot in the Android system recovery (Build: RA-Hero-v1.7.0.1)

does that mean it dit work? or didn't?

Thanx and sorry for my english!:o
[Hero, G2 Touch General] Jaysn:
The flash_image command doesn't give any feedback when it completes, you just get a root prompt (#). If you were able to get into RA's recovery then it sounds like it worked, congrats!
[Hero, G2 Touch General] wezzel4schezzel:
thanx!

any ROM's recomended?
[Hero, G2 Touch General] Jaysn:
I've always been a fan of cyanogen on my g1, but I've not yet been able to root my g2.
[Hero, G2 Touch General] Ampicillin:
if you want 2.1 then try VillainROM 12

if you want froyo then try Elelinux , Frodvillain 1.5.0 or Floyo 1.0.1 :)
[Hero, G2 Touch General] btdag:
No idea what error you're on about. Have you tried the * ** methods. They should work.
[Hero, G2 Touch General] Jaysn:
Both the * and ** steps assume you've completed the rooting and are having issues with installing a new recovery. Androot isn't able to root G2s yet it seems.
[Hero, G2 Touch General] btdag:
Of course its available for the Hero. If you're talking about the new G2 (not the G2 Touch) once again I suggest you read which forum you are in or check your eyesight. This is a guide for the HTC Hero (also known as the T-Mobile G2 Touch). Stop wasting my time.
[Hero, G2 Touch General] Jaysn:
Again with the personal attacks? Kid, you need to chill. Your guide implies that it will guide a newbie, which I apparently am, through rooting a G2. If there are multiple devices named that you should expect a few people to wander in here who may have the other device, especially when this is the first google hit. I'd seriously consider adding what devices it applies to in the title as well were I you. Thankfully I'm not though. You go ahead and rant & rave some more, I'll not be checking this thread again. Thanks for nothing but a laugh at your nerd rage.
[Hero, G2 Touch General] Hupske:
Oke thanx for the answer. I've trow every root program on my device away and send my device back to htc. Lets hoop that they dont find out that i tried to root it.

And a compliment for your guide.

Great work:D
[Hero, G2 Touch General] btdag:
I try to help and this is the abuse I get.

LOL - fun times. :) :) :)

p.s. epic win being top on google

p.p.s. NERD RAGE! AAAAAAAAAAARRRRRRRRRRGGGGGGGGHHHHHHHH

N.B. I hope most of you realise that my mocking posts are not intended to insult but to entertain [mostly me, but hopefully others too]. If you have a problem with what I've said please message me personally instead of publicly humiliating yourself.

Edit: @hupske - thanks :)