yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] jkoljo:
How did you reverse the cid? And did you use mmc2?
[Desire HD Android Development] pedroleroi:
hello all,

the web site : http://hexrev.soaa.me/ don't work,

so if some one can help me for reverse this cid mmc2 :

1b534d3030303030107ce806f700ab0e

Best regards,

Pedroleroi.
[Desire HD Android Development] Andy:
Easy -> 00ab00f706e87c1030303030304d531b
[Desire HD Android Development] pedroleroi:
I have all the time 0 bytes transfered when I tape : adb push psneuter /data/local/tmp ?

I seaerch and see this probleme come when Goldcard is not good, sow I use this web site : http://psas.revskills.de/?q=goldcard

for made my gold card, but not work ?

Best Regards,

Pedroleroi
[Desire HD Android Development] Andy:
I made an excel file to do it, also available as an open office .obs

Just click my sig and head to Tools > CID Reverser
[Desire HD Android Development] Marogian:
Just got a brand new Orange branded Desire HD, followed these instructions precisely, except I don't have access to a Windows machine so I had to follow these instructions to make a Goldcard on Linux:

...eugh. New users aren't allowed to post links. Google "How to create a goldcard with Ubuntu Linux" and its the top link.

Edit: Just to add the key part which diverges is here:

sudo dd bs=512 if=~/Downloads/goldcard.img of=/dev/sdb1

where /dev/sdb1 is the location of the sd card. There's a bit of ambiguity in my case as to whether it should be /dev/sdd (the physical drive) or /dev/sdd1 (the first partition), I did /dev/sdd1 first then tried /dev/sdd and neither appear to have worked...

Anyway, I've tried 3 or 4 times now and each time I get CID Incorrect. Any suggestions? Is there any way I can find out what's wrong with the Goldcard?

Thanks...

Edit: Figured it out, so for anyone else trying to do this on Linux/Ubuntu:

Follow instructions as usual, when you have to use hex editor:

Disk mode on Phone

Go into Disk Utility and unmount the phone, then make note of the device name of the SD card (not the partition)

In terminal run 'sudo dd bs=512 if=~/Downloads/goldcard.img of=/dev/sdb1' where /dev/sdb1 is the device name and the goldcard image is the right location.

I hadn't been unmounting the card correctly! D'oh!
[Desire HD Android Development] hawkwind:
This has been driving me up the wall.

Whenever i try the command i get "adb is not recognized as an internal or external command, operable program or batch file."

I have HTC sync installed and usb debugging on and on charge only, hours of reading and searching has come up with no solution :(
[Desire HD Android Development] narkolitar:
Since I am noob, I will make a dumb question. In which part of the procedure should I reverse the CID? ok ok dont laugh, I really need help whith this stuff. I read many of the threads and posts, but still feel a bit lost. So point me to the right direction, please :-)

MM

PS I created my gold card using a program "gold card tool 005" I found on this forum.
[Desire HD Android Development] UpInTheAir:
Sounds like your not navigating in CMD (command prompt) to where your adb.exe file is actually located ie. (cd\......\......... )

For correct setup, check this guide: [GUIDE] ADB for Noobs - How to get adb working !

Edit: I've always used the SDK tools, and for that to work, you need JDK (Java Devlopment Kit) installed prior.
[Desire HD Android Development] pedroleroi:
hello andyharney ,

can you share this exel file pls ?

Best Regards,

Pedroleroi.
[Desire HD Android Development] hawkwind:
Thanks for taking the time to reply :).

I manged to find another tutorial that had the neccessary files and information.

Blimey its easy when you know how :D
[Desire HD Android Development] bates_1974:
tried this several times now and keep getting CID incorrect after it checks the .zip.

CID = 45010053454d3034479011d89c051e14

reversed = 001e059cd811904734304d4553000145

correct?
[Desire HD Android Development] Andy:
Your reversed CID looks fine. Have you tried using a different SDcard?
[Desire HD Android Development] bates_1974:
yes, tried 2 different sd cards now, full format both, taking all steps again on both. same result. kind of frustrating now
[Desire HD Android Development] Andy:
Don't be disheartened, of the 5 cards I own only one works as a goldcard. I got that years ago with my HTC Hero. Your CID is correct, so it must be the card.
[Desire HD Android Development] bates_1974:
would it be advised to use a 8gb card?
[Desire HD Android Development] Andy:
I honestly don't know if capacity affects the goldcard. My goldcard is only 512MB:(
[Desire HD Android Development] bates_1974:
nope 8gb card didn't work either :(
[Desire HD Android Development] AndriodLover:
I followed all the instruction. I only get a # when done. when I try to downgrade I get "Main Version is older" HELP PLEASE.

(I have followed all the instructions , tried 5X already)

Update (sorry about the stupid post , found out that the issue is, I will try to again :) )
[Desire HD Android Development] jkoljo:
Make sure that you are using mmc2 if you get CID incorrect issue.
[Desire HD Android Development] AndriodLover:
I have unbranded phone so the process was that little shorter. everything worked like described in the first thread. Just got RCMix HD v5.9.7 on my dhd, Any recommended radio ?
[Desire HD Android Development] jkoljo:
Use the one that is recommended for your ROM.
[Desire HD Android Development] equinoks:
Hello...

i tried to downgrade my DHD which informations are below:

Android Version

2.2.1

Baseband Version

12.28e.60.140fu_26.04.02.17_M2

Kernel Version:

2.6.32.21-g1e30168

htc-kernal@and18-2 #1

Build number:

1.75.161.2 CL301245 release-keys

Software number:

1.75.161.2

Browser Version:

Webkit 3.1

I followed instructions and I succeed with ADB commands but when i created goldcard and put ROM inside, sometimes i see 'checking...' after nothing happen, just restart to bootloader mode, and sometimes i got CID incorrect: and now my DHD stucks in bootloader when i power on normally..

Any issue plz??

Thank you!
[Desire HD Android Development] narkolitar:
Please clarify

When I finish all the cmd commands I need to turn off the phone, and then turn it on again by pressing volume down and power button simultaneously (enter bootloader) right. In the phone should be gold card with new immage file on it right? The question is, if I make temp root, dont I lose that temp root when I turn the phone off?

Please reply, or athleast send me a pm if this is not good enough to be on the forum since I am failing every time.

Thanks.

MM
[Desire HD Android Development] adnanmohd:
Help

I installed the new 2.3.3 RUU 2.36.405.8 and cant downgrade anymore

I get message "Failed to set prot mask (Inappropriate ioctl for device)" after "adb shell /data/local/tmp/psneuter"

anyone has any idea whats the issue here !!
[Desire HD Android Development] cracksquirrel:
Same problem here aswell
[Desire HD Android Development] Andy:
Do you have Super CID? Radio S-OFF? If so just drop the downgrade PD98IMG.zip on your SDcard and boot into bootloader.
[Desire HD Android Development] cracksquirrel:
Neither of those unfortunately
[Desire HD Android Development] Andy:
Unfortunately without those your stuck with HTC Gingerbread until a new root/downgrade method is found.
[Desire HD Android Development] jkoljo:
Sure, but temproot is only needed to run misc version, after that you do not need it anymore.
[Desire HD Android Development] jkoljo:
Try gingerbreak, and if you manage to get temproot, proceed with chmod misc version, and then run misc version.
[Desire HD Android Development] jkoljo:
Great news!! It seems that gingerbreak indeed works to temproot even the new gingerbread WWE ROMs! I will edit first post next week, I cannot get to a PC right now. So here are the instructions:

- Get and use Gingerbreak (google it)

- Start following the guide, leave anything with psneuter out, so do not push it, or chmod it, or run it

- Do command "su" before last misc_version command

- Enjoy :)
[Desire HD Android Development] cracksquirrel:
So im trying to root this gingerbread rom, I have followed the above instructions.

When I tried using Gingerbreak it does it's work for a few mins then says there was some kind of error, and suff starts fc'ing, so i then went on to the adb stuff leaving out anything to do with psneuter but at the end I get this,

Patching and backing up partition 17...

Error opening input file

??
[Desire HD Android Development] jkoljo:
Your problem is in gingerbreak. Use version 1.2 or higher and it should work.
[Desire HD Android Development] cracksquirrel:
I'm using 1.2, although I think I now have some kind of root, temp or perm I don't know but superuser has been installed, Tried the adb commands again and still getting the same error, not sure if im entering them properly though.

EDIT: Seems it was temp root as when I went back into gingerbreak the option to unroot was there but after restarting the phone the superuser app has disappeared.

I have temproot again
[Desire HD Android Development] jkoljo:
Did you get # in the command prompt? If not, try command su. Remember to accept superuser in device.
[Desire HD Android Development] cracksquirrel:
if i use terminal emulator on phone then when I enter "su" I get #, it's just when im entering the adb commands in windows that I cant get #
[Desire HD Android Development] jkoljo:
That is not possible. If it says permission denied in adb shell, you have not allowed superuser. It pops up on your phone.
[Desire HD Android Development] cracksquirrel:
phew, finally got the adb commands working, before after I had attempted to temp root I would go back into gingerbreak which is when superuser thing popped up, i would say allow then exit gingerbreak then run the adb commands and it wasn't working.

This time I just ran gingerbreak once to get temp root, then when straight to the adb commands, when i got to "adb shell" it came up with $ but this time when i entered "su" the superuser app popped up on my phone, clicked allow and I now have # in adb shell aswell :)
[Desire HD Android Development] cracksquirrel:
Thanks for all your help jkoljo
[Desire HD Android Development] jkoljo:
Nice one :) Please tell me when you have downgraded, so I know 100% that this guide works with new gingerbreads :)
[Desire HD Android Development] cracksquirrel:
Successfully downgraded, Put the PD98IMG.zip onto SD card, rebooted into bootloader and it did it's thing, now on Android version 2.2, Software number 1.32.405.6.

Now to get S-OFF and perm root. :)
[Desire HD Android Development] jkoljo:
Wonderful, thanks for testing!
[Desire HD Android Development] pigimakos:
I have desire HD with the following

Stock ( RUU_Ace_Gingerbread_S_HTC_WWE_2.36.405.8_R_Radio_1 2.54.60.25_26.09.04.11_M2_release)

Android: 2.3.3

HTC sense: 2.1

Kernel: 2.6.35.10-g0956377

2.36.405.8

Can someone tell me in detailed how i can root this device , if there is any way ?

i have never root before so the phone is like when u buy it from store.

Is there any way or i am stuck with it ? i rly wanna to try so many nice rom's that u have here

Tell me if u need any additional info
[Desire HD Android Development] jkoljo:
Well how about read the last page in this thread :)

So follow those instructions, and then when you get to 1.32 ROM, just do root and S-OFF normally. I have some tools for that in my signature.
[Desire HD Android Development] unforseenenemy:
Ever get your error figured out?

Been dealing with this all day
[Desire HD Android Development] cracksquirrel:
Run gingerbreak, takes a few minutes and on my phone stuff started fc'ing during the root, if you get anything like that just click the force close button when it pops up and let gingerbreak carry on doing it's thing until it's finished, when i did it gingerbreak said something went wrong and it didn;t reboot but it had stil rooted, make sure you have the stock 1.32 PD98IMG.zip and downgrade zip from the first post on this thread, extract the downgrade.zip to a folder somewhere on your pc, open a cmd promp with admistrator privilages and navigate to the downgrade.zip folder that you extracted, then plug your phone into your computer and select "charge only" when the menu pops up on your phone (you also need to have HTC Sync or the android SDK installed on your pc), now go back to the cmd prompt and type the following

adb push misc_version /data/local/tmp

adb shell chmod 777 /data/local/tmp/misc_version

adb shell

after the last command "adb shell" you will have this $

now type "su" and a message will pop up on your phone askin to allow an app called superuser, click allow and the cmd propmt window shoud change to a #

now type this

cd /data/local/tmp

./misc_version -s 1.31.405.6

Now you need to put the PD98IMG.zip in the root of your SD card, I had to put the SD card into my pc cos for some reason my phone didn't have the option to use the card as disk drive after I had done all this, put card back in phone, reboot into recovery and it will flash back to 1.32
[Desire HD Android Development] ronalgps:
someone help me out

i did the goldcard all ok

i did all until hier..

adb push psneuter /data/local/tmp

adb push misc_version /data/local/tmp

adb shell chmod 777 /data/local/tmp/psneuter

adb shell chmod 777 /data/local/tmp/misc_version

but in this command adb shell /data/local/tmp/psneuter

than that happen

adb shell /data/local/tmp/psneuter Failed to set prot mask (Inappropriate ioctl for device)

what im missing
[Desire HD Android Development] Andy:
I take it you didn't see this post.
[Desire HD Android Development] joco_kocsis:
help

I need help, I want to do downgrade and appears: Failed to set prot mask (Inappropriate ioctl for device)....what is this????
[Desire HD Android Development] jkoljo:
Please if you do not want to use forum search, even read the last page of the thread you are posting to.
[Desire HD Android Development] ronalgps:
are you talking about it

Troubleshooting:

- "Main version is older"? You did not type everything correctly. Please try it again and see if any errors come up.

- "Error opening backup file"? You did not use "Charge only" -connection, or your SD card is faulty.

- "CID mismatch/CID incorrect"? Your device is branded. Just make a Goldcard, put the PD98IMG.zip to the card again and go to the bootloader.

- "Model ID incorrect"? Some Telus DHDs get this, just make a Goldcard.

- Zip will not load in bootloader? Format your SD card to FAT32, no quick format! You can also try another SD.

- Problems while making Goldcard? See this post.

- PD98IMG.zip md5sum is: C3D244A9F056E48EE3851A14FF52204C
[Desire HD Android Development] ronalgps:
that is my problem too
[Desire HD Android Development] joco_kocsis:
sorry..........
[Desire HD Android Development] jkoljo:
No problem, maybe you learned something :)
[Desire HD Android Development] edan1979:
finally after 2 days reading and searching for answers... all went well with downgrade... now off to s-off

thanks jkoljo for a nice guide
[Desire HD Android Development] Ashimema:
Apologies for being a numbpty... seems my problems (below for reference) were all to do with formatting.. a reformat of the SD Card (read Goldcard) as fat32 again did the job!

I'm confused.. followed all the steps as per the first post, however I'm unsure as to what the last step entails?

When I reboot my device (Holding the volume down key) i do indeed get a HBOOT screen with the option "Fastboot, Recovery, Factory Reset, Simlock and Image CRC", which of these options do I need to actually use.. I was expecting an "update" or similar option.

Doing a factory reset just gets me back to Vodaphone defaults and i'm unsure what the other options do.. Any help would be greatly appreciated. (Also a little odd in my mind, whenever I do that reboot and the disk is checked (before the boot emnu become active) the messages seem to come up with "no image present"..

Have I missed something?
[Desire HD Android Development] jkoljo:
Try another SD, your current card is acting up. Bootloader should detect the image automagically.
[Desire HD Android Development] tinason:
Excuse my n00bness, please

Hello.

I see multiple references to the 'PD98IMG.ZIP' file made in multiple threads (including this one).

The only thing I know about this file is that when I reboot my phone, with 'volume down' pressed, and the phone goes to a white screen (is this the 'bootloader'?), the phone searches for this .zip file automagically.

Here are my n00b questions:

- Why does my phone search for this particular file?

- How does this file differ from any other custom ROM (say, ARHD)

- What actually is a PD98IMG.ZIP file?

I did search for a thread labelled 'Stupid n00b Questions', but couldn't find one, so please forgive me for posting here.

Thanks in advance for any replies, and also thanks to anyone that points and laughs at me (just like 'Nelson' from 'The Simpsons').

Have a nice day!
[Desire HD Android Development] edan1979:
Here are my n00b answer : -

- Why does my phone search for this particular file?

if the particular files exist in your sdcard. it will try to update your rom

- How does this file differ from any other custom ROM (say, ARHD)

the content is different. just the name is the same.

- What actually is a PD98IMG.ZIP file?

its a file containing a ROM. In this thread it is for a Stock ROM 1.32.405.6
[Desire HD Android Development] tinason:
I am cool with that, but I would like to know for what reason this happens?

What is the purpose of this functionality?

How is it different?

Does it contain radios?

What does it have inside that is not in a regular-ass ROM?

Ok, but why does this radio thread talk about the same files?

Do PD98IMG.zip files contain ROMs, Radios, or both? Or not necessarily either? What requirements are there in ensuring such a file flashes / installs correctly?

Why will my hair fall out when I'm 70?

I wish there was a cream to take away this 'n00bness'.

Thanks, in advance, for your help!

I also would like to know how to create such a file.
[Desire HD Android Development] jkoljo:
PD98IMG is a signed package that can contain any partition of your phone, including radio and bootloader, for example. It is used to completely flash a new system. You can only flash HTC's ROMs using that method, and it is basically the same thing as using a RUU. When you open a RUU.exe, rom.zip appears to your computer's temp folder. You can rename it to PD98IMG.zip.

We can also make our own PD images, which can contain, for example, radios. But we cannot sign them properly, only HTC can do that. That is why you need S-OFF to use the "custom" PD98IMG files.

The bootloader searches for the file just because it has been programmed to search and update. It is a feature. It is useful to have a functionality like that if the whole rest of the system breaks down.
[Desire HD Android Development] tinason:
jkoljo is awesomeness personified.

Thank you. This is exactly the info I had presumed, but feared to assume!

So, this means I can create a modified partition (say, system data, user data, radio, whatever), zip it up, rename it to PD98IMG.ZIP, stick it in my sdcard's root directory, reboot into the phone's bootloader, and (all going well), whatever partitions I have included in the .zip file will be flashed on the phone, replacing whatever is on the phone at the time? (obviously, this is a 'do not try this at home, kids' kind of thing, best left to the experts such as yourself)

Do all Android phones have the same partitions? or do different manufacturers create different partitions?

Is there a list of what partitions exist for Desire HD phones?
[Desire HD Android Development] jkoljo:
You can do that, but it means that the files have to be in the right formats. It is very hard to convert a custom ROM to PD image, but you can use the feature to conveniently flash other stuff like splashes and radios if you have S-OFF. On the other hand, fastboot flashing does pretty much the same and more, so I do not personally like to use PD images.

The partitions in PD images are pretty much the same, but the PD image has to contain a special file called android info, which specifies the phone that your zip is made for. If phone model in the txt and the actual model do not match, the update gets aborted. Look inside a HTC's rom.zip to find out more ;)
[Desire HD Android Development] tinason:
jkoljo, as awesome as ever.

Thank you, sir.

May your life be blessed with the love of 1000 virgins.

...or that you may with the lottery.

I appreciate your help!
[Desire HD Android Development] ronalgps:
what i need to do when that happen

adb shell /data/local/tmp/psneuter Failed to set prot mask (Inappropriate ioctl for device)
[Desire HD Android Development] niathan:
same issue ,advice?
[Desire HD Android Development] ronalgps:
i tried

Great news!! It seems that gingerbreak indeed works to temproot even the new gingerbread WWE ROMs! I will edit first post next week, I cannot get to a PC right now. So here are the instructions:

- Get and use Gingerbreak (google it)

- Start following the guide, leave anything with psneuter out, so do not push it, or chmod it, or run it

- Do command "su" before last misc_version command

- Enjoy

adb push misc_version /data/local/tmp

adb shell chmod 777 /data/local/tmp/misc_version

adb shell

after the last command "adb shell" you will have this $ type "su"

but if I type su it say permission denied

i dont know what do you anymore
[Desire HD Android Development] jkoljo:
You have to let gingerbreak finish it's job, and do not close it. Remember to allow superuser request in phone.
[Desire HD Android Development] ronalgps:
thank you it work great...
[Desire HD Android Development] zdjaib:
OTA Update

hi, today is finally roll out the update 2.36.405.8 for htc desire hd via OTA. I wanted to be sure that upgrading to this version will be able to use this guide to downgrade to 1.32.405.6.

can anyone confirm? :confused:
[Desire HD Android Development] cracksquirrel:
Read the thread
[Desire HD Android Development] jkoljo:
Downgrade method for Gingerbread builds is now in the first post!
[Desire HD Android Development] tapperace2010:
Just a question about the process.

I have created my Goldcard as i have version soft 1.84.

Going to do the second process of the psnueter ect, and then the img.

after image do i just use Visionary tool then.

With all the confusion over what to do next, i got a little lost.

is the process of doing the adb push ect now on the front thread all correct or

can you just pm me the process once again please.

Many thanks i will donate once im paid.

TapperOUT!:D
[Desire HD Android Development] jkoljo:
It is 100% correct, do step one, then do step 2 that suits your device (2a), and then do step 3 :)
[Desire HD Android Development] nteeb:
Is it correct?

cd /data/local/tmp

./misc_version -s 1.31.405.6
[Desire HD Android Development] jkoljo:
Yes it is. My guides are more than triple checked.. ;)
[Desire HD Android Development] tapperace2010:
I have done part 1 no problem and get #, but when i start part2 i get su cant be found, what i am doing wrong thanks.
[Desire HD Android Development] tapperace2010:
Excellent guide im updating as we speak, just need to do the vsionary bit now,

then how do i flash my new firmware use ? clockworkmod like when i flashed my old htc desire.?
[Desire HD Android Development] tapperace2010:
I have sucessfully update my phone to lastest gingerbread, with sense 3.0

thanks so much for alll the great help.

This guide works 100%

TapperaceOUT!