yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] loni90:
quick question! please answer as soon as you can!

if i get an sim-locked phone - i then have to root it and get s-off etc.

but, if i then want it unrooted and s-on just as stockversion - what do i do?

if i go thrue the steps regarding putting back s-on - is the phone still unlocked then?

please answer as soon as you can!
[HTC Sensation] shingers5:
do i need to have a sim in the phone guys?

dont worry as i keep trying and just seeing a bunch of jibberish. no imei just error messages and gibberish at end. think root on XL isnt fully functional so priviledged commands are not running properly
[HTC Sensation] shingers5:
can any of you advise me as to where the sensation xl would have the code............... mmcblk0p6 doesnt seem to have it. any help would be much appreciated. also what is the diag for the XL so i can try that method my bootloader is already locked via HTC dev

---------- Post added at 01:06 AM ---------- Previous post was at 12:42 AM ----------

tried code on rooted sensation xl and i rec'd code on mmcblk0p7.............above imei number as indicated but was incorrect!

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\dave>cd /adb

C:\adb>adb devices

List of devices attached

HT1ARVZ03108 device

C:\adb>adb shell

$ su

su

# strings -n 8 /dev/block/mmcblk0p7

strings -n 8 /dev/block/mmcblk0p7

HTC__001

00000147

3586970402970500

QCT_UMTS_RADIO_VER=1

HSDPACat=10

HSUPACat=6

QCT_UMTS_RADIO_END=1

OT5.L3z+

574908040

00000003

574908040

OT5.L3z+

""##$%&(*+-0368;

!"#$%&(*,/26:>CG

&!&2&D&U&g&x&

7$H$Z$k$}$

&0&H&S&d&v&

!"#$%&(*,/26:>CG

,.037;AGNV`lz

#

here is my log and i used 00000147 as above imei number
[HTC Sensation] xplod4202:
Your phone is new, it will not have a code. You would have to use method two. Not sure if it will work on xl though, don't believe its been tested on it.
[HTC Sensation] shingers5:
Method 2 didn't work. Put diag on root of Internal SD as no slot. When boot into bootloader I don't get any diag options.
[HTC Sensation] xplod4202:
Sorry, but I guess your phone is to new. You'll have to wait until solution is found, or pay $30 go get it unlocked. You can also call your provider and ask them for the code, but they will only give it to you if you paid full price for it. From what I've been told.
[HTC Sensation] shingers5:
I have gone down the paid route as not a scrounger. Code seems to not be on the unlock server so that's why I was trying these methods.
[HTC Sensation] sieempi:
Try the 3rd method.
[HTC Sensation] kpf16:
Whats the unlock code for a sensation on orange?
[HTC Sensation] xplod4202:
How are we suppose to know that? Every phone has a different code. Follow the steps in the op, use method One if you want to know

Your code.
[HTC Sensation] live_0978:
Thanks OP for this guide, I succesfully unlocked my cousins new Sensation XE last night only 3 days old! Method one didn't work, I successfully s-offed and rooted with revolutionary and the latest recovery in Rom Manager but after installing Terminal Emulator I was only given $ command line instead of # command line and it said permission denied after typing SU. I moved on to Method 2 PG58DIAG sieempi method and confirmed it working!!
[HTC Sensation] knotrkr:
I used method 2 and it worked like a charm. Thank you very much!!!!!!!!!!!
[HTC Sensation] curtis818:
Hi peeps, might be a stupid question but does my Sensation have to be rooted first to be able to unlock it?

I'm on 3 UK and am moving to Ireland, so I want to unlock it so I can get my Irish SIM to work.

Many thanks, Andy.
[HTC Sensation] andytuk:
will this method do anything more than a full wipe like i would do before flashing a new ROM?

dont mind doing that.. but will be more careful if it wipes more than that
[HTC Sensation] raduque:
It'll work on any carrier that's GSM and uses SIM cards. VM is neither, so it won't work on Virgin Mobile (They're CDMA and use Sprint's network).

Anyway, thanks for the instructions, OP. Managed to pull a code on my myTouch 4G Slide, but I won't be able to test it till Tuesday, Wednesday at the latest. Will update if it works.

Edit:Update: Code worked perfectly on the myTouch 4G Slide!
[HTC Sensation] remygreen:
I was going to flash the file when I didnt get the SU command to work (found date instead), so I decided that flashing was my last option(dont need a brick), I then realized when you have service with Tmobile for 90 days they will give you the unlock code for free. Try calling in before you try anything I got mine. You might be able to aswell, with out much talking.

Called 611

I said "im going to be outside the US, I need my phone unlocked"

They said "sure, give me a second."

They asked my model and confirmed IMEI got my email and in 6 hours got my unlock code sent to my email from (no-reply@tmobile.com)

*facts I have prepaid monthly 4g and had service for a little bit more than 90 days, first owner bought cash from store.

Gooood Luck. :rolleyes:
[HTC Sensation] jjdoctor:
I have an unlocked Sensation from T-Mobile which is S-ON...

I think the set has been factory unlocked when it was S-ON and has never been rooted or S-Offed before...

If i S-OFF it with Revolutionary and flash Let's say InsertCoin or ARHD ROM, will it Re-Lock my mobile network to T-Mobile or it will remain unlocked forever and i can flash any region ROM?...
[HTC Sensation] kingguff:
Should stay unlocked mate mine did.
[HTC Sensation] Electron2k:
Just unlocked mine tonight.. method 1 would not work but 2 worked great and I didn't lose settings or anyhting !

That you devs for such great work.
[HTC Sensation] Xcor3:
if i use method 2, the phone is s-offed, rooted and stuff, then i want to go back to clean s-on t-mobile branded ruu, would it still be unlocked? or would get locked again?
[HTC Sensation] stent00:
good question I have the same one except for Bell. ANy takers on this?? I did the flashing method then had to take the phone back so I ran RUU, Put S-ON, but didn't know whether that would sim-lock the phone. Oh well. No one has contacted me yet!
[HTC Sensation] premkang:
what an I doing wrong?

Hey Guys,

I've tried both methods, the first method had the date above IMEI number. The second methods goes through the process but when I reboot and try a different SIM, its still no accepted.

I've followed the steps for method 2 several times and I'm pretty sure I've not missed anything, any help would be appreciated.

Prem

Edit: It seems I'm talking crap, its worked but just wont work with orange payg sim. Thanks for this.
[HTC Sensation] kicosh:
just to report. tried method 1 - didnt get the code.

method 2 worked, no problems whatsoever. didn't even have to set APN settings for new sim card. thanks devs
[HTC Sensation] LOSTLOGIC89:
You re my hero.

Second method worked like a charm.

+ Thanks
[HTC Sensation] Scott41373:
Method 1

Method 1 worked for me, sorta. Got my unlock code, and put it in while running CM7. It unlocked, but then wouldn't find a network. Also, after rebooting it continued to ask for the unlock code. After uninstalling CM7 and installing Virtuous Sensation, it asked for the unlock code and automatically found the APNs. After reboot, the unlock stuck.
[HTC Sensation] dorianborovina:
method 1 didnt worked,but method 2,POOOOW!!!!!! :D UNLOCKED!!!!

Love you guys!!!!!!! :D
[HTC Sensation] tsekh501:
Confirmed:

Method 1 did not work for me, but method 2 worked.

T-Mobile USA Sensation 4G, bought in July.
[HTC Sensation] joabrey:
awesome!

hey thanks a lot for this method, it worked for my sensation like a charm, give me your paypal address so i can buy you a beer!
[HTC Sensation] Jrbourque:
So im trying to unlock tmobile sensation and i have the unlock code but when i put in bell sim card it and reboot it wont ask for unlock code...tried a fido sim card as well and that didnt work either ...so i was on ARHD , so i wiped and flashed the tmobile stock rom with root and tried to do that and still wont wont ask for a code....a little scared to use method 2 as some people have had issues with not being able to connect with any sim card after that...any suggestions?
[HTC Sensation] Jrbourque:
So i decided to try method 2...says that it worked....set up apn ...still wont sim unlock any suggestions
[HTC Sensation] Styron:
Everything worked perfectly from Method 2! Thank you.
[HTC Sensation] Oscarkb:
I got MyTouch 4g Slide with serial HT*******

First method work for me right off the first time. I use these from computer

adb shell

su

dd if=/dev/block/mmcblk0p6 of=/sdcard/nck.txt

and use regxbuddy to search for iemi number. The number before that is the unlock code
[HTC Sensation] Oscarkb:
I just got another MyTouch 4G Slide with HT**** serial unlocked using Method 1.

Thanks alot

---------- Post added at 07:32 PM ---------- Previous post was at 07:32 PM ----------

I just got another MyTouch 4G Slide with HT**** serial unlocked using Method 1.

Thanks alot
[HTC Sensation] skygear:
I just had the strangest thing happen. I installed the latest insertcoin Rom 4.01/ 4.02, and somehow the phone was locked again.... To all those that don't know, I unlocked mine a few months ago, and helped with this project.

It was no big deal. I know the process well. I was just surprised when I booted with my foreign sim in and it asked for the code again!

I DID the same method as before, and all is well again. Strange, very strange.
[HTC Sensation] Negroid:
will unlocking my phone fix the limited service problem i have?
[HTC Sensation] tiboutibou:
thank you very much!!

a little in advance but i am sure that everything went fine

i am restoring my nandroid backup just now! (method 2)

my new operator sim arrives in a few days and if something went wrong i would come back right away but i am sure i won't need to.
[HTC Sensation] gumbois:
Very much noobproof, I'm no phone expert, but I followed everything to a T and now have an unlocked Sensation!

Nice documentation writing :)
[HTC Sensation] godovic:
new sensation xe

I guess I have to use method 2 for unlocking my 1 day old Sensation XE ?

If I back to stock rom and update via OTA will I lose SIM unlock?

tnx
[HTC Sensation] mhbuzios:
HTC Sensation, Android Revolution HD, 1.5 Ghz

Method 2 works for me... Thanx 2 All...
[HTC Sensation] Superfrag:
I put the image in the root directory of the SD card, but when I'm in the HBoot menu and it is checking for the images, it doesn't find/cannot detect the PG58DIAG.nbh image at all.
[HTC Sensation] jucca:
Please, need urgent help. PLease really need solution ASAP.

I did all the steps mentioned, did the nandroid restore, but still can't get any network signal. Even on network where phone was locked.
[HTC Sensation] jucca:
^^^^^^^

Sorry to bother guys, but Im screwd :(

I've done RUU, hoped it will solve the problem mentioned above, but still gets no network (on original SIM).

Tried to manually pick network operator, but it want allow me.

Tried to put GSM only mode, but it reverts to auto.

Please guys, really need help here.
[HTC Sensation] h4ng0ver:
HI there

Does anyone know how to get back to the SIM unlock code request screen?

I tried Method 2 ..but doesn't work, I want to be able to unlock again with a unlock code instead.

Thanks

Andy
[HTC Sensation] toolhas4degrees:
(please help) folled this guild to a t. I am on att with t mobile sensation 4g rooted,s-off,super cid. flashed 3.24 firmware and 4.0.3 sense 3.6 ics and i can only get e signal on mobile network. any help would be much appreciated

edit sorry just read Using any of T-Mobiles phone on AT&T will result in no 3G/HSPA+/4G speeds. You'll be limited to Edge speeds, unfortunately.
[HTC Sensation] joe460:
Used method 2 for my Sensation XE (Z715a) seems to have worked OK.

Q. My model ID (mid) now reads PG58***** where it previously read PG5811001. Does anyone know if this can cause me any problems in the future loading various ROMs, etc???

If so, then is there a way to re-write the original mid?
[HTC Sensation] ceragon:
problem with s-off

I do everything according to instructions but getting s-off get error FAILED TO GET ROOT

There are solutions?

Screenshot is attached
[HTC Sensation] beston94:
To think I was going to pay 25 pounds for the unlocking of the phone....
[HTC Sensation] alanapone:
Any one viewing this? If so, how do I reboot my phone after doing method 2?!?!?! can't see a reboot option anywhere and don't want to just pull the battery out with out knowing if it'll be okay?

---------- Post added at 11:16 PM ---------- Previous post was at 11:06 PM ----------

Okay, I just pulled the battery out. It seems to have worked, i'll try my works T-Mobile sim in it tomorrow to test it.
[HTC Sensation] alanapone:
Okay, tried my works sim card in my phone and it has worked! Thanks will be given later.

I was also REALLY impressed that the cwm backup facility saves EVERYTHING including call history and texts. I was worried that i would loose all that info when i did this. I'm going to get on with putting ics on now!
[HTC Sensation] kurtish:
I've done method 2, and was just wondering,if I run Terminal Emulator again, would it still show a date, even if this has worked?

Don't currently have another sim to try :o
[HTC Sensation] amans19:
This may be widely known but I used a slightly different approach to get the code.

I first tried the Strings command but got Strings: not found. However, I cd into the /dev/block directory and found the mmcblk0p6 file. I then moved that file over to my sdcard - "dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6.bak"

Next, I connected my phone to my computer and mounted the sdcard. I opened the mmcblk0p6.bak file using Textpad in the Binary format. I was able to find the code just like how it is shown in the image in step 6.

Textpad can be downloaded at textpad.com. You can probably use any editor which is capable of opening files in binary or hex format.
[HTC Sensation] alanapone:
Thats an excelent idea! OP should use that info and edit the first methid post. That would make things a lot easier.

Don't know how I didn't think to look for the file myself! :thumbup:
[HTC Sensation] Masterloki666:
Method 1 failed method 2 failed says

parsing...[pg58DIAG.nbh]

[1] mfg_DIAG

Security fail

Update fail

F***ING FAIL GRRRRR

Please help Need my phone back
[HTC Sensation] sabo2000:
okay so after attempting to getfirmware3.24 incorrect cid and/or incorrect model id it failed everytime,however now i have Hboot 1.27 so none of my backups work and do not know which rom will can i get a little help please?!?:confused:
[HTC Sensation] ykcorse:
Hi,

I got the code using method 1. I have tried it with 2 different sim cards, and in both cases, every time I start the phone, it asks me for the code and is says unlock successfull, but then there is no signal. Have anyone experience problems like this?

I am using miui v4 (tripmiui) , maybe it is a rom problem? thanks!
[HTC Sensation] ykcorse:
I switched from tripmiui v4 to ARHD, and I can confirmed the unlocking worked. I guess it was a bug in tripmiui in the unlocking operation
[HTC Sensation] raysacr:
I have the same problem with Method 2. I'm S-OFF, HBOOT 1.27, and FW 3.24. Anyone help?
[HTC Sensation] JoyGuru:
Ditto....I have the same issue. Would greatly appreciate some help.
[HTC Sensation] f4rell09:
method 2 worked for my sensation!!thankssss a lot..keep the good work,.,
[HTC Sensation] beston94:
Method 2 worked flawlessly...Thanks a lot mate!!!!!!!!
[HTC Sensation] lebmb:
so here's the funny thing

i'm already s-off and rooted, but now selling my phone and the person wants to be able to keep his warranty, any chance of getting the cid or mid (for some reason i didn't write em down when i first rooted a while back, just didn't think i'd be needing it)

but of course here i am, stuck with a 11111111 cid lol

phone is the Tmobile Sensation 4g

so any chance to fully return it to stock with the proper cid and mid?

while keeping it unlocked?

thanks

EDIT 1: just did some search, would this work ? "fastboot oem writecid T-MOB010"

EDIT 2: ok it worked, now for mid i have PG58***** not sure what the original is supposed to be, i'm searching for it but no result yet

EDIT 3: As far as MID is concerned I came across http://xdaforums.com/showthread.php?t=1412618 and in the additional info section I see this

3. HTC Sensation variants:

PG5813000 - HTC Sensation

PG5813001 - HTC Sensation XE

PG5810000 - HTC Sensation 4G

PG5811000 - HTC Sensation in Telstra network

going off based on assumptions here and common sense, im guessing the correct one for the T-mobile usa is PG5810000 please correct me if i'm wrong

EDIT 4: I get C:\ADB_Fastboot_Windows>fastboot oem writemid PG5810000

... INFO[ERR] Command error !!!

it worked for the cid but not mid :( any suggestions ?

thanks

EDIT 5: Got it, had to flash ENG Hboot from http://xdaforums.com/showthread.php?t=1280966 and then was able to get it to write the mid

so all should be well now. hope this may help someone else as well :)
[HTC Sensation] raysacr:
I've encountered 3 sensations where Method 1 didn't work, and when I tried Method 2, all 3 failed saying security fail or checksum incorrect.

Can anyone help??
[HTC Sensation] briankariu:
Ok,

/Does this work on the rezound? Anyone tried it yet?
[HTC Sensation] JEZ69:
hello

those methodes are working with sensation XL ?...
[HTC Sensation] Vojtas117:
hello, what about sensation which shows

"Passwort zum Entsperren eingeben

9 Versuch verbleibt, bevor die Gerätedaten gelöscht werden"

??
[HTC Sensation] nguyen ba dieu:
thank you very much about [GUIDE] TO UNLOCK YOUR SENSATION FREE - WORKING FOR EVERY SENSATION

wish the site grows stronger
[HTC Sensation] Charles Collins:
Unfortunately neither method 1 or 2 worked for me on my Sensation. Still says LOCKED.
[HTC Sensation] craven667:
ok no time to read 1000 post but if i unlock with Guide - Method 2

am i at full unlock or is there diffent stages of unlock for cdma

if i am unlock am i 100% unlocked
[HTC Sensation] cenwesi:
Thank you. Used method 2 and it worked. Just confirmed with an AT&T sim card.
[HTC Sensation] chiakhai:
It didnt work for me as well, tried both methods
[HTC Sensation] Charles Collins:
Realised I had wrong firmware somehow. Tried again and now method 2 worked. Perhaps for those who have said it doesn't work you need to check the firmware you have.
[HTC Sensation] Nushio:
I got my SIM Code using method 1, however the Sim Unlock popup isn't showing up after I've instered my non-t-Mobile sim. Did my godfather permanently lock it somehow? Or am I supposed to use some special configuration of radio/htc rom?

I'm currently on a S-OFF, Rooted 'stock' HTC Rom. Thanks.

Edit: I'm pretty sure it's unlocked now.
[HTC Sensation] abcdavidefg:
What is the right firmware to unlock. I have ics sense 4.0 and try to unlock with method 2 but i always get "security fail"
[HTC Sensation] Charles Collins:
I wouldn't have a clue to be honest. I just use the one recommended for my ROM.
[HTC Sensation] Quantum_Sensation:
What is the meaning of unlock your sensation and when u unlock, u can accept any network? Isn't it our phone can accept any network no matter where we are?
[HTC Sensation] Styron:
Hi guys. I have Sensation XE (GB T-mobile) and try to unlock with method 2 but always get "security fail". Tell me what I need to do? Thank's
[HTC Sensation] Ladicx:
i have the same problem. I have my code via method 1 but it always fails. My tmob phone has been turned off for a while and my boss gave me an old iphone to use. So naturally I figured i could use the sim from the atnt phone.

Not sure what is going wrong. I def have the unlock code. Why won't it accept? Using a sense 4.0 rom btw it says incorrect password evevytime
[HTC Sensation] renehd2:
Hello is there a mirror for the PG58DIAG?? the ones in the OP are broken
[HTC Sensation] doug2060:
Same question...
[HTC Sensation] craven667:
you have to unzip it

http://www.4shared.com/zip/XQHbD4WZ/PG58DIAG.html
[HTC Sensation] esiemi:
method PG58DIAG worked on latest ICS RUU, even though it said security failed, so thanks :) hope this helps other people.
[HTC Sensation] Muff Burner:
ok cool, I thought I was doing something wrong cause that's all I got
[HTC Sensation] jleon1320:
ok, so it worked for me... but is anyone else finding horrible data speeds using an AT&T sim in the phone? Only data connection available is Edge. Does anything need to be changed in the mobile APN area in order to receive a better connection?

Is it a hardware related issue where the phone is just not capable of joining AT&T's LTE network?
[HTC Sensation] big gulps huh?:
It's hardware related (radio isn't fully compatible)
[HTC Sensation] Adis0ru:
Hi there. I got my sensation a few days ago and it's simlocked. I have ICS (4.0.3), hboot 1.27.0000, S-ON. Will method 2 work for me ???
[HTC Sensation] Soul788:
No it is not ...

Hboot 1.27.0000 is not even digestible
[HTC Sensation] Ladicx:
+1 using my phone on AT&T as well. Data speeds suck and I can't figure out how to send MMS
[HTC Sensation] skygear:
Can we get some updates on Method 2 and different firmwares?

---------- Post added at 12:40 PM ---------- Previous post was at 11:57 AM ----------

Well I got ahold of a Sensation that Method 1 was a no go on. So I tried Method 2. Still a no go. I had the latest firmware on it and still a no go. Decided to go back to 1.17 Hboot and it worked with no issues. Flashed back to Latest firmware and able to use rome with no issues
[HTC Sensation] jab74101:
Did you change your apn?
[HTC Sensation] heo_con184:
Thank you !!!

It worked perfectly for a HTC Sensation from Bell, Canada.
[HTC Sensation] liamclark1993:
Help please.

I am S-off and im 1.27.0000 the first method dosnt work. and when i try the second one it says security failed. someone please help ?
[HTC Sensation] raikesy:
Is that on the 1.27 HBOOT? If so I'm guessing you have unlocked using HTCDev?
[HTC Sensation] calyxim:
Same issue here. The only problem is I don't know how to downgrade to 1.17. Any help would be very much appreciated :D
[HTC Sensation] craven667:
You have to be soff for it to work
[HTC Sensation] calyxim:
I am.
[HTC Sensation] craven667:
What hboot u on
[HTC Sensation] calyxim:
1.27.

I just paid 1.30 to get it unlocked. Less effort :)
[HTC Sensation] overthinkingme:
I put up a mirror to the link for the NBH for method two since multiupload is down and the original site is unreliable. Showed me no link for the last 20 minutes until I clicked the link one last time out of desperation.

mirror: http://min.us/mqvjpLasi
[HTC Sensation] PangOS:
Pulling my hair out at this...I don't have much hair.

Anyway guys, I just purchased a myTouch 4G Slide off eBay.

No T-Mobile where I am so I needed the sim unlock. Followed the terminal/adb instructions and acquired the unlock code.

Put in the sim I plan to use and I get the enter Sim unlock code prompt.

Entering the code returns with 'Unlock Code Successful'.

However I still have no mobile network connection, and if I should reboot or toggle airplane mode on and off, it comes up again asking for the unlock code.

Each time it says successful. but it doesn't seem to actually work.

I Purchased an unlock code just to see if I would be lucky. But as I suspected I was sent the very same code which I got from the terminal method before.

Anyone have any idea what is going on?

myTouch 4G Slide.

Unlocked Bootloader

S-ON RL

HBOOT 1.45.0013

Virtuous Inquisition 4.0.1

ICS 4.0.3
[HTC Sensation] craven667:
yeah this is not for myTouch 4G Slide
[HTC Sensation] PangOS:
My apologies.
[HTC Sensation] marmajan:
Mil gracias, funciona perfecto para sensation z710 de iusacell. Thnx.
[HTC Sensation] inzaghi--9:
hi every body

Is this method valid for sensation XL ???

if not what i can do for sens XL
[HTC Sensation] craven667:
Yeah should work
[HTC Sensation] mojo_ojoj:
Hi

Does the steps provided on the 1st page work on HTC Wildfire S?

If i done it wrong, will it brick my phone? if yes, how can i restore it?

Thanks in Advance.
[HTC Sensation] aho3:
how did u managed?
[HTC Sensation] mojo_ojoj:
@calyxim : what site did you unlocked it?