I've now fixed my Semi Bricked -HTC desire s by creating goldcard.
I've used some other htc phone to create a goldcard. But now I learned how to make my own goldcard without htc phones. But you'll need a SD Card adapter and SDCard reader in your laptop. Not the USB card reader, but The SD card reader which is orginally attached to your laptop.
There's 3 way of getting correct CID for your micro sd card.
I'll explain how to get CID in detail using all three Methods.
Method 1: (require working state HTC phone)
Method 2: (require HTC phone which support adb connection at the moment)
Method 3: (When your phone is semi bricked and you are stuck in Bootloader screen, You need MicroSD card adapter to fit in SD card reader of your laptop)
Method 1:
1) download Goldcard Helper from Google play (few days back it was android market)
2) open the application, you'll get Reversed CID directly.
3) don't do anything to this cid, it's a reverse cid final one that you can use directly.
Method 2: using adb
1) either use this application to get cid
[PC Application] GoldCardTool - Android @ MoDaCo
or
go to console (cmd) , go to ... Android\android-sdk\platform-tools> where you have installed your android sdk. type
Code:
adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid
Now you should get your cid.
You have to reverse the CID on your own. here's how you do that.
this is my CID
Code:
02544d53413038471026f9e10300bb0e
next step:
Code:
0e bb 00 03 e1 f9 26 10 47 38 30 41 53 4d 54 02
(reverse in 2 character pair)
next step:
Code:
00 bb 00 03 e1 f9 26 10 47 38 30 41 53 4d 54 02
(replace first 2 digit with 00)
next step: remove space
Code:
00bb0003e1f9261047383041534d5402
, this is your reversed CID.
METHOD 3: which I used, using PC SD card,
a) you need READCID from
jo0ls' .Net stuff: Read secure digital (SD) card serial number from the CID
b) put ur microsd card in sdcard reader using MICROSD adapter. and run Runcid as administrator.
c) you should see something like this
http://s14.postimage.org/ptak91bhd/sdcard_New_Micro_SD_1.png
d) now copy that RAW CID Byte.
it's
Code:
bb 00 03 e1 f9 26 10 47 38 30 41 53 4d 54 02 00
for my SD CARD,
e) simple reverse it in one step, remove last two character, and place 00 in the front, so your reverse cid is
Code:
00bb0003e1f9261047383041534d5402
You should get your CID by now using , I used method 3 while I fixed mine, but i've tested all three method and It gives the same result.
Now Use this CID to get Gold card.
1) get CID from above method.
or Guess ur CID until u get one

(Just kidding..)
2) Now use the reversed cid and Download Goldcard from this site (
RevSkills | We deliver mobile forensic and analysis software solutions worldwide, Actually the direct link was
Free HTC goldcard generator | RevSkills but It's not working today. May be the link is moved]
3) now Enable USB Debuging mode, select Disk mode and run goldcard tool from
[PC Application] GoldCardTool - Android @ MoDaCo , or find latest version from some other site.
4) select gold card /correct drive and patch MMC.
5) download the RUU you want to install. (Tips: Choose one from your region)
6) open the ruu and go to %temp% , you can go there either from run (Win+r) or paste it in your windows explorer address bar. find a folder like {0a9sdf..00s} where you'll find rom.zip file.. which is your rom. now copy that file to the goldcard(ur mmc card) and rename it to PG88IMG.zip.
7) restart your phone to fastboot bootloader and select first option(I don't remember the name of the option,You'll find it anyway

)
8) It should install your ruu without any problem.
If you have any problem, after getting reverse CID using one of the above method, follow after step 5
Click here post by kashoulis, He's using HxD Hex editor, which is straight forward, But pay attention while selecting opendisk, You must select your card drive listed in
Physical Disks not in
logical disk. if you choose logical disk, you have to format your disk..
once again Thanks FoX777 and kashoulis for your help.