Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,908 Members 54,187 Now Online
XDA Developers Android and Mobile Development Forum

[Solved] [Q] T-Mobile HTC One Simlock unlock

Tip us?
 
alex93310
Old
(Last edited by alex93310; 17th June 2014 at 11:58 AM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Jun 2014
Location: New Taipei City
Default [Solved] [Q] T-Mobile HTC One Simlock unlock

First time posting a thread.

So I have my HTC One here, rooted, bootloader unlocked, installed Cyanogenmod 11, but it is SIMLOCKED.

I tried T-mobile support, and out of three times that I requested the unlock code from them they only sent me the unlock code once AND IT FAILED

I tried the Ultimate Simlock Code Generator 2.1 and it just didn't respond after I complete the survey before it is supposed to give me the download link.

I tried to find the UN_lock_code with this method from another thread:
Quote:
To find your SIM UNLOCK CODE you need:

1) Root
2) Android Terminal Emulator (free from the market)
3) Your IMEI number (dial *#06# on your dialler)

There are 4 steps to the process:

1) Obtain your UN_lock_code from your phone
2) Calculate the key from your IMEI number
3) Subtract (2) from (1)
4) Unlock your phone

Step 1

Obtain your UN_lock_code from your phone as follows:

Open the Terminal Emulator app and type:

su [enter]
strings -n 8 /dev/block/mmcblk0p6 [enter]

It will output several lines of data (including your IMEI number)
One of the lines will be [eg] UN_Lock_code=063312345

Make a note of this number (This is NOT your SIM unlock code)!

Step 2

Make a key from your IMEI number:

a) Write down the last 7 digits of your IMEI number in this format: 1234 567

b) Reverse the 2 blocks: 567 1234

c) Add a 4th digit X: 567 X 1234 where:

X = the sum of the first 3 digits (If the sum is 2 digits, write only the 2nd digit)

[5 + 6 + 7 = 18 in the example above so X = 8]

[if the sum is 3, X = 3]
[if the sum is 17, X = 7]
[if the sum is 25, X = 5] etc.

Using the above IMEI number we get:

567 8 1234 (= the key)

Step 3

Perform a simple sum.

UN_Lock_code [step 1] key [step 2] = SIM UNLOCK CODE

e.g. 063312345 - 56781234 = 6 531 111

This needs to be an 8-digit number, so add a zero at the beginning if necessary

YOUR SIM UNLOCK CODE IS: 0653 1111
But I got stuck on the first step already because I couldn't even find where the UN_lock_code in the lines of data.

I looked up everywhere else and the rest of the internet just told me to pay to unlock from some random apps on Google Play Store.

I am in Taiwan now so some of the T-Mobile support pages aren't even reachable (error 500), not to mention going to a T-Mobile store.
So what is my best bet now? Is it because I have Cyanogenmod 11? Are there any other ways to unlock the simlock? Or should I just pay for it and get over with this quickly?

Thank you in advance!!
 
bored_stupid
Old
#2  
bored_stupid's Avatar
Senior Member
Thanks Meter 182
Posts: 666
Join Date: Jul 2011
Location: Hereford
Quote:
Originally Posted by alex93310 View Post
First time posting a thread.

So I have my HTC One here, rooted, bootloader unlocked, installed Cyanogenmod 11, but it is SIMLOCKED.

I tried T-mobile support, and out of three times that I requested the unlock code from them they only sent me the unlock code once AND IT FAILED

I tried the Ultimate Simlock Code Generator 2.1 and it just didn't respond after I complete the survey before it is supposed to give me the download link.

I tried to find the UN_lock_code with this method from another thread:

But I got stuck on the first step already because I couldn't even find where the UN_lock_code in the lines of data.

I looked up everywhere else and the rest of the internet just told me to pay to unlock from some random apps on Google Play Store.

I am in Taiwan now so some of the T-Mobile support pages aren't even reachable (error 500), not to mention going to a T-Mobile store.
So what is my best bet now? Is it because I have Cyanogenmod 11? Are there any other ways to unlock the simlock? Or should I just pay for it and get over with this quickly?

Thank you in advance!!
Sim unlock code only works with a stock rom. Install the stock rom and try again
The Following User Says Thank You to bored_stupid For This Useful Post: [ Click to Expand ]
 
alex93310
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Jun 2014
Location: New Taipei City
Quote:
Originally Posted by bored_stupid View Post
Sim unlock code only works with a stock rom. Install the stock rom and try again
Are you sure? Most other sources say that ROM doesn't matter. I will try it though.
 
alray
Old
#4  
alray's Avatar
Senior Member
Thanks Meter 913
Posts: 2,370
Join Date: May 2012
Location: Montreal
Quote:
Originally Posted by alex93310 View Post
Are you sure? Most other sources say that ROM doesn't matter. I will try it though.
Yes you need to be on stock rom. There is many threads here about this.

Sent from my HTC One using XDA Free mobile app
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot
The Following User Says Thank You to alray For This Useful Post: [ Click to Expand ]
 
alex93310
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Jun 2014
Location: New Taipei City
Quote:
Originally Posted by alray View Post
Yes you need to be on stock rom. There is many threads here about this.

Sent from my HTC One using XDA Free mobile app
Do you mean any rom with sense 5.0 and Android 4.2?
I'm not sure how many times I've already tried and failed to enter the correct unlock code, so I have few chances of error.
I just flashed the android revolution stock odex. Will this work?
 
bored_stupid
Old
#6  
bored_stupid's Avatar
Senior Member
Thanks Meter 182
Posts: 666
Join Date: Jul 2011
Location: Hereford
Quote:
Originally Posted by alex93310 View Post
Do you mean any rom with sense 5.0 and Android 4.2?
I'm not sure how many times I've already tried and failed to enter the correct unlock code, so I have few chances of error.
I just flashed the android revolution stock odex. Will this work?
well if i was you, id install the T-Mobile stock since its them you got the sim unlock code from,
The Following User Says Thank You to bored_stupid For This Useful Post: [ Click to Expand ]
 
alex93310
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Jun 2014
Location: New Taipei City
Thumbs up Problem Solved!

Thank you all for the advice! I flashed the original T-Mobile ROM found here: http://forum.xda-developers.com/show....php?t=2353812
and entered the unlocking code T-Mobile gave me the first time and it worked! I don't have to carry around 2 phones anymore!
 
bored_stupid
Old
#8  
bored_stupid's Avatar
Senior Member
Thanks Meter 182
Posts: 666
Join Date: Jul 2011
Location: Hereford
Quote:
Originally Posted by alex93310 View Post
Thank you all for the advice! I flashed the original T-Mobile ROM found here: http://forum.xda-developers.com/show....php?t=2353812
and entered the unlocking code T-Mobile gave me the first time and it worked! I don't have to carry around 2 phones anymore!
Pleased youve got it to work now. Can you add solved to your post title please. Edit-Advanced.

The Following User Says Thank You to bored_stupid For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes