[HTC Sensation] Lucky Thirteen:
Clyde is right, the only thing you miss to flash the firmware correctly is the CID. I will try to do it simple for you.

Let's do it with the SuperCID method :

Step 1 :

Is your device S-Off? Only two answers possible : Yes or No

If the answer is Yes proceed to Step 2

If the answer is No then proceed as follow : Installing S-Off guide and follow Step 1 of the guide. Once done go to Step 2​

Step 2 :

Your device is S-Off, but is SDK tools installed correctly and functionnal? Yes or No?

If Yes proceed to Step 3.

If the answer is No then proceed as follow : GUIDE For Noobs SDK, ADB, and Drivers just follow the step-by-step guide. Once done go to Step 3​

Step 3 :

Now you should be able to use the fastboot command to SuperCID your device, proceed as follow :

Open a command prompt and type : cd followed by the path to your adb folder Usually for Windows it's : cd C:\adb (or like mine C:\AndroidSDK\)

Ensure your phone is switched OFF and enter fastboot usb by holding VOLUME DOWN and by pressing POWER button and then connect it on the USB cable from your PC. Navigate to the fastboot usb menu with the corresponding key of your phone. ATTENTION : Before attempting this simply remove your SD card.

Enter the command in the cmd window : adb devices This is to confirm that your phone is connected. It should come back with a serial number, actually the one from your Sensation.

If everything went well we are ready to achieve SuperCID to your phone as follow :

In the command window type this always ended by the Enter... here we go :

fastboot oem writecid 11111111 (It's 8 times the number 1)

fastboot reboot-bootloader (Wait for your device to reboot in bootloader)

fastboot getvar cid (If the operation went correctly it should confirm your CID to be 11111111 meaning your phone is now SuperCID)

fastboot reboot

Now once your device tried to reboot, it obviously can not reboot since no ROM is installed, we are gonna fix this right away.

Remove your battery, reinstall you SD card with the correct firmware at the root of your SD card. Choose your correct firmware here .

Once done reboot your phone by holding VOLUME DOWN and pressing POWER button. Wait for the process to terminate and reboot your phone when asked.

Reboot in recovery and now you should be able to flash any ICS ROM and especially Elegancia ROM.

If someone found an error or I missed something, please, do tell me.

:)

EDIT :

If you know your EXACT CID here is how to edit the android-info.txt file contained in the PGxxxIMG.zip file. To do so, NOTEPAD++ is really a must download it here. If your ROM is fully functional go to Google Play and look for CID Getter or click here. The very first line gives your CID.

Download the correspondent PG58IMG.zip file you need.

Double click the file to open it if you already have an archiving utility installed like Winrar, or Winzip or by using the Windows built in ZIP program.

Right click on the android-info.txt and copy it. Let the ZIP file open for later.

Paste it on your Desktop, make sure it's outside of the zip file.

Now you need to edit android-info.txt you just pasted with the previously installed Notepad++

Simply replace/edit an already existingcidnum by adding your EXACT CID from the ones already in the file.

CIDNUM are always composed with 8 characters. There are no spaces in and after the cidnum. Here is an example with mine : BM___001

Save the file you just modified and Copy it in the ZIP file you left open earlier.

Replace the old one by the new android-info.txt you just created.

Now simply add your personalized PG58IMG.zip at the root of your SD card.

Flash your firmware as usual.