yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] ganeshp:
Apply supercid then try the process

First get the original CID

fastboot getvar cid (8 characters)

Write it somewhere

Then change the CID to supercid

fastboot oem writecid 11111111 ( eight ones)

Then do the above process

Then go back to your CID or leave it supercid (supercid is better)

To get back to your original cid

fastboot oem writecid <your CID >

Note:

All the above fastboot commands should be typed in pc/laptop from a terminal opened from your adb/fastboot folder with phone connected from bootloader

---------- Post added at 05:06 PM ---------- Previous post was at 05:03 PM ----------

Yes to your 2nd question
[HTC Sensation] Inside 4ndroid:
righto tried this on my sensation XL i have attatched my output although the 2011/12/12 above my imei does not unlock the phone and to get this output i had to type the strings command and instead of using number 6 at the end of the adb line i used 23 because 6 gave a load of jumbled up characters??

dont know what i am doing wrong???
[HTC Sensation] rzr86:
actually this is not the code

it is a date

i think it is mentioning in the guide
[HTC Sensation] IanVaughan:
Unlocking to GiffGaff

Hi, anyone had any luck with paid for codes?

I used https://www.unlockingonline.com/, paid £10, and my new sim is not showing a network!

I had no luck with either of the downloads of step 2 in the first post, if anyone has links to PG58DIAG that work?

Step 1 didnt work for me either.

I am trying to move over to GiffGaff, I've got a sim on a paid account.

I put it in and boot the phone, it prompts for a code, of which what ever I put in it very quickly states something, then changes to successful.

But does not work.
[HTC Sensation] al_f:
Check if your IMEI is blocked.
[HTC Sensation] IanVaughan:
Don't think it is, the phone still works with my T-Mobile sim.

And according to this site its not blocked.

https://prod.eie.net.au/portal/template/MYMIMEIInquiry.vm/action/IMEIInquiryAction
[HTC Sensation] al_f:
Did you try the guide at the beginning of this thread? If not, do!

You'll learn a lot more that way than by spending $ at some site :)
[HTC Sensation] IanVaughan:
I'm sure your remember reading my original post just 4 posts ago where I stated I had tried the methods in the first post..

So not a very helpful reply.

For the record, I fixed the problem by downgrading my hboot, then flashing the mos in the first post.

Thanks XDA.
[HTC Sensation] al_f:
OOps. Sorry 'bout that!

Well done.
[HTC Sensation] yankeeDDL:
Works, but whatch our which FW version you use

Hi,

just posting here that you need FW 1.17 in order for method 2 to work.

If you have FW 3.33 it will likely not work: I could not run the DIAG and kept getting Security Fail error.

You can downgrade the FW and re-upgrade later: just watch out cause your JB ROM won't boot if you downgrade the firmware.

Aside from this, the procedure works like a charm. I had to use Method 2 because I have an SH* S/N.

Cheers!
[HTC Sensation] jngfjngfvng:
Just tried this (downgraded to 1.17, run method 2 as per the OP then upgrade to 3.32) following thsi post http://xdaforums.com/showthread.php?p=27813767

but after that I get stuck on the spinning arrow (running latest CM11 ROM). Normal boot is resumed if I reinstall ROM. Same thing was happening before I tried downgrading the FW first so I'm not entirely sure that the problem is FW related here. I've read through most of the thread and I didn't catch anything else to try, did I miss anything?
[HTC Sensation] yankeeDDL:
Hi,

in the description of Method 2 it says:

WARNING!!!

Backup all your settings/apps/sms/network/APN/Data etc.

Using this method to unlock will wipe your data and apps too! (Factory Resets in other words)

But it's this method that actually resets some other things including your sim-lock status.

So your rom will need to be reinstalled anyway. In addition to that, when downgrading to 1.17 you cannot boot to JB based roms, or at least that's what I understood.

So, yes, with Method 2, I think, you're expected to re-install most of the roms anyway.
[HTC Sensation] rzr86:
you don't have to reinstall any rom again

just revert back to ics firmware
[HTC Sensation] jngfjngfvng:
With FW 1.17 you only boot to bootloader so not entirely sure that the ROM is relevant, not seen it mentioned that you should only do this from any particular ROM anywhere anyway.

I wasn't really complaining about that part tbh, and it does a reset so you shouldn't have to reinstall the ROM, just start from scratch. My main issue was that neither methods work regardless.
[HTC Sensation] yankeeDDL:
It did not work for me.

After reverting to FW 3.33 I could not boot my JB rom, so I had to re-install.

Reading the 1st post of this thread and the "Warning" on Method 2, this made perfect sense to me.

Perhaps I made some mistakes but for me there was no way to booth a JB rom without reinstalling.

---------- Post added at 10:22 AM ---------- Previous post was at 10:10 AM ----------

I was only pointing out that FW 1.17 only supports Gingerbread roms. So if you use ICS or JB, your phone won't boot.

The process I followed is the following:

- flash FW 1.17

- Load the PG58DIAG. This should result in you clearing the S58 Data

- remove the PG58DIAG and re-flash FW 3.33

At this point I could not boot my phone, so I re-installed the rom.

I booted and I could access the network even though I was using a SIM card previously locked.

the S/N of my phone starts with SH* so I could not use the 1st method.

I hope this helps.
[HTC Sensation] hisham1234:
how to root?

Hello guys..i just got htc sensation z710e from my brother..and this phone still run on gingerbread 2.3.3 ..can any1 provide me link how to root this phone..i really need to unlock the network sim..tq..
[HTC Sensation] MaratabHashmi:
Root Link....

http://xdaforums.com/showthread.php?t=1661631

http://xdaforums.com/showthread.php?t=1870233

S-OFF

If your H-boot 1.17xxx then you s-off through Revolutionary method

http://revolutionary.io/
[HTC Sensation] hisham1234:
Thanks bro..

Can i just obtain SOFF and unlock the network? Or i must get permanently root my phone b4 unlocking the network?
[HTC Sensation] rzr86:
S-OFF you device with revolutionary method and see if it requires root for unlocking network
[HTC Sensation] sajeel:
unlock help needed

hi i cannot see unlock code

see dump below i also attached if required

macaddr=D8:B3:77:B1:2A:C3

sromrev=3

vendid=0x14e4

devid=0x432f

boardtype=0x4b9

boardrev=0x36

boardflags=0x200

xtalfreq=37400

pa0b0=5190,5190,5576

pa0b1=64229,64229,64172

pa0b2=65121,65121,65155

pa0itssit=62

pa0maxpwr=82

ofdmpo=0xCC888888

mcs2gpo0=0xCCCC

mcs2gpo1=0xCCCC

rssismf2g=0xa,0xa,0xa

rssismc2g=0xb,0xb,0xa

rssisav2g=0x3,0x3,0x3

rcal_flag=0x61

ccode=ALL

cctl=0x0

cckdigfilttype=0

ofdmdigfilttype=1

rxpo2g=0

boardnum=1

otpimagesize=182

hwhdr=0x05ffff031030031003100000

RAW1=80 32 fe 21 02 0c 00 22 2a 01 01 00 00 c5 0 e6 00 00 00 00 00 40 00 00 ff f

f 80 00 00 00 00 00 00 00 00 00 00 c8 00 00 00 00 00 00 00 00 00 00 00 00 00 ff

20 04 D0 2 29 43 21 02 0c 00 22 04 00 20 00 5A

sd_gpout=0

sd_oobonly=1

rssi_offset=0

20110622

412B912313662

TY15TV813338

HT16NV802103

HT16NV802103

TY15TV813338

99HNA089-00

5F63B0F1

412B912313662

PG5813000

T-MOB005

PG5813000

D8B377B12AC3

2011/06/22

356440044787107

T-MOB005

29JA116G009637

83H00425-00

?#_ @YK$@

ViperS@/# ^A
[HTC Sensation] hisham1234:
hello sir..i got htc sensation z710e with android GB and hboot 1.17xxxx..i follow ur instruction but still in bootloader mode it shows no image / wrong image..it doesnt show the clean s58 things..i have soff n root and flash revo recovery..please help sir..tq.
[HTC Sensation] hisham1234:
hello sir..i have htc sens 710e hboot 1.17.1111 with android GB..i hv tried method 1 but failed..no unlock pin above imei..i move to method 2..i hv downloaded the PG58DIAG.nbh..in bootloader it shows loading pG58DIAG.nbh...no image or wrong image..

any1 knows how to solve this issue..how to make it detect the PG58DIAG.nbh so that i can select clear S58 things..btw..i have gain s-off n i hv root my phone..i also install revo recovery.

2. Download PG58DIAG for the Sensation HERE or FROM MULTIUPLOAD

3. Copy the PG58DIAG file into the Root folder of your SD card (The main Folder of your Memory Card)

4. Turn off your phone Fully and reboot into the Bootloader/HBOOT screen (see post 2 on how to get to bootloader screen)

5. Press Volume Down to Enter DIAG - Place the phone horizontally when it asks you too. (Flat)

6. Press power button to select "Clean S58 Data

7. Press power again to "clean S58 Data".

8. POW - your unlocked! Try a SIM card from a different provider!

9. Delete the file from your SD Card (Delete PG58DIAG) and REBOOT!!

Your phone Will set up for the first time, go through it all till you get to your home screen

10. Go back into recovery and restore nandroid backup. same method as step 1 above. but instead of backup, you use restore feature

(Use Titanium Backup to restore if you used it to backup instead of Nandroid backup)(Menu > Batch > Restore System Data + Apps with user data)
[HTC Sensation] hisham1234:
Bro..please help me..i hv htc sensation z710e with hboot 1.17.1111..i hv root,soff,put revo recovery & do superCID..my android version is GB..n i hv never upgrade my firmware before..my htc sense version as i see in about phone is 3.0..

The queation is..i am unable to do the diag & clear s58 things..in bootloader it shows loading pg58diag.nbh..no image or wrong image..is it because of my phone htc sense version which is 3.0?

Any help is much appreciated. Tq.
[HTC Sensation] exekutive:
I used the PG58DIAG method successfully with hboot 1.29

No problems at all.
[HTC Sensation] Dantheone:
lolllll wich one unlock at that price give me i gone paid for

---------- Post added at 04:36 PM ---------- Previous post was at 04:33 PM ----------

where do u have web adress to unlock
[HTC Sensation] Bob1Bob:
The link in the OP appears to be dead. Could you provide another link, please? Thanks.
[HTC Sensation] HTC_Cyber:
FC
[HTC Sensation] PurpleSkyHoliday:
Thanks so much for the guide! Saved my bacon!

Just a note guys, as this tripped me up a few times. (I used method 2)

After your S58 Data is wiped, you won't be able to access recovery, or bootloader -> no ADB if you need it.

To get around this (in case you end up with a bootloop or something like that), just take out your SD card and select recovery before reinserting.

Thanks again!
[HTC Sensation] Join2033:
Please help me for unlock my device galaxy note 3 scl22
[HTC Sensation] Dav22:
great for you ;)
[HTC Sensation] skygear:
see hex! thats my point! now take a peak at the mmcblk0p3 file again
[HTC Sensation] xiobnb:
thanks ! worked like a charm
[HTC Sensation] Jimmy Flip:
I was having a look at this a little while ago but reached a dead end because I didn't have a simlocked Sensation to test. There were differences between simlocked and unsimlocked Sensations in the pg1fs (mmcblk0p3) partition at 0x821-0x835 and 0xc21-0xc35, but also at 0x9400 and 0xa800 but the phones were also from different regions so it was unclear what relationship all of these values had to the simlock status. I think it would be interesting to dump and compare the pg1fs partition of the same phone before and after it's been simunlocked.

EDIT: Dump of my factory simunlocked pg1fs partition for comparison is here:

http://xdaforums.com/showpost.php?p=16533950&postcount=1418
[HTC Sensation] Jimx2:
It worked! I guess I'm now a step ahead of other Tmo users if we ever have to unlock our phones just to use it once fully acquired by Att... lol
[HTC Sensation] skygear:
i have 3 sensations- TMOUS - 1 was the H serial and the other 2 are S

thats what I have been comparing. also later today will have access to a handful more if need be.
[HTC Sensation] bamserl:
2 "SH" devices, 1 simlocked, 1 without simlock - both without a code at 0x8921
[HTC Sensation] Jimmy Flip:
So is 0x821-0x835 the only location where data is changed before and after simlocking? What about the other three locations I mentioned?
[HTC Sensation] Dav22:
please, look the date above number imei, at 0x8906 ?
[HTC Sensation] Marusaia:
Mine is SH sn and SFR France:

S/N: SH15YV******

2011/05/30 32711362 356************ VODAP203

This code WORKS like a charme...

Found it in mmcp6.dump

Thx
[HTC Sensation] bamserl:
simlocked: 2011/06/08

unlocked: 2011/07/18

does anyone else have an 8 digit code at 0x8830?

the unlocked one has only numbers, the simlocked one numbers and letters.
[HTC Sensation] Dav22:
i have again letters and numbers at 0x8830 in my dump, is not the code i think.

yes, the unlock code has

only numbers

, no letters.

But the code could be converted for better cover in dump file ???
[HTC Sensation] mutiny:
I have a T-Mo US Sensation with an SH serial and it

doesn't

work for me. :(
[HTC Sensation] xl VipeR lx:
From what I see. Devices made in may. Seem to have the code. After that it doesn't
[HTC Sensation] Dav22:
exactly what I think, but after the 06/03/2011 :

==> Teumic dump : 3564400450**** - SH15ZV800*** - KC15VV800*** - 05-31-2011 - Vodafone Fr - Code Found OK at 0x8921

==> B1ackbird dump : 35506604181**** - HT163T509*** - TY161T523*** - 06-03-2011 - T-Mob (Unlocked by operator code) -Code Found OK at 0x8921

but

==> Joao G*** dump : 35644004538**** - SH164V803*** - KC15ZV832*** - 06-04-2011 - Vodafone PT - No Found code at 0x8921

???

even stranger, that dump :

==> fuinhu dump : 35644004784**** - HT182V8A00xx - HT182V8A00xx(again) - 08-03-2011 - Vodafone SPA - No Found code at 0x8921
[HTC Sensation] xl VipeR lx:
It must store the code somewhere for the sensation to know the right one is input and unlock itself
[HTC Sensation] fuinhu:
thats my dump, i've already see that :)

Could the code be "412BM122xxxxx" at 0x8000?

Does somebody know if the trys to unlock the sensation are limited?
[HTC Sensation] Dav22:
yes, but where for other :D
[HTC Sensation] Dav22:
i think 9, after is really "locked".
[HTC Sensation] Dav22:
i don't think, all the dump with code found are other different values at 0x8000.
[HTC Sensation] mutiny:
If anyone wants to see mine for comparisons or whatever, here they are... I've blocked out my serial number and IMEI partially using "*".
[HTC Sensation] solrac.dc:
+1,000,000 here........THANKS FOR THE GUIDE and thanks to homeslice for finding this fine piece of work!! :D:D:D
[HTC Sensation] Jimmy Flip:
I think there's a much simpler way to get the unlock code without dumping and searching files. From an adb shell or terminal emulator, just use this command (copy and paste it!) to print out the unlock code and IMEI:

strings -n 8 /dev/block/mmcblk0p6 | grep -B 1 "^35"

If you don't find it, you could always run the same command on mmcblk0p4 and mmcblk0p16.
[HTC Sensation] Phateless:
Nice find!
[HTC Sensation] Dav22:
if you run this command on :

- mmcblk0p4, get CID (ex:11111111), no unlock code.

- mmcblk0p16, get nothing, imei number not in mmcblk0p16.
[HTC Sensation] akamustang:
No prompt appears, could this be ROM related?

EDIT: Nevermind I think the two SIM's I tried were deactivated, will try tonight with a known to be working one
[HTC Sensation] BorisZX6R:
Works for me :), Thank you!
[HTC Sensation] Jimmy Flip:
Has anyone found any unlock codes in mmcblk0p4 or mmcblk0p16? I only mentioned those partitions because the OP says to look there if not found in mmcblk0p6. The unlock code is certainly not in either of those partitions on my phone.
[HTC Sensation] ianlti:
I just unlock my 2 days ago. =(

It works well, i checked with the dump files.
[HTC Sensation] etawful:
Edit:

Never mind, my notepad was screwing up, if I searched using wordpad, I found it further down, and the code is indeed the same as what T-Mo had provided to me before.

So, if I had not already unlocked my phone, this would definitely have worked so count me in the "it worked" group, even though I didn't use it all the way through.
[HTC Sensation] mutiny:
Did you really have to quote the OP? :P
[HTC Sensation] mutiny:
Thanks, this works great and much easier. The OP should put this up in the first page as the main option of doing it.

Since mine doesn't have the unlock code, this only pulled the date and IMEI, not the 8-digit that matters. :(

For those trying this, type su and hit enter/return first. Once you've gone from $ to # in your prompt, then type in the line above.
[HTC Sensation] Dav22:
exactly, nothing valid !
[HTC Sensation] Dav22:
already asked, but not do

http://xdaforums.com/showpost.php?p=16938048&postcount=50
[HTC Sensation] xl VipeR lx:
I'm not going to. Why because we are not sure if the position of imei and unlock code is definitely in the same place for everyone
[HTC Sensation] Dav22:
already asked

http://xdaforums.com/show...8&postcount=50

exactly, do you dump full files in the folder /dev/block/ for me and send me by pm a link to download, so i look this files ;)
[HTC Sensation] Dav22:
the code is already written before the unlocked process, I can certify that !
[HTC Sensation] Jimmy Flip:
My method does the same thing as the method in the OP but it's much easier. It just gets the (at least) 8-digit string that immediately precedes the IMEI regardless of where the IMEI is located in the file.

EDIT: This command could be modified to filter the output so it only shows the preceding string if its exactly 8 characters and all numeric but it's easier to just display the string and the IMEI and explain that if the string isn't an 8-digit number then there is no unlock code in that partition (as far as we are aware so far). The method in the OP has the same limitation.
[HTC Sensation] Dav22:
thanks, for edit OP ;).
[HTC Sensation] FatalityBoyZahy:
Does this only work on the HTC Sensation? I'm thinking about giving it a try on my G2x.

Thanks!
[HTC Sensation] sieempi:
unlocking with diagnostic file

Has anyone tried simply running the diag file PG58DIAG.nbh on a revolutionary radio s-off'ed device? Don't know the menus, I don't have a sensation, but I guess It should be like on other devices..
[HTC Sensation] Apollo-2:
Works

Works. HT S/N
[HTC Sensation] xplod4202:
how would you run that?
[HTC Sensation] sieempi:
Unrar it on the root of your sdcard and restart your phone in hboot. It should automatically run it.
[HTC Sensation] borce_razor:
create goldcard and copy the diag file (pg58diag.nbh) to the card. turn off your phone, insert the card and press volume down + power button to enter hboot, and wait :)
[HTC Sensation] JUSMEJOSE:
<3333333333333333333333
[HTC Sensation] xplod4202:
is the goldcard necessary, i am already rooted with revolution.
[HTC Sensation] sieempi:
No need for goldcard if you're S-Off and your cid is 11111111.
[HTC Sensation] silentsnow31802:
Just did this on mine and it worked perfectly. Thank you!

EDIT: I used the OP method.
[HTC Sensation] xplod4202:
I guess i will be the guinea pig for this test :)

At this point i think you guys need to specify what worked, the OP method or the File.

Well i did it, don't know if it worked or not i have to find a different sim card, but it did erased all my settings, programs and accounts. I hope it was worth it though :)
[HTC Sensation] akamustang:
Still can't get the screen to appear where the code is entered

Could someone describe when about it appears and what it looks like
[HTC Sensation] bachviet:
Your phone might already be SIM-unlocked.
[HTC Sensation] akamustang:
It's not, I have been testing with one Orange and two O2 SIM's (all pay as you go)

Surely it doesn't need to be a contract SIM?
[HTC Sensation] joemm:
After the phone boots up with a diffrent carriers sim card in, the phone will boot like normal into andriods os, then when the phone goes to search for service a screen that looks like a phone key pad will appear and ask for the unlock code.
[HTC Sensation] borce_razor:
it's necessary
[HTC Sensation] akamustang:
This is what I'm seeing

- Phone boots as normal into Android

- At lock screen box appears saying "No signal - Limited service", tapping and/or trying to rotate it does nothing

- Unlock as normal (slide ring up)

- Check notification tab which says "Emercency calls only"

- Navigate to "Mobile network settings" screen

- Try clicking on different APN's and receive a popup saying "APN saved"

- Try clicking on different network operators and receive a popup saying "Your SIM card does not allow a connection to this network"
[HTC Sensation] joemm:
Odd, r u sure your not already unlocked, try a diffrent sim card if you have access to one
[HTC Sensation] akamustang:
If it were already unlocked surely one of the three SIM's I'm using would be able to get a network connection wouldn't it?

Tempted to do an Nandroid and try again from an RUU

Has anyone else been successful whilst on ARHD 3.0.0?
[HTC Sensation] xl VipeR lx:
Your welcome
[HTC Sensation] xl VipeR lx:
Can everyone try this please
[HTC Sensation] akamustang:
:p
[HTC Sensation] GordoMan:
I can confirm that this did not work on my SH* Sensation. The code was just not present in the .dump file.
[HTC Sensation] mutiny:
How does one run this?

EDIT: Never mind. I should have read first. Trying it now.
[HTC Sensation] bamserl:
i tried it, there is no info regarding to an unlocking code.

i have only 2 options

a) device info

b) reset s58 data (iirc)

i didn't try b) because i have no idea what it does.
[HTC Sensation] xplod4202:
after flashing the file, tried putting Verizon sim in the phone but got no service, how ever it phone did not asked me for a unlock code. But i think coming from Tmo to verizon sim card is not a good test. Will try finding some one with ATT sim. All people in my office are a bunch of scary cats, afraid for their sim cards.
[HTC Sensation] mutiny:
Same boat. No win for me either.
[HTC Sensation] borce_razor:
first, please clearly answer this question: which hboot version, after creating goldcard with diag file, does the phone load the diag in hboot mode ? i mean, no Security Fail/Update Fail errors, like this
[HTC Sensation] skygear:
you need to have that image hosted elsewhere! people can't see it unless logged into the other forum....

by the way, i noticed that image was S-ON....
[HTC Sensation] sieempi:
reset s58 data

Actually try it, that should do it. And report back the result, please :)

LE: That file can only be used on a device S-Off'ed by revolutionary, with CID changed to 11111111. Don't bother trying it on s-on.
[HTC Sensation] borce_razor:
it'll only reset call lifetimer, nothing else

edit: NOT free solution! :( to sim unlock all htc sensation: s-off + super cid (11111111), pg58diag and xtc clip/htc factory sim
[HTC Sensation] sieempi:
Actually I think it worths a shot, Revolutionary achieved radio S-Off on Sensation (kudos to them), which removes the dependency on xtc and other solutions. I don't have this phone, but the principle remains the same and I believe you (or someone actually interested in this) could use it.
[HTC Sensation] borce_razor:
removed post
[HTC Sensation] xplod4202:
I did that, and it erased all my settings with apps ect. As far as if it actually unlocked the phone, i still haven't found any one at work that would lend me their sim card for testing. I got a Verizon sim, phone did not asked me for unlock code, but i also did not get any service. I think its because of the different frequencies. and so my quest for ATT sim card continues.....
[HTC Sensation] charleykj:
my Sensation is the HT***** serial and it worked for me many thanks guys
[HTC Sensation] pjim:
i did this, it did really wipe the phone, but it also unlocked it:D

stuck an att sim in and made phone call. no code generated I could see

but is verified unlocked.

Also I had an SH serial# and couldn't get the code using the method

from the OP,
[HTC Sensation] bamserl:
1.17.2008 eng s-off

HTC__102

no gold card

yes it does

no security fails, nor errors. it immediately starts loading the file like a PG58IMG.zip

there is no difference if i use HTC__102 oder supercid
[HTC Sensation] NYCguy2020:
Anybody had any success using this method with SH S/N ???!

Thanks.
[HTC Sensation] silentsnow31802:
Mine didnt just appear on its own. I had to hit the emergency call button and that eventually led me to a screen where I could input the sim unlock code.