yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] :
Thanks Guys :)

Works like a charm. I was stuck with a 2.73.421.5 ROM with a .007 hboot and this solved it....

Thank you guys with the great work as always :):)
[Hero, G2 Touch Android Development] plbelanger:
For those who got it working and put the sdcard back in the phone rebooted. Is it supposed to say unsupported card and ask to format? Do you have to do anything else once inserting the sd card back into the phone cause this isn't working at all for me and I've done it a number of times. :mad: Also, when you're doing the hexedit bit at the end does it matter whether the sdcard is in the phone or the sdhc slot in the computer?
[Hero, G2 Touch Android Development] macguffin:
I had to try a few times, it worked when I did the hex bit in my computer.

In HxD make sure you are selecting your SD card from the Physical disks section and not 'Logical Disks'

You just restart the phone - it will boot as normal. Then run the RUU.exe. If the gold card has worked it will not fail on the ID check bit.

Hope this helps.

ps I was also using the bundled T-Mobile SDcard
[Hero, G2 Touch Android Development] plbelanger:
I tried both removable disk as well as logical disk drive and neither worked. I'm on Windows 7, not sure if that makes a difference. But I notice after I paste write and save then open the disk back up again it doesn't appear to be saved? Strange, I had no issues rooting my g1
[Hero, G2 Touch Android Development] the_miker:
Wow, now I feel stupid. That worked for me, using the 2GB card that came with my Sprint Hero! I ran one of the RUU ROM installers (GSM) from here and sure enough, it got as far as rebooting the phone into recovery and then I chickened out and yanked the USB cable out, haha.

So is the ability to run any RUU installer the only thing this new GoldCard will let me do?
[Hero, G2 Touch Android Development] gyounut:
okey thank you !

bye
[Hero, G2 Touch Android Development] plbelanger:
About to give up on this and wait for another method. I've done this about 20 times and it continuously fails at "Updating signature"

EDIT Figured it out. Hxd Hex editor does not save changes on Windows 7..perhaps OP should edit that in original post..got it to work now after using Vista. Now, where is the root howto?
[Hero, G2 Touch Android Development] scrufy:
OK I already had android sdk installed from my g1 and ganamead. went to latest sdk and newest eclipse. running adb devices the serial pops up and everything looks great, thr RUU wouldn't work. I installed htc sync to try those drivers and now it sees my mt3g us tmo as opal-user. when I tell it to update it starts loading the bootloader then errors out with "The ROM update utility cannot update your Android phone. Please get the correct ROM Update utility and try again".

Did my goldcard.img write fail? I have tried several Hero RUU's and same thing.

I am pretty comfortable with a hex editor and didn't see any issues at all with creating the goldcard and I even tried it on 3 different cards, a 1g, a 2g, and a 4gb.

Anyone have any ideas? Been on this like all day.
[Hero, G2 Touch Android Development] Funkym0nkey:
weird. I ran it on Windows 7 64 bit with selecting Run it as administrator and it worked just fine.

Followed this guide : http://xdaforums.com/showthread.php?t=559613 (use newer version of flashrec ).

Instead of the Cyanogen’s / Modaco Hero Recovery Image, I used RA-hero-v1.2.3. (All you need to do is use name of the image you plan to use while giving sdcard/imagename.img instruction)
[Hero, G2 Touch Android Development] monsterday2002:
Can someone confirm if this method works with 2.73.728.5 ROM, thanks.
[Hero, G2 Touch Android Development] Jesterz:
should work with that one (or any rom for that matter)
[Hero, G2 Touch Android Development] jutley:
how do i use this command below on phone or on windows i have vista what is adb where do i get it from and how do i install it begginer here finding it hard to do this guide adb is new to me can someone please help me cause i have the newest t-mobile rom 2.73.110.26 silly me just got the phone the update came out didnt know about pauls custom rom so i updated to new t-mobile rom and lost chance to root phone but this guide mite help me but need abit of help my plan is to end up with pauls latest modaco rom rooted can someone guide me thanks.

Use adb to run this command: adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid
[Hero, G2 Touch Android Development] monsterday2002:
Yes, works perfect.

thanks.
[Hero, G2 Touch Android Development] kazuni:
I'll post a video on how to do this step by step tonight :D
[Hero, G2 Touch Android Development] Belizibub:
I did this then realised the SDcard had to be in the PC and not in the phone to do the hex. Worked a treat after that.

TMobile latest update.
[Hero, G2 Touch Android Development] jutley:
ok then i have sucesfully downgraded my latest t-mobile rom using goldcard firgured out the adb stuff and hex and now irm on the RUU_Hero_HTC_WWE_2.73.405.5_WWE_ firmware now can i have some guidance as to what i have to do next to get to pauls modaco latest rom do i need to root or something newbie to here sorry any help please.
[Hero, G2 Touch Android Development] plbelanger:
This worked perfect, thanks.
[Hero, G2 Touch Android Development] dkp02:
T-MOBILE G2 TOUCH - Most recent U.K. Update

I have been trying all morning to get this working. I am stuck with the "ADB COMMAND" and keep on getting "not found" after typing the "CID" command. I connect my phone via USB and the memory card is in my phone for the first part. HTC sync is running. I do have the ADB software. Do I have to key in a special command or install anything (i.e. drivers, software)?

I more step by step instructions would be much appreciated .

Thank you so much for the help.

Darren
[Hero, G2 Touch Android Development] scrufy:
OK adb is adb.exe, its a part of the tools package found in the android sdk.

If you have not yet put the tools directory in your PATH env variable, you would get command not found. You can still just cd to your tools directory and run it from there.

On my system (yours depends where you installed it) I added the following to my path string: c:\android-sdk-windows-1.6_r1\tools

to do this(for xp but they are all similar)right click my computer then click advanced tab. then click the environmental variables box at the bottom.

in the lower box is system variables. Scroll down to PATH and highlight it then click edit.Press the right arrow key to put you at the end of the line or use your mouse to click then arrow to the end. Remember your not replacing whats there, your just adding on to it.

add a semicolon[the ; ] then the path to your tools directory

Now for the phone part.

Set your phone into USB debugging mode on by (on your phone) go to settings>applications>developement>click USB debugging.

from a dos box (windows click start>run and type cmd <enter>

if you put tools in your path now type

adb devices

if you see a serial number then your golden, if it says devices then a blank line(s) then back to the prompt, you need to load the usb drivers.

If you didn't add tools to your path at the cmd prompt you need to cd to the tools directory and type adb stuff from there.

If your getting not found on the mmc from the cat command then you need to have the card in your phone and not mounted with usb debugging turned on.

I still can't get any of the "perfect spl" hacks to work on my phone but I know a little about this stuff. Not a lot, haha just a *nix user...
[Hero, G2 Touch Android Development] MindGame:
Works like a charm. Finally able to downgrade my phone. Thanks!
[Hero, G2 Touch Android Development] the_miker:
For those wondering if this works on the Sprint Hero, I can speak for myself here and say that it does not. I tried to flash the official 2.73.405.5 RUU from here. It gets as far as "Updating Signature..." after rebooting the phone and then this happens:

Oh well. Any ideas? Other than I'm crazy for actually attempting this, haha.
[Hero, G2 Touch Android Development] plbelanger:
Hm but isn't the Sprint Hero running a patched ROM? Thought CDMA support is in 1.6 so trying to install WWE GSM ROM wouldn't work? Maybe I'm wrong on that...
[Hero, G2 Touch Android Development] the_miker:
No you're right. If the flash was successful, I would have been using a 1.5 ROM without any CDMA support. My plan was to flash the GSM ROM, root the phone, install a custom 1.6 ROM (w/ CDMA support), and then re-update the Radio from the Sprint RUU package. I didn't get past flashing the GSM ROM though, so it doesn't matter. Unless someone comes up with another idea. ;)
[Hero, G2 Touch Android Development] Toffei:
im freeeeee! great work!
[Hero, G2 Touch Android Development] Leechoonhwee:
Under Physical disk my SDCard is not listed. It is only listed in Logical Disk... Any suggestions?

If I carry on with the steps, I still failed the CID check portion. :(
[Hero, G2 Touch Android Development] chrisjasper:
I'm currently on the dreaded t-mobile update rom and keep getting customer ID error when I run the RUU_Hero_HTC_WWE_2.73.405.5_WWE_release_signed_NoDriver.exe.

Is the offset copied from the goldcard.img supposed to be up to 170 or up to and including 170??

I have a kingston 2gb card I am using, made sure I selected the pysical disk not the logical one.

Any ideas??
[Hero, G2 Touch Android Development] douglas8008:
when i run RUU_Hero_HTC_WWE_1.76.405.1_R3_WWE_release_signed_NoDriver.exe it show me wrong ID?:confused:
[Hero, G2 Touch Android Development] jutley:
Finally i done it all phew i had a really long day learning yesterday from the start i was on the tmobile latest rom 273.... i figured out the goldcard soulotion and went to a official rom from htc as stated.

I then flashed the

new recovery-RA-HERO-v1.2.3

There are several ways to install a custom recovery, choose the one that suits you most (I probably forgot a few).

via adb -> Requires a custom recovery (with test-keys) like Cyanogen's v1.4 or my previous recovery

Code:

Copy recovery-RA-HERO-v1.2.3.img to the root of your sdcard

Boot into your current custom recovery (boot while holding HOME)

Connect your Hero via usb to your pc/mac/...

adb shell

$su (not required if you have root already)

#mount -a

#flash_image recovery /sdcard/recovery-RA-HERO-v1.2.3.img

to my phone as stated.Then i installed the cool modaco custom rom v2.6 to my phone then finally i partioned my sd card using the recovery imiage with thease commands directly from the phone in recovery.

I ran the following commands in this order from recvoery mode:

- Wipe data + cache (factory reset)

- Wipe ext partition on SD-card

- Wipe Dalvik-cache on SD-card (NOT on /data !) DOESN@T ALWAYS WORK

- Partition SD-card : 500MB Ext2, 32MB Swap, remaining Fat32

- Convert ext2 to ext3

- Installed ROM

what a busy day and now i have a super hero :)
[Hero, G2 Touch Android Development] Belizibub:
Including 170
[Hero, G2 Touch Android Development] chrisjasper:
Not that then. Thanks...
[Hero, G2 Touch Android Development] Belizibub:
I got the same error, i ran through the process again, only i inserted the SD card into the PC and formated and did the Hex rather than carried it out with the SD card mounted in the phone.

Hope this helps
[Hero, G2 Touch Android Development] chrisjasper:
No, I've only been formatting and writing in the PC.

Oddly the CID changes every time I run the process, not sure if its supposed to or not??
[Hero, G2 Touch Android Development] jutley:
including 170
[Hero, G2 Touch Android Development] Leechoonhwee:
I had the same thing with the CID error and I ran everything on my PC. I tried at least 20 times either running it from PC or Phone and now my Phone cannot even mount the SDCard anymore. Odd.
[Hero, G2 Touch Android Development] chrisjasper:
Its getting frustrating, my main reason now for wanting to do this is so I can get rid of that bloody loud and annoying startup sound.
[Hero, G2 Touch Android Development] dkp02:
ERROR 140

I have done the goldcard and now when I come tom install the rom, I get the above error saying that I have the use the wrong bootloader.... Please help. I used the 1.76... HTC RUU.

I have a T-mobile phone with the latest update.

Thank you

Darren
[Hero, G2 Touch Android Development] jutley:
use this one it works i had the same problem

RUU_Hero_HTC_WWE_2.73.405.5_WWE_release_signed_NoDriver.exe
[Hero, G2 Touch Android Development] dkp02:
ERROR 140

Thanks

How do you downgrade after that?

Sorry for the questions - I am a noob :)

Regards and thank you for the quick reply

Darren
[Hero, G2 Touch Android Development] chrisjasper:
Its fairly obvious that mine is failing the CID check, so I have a couple of questions if someone knows the answers?

1) Do you need to change the phone maker when calculating the reversed strinq with qmat, it defaults to Seimens BenQ, does it need to be HTC?

2) Does the reverse calculation do anything else to the code or does it just reverse it, the first couple of times I tried entering it on the website it came out as invalid (yes, I replaced the first 2 characters with 00)? Will it make a difference if you just type it in backwards?

3) As noted before I have got a few different CID numbers as I repeated the procedure, it now seems to have settled down to one, has anyone else had this other than myself and Leechoonwhee??
[Hero, G2 Touch Android Development] jutley:
Q1 I changed to HTC just for good measure it worked ok for me

Q2 Just click on reverse string and on goldcard site relace the first two numbers or letters with 00

Q3 I Never noticed it but all went well for me a succesfull downgrade.
[Hero, G2 Touch Android Development] jutley:
why downgrade get a custom rom like modaco 2.6 but make sure you install recovery imiage first.
[Hero, G2 Touch Android Development] chrisjasper:
Interesting, I've just realised that I get a different CID when I use a different SD card.

So the CID is for the SD not the phone?
[Hero, G2 Touch Android Development] chrisjasper:
Yay!

Cracked it.

The CID

is

for the SD card and not the phone, you need to make sure you use teh same SD card for the entire process and not switch between them as I was doing.

You must make sure the SD crad is in the phone when you get the CID, then take it out and use it in your PC to do the rest of the parts (hex editing).

Now to get nandroid back on my phone....

Thanks one and all
[Hero, G2 Touch Android Development] Dredwerker:
yay for the people who sorted out the goldcard thing and then even more yay for the instant rooting people.

I got really stuck after the t-mob ruu.

I also couldnt downgrade to the 1.7 due to a newer(?) bootloader issue. I couldnt get a cyanogen recovery on using fastboot etc.. due to remote fail.

Goldcard + instant root is the way forward but it has taken me hours to get this far.

Now what was I doing again? ;)
[Hero, G2 Touch Android Development] Dredwerker:
Also I didnt have to replace the two zeros on my CID as it said that was an invalid CID. I reversed as it was.
[Hero, G2 Touch Android Development] chrisjasper:
I used the 2.73.405.5 rom, seemed to work best for me, I now have the Amon Ra recovery image for Hero and am putting Modaco 2.6.1 on.

You definitely need to have the two zero's for the goldcard, I had that issue for a while, just kept trying. Typing in the CID backwards works.

Also I couldnt get fastboot to work either, but flashrec did work as long as you use the format /sdcard/imagename (so /sdcard/cm-hero-recovery.img)
[Hero, G2 Touch Android Development] Dredwerker:
I would love to disagree with you regarding the 00s but with some of this I have gone so around in circles and not documented it that I dont what I have done or who I am. I am pretty sure I got invalid CID but hey ho.

I am sure I also tried /sdcard/imgname - I did in fact and it worked but only after the 'instantroot'.

Once I got my cyan 1.4 recovery boot - I became not very sure about what I wanted.

I wanted hero with donut on my HTC Hero but it seems like all the dev is for the G1/Dream.

Any ideas on the next rom-to-die for gratefully appreciated?

There used to be a page for Kaiser roms.

ramblings-of-a-dribbling-man :)

Keep it up all
[Hero, G2 Touch Android Development] chrisjasper:
Modaco version of Donut for the Hero.....

Until then, I would go with the Modaco 2.6.1, fast stable and lots of support
[Hero, G2 Touch Android Development] dkp02:
Unable to install cm-recovery with flashrec

Hey,

I have managed to install the RUU 2.73.405.5 . I am unable to install the cm-hero-recovery.img using flashrec.... (/sdcard/cm-hero-recovery.img) ... I cannot flash as I keep on getting the button greyed out and not allowing me to flash the cm recovery...

Is there another way ( step by step please as I am a noob) how to get the cm recovery img or RA-AMON so that I can do a nandroid backup and install modaco rom.

Many thanks for all the help.

Regards

Darren
[Hero, G2 Touch Android Development] jutley:
(STEP 2 recovery-RA-HERO-v1.2.3)

I then flashed the new recovery-RA-HERO-v1.2.3 Great Video guide here http://theunlockr.com/2009/10/15/how...lready-rooted/

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

There are several ways to install a custom recovery, choose the one that suits you most

via adb -> Requires a custom recovery (with test-keys) like Cyanogen's v1.4 or my previous recovery

Code:

Copy recovery-RA-HERO-v1.2.3.img to the root of your sdcard

Boot into your current custom recovery (boot while holding HOME)

Connect your Hero via usb to your pc/mac/...

adb shell

$su (not required if you have root already)

#mount -a

#flash_image recovery /sdcard/recovery-RA-HERO-v1.2.3.img
[Hero, G2 Touch Android Development] Dredwerker:
Give instantroot a go. Download link is in this thread then. You will have to turn on third party apps of unkown source on in your settings.

Then try the flashrec by copying the image onto the sd card. I think the trick is to give it a sec to find the valid image.

Your path looks right but I just copied it there via usb.

I used the cm1.4 (cyanogen recovery mod) which is what you seem to be doing
[Hero, G2 Touch Android Development] Dredwerker:
Done :)

go Modaco donut :)
[Hero, G2 Touch Android Development] dkp02:
REPLY

Hey thanks for the quick reply.

This afternoon when you pointed out to me which RUU i need to install. I did exactly that.

Now when I boot ( by pressing home and power), i get a triangle with an exclamation mark within it and when i press power and home again I get a blue font "Android system recovery utility" with 3 options saying reboot system, apply sdcard:update.zip and wipe data/factory reset.

Then at the very bottom i have a yellow fonted error saying: " E: Can't open /cache/recovery/command.

It is not the usual boot screen.... And when i use adb devices, i get no devices found.....

Thanks

Darren
[Hero, G2 Touch Android Development] Leechoonhwee:
Anyone with the issues of the SDcard only appearing under logical disk and not physical disk?

EDIT: GOt it. Has to run the editor as administrator in order for it to appear. Mods, please add this important information as this will happen to people running vista or higher.
[Hero, G2 Touch Android Development] Leechoonhwee:
http://theunlockr.com/2009/10/18/how-to-downgrade-your-htc-hero-so-it-can-be-rooted/
[Hero, G2 Touch Android Development] jutley:
HERE ARE MY GUIDES TO HELP ALL FROM A2B

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

http://android.modaco.com/content/h...o-to-super-hero-for-users-who-cant-downgrade/
[Hero, G2 Touch Android Development] Jesterz:
added, thanks

theunlockr, nice video but give credit to XDA and others.....
[Hero, G2 Touch Android Development] tianci86:
hi, i'm having the same problem too. usb connection error 170. i tried running the command: adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid again and discovered that the SD card CID didnt not change. i'm from singapore and have bought the phone from the local phone service provider singtel.

kindly advise.thanks
[Hero, G2 Touch Android Development] CruiseMan:
Many thanks for all information. Finally rooted my Hero to modaco 2.7. :D
[Hero, G2 Touch Android Development] Leechoonhwee:
if you can run adb I think your usb connection should be fine. Do you get the message after you ran the RUU?
[Hero, G2 Touch Android Development] tianci86:
hi, i got this msg during the setup of RUU downgrade. i'm using sandisk micro-sd card for it. dunno if it is the card problem
[Hero, G2 Touch Android Development] CruiseMan:
Try to copy the cid file to the SD card.
[Hero, G2 Touch Android Development] elee1998:
Does this work with 2.73.751.4? As I have followed the instruction and created a Goldcard, but not able to restore 405.5?

Does anyone know why? Thanks
[Hero, G2 Touch Android Development] Leechoonhwee:
Sandisk should be fine as I am also using it. Now, try to use the drivers from the HTC website and install them when you are in bootloader mode. I find that I gotta switch ard the drivers when I encounter connecting issues.
[Hero, G2 Touch Android Development] Blackhorse:
Hi ive followed the instructions to the letter and all gone well, my version has been downgraded

But im still hit by the error message:

downloading 'boot.img'... FAILED (remote: not allow)

When i try to run the command

fastboot boot cm-hero-recovery.img

Trying to flash the modaco customer rom

In running an ORANGE UK Hero
[Hero, G2 Touch Android Development] kemoore2:
On an already bricked phone..?

How can I make a goldcard if the phone is already bricked?
[Hero, G2 Touch Android Development] packetlss:
You need to use flashrec or some other method to get the recovery on the phone. Check under point 20 in the first post of this thread.
[Hero, G2 Touch Android Development] Blackhorse:
Thanks,

Used the guide : If you flashed the original RUU_Hero_HTC_WWE_2.73.* and got the new hboot

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

Im sure i tried this before doing the goldcard!? Maybe i needed to do both!?

All working again, back on the modaco custom rom!
[Hero, G2 Touch Android Development] kojirovn:
Thanks for usefull guide, my hero rooted n flash in recovery successfully
[Hero, G2 Touch Android Development] seilor:
17. Click on the “removable disk” tab. Select offset 00000000 till offset 00000170 (including the 00000170 line), click on Edit tab and then Paste Write.

i can´t this i don´t have paste write option :(
[Hero, G2 Touch Android Development] talkways:
Sorry for asking stupid question. But will it make the phone CID Unlocked as well. In fact want to unlock phone but orange uk phone can't be unlocked if it is not CID unlocked. Can't be bothered to make custome cables, as mentioned in http://xdaforums.com/showthread.php?t=559806. Thanks.
[Hero, G2 Touch Android Development] kawai_sammi:
can anyone kindly answer my problem..:confused:

i have follow all the step in here, but also can unroot my hero with the hk rom, 2.723.721.9

my cid is 035344535530324780001b9c8c009664

it will show “00609c0c8b901007824035335453435″

when i revert it the first “0″ will not show,

is it a problem ( but i also try to add back the “0″ and create a goldcard, and it also not work for me)

after i create the goldcard, its seem all ok, but when i use the 405 official rom (download here ) , it said the custom id faile....:confused: