[HTC Sensation] Zirowe:
Unlock phone with method 2 and retain warranty

So, because a lot of people were making questions about what happens to warranty after method 2, and no right answer was given, let me answer the issue.

I had a lot of work with 3 sensation phones today, had to unlock them, but method 1 was a "no go", but the problem was, that the owners wanted to retain the warranty.

I do have an xtc clip, so I know that on other htc phones, that can be unlocked only with xtc clip and diag file, this is irreversible and warranty is void forever.

So I started to search around the web and try out new methods, untill I found a solution.

I present to you the solution: unlocking and retaining the warranty. :)

For thoose of you, who just want to unlock the phone, but retain the warranty, and get back to stock after unlocking, here is what you have to do:

1. Download cid getter from market, then write down your cid and mid (this is very important!!)

2. S-off your phone with revolutionary (see here)

3. Unlock your phone with method 2 (see first post)

4. Download eng hboot from here, copy to root of sd card, reboot into hboot, apply hboot update, when it's done reboot phone and delete the downloaded file from sd card.

5. Reboot phone into fastboot mode, and issue this commands:

fastboot oem writecid yourcidnumber

fastboot reboot-bootloader

(remember, the cid must be 8 digits, so if your cid number is for example HTC_032, then you should issue fastboot oem writecid HTC__032)

To check the changed cid after reboot:

fastboot getvar cid

After the cid, it's time for the mid:

fastboot oem writemid yourmidnumber

fastboot reboot-bootloader

To check the changed mid number after reboot:

fastboot getvar mid

6. Download an official ruu from here, start the ruu, don't connect your phone to the pc.

Under windows 7 go to c:\users\yourusername\appdata\local\temp\

Must search for folders with over 300mb of size (of course "show hidden files" must be enabled), where you will find a file called rom.zip

Copy to your sd card and rename it PG58IMG.zip

Close the ruu, restart your phone in hboot and start the official update.

When it's done, reboot phone, delete the zip file, enter fastboot and enter this command:

fastboot oem writesecureflag 3

fastboot reboot-bootloader

Reboot your phone, and you are done: factory state has been restabilished and phone is unlocked.

Of course, if you want to retain s-off and recovery, than you should stop after 5., and finish 6. only if you have to send your phone to the shop for repairs.

Why do so many steps?

PG58DIAG changes the cid into supercid, and also the mid value (to something like this: PG58*****).

Unlocking the phone is not a problem because the sim unlocking itself doesn't shows up when you take it for repair, but if your phone has a supercid and a unofficial mid and you want to use your warranty, this changed numbers will void your warranty forever, like if you send your phone for repairs with s-off (at least in my country).

So if you change back cid and mid values to their originals, it won't be a problem, and nothing will be noticed.

With the hboot that revolutionary gives you, you can only change the cid value, but not the mid, don't even try it.

For the mid you need the eng hboot.

It would be nice to have this in the first post or something, I had a lot of work "findig out" and trying this method as the first person. :)

It worked flawlessly for me with 3 sensations, but as always, I am not responsible for any damage that it will make to your phone, everybody uses it at it's own risk.