yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Teh_Tech:
Hi all!

I just wanted to say that it worked for me! I went straight to the fastboot PG58DIAG.nbh method thinggy and it worked like a charm! :-)

I did however think it was not going to work, as when I clicked on the clear thing 1 of the lines came up in red saying not found SD something or another, so I kept selecting clear for 3 more times, then pulled the battery, re-inserted it again & booted up, I also thought it had not worked as it did not wipe any data, but I put in my Fiancee's Orange sim (I'm on O2, phone is a HTC Sensation XE with S-OFF, Customed ICS & was locked on O2 before the process) and it worked perfectly without anything being wiped!

Thanks again for your awesome work! :D:D:D:D:D:D:D:D
[HTC Sensation] Sage:
what a bloody awesome guide!

pity it didnt work for me.. i went through everything.. I had a sim locked unrooted stock Sensation Z710e.

I S-Off'd

Put on Custom Recovery

SuperCID'd

Permanent Rooted

Then ran through Method 2 without issue.

Though for some reason my phone still wont work with an Optus SIM here in Australia. Works fine with a Telstra one though.

I spose my last option is to put on a custom rom.. lol :)

Damn it..

Not sure if my phone is sim locked or something else is going on now.
[HTC Sensation] 1ceb0x:
Hello world,

Is there by chance any of this method working on a Htc One V? It is not totally locked, only Orange sim cards are not working. The phone is not rooted because I want to be sure that I'll have a 100% method to fully unlock before rooting it mainly because I was thinking about going back to service with it to let the guys there do the trick.
[HTC Sensation] skygear:
NO - look at the ONE forum theres a thread there on it already
[HTC Sensation] Shee_B:
Method 2 worked like a charm for me. :)
[HTC Sensation] 1ceb0x:
Do you think that I came here just to ask something without searching? On one V forum no one reported as working so I don't believe i made myself clear: my phone is only 1 day old and I want a 100% working method because then I'll root my phone and try it. If i don't find a good method, I'll give it to service center. It's that simple. No need to be erratic. Cheers
[HTC Sensation] DaHorse:
Worked beautifully! :D

The only question mark for me was leaving DIAG mode - only way was to power down the phone - some extensive Noobs might get stuck there, thinking "what do I do now, will I brick my phone by powering down?" :rolleyes:

Big THANK YOU for all involved in working this out!
[HTC Sensation] klutch:
so it works on my phone and everything now my question is why does when i reboot the phone it asks me SIM UNLOCK when i unlocked it and i am running CM9 on my sensation:confused:
[HTC Sensation] craven667:
reunlock it didnt take unlocked is system not rom based
[HTC Sensation] klutch:
it did took it happen to me when i to my sensation out of the US to the dominican republic they unlocked it and did the same thing i rebooted and or my battery died that came up again SIM UNLOCK and it had the code to put it in it passes but then again reboot or battery dies same thing over n over
[HTC Sensation] kgs1992:
SIM/Carrier Unlock on a 1.2x (ICS) Hboot

xl VipeR lx please link to this post in the OP.

The PG58GIAG file cannot be used on a 1.2x Hboot.

This is most likely because of the change in partitions in the newer Hboots.

For method 2 to work,

you need a GB Hboot

i.e Hboot ≤1.18.

NOTE:

This method

will erase your phone's data

(apps, settings, sms, etc.) !

Make a Nandroid backup from recovery before doing this & restore the backup later if you don't want to lose your data.

This process is permanent, & non reversible.

Your CID will be changed to 11111111 & MID will be changed to PG58*****

So for anyone on a 1.2x Hboot looking to Carrier Unlock by clearing S-58 data, here's what you do:

Download the 1.17 firmware for your device from the User Friendly Firmware thread.

Follow the instructions in the thread to flash the firmware.

Remove the SD Card & get rid of the PG58IMG.zip & put this PG58DIAG.nbh [Mirrors at the end of the post] on your SD Card. (You need to use a card reader or use the method at the end of the post)

Reboot to the bootloader & clear S-58 data by selecting appropriate options.

Once data has been wiped, pull out the battery to power off the phone & exit from the diag.

Remove the SD Card & get rid of the PG58IMG.zip. (You need to use a card reader or use the method at the end of the post)

Download the 3.32 firmware for your device from the User Friendly Firmware thread.

Follow the instructions in the thread to flash the firmware.

Mirrors for PG58DIAG.nbh

Dropbox: http://dl.dropbox.com/u/79548769/PG58DIAG.nbh

ZShare: http://www2.zshare.ma/zrnqcrv2vz6b

Zippyshare: http://www14.zippyshare.com/v/17704752/file.html

2shared: http://www.2shared.com/file/lVfM7Jz-/PG58DIAG.html

4shared: http://www.4shared.com/file/5q7PgGCP/PG58DIAG.html

Mediafire: http://www.mediafire.com/?yors5go8b4cpr88

depositfiles: http://depositfiles.com/files/mszil2jbx

Rapidshare: https://rapidshare.com/files/997482326/PG58DIAG.nbh

filefactory: http://www.filefactory.com/file/z7qlyx4g5k5/n/PG58DIAG.nbh

​

It is possible to do this without a card reader.

Once the PG58IMG.zip is flashed, remove the SD Card.

Pull out the battery & reinsert it.

Hold vol dow & power

Select Recovery

Put the SD Card in

mount /sdcard

Then use the toggle USB storage option to mount as a disk drive.

Hope this helps.
[HTC Sensation] Galaxo60:
It already worked for an HTC Sensation from Mexico, with Iusacell carrier. Tested it with SIM from Telcel carrier.

Thanks for good guide.

:D
[HTC Sensation] mrg02d:
Is it possible to do this without a card reader? Such as booting into recovery and accessing the SD card as if one was using a reader? Im at work, so I cannot try it out till I get home. :D

EDIT: As in, flash the downgraded FW and then boot into recovery to remove the file...

Matt
[HTC Sensation] kicosh:
Hello.

I need some clarification on this. I am on 1.27 HBOOT and ICS 4.0.3 (stock,rooted,S-Offed) and need to unlock my phone. Method 2 is not working (Fails to enter bootloader when PG58DIAG.nbh is on sdcard.) Now what confuses me is that you say we should flash 1.17 Firmware but this firmware (according to thread you linked to) is for Gingerbread. And on that thread author says that we can brick phone if flash wrong firmware.

Is it safe to do this what you proposed?

Thank you
[HTC Sensation] ganeshp:
yep it is safe ..just that after you flash 1.17 firmware ..you cant boot reason being ..the same (you explained it )

also flashing 1.17 is for temporary purpose only ...just to get the diag file up and running ..and then you will flash back your original firmware again

and flashing firmware wont brick your phone...flashing a corrupted firmware might brick your phone
[HTC Sensation] kicosh:
Ok mate thanks i ll give it a shot.

Edit:

Ok i ve done it as kgs1992 said and it works. the only thing is that after flashing 1.17 i get into bootloop. but it is enough to unlock it. after just flash 3.33 and it worked fine.

thanks guys
[HTC Sensation] ClydeB1:
No, with the PG58IMG.zip firmware file on your sd card you will not be able to access recovery. If you still have a rom flashed, you can let the rom boot and then delete the file by using a file explorer app.
[HTC Sensation] kgs1992:
It is possible to do this without a card reader.

Once the PG58IMG.zip is flashed, remove the SD Card.

Pull out the battery & reinsert it.

Hold vol dow & power

Select Recovery

Put the SD Card in

mount /sdcard

Then use the toggle USB storage feature
[HTC Sensation] The Archangel:
Can you use a better link for file hosting. Preferably dev host, your Site doesn't work for me, just links to some Hollywood Site.
[HTC Sensation] kgs1992:
Although the previous link still works, I too believe that dev-host would be a better place to host it.

I've changed the link.

Here you go: http://d-h.st/ehA
[HTC Sensation] The Archangel:
Could you just upload it to xda, as an attachment. This is why
[HTC Sensation] ganeshp:
here then (remove .zip from the name)
[HTC Sensation] The Archangel:
Still not working. Getting security issue
[HTC Sensation] ganeshp:
you mean cant download the zip ? or zip didnt ran properly ?

if the case is former ..you should know better about download in xda :p :D

and if the case is latter then you got updated firmware ..chk this post on how to make it work properly
[HTC Sensation] The Archangel:
Going to try something else
[HTC Sensation] kgs1992:
Mirrors for PG58DIAG.nbh

Dropbox: http://dl.dropbox.com/u/79548769/PG58DIAG.nbh

ZShare: http://www2.zshare.ma/zrnqcrv2vz6b

Zippyshare: http://www14.zippyshare.com/v/17704752/file.html

2shared: http://www.2shared.com/file/lVfM7Jz-/PG58DIAG.html

4shared: http://www.4shared.com/file/5q7PgGCP/PG58DIAG.html

Mediafire: http://www.mediafire.com/?yors5go8b4cpr88

depositfiles: http://depositfiles.com/files/mszil2jbx

Rapidshare: https://rapidshare.com/files/997482326/PG58DIAG.nbh

filefactory: http://www.filefactory.com/file/z7qlyx4g5k5/n/PG58DIAG.nbh

One of these should work for you. :)
[HTC Sensation] Corvo007:
Confirmed! Method 2 with PG58DIAG file worked like a wallet! (charm isn't fashionable anymore :) )

Firstly i had a problem but i changed my SD card and it succeeded. Now my phone is SIM unlocked.
[HTC Sensation] Nucleotide:
Thanks a lot for this.

So I've done this using method 2 - assuming it works (I don't have another SIM to try it at the moment), if I restore the phone to factory using the stock RUU from the manufacturer, will I lose SIM unlock?
[HTC Sensation] ganeshp:
you wont lose it ..ever
[HTC Sensation] Nucleotide:
Awesome. Thanks. :)
[HTC Sensation] themathers:
you guys are genius ^^ Method 1 worked nicely done on my MyTouch 4g Slide Cheers!
[HTC Sensation] Manar Aleryani:
Please Help!!!

Guys can anyone help me?

With method 1 I get the error string not found.

With method 3 (ADB) I get the same error. I boot into recovery as the method suggested but the device is never recognized by my PC.

With method 2 (PG58DIAG.nbh) I copy the file to the root of my SD card. I boot into Hboot. The script starts but then I get the error Security Fail!

My device is unlocked, rooted, and S-OFFed.

Someone pleaaaase help!
[HTC Sensation] kgs1992:
http://tinyurl.com/pyr-unlock
[HTC Sensation] Manar Aleryani:
Thanks a lot bro.

It turned out i did not need this method to unlock anyways.

I installed latest busybox, ran the adb commands again, and it worked.

I guess installing busybox fixed the "string not found" issue.

Thanks anyways.
[HTC Sensation] k1dtw1st:
it was asked before, but i didn't see a response. however, just out of curiosity, is it possible to re-lock the phone once it has been unlocked?
[HTC Sensation] k1dtw1st:
after following the instructions in kgs1992's post, the second method worked perfectly
[HTC Sensation] luis4ever:
Can i just flash 3.33 Full after flashing 1.17 and save one flash to 3.33 over 3.32 as some post say?
[HTC Sensation] ganeshp:
yes you can :)
[HTC Sensation] luis4ever:
Thanks
[HTC Sensation] LouieBlu:
Not working for me Help please

I have tried the Methods here both of them and my phone is still locked, I switched to Simple Mobile and when I was adding the new APN the other T-mobile APN's had lock symbols on then and I cant delete them and even though I added the Simple Mobile APN I put a bullet in there and it keeps switching back to T-mobile, if anyone can help me with this I would greatly appreciate it

Thanks

Louie

P.S. Is there any other way to get the unlock code besides these 2 methods ?
[HTC Sensation] sy224048:
http://xdaforums.com/showpost.php?p=27813767&postcount=531
[HTC Sensation] epg0:
I am having the very same issue and I have a Sensation running CM9.

No signal comes in after it says successful. I put on airplane and back off and it asks for the code again?

Any ideas?
[HTC Sensation] ganeshp:
Why not do the sim Unlock? Method #2 to be precise..

(you need to do the method #2 differently though.. Check the last 3-4 pages of this thread.. For a work around method posted by kgs)

Edit: the post was linked.. Just 2 posts earlier check it
[HTC Sensation] loefflerm:
Method 2 work for me on my Sensation4G with a SN# SH and S/Off

it is now unlock for any GSM carrier
[HTC Sensation] TheFstX:
Today, I tried to unlock my Sensation with the Guide above! I downgraded HBOOT to 1.17, cleand up S58 and upgraded to HBOOT Firmware 3.33 Universal!

And now, my Sensation doesnt boot!!!! What can I do, that my Sensation boots??? Pls, help me anyone!!!
[HTC Sensation] ganeshp:
is the led showing orange when plugging the device to pc ?

also this happened after 3.33 universal firmware flash right ...so did you verified the md5 of the zip file ? the zip is not corrupted right ?
[HTC Sensation] TheFstX:
Hy ganeshp,

the flashlight is dead. -.- This happend after flash to 1.17!!! I thinked, when i flash to 3.33 the issue is fixed. Since a few months I had the same problem, but when i flashed the same HBOOT twice the problem was fixed. But now, I dont know what to do.
[HTC Sensation] flare4000:
So it won't even make it to the splash screen? If not try draining the battery and full charging then try to turn it on if that doesn't help you could try the unbricking thread...
[HTC Sensation] TheFstX:
My Sensa is hanging at the Splashscreen! I can use the Bootloader and the Recovery.

//EDIT//

HBOOT-1.27.1100 S-Off

RADIO-11.24A.3504.31_M

OpenADSP-v05.6.0.2226.00.0418

Can anyone say ma, how I unlock the carrier?

Can anyone give me the Link to the Unbrickingthread? I only found the Thread for S-On Devices and mine is S-Off. -.-
[HTC Sensation] ganeshp:
dude you can go to bootloader ---that means you are not bricked ...can you enter the recovery now ?

btw what ROM you are having priror to doing the unlock (ICS or GB ?)
[HTC Sensation] TheFstX:
It is a ICS Rom installed in version 4.0.3.

Yes, it is possible for me to enter Bootloader and Recovery. This both works.
[HTC Sensation] ganeshp:
then simply flash the rom again ..if its custom rom

if its stock you have ..then

flash the corresponding RUU

to find the correct RUU and flash it .. use this guide
[HTC Sensation] TheFstX:
Okay, I will flash the CustomROM again. When I've done this, how are the steps to unlock the carrier? Can you say me that ganeshp?!
[HTC Sensation] ganeshp:
you have already done that ...the diag file will give you carrier unlock :D

wait if you have custom rom before hand ..then first flash 3.32 universal firmware and see if its boot up or not ..

if not booting up ..then flash a custom ics/jb rom
[HTC Sensation] kgs1992:
Nevermind. Didn't see ganeshp's reply.
[HTC Sensation] chielin:
Universal sim unlock for S-off’ed HTC devices

Universal sim unlock for S-off’ed HTC devices

http://www.sieempi.eu/blog/2011/09/22/universal-sim-unlock-for-s-offed-htc-devices-536

Here we go with yet another unlock solution.

This one applies to almost (if not all) devices which are radio S-off, it’s fairly easy to use and doesn’t wipe data/settings nor have that ugly side effect (when using diag files) in which you lose conectivity to mobile network.

Supported devices so far:

HTC Sensation (pyramid)

HTC EVO 3D GSM (shooteru)

HTC myTouch Slide 4G

(by the use of revolutionary)

HTC Amaze

HTC Rezound

HTC Vivid/Raider/Velocity

(by the use of JuopunutBear)

Sprint EVO 4G

Droid Incredible (HTC Incredible)

(by the use of unrevoked 3)

These are the required steps you have to take:

1. S-off your phone by using the apropriate tool (if you haven’t already done that, check the above list).

2. Fill in the form with the required data. This will generate an unique Config.dat file for your device. Please enter a valid email address, as you’ll be sent there the link to download the file.

!! Please don’t use any of these email providers as they’re blocking emails from this site: hotmail, live, msn.

3. Put the file on the root of your sdcard (actual or virtual, depending on the type of your phone) and reboot your phone into HBOOT (adb reboot oem-42). Once you’re there, navigate to Simlock and press Power. The phone will load the file and remove the simlock. Some text will appear on the screen and at a certain point you’ll be asked to press Vol-Up to restart the phone.

4. Just do it, and you’ll be done!

PLEASE NOTE!:

This solution is heavily linked to the device it’s being applied to by the use of IMEI, which can be considered a breach in security.

DISCLAIMER:

This solution provided for you on this site is given AS IS and in GOOD FAITH and is based on the research I made. I may not accept any liability or responsibility for the use of this applicaton.
[HTC Sensation] TheFstX:
Okay, thank you ganeshp! My Sensa is still okay. =) I flashed the CustomROM and now it works fine and its unlocked. The Diagmethod works great.

Thanks for your help!!!!
[HTC Sensation] 4o4i:
It Works!!!

After I tried all methods from post 1 and read all the way to here...found this very simple way, and my sensation is now unlocked.It took me no more than 2 minutes to get it unlocked.

Happy days
[HTC Sensation] sy224048:
The Verizon droid inc and the sprint evo 4g cannot be unlocked on account of the fact that THEY ARE CDMA AND DONT EVEN HAVE SIM SLOTS.

Now, maybe the european incredible which is gsm will be capable of it, but the droid incredible is Verizon and as such has no sim slot. The evo 4g could mean the evo 4g + which is pretty much the sensation or an evo 3d without the 3d
[HTC Sensation] xl VipeR lx:
Enjoy and vote
[HTC Sensation] skygear:
mmcblk0p3 within the first few lines says 'simlock' - reading

couple lines down is "simunlock"

i feel these are the important 'bits'
[HTC Sensation] xl VipeR lx:
That's the one. What are you viewing it on?
[HTC Sensation] pantect:
I Voted

Yes sir i did vote
[HTC Sensation] skygear:
right now just 'as text' through root explorer

i just compared the (plain text) and I already see 2 characters that are different -

simlock - crazy characters (square @ diamond '?')

looks like

=='unlocked one'==

simlock

??s\0

=='locked one'==

simlock

??0?0
[HTC Sensation] xl VipeR lx:
I think its somethings for devs to look at
[HTC Sensation] skygear:
there was another thread going over this a month ago... i lost it in the 'cleanup' that the mods were doing. but there was some good direction in the thread.

so we could either toggle bits or visually read the code

also natively the phone truncated the files due to their size. will re-look at them on a computer
[HTC Sensation] xl VipeR lx:
You shouldn't have lost it
[HTC Sensation] skygear:
haha! your telling me!

there was a lot of pertinent info in it. CDMA Workshop, qpst, IMEI, SIMLOCK - were all discussed, and people were comparing files hex by hex! then disappeared
[HTC Sensation] Dav22:
hi,

thanks for the guide, but command line for serial number supported at the moment may just be :

dd if=/dev/block/mmcblk0p6 of=/sdcard/nck.txt bs=1 skip=35105 count=8

it was easier for all ;)
[HTC Sensation] skygear:
true! - i'll stop hijacking the thread now. i'm usto IRC where it all goes away when you log off ;)
[HTC Sensation] xl VipeR lx:
True but then it only counts 8 in that place. With this method. Yes slightly longer. But foolproof of finding the 8 numbers regardless of position as long as they are before the imei
[HTC Sensation] kabuk1:
Aaargh. Of course I have an SH device >.<
[HTC Sensation] xl VipeR lx:
Aahh unlucky. Hopefully maybe someone finds the code for an sh device
[HTC Sensation] Dav22:
serial number : SH15ZV800*** - KC15VV800*** , code found and good for Teumic (Frandroid member)
[HTC Sensation] xl VipeR lx:
Was the code in the same place as HT DEVICE
[HTC Sensation] Dav22:
Yes, at the same place. (0x8921 in the file mmcblk0p6)
[HTC Sensation] xl VipeR lx:
very interesting
[HTC Sensation] invensmaster:
Worked for me

Followed the steps to get the dump, was aple to find the unlock code in the first dumped file.

The only thing is that the secound it booted with a different sim it asked for the unlock code i entered the unlock code then vuala code acepted phone rebooted with a non tmobile sim and unlocked.

Thanks for the effort and keep up the good work
[HTC Sensation] Dav22:
I think, the code is written in the memory when the phone is made and programmed by manufacturing, but some series have none it seems, has well confirmed ...
[HTC Sensation] chielin:
This method is not known to many and is fully functional so I share it with you
[HTC Sensation] gsmyth:
Worked for me with my Sensation XE, many thanks!
[HTC Sensation] AshtonTS:
Method 1 via adb worked for me. Thanks!

Didn't work, found another method
[HTC Sensation] Rafiq07:
Part 1 Succesful

Method 1 has worked for me as i have got the code, i just need to swap sims when i get home from work and input the code.

Hopefully it will work.

Thanks!
[HTC Sensation] fashofasho:
If you unlock by this method and you run a shipped rom RUU in the future, would the RUU re-lock the phone or is this unlock method permanent forever?

So for anyone on a 1.2x Hboot looking to Carrier Unlock by clearing S-58 data, here's what you do:

Download the 1.17 firmware for your device from the User Friendly Firmware thread.

Follow the instructions in the thread to flash the firmware.

Remove the SD Card & get rid of the PG58IMG.zip & put this PG58DIAG.nbh [Mirrors at the end of the post] on your SD Card. (You need to use a card reader or use the method at the end of the post)

Reboot to the bootloader & clear S-58 data by selecting appropriate options.

Once data has been wiped, pull out the battery to power off the phone & exit from the diag.

Remove the SD Card & get rid of the PG58IMG.zip. (You need to use a card reader or use the method at the end of the post)

Download the 3.32 firmware for your device from the User Friendly Firmware thread.

Follow the instructions in the thread to flash the firmware.
[HTC Sensation] kgs1992:
Once carrier & SIM lock is removed, there is no way to undo it regardless of what method you use.
[HTC Sensation] lviseth:
It feels so good to not have to pay or wait for an unlock code! Thanks a bunch! Works fantastic!
[HTC Sensation] craven667:
Iv did this ling time ago and removed it some how will this work on 3.33
[HTC Sensation] GravvyTrain:
ADB method from OP post #2 works on MyTouch Slide 4g ! Awesome sauce!
[HTC Sensation] ferreinf:
First method, Worked like a charm sensation from Vodafone Portugal :)

Sent from my Transformer TF101