yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch General] gavk-xda:
Ok guys help!

I've followed the steps below and when I restart by using power and home it just freezes on the T-Mobile G2 Touch screen.. have i bricked it?!

1. Download and install Astro File Manager from the Market

2. Open Astro and find and install Universal Androt from your cdcard:

Select UniversalAndroot.apk > Open App Manager > Install > Settings> [tick] Unknown Sources > OK > Back > Select UniversalAndroot.apk > Open App Manager > Install > Install > Open

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.

4. Download and install Android Terminal Emulator from the Market

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

su (press enter)

flash_image recovery /sdcard/recovery.img (press enter)

6. Turn off your phone and press Home + Power to start it up again. This should boot into recovery mode.
[Hero, G2 Touch General] gavk-xda:
How long does this take to boot into the recovery mode.. also as i've not actually flashed a custom rom yet - is it possible to brick the phone even at this early stage? Cos at the moment my phone is stuck on the T-Mobile G2 Touch screen.. been about 5-10mins already... plz help someone
[Hero, G2 Touch General] gavk-xda:
Ok if i press the Volume Down, Home & Power I get a new screen :-

The screen is white with 3 little green android men at the bottom on skateboards?!

I can basically see the following options :-

HBOOT

FastBoot Mode

Simlock

What should I do now as I nothing else seems to do anything?
[Hero, G2 Touch General] gavk-xda:
Ok.. weird that was.. after a few attempted reboots it seems to loading fine - have yet to do the rom stuff (got scared!) might leave it for 2mrw :-0

p.s i apologise for the multi-posts must be nerves!

P.P.S - For some reason I cannot get into the Recovery mode no matter I try - if I try holding Home & Power the phone simply freezes on the initial t-mobile boot logo. Anyone got any ideas...
[Hero, G2 Touch General] Thongs:
No matter how long I hold on to the menu button, it doesn't show up.

It's supposed to be a blue screen in the back, right?
[Hero, G2 Touch General] gavk-xda:
If your using Better Terminal just go into Menu and type the lines into the initial command.. i had the same issue no idea why the keyboard never comes up..
[Hero, G2 Touch General] gavk-xda:
Is anyone else unable to get into recovery mode on their HTC Hero - holding down Home & Power simply prevents the phone from booting - so it does something just not what I would expect.

If I turn on normally (without holding down these buttons) it just boots normally.. weird??!!??

Anyone got any ideas on how to get into recovery mode? I've rooted the phone (or at least I think so!) :D - What is the simplest way to confirm that my device has been rooted? If I installed Titanium Backup would this 'damage' the phone if it isn't rooted?

Thanks in advance
[Hero, G2 Touch General] Basil3:
I had trouble getting the keyboard up using terminal emulator, so found a Better Terminal apk online and used that....no problems from there.
[Hero, G2 Touch General] ddotpatel:
Maybe your download was corrupt? Download the recovery again and re-install it.
[Hero, G2 Touch General] btdag:
Try Better Terminal instead (should be on the market if not find it on XDA somewhere.

I don't think you're recovery has installed correctly. Trying using Titanium Backup is a good idea - but you'll have to install BusyBox as well for Titanium (it will do this for you if you click the "Problem?" button when it loads. And do you get a "Super User" request from Terminal app or Titanium. That's usually a good signal.

Better Terminal sounds like a better option - i'll put them both into the main guide.

Guide edited with newer (minor) details overlooked initially.
[Hero, G2 Touch General] treesurf:
Thanks for this great and simple guide. I have followed the first section to root the phone and install the recovery image. Rooting was successful. I had to reboot after rooting to get the recovery image to install without errors but that was eventually successful as well. The first time rebooting into recovery mode after installing the recovery image everything went as expected and I was greeted with the proper boot screen.

However, every attempt to boot into recovery mode since then has led to the "Red Triangle of Death". I would greatly appreciate any advice on how to get back into recovery mode so that I can install a custom ROM.

Just in case it helps, this is a Hong Kong firmware Hero running the stock 2.1 update.
[Hero, G2 Touch General] ddotpatel:
So it worked the 1st time but you didn't flash any custom ROM? Maybe the original recovery is reloading on reboot, ... Flash the custom recovery again, then flash a custom ROM straight away.
[Hero, G2 Touch General] treesurf:
OK, I have tried to flash the recovery image again, but am running into errors again. I get a list of errors that all read:

"mtd: read error at blahblahblah (Out of memory)"

I got this the first time I tried to flash the recovery image as well, and that time I just rebooted and it flashed no problem. However, I am curious what this error means. There is certainly plenty of space in phone memory (more than 71MB) and sdcard memory(more than 2GB).
[Hero, G2 Touch General] treesurf:
OK, never mind, figured it out. "Out of memory" just meant that I had to kill some apps running in background to free up some RAM. Did that and now I have successfully flashed the recovery image and can at least boot into recovery mode once!
[Hero, G2 Touch General] SikiN:
You had luck, many of us can not get into recovery with this method. Red triangle and this is the end of the recovery.
[Hero, G2 Touch General] blaktron:
Hi, I did all this with my Telus Hero, and successfully got every step working, but now, I do not have access to my mobile network. Im wondering if theres a step im missing.

Ive tried 2 ROMS, and 2 different (new) radio versions, and still nothing. Everything else works fine.

Any suggestions?
[Hero, G2 Touch General] ddotpatel:
Have you checked your APNs?
[Hero, G2 Touch General] blaktron:
I just did, and theres nothing in the list. I get the option to add, but I dont know where to grab the info. Im looking though, assuming theres a list on this site, ill find it.
[Hero, G2 Touch General] ddotpatel:
TELUS SP:

APN = sp.telus.com

Proxy = 74.49.0.18

Port 80

Username = <not set>

Password = <not set>

Server = <not set>

MMSC = http://aliasredirect.net/proxy/mmsc

MMS proxy = 74.49.0.18

MMS Port = 80

MMS Protocol = WAP 2.0

MCC = 302

MNC = 220

APN type = default,mms

ONCE DONE, HIT MENU --> SAVE , NOT BACK!!!!!!
[Hero, G2 Touch General] hongster:
Thank you. I have followed the instruction for rooting GSM Hero. It is easy and it works!
[Hero, G2 Touch General] gavk-xda:
Got Titanium Backup working now once I clicked the 'Problems' button and installs Busybox so that looks like progress now :-)

I'm gonna try and reinstall the recovery image as maybe that hasn't quite worked first time round. Cheers will let you know how I get on :)
[Hero, G2 Touch General] gavk-xda:
Wow - it really is easy! Kudos to btdag - this is a great guide even for newbies like me!! Running a FroydVillain ROM with 2.2 so i'm MEGA-IMPRESSED so far!

Thanks mate! :-)
[Hero, G2 Touch General] treesurf:
I'll second that, another happy newbie here! thanks very much.
[Hero, G2 Touch General] dexter2016:
Help me

the keyboard didn't show up when i press home in "Android Terminal Emulator "

i tried every think including formating the sdcard and factory recovery my hero:confused:
[Hero, G2 Touch General] Basil3:
Do you mean when you hold down Menu in Android Terminal Emulator? I couldn't get the keyboard to come up either, but downloaded Better Terminal.apk from the net, installed on my phone, and could follow the rest of the steps after that.
[Hero, G2 Touch General] treesurf:
You have to long press the menu key to get the keyboard up, not home.
[Hero, G2 Touch General] zaf1987:
CONFUSED

i dont understand which guide i need to use, the first one, or the other somewhat longer one that requires goldcard. and what does that mean. i have a htc hero, on voda with official 2.1 with the update being sent over wifi. some quick advice please. should i backup using Titanium Backup, can i use rom manager. thanks from a complete newbie
[Hero, G2 Touch General] ddotpatel:
Use the first method if you are already on 2.1.

Backup if you want to, your choice.

Rom manager?... I assume so, once you have root.
[Hero, G2 Touch General] zaf1987:
thank you, been stuck for ages. so can rom manager be used to install 2.2 rom, and skip most of the installing the rom section?

plus im worried what are the chances of bricking my phone? once rooted and if im unable install 2.2 rom, can i go back to the current 2.1 with htc ui that i have now.

help much apreciated.
[Hero, G2 Touch General] ddotpatel:
I don't use rom manager, I'd recommend sticking to the guide n using Amon Ra recovery, its very simple to use and also has a function to create backups.

You will need to find a RUU .exe of your current ROM to guarantee being able to go back,... But creating a "NANDROID BACKUP" using Amon Ra and backing up the original recovery somehow before putting on Amon Ra should be possible but slightly trickier I reckon.
[Hero, G2 Touch General] ddotpatel:
About bricking,... As long as you read through properly its pretty difficult to **** it up,... But if you start flashing new radios never pull out the battery.
[Hero, G2 Touch General] zaf1987:
correct me if im wrong but if things go wrong, could i not just install 1.6, then i would get update over wifi as before when putting sim in from voda.

so does that mean unless get RUU (which i have no idea what that means) its going to be hard to back to 2.1. im hapyy downloading aps again etc, as long as i can go to 2.1 factory settings.

thank you
[Hero, G2 Touch General] treesurf:
I think if you follow the simple instructions in the original post you'll be fine. Once you first boot into the recovery mode you should definitely do a nandroid backup. That will make a backup of your current 2.1 setup. If there should be a problem with the installation of whatever custom ROM you choose, then you can boot back into recovery mode and do a nandroid restore of your backup and you'll be back where you started. I tested this myself due to not correctly installing the custom ROM the first time around (not an easy mistake to make :P ), and it worked fine.

I haven't use ROM manager myself, so can't comment on that. The instructions in the first post though are pretty easy to follow. As long as you make that nandroid backup you'll always have a phone to go back to.

Oh, and I didn't have to worry about any RUU stuff.

Seems like flashing a new radio is the only place you can really brick your phone. Haven't seen the need to do that yet myself as my reception seems just fine as it is.
[Hero, G2 Touch General] zaf1987:
thank you im going to start the whole proccess now.

is a nandroid backup easy or difficult
[Hero, G2 Touch General] treesurf:
Very easy! It's step 3 in the Install a Custom Rom section of the instructions of the first post here, so it's already included in the process. Just follow those instructions closely and you should be fine. :)
[Hero, G2 Touch General] zaf1987:
stuck

im on the first part. got the emulator. intered su then straight away enter and the prompt came up SUPERUSER REQUEST, (at this point i have NOT inputed the flash image recover/sdcard etc), ticked and allowed. then entered the image recovery text but it says error opening /sdcard/recovery.img no such file, when i know the recovery.img file is in my sd card.

UPDATE I GOT PAST THE ERROR MESSAGE, IS THERE ANYWAY OF KNOWING THAT I GOT THIS BIT RIGHT? AND PHONE IS NOW ROOTED?
[Hero, G2 Touch General] zaf1987:
i am really stuck on this, when i go into superuser permission, it has two emulater and herokey (root) as allowed. but i dont think it been rooted because i downloaed herokey from market which is only for rooted phones and i cant open it.

any help would be msot welcome
[Hero, G2 Touch General] treesurf:
If you can see the Superuser Permissions app, then the phone is probably rooted. If you managed to flash the recovery image without it popping up an error message then you should try rebooting into recovery mode. This is done by shutting down the phone and then holding down the home and power key until the "Hero" logo comes up. If all is well you'll boot into recovery mode, at which point you can continue with the instructions to do your backup and then flash a custom ROM of your choice, or reboot and continue at a later time.

If the phone freezes on the "Hero" screen (stays stuck there for several minutes) or pops up a red exclamation mark, then remove the battery to restart the phone and try flashing the recovery image again.
[Hero, G2 Touch General] zaf1987:
arghhhhhhh thanks for the reply but nothing. i get the exlamation mark on trying to do a boot recovery. and my phoen is laggin quite alot now. the touch screen is very unresponsive. :(
[Hero, G2 Touch General] ubl6612:
Hi

Tried to follow this but have come upon a snag. Non of the suggested Terminal apps showed up in market for me (not the first this happens) but managed to find a Better Terminal apk on the net that would install on my phone. Though when I run it the Super User Request Prompt newer shows up so I don't have the permission to write the command.

Any suggestions?

Can I force the Super User access somehow?
[Hero, G2 Touch General] Basil3:
Did the universal androot definitely do it's thing?
[Hero, G2 Touch General] btdag:
Phone Lag & unresponsiveness has nothing to do with SuperUser or root access. In no way could these factors have caused this.

If you can go into the SuperUser app and remove all the entries in there. Then try using the Terminal again and see what happens.

Are you sure you renamed the recovery image when you placed it on your sd card? You might have to type out the long name otherwise.

If the Universal Androot program told you that you have root then you have root. The fact that SuperUser is requesting root access is another great sign that its working. As I said, check your spelling etc of the file name!!!

Try typing su at the prompt and press enter. This should now bring up the SuperUser request. I forgot that this might be necessary, I think different emulators request su at different times.
[Hero, G2 Touch General] ubl6612:
That did the trick, thanks.

Though after installing a custom mod and rebooting, all I get is the HERO text and no response. Buttons do nothing, so I imagine I would have to take out the battery. Though what would that do?
[Hero, G2 Touch General] zaf1987:
root issues

Im still having the same issue, basically all seemed fine untill boot recovery. does not happend. triangle with exclamation mark appears.

my steps

downloaded both files named as guide suggests and inserted in sd card.

opened astro file manger, (already installed), and installed androot.apk and opened

selected superuser for android 2.0-2.2 as i have 2.1 rom direct from voda. and

confirms by woot, your device is rooted. downloaded emulator (used both).

opened emulator, and enterd su and enter which then superuser request, allowed, and was ticked.

then typed in flash_image recovery /sdcard/recovery.img

which then it says on emulator flash_image partition file.img

then exit program and turn off and attempt to reboot recovery.

Also can i not downgrade using htc sync or a RUU file from htc, and then root it?

p.s my phone is a t mobile branded but unlocked and im using a voda sim in, the 2.1 update came from voda. dont know if this makes a difference.

thank you i appreciate all the help so far.
[Hero, G2 Touch General] GueSs_me:
Thanks for the explanation. But I am stuck in step NO. 5 after I entered the (flash_image recovery/sdcard/recovery.img) it gave me (usage: flash_image partition file.img) and when I turn the phone off it didn't direct me to recovery mood. What should I do

Thanks
[Hero, G2 Touch General] zaf1987:
I Have the same problem as the poster above me.

What phone do you have? im not sure but i think i may need to do the goldcard version since i have a t mobile branded sim in, i just figured since its unlocked and voda being used the info regarding t mobile didnt apply.
[Hero, G2 Touch General] ubl6612:
I have rerun some processes and found out that I get an error when I wipe the SD:ext Partition, which says

Error : Run 'wipe ext' via adb!

did a bit of googling to figure out what the hell that means and it looks like I might be a bit in over my head here.

So the adb is something to do with the SDK. tried installing it, but can't figure out how to run this command prompt. I assume I have to have my Phone connected to the computer, but with out an OS I don't know how to do that.

Trying a restore also results in a adb request.

Could use some help here. Don't want an expensive brick lying on my table.
[Hero, G2 Touch General] treesurf:
I'm fairly certain this probably means that you just don't have an ext partition on your SD card, or in other words you haven't been using any kind of apps2SD setup. I had this same error but had no problems otherwise.
[Hero, G2 Touch General] zaf1987:
sorry meant t mobile branded phone but voda sim inside as unlocked.
[Hero, G2 Touch General] cauli:
flash_image recovery /sdcard/recovery.img

Hint: that isn't what you typed
[Hero, G2 Touch General] GueSs_me:
Thank u sooo much, it worked.

Now, should I install the Custom ROM first, or installing a Recovery Image.

:)
[Hero, G2 Touch General] GueSs_me:
Finallly, I got everything in order and have the Custom ROM and backup ROM.

But how I can check the radio?

Any one?
[Hero, G2 Touch General] 12speed:
hi am a noob

after rooting my stock tmobile using UniversalAndroot i also was having problems when trying to enter recovery mode kept getting warning triangle after flashing with Better Terminal.After a day of reading and trial almost gave up, in the end i used rom manager which is great i used it to flash the recovery and create the Partition on sd card for apps2sd and load villian12 rom which is great.it also backs up your roms too.Next task is to use titanium backup which i think will backup all my settings and apps.

This forum is the business you have all been a great help.
[Hero, G2 Touch General] zaf1987:
hi i seem to be stuck on the same part, getting the triangle. could you please explain what you did, i would much appreciate it. thanks
[Hero, G2 Touch General] brat.haneq:
@gueSs_me

You can check Your radio in settings, under information about firmware. Unsure about Your language, but it's the same place where You can check Your rom version ;)

best regards

brat.haneq
[Hero, G2 Touch General] nomanaltaf:
Help required.

Ive rooted my T-Mobile G2 and im trying su command on the terminal. But it says permission denied. Any solutions?
[Hero, G2 Touch General] 12speed:
hi zaf1987

after rooting download rom manager by clockworkmod from the market place its free install and when you run it you well see a list the first being "flash clockworkmod recovery" i used this to flash recovery. after that next on the list you can choose to boot to recovery which i did after the flash to check if it worked which it did.

i exited out of recovery and used rom manager to format sd card scroll down list to see partition card option "WARNING CARD IS ERAZED ALL DATA LOST" it gives option on size of partition and swap partition my card is 8GB so i choose 512mb and 256mg

when finished you can put rom image on sd card and use rom manger option " INSTALL ROM FROM SD CARD" to load it it also makes a backup of existing rom before loading new rom

hope this helps
[Hero, G2 Touch General] zaf1987:
thank you

THANK YOU this has worked, downloaded rom manager, and did a nandroid backup, and did reboot recovery. does this mean i am defo rooted?
[Hero, G2 Touch General] 12speed:
yep you are buddy you are ready to load roms
[Hero, G2 Touch General] btdag:
OMG - so simple!

You're typing it incorrectly! The error is telling you that it should be in the format "flash_image partition file.img" i.e. "flash_image" is the command,

"recovery" is the "partition" and "/sdcard/recovery.img" is the "file.img". It means you're typing it in to the terminal incorrectly. Check you spelling and there should be no strange characters (i.e. don't press and hold the letter key to get the / go into the special characters screen and choose it from there). It should be correctly spaced etc. So simple lol

Also please check that you renamed the recovery image you downloaded when you placed it on your SDCard!!!

Correct!
[Hero, G2 Touch General] zaf1987:
thank you aswell.
[Hero, G2 Touch General] zaf1987:
i have found a fantastic guide for backing up your phone.

THIS IS NOT FROM ME, I MUST STRESS THAT I FOUND THIS ON ONE OF THE MANY FORUMS BUT CANNOT REMEMBER WHICH ONE. IF ANY ONE DOES PLEASE LET ME KNOW SO I CAN CREDIT THE PERSON.

whoever made this. thank you. was fantastic help.

ust a quick guide for those of you who are unaware. It assumes no previous knowledge and you are running the program for the first time.

Contents

General Setup (Titanium Backup)

Backup Program Settings

Backup System + Program Settings

Restore Program/System Settings

SMS Backup + Restore - coming soon

Backup ROM (Nandroid)

Restore ROM (Nandroid)

General Setup

This will need to be done before wiping (for backup) and after installing the new ROM (for restore)

1. Download Titanium Backup from the market

2. Open Titanium Backup & wait

3. Select "Always Allow" when the SU request pops up

4. Press OK until you reach the main screen "Overview"

5. Select the "Backup/Restore" tab

Backup Program Settings

For those who don't want to save system settings (simpler).

1. Press Menu & Select Batch

2. Click "Run" next to "Backup all user apps"

3. Select the apps you wish to be backed up, and deselect any you don't use

4. Click "Run the batch operation" from the top of the screen

5. Mount your SD card and backup the "TitaniumBackup" folder onto your computer (just in case).

Backup System + Program Settings

For those who want to save system settings as well as your programs (more complex).

1. Press Menu & Select Batch

2. Click "Run" next to "Backup all user apps + system data"

3. Select the apps + data you wish to be backed up:

The green ones are things like calandar notes, sms messages, system settings etc

The red ones are generally crap and don't need to be backed up

The white ones are your programs

4. Click "Run the batch operation" from the top of the screen

5. Mount your SD card and backup the "TitaniumBackup" folder onto your computer (just in case).

Restore Program/System Settings

1. Press Menu & Select Batch

2. Click "Run" next to:

"Restore missing apps + all system data" (for System + Program settings)

"Restore missing apps with data" (for just Program settings)

3. Select the apps you wish to be restored, and deselect any you don't really want

4. Click "Run the batch operation" from the top of the screen

5. OK and Done on any confirmation screens.

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