[Q] SIM Re-Lock - Captivate Q&A, Help & Troubleshooting

Hi,
Does anyone know how to re-lock the SIM on Captivate? I need to reload the stock ROM and lock the SIM for warranty replacement of my phone.
Thanks in advance.

I believe once you reload the stock ROM, say using Odin one-click to JF6, your phone will be SIM locked again.
Again, I believe this is the reason why they recommend you write down your unlock code, because you'll have to go through the unlock process with every flash.

Thanks for your input but unfortunately once it's unlocked it will stay unlocked. I tried it many times myself flashing the 1-click Odin stock ROM.
I wrote down the unlock code. I actually just found this on a website but I am not sure if this will work. Wondering if anyone ever tried it...
*#7465625# = Check the phone lock status
*7465625*638*Code# = Enables Network lock
*7465625*746*Code# = Enables SIM lock
If I remember correctly, I believe I need to enable the Network lock....

norcal einstein said:
I believe once you reload the stock ROM, say using Odin one-click to JF6, your phone will be SIM locked again.
Again, I believe this is the reason why they recommend you write down your unlock code, because you'll have to go through the unlock process with every flash.
Click to expand...
Click to collapse
Not true. I have flashed many ROMs and stayed unlocked. Am currently running Perception 4 without having to re-unlock.
To re-lock:
RazvanG said:
Originally Posted by RazvanG HOW TO LOCK SAMSUNG GALAXY S – FOR WARRANTY PURPOSES ONLY (TESTED)
After you get the NCK code using the method above, enter: *7465625*638*#
There will be a pop-up box.
Complete the first field (MCC/MNC) with the network you want your phone locked to (eg. 226 10 where 226 = romania; 10 = orange etc.) and the second field (Control Key) with the NCK extracted from the .bak file.
Press OK and your phone should relock.
RazvanG
Click to expand...
Click to collapse
NCK codes are different for each country/carrier. You will have to search for yours.

startngate said:
Not true. I have flashed many ROMs and stayed unlocked. Am currently running Perception 4 without having to re-unlock.
To re-lock:
NCK codes are different for each country/carrier. You will have to search for yours.
Click to expand...
Click to collapse
Thanks. I have the NCK code for my phone. Searched wiki and found this link.
http://en.wikipedia.org/wiki/Mobile_Network_Code#U
It seems like AT&T's MCC/MNC is 310/410.
I will have to give it a try tonight.

Related

[Q] Help please, imei unlock, because root mode or other not work

Help please
Samsung Galaxy S captivate i897
Imei:351863046925802
At&t - Wanna unlock for all carriers
Root and carrier unlock are different things. Carrier unlock requires a code from your provider.
Miami_Son said:
Root and carrier unlock are different things. Carrier unlock requires a code from your provider.
Click to expand...
Click to collapse
Would he need to do a carrier unlock even in the case he installs a new ROM on to it? (even the ODIN One-Click stock ROM?)
Sorry, just curious myself!
What he describes is the fact that in 2.1 ROM, carrier unlock code is very easy to extract from the phone (it is not encrypted). But once you flash to any 2.2 ROMs, the unlock code is now encrypted and much difficult to extract but still doable.
Flash back to 2.1 will not give you back the encrypted unlock code. So, it is important that get get the unlock code while still in 2.1 and write it down somewhere.
There are instuctions posted in dev forum about how to extract the encrypted unlock code in 2.2.
Regardless which ROM you are on, your unlock code stays the same unless you flash to a custom ROM that is not properly ported to Captivate and it will likely destroy your IMEI, product code and unlock code.
foxbat121 said:
What he describes is the fact that in 2.1 ROM, carrier unlock code is very easy to extract from the phone (it is not encrypted). But once you flash to any 2.2 ROMs, the unlock code is now encrypted and much difficult to extract but still doable.
Flash back to 2.1 will not give you back the encrypted unlock code. So, it is important that get get the unlock code while still in 2.1 and write it down somewhere.
There are instuctions posted in dev forum about how to extract the encrypted unlock code in 2.2.
Regardless which ROM you are on, your unlock code stays the same unless you flash to a custom ROM that is not properly ported to Captivate and it will likely destroy your IMEI, product code and unlock code.
Click to expand...
Click to collapse
Ah I see! So much like the CM7 ROM then
So I'm guessing my phone was already unlocked somehow beforehand...
Call ATT, make up some BS about going to Europe on a trip. Tell them you already bought a prepaid sim card for an international carrier and you need the sim unlock code for your phone.
venomio said:
Ah I see! So much like the CM7 ROM then
So I'm guessing my phone was already unlocked somehow beforehand...
Click to expand...
Click to collapse
Custom ROM has nothing to do with unlock status.
Exactly, that's what I'm meaning
I've never unlocked my phone, yet it's unlocked.
venomio said:
Exactly, that's what I'm meaning
I've never unlocked my phone, yet it's unlocked.
Click to expand...
Click to collapse
How do you know it's unlocked? Are you using it on a different carrier than when you first purchased it? Are you using prepaid SIMs in it? That's what carrier unlocking allows. Rooting allows access to the base OS so you can run certain apps and make mods that involve the system. You can be rooted and locked or unlocked and you can be locked or unlocked and not rooted. One has nothing to do with the other.
I never said they had anything to do with each other, I'm much aware of how they both work. I'm both rooted and unlocked (not bound to any carrier, and yes I use prepaid SIMs).
agomez87 said:
Help please
Samsung Galaxy S captivate i897
Imei:351863046925802
At&t - Wanna unlock for all carriers
Click to expand...
Click to collapse
if your phone has root access simply download galaxy s unlock from the market by helroz and run it. it's pretty simple. to know if you have successfully unlock your phone just dial *#7465625# it should should show network lock off. and you"re good to go any carrier sim you want that supports your phone baseband. if you're not at&t way to go....

Wiped Captivate - Need Advice

Hey everyone,
I recently wiped my captivate clean. I have used the Odin one click downloader to take it back to Eclair (JF6) and master clear to clear all the files.
I need advice at this point on. I leave for Spain in 5 days. I need this phone unlocked to use my international sim card. Do I upgrade to 2.2 and work with the fact that the unlock code on 2.2 has been erased? Should I stay with Eclair and use easy unlock and root methods?
Any help is appreciated. Thanks.
once you unlock your captivate it will be unlocked for good. Having the stock JF6 rom just makes things easier because the unlock code was in plain text in /efs/nv_data.bin and can be easily extracted. Any rom after JF6 had nv.data.bin file encrypted but there are other methods to get the code.
Try using the Galaxy_S Unlock in the app market first to see if that works if not there search the forums for another solution.
psyopstt said:
once you unlock your captivate it will be unlocked for good. Having the stock JF6 rom just makes things easier because the unlock code was in plain text in /efs/nv_data.bin and can be easily extracted. Any rom after JF6 had nv.data.bin file encrypted but there are other methods to get the code.
Try using the Galaxy_S Unlock in the app market first to see if that works if not there search the forums for another solution.
Click to expand...
Click to collapse
I unlocked it and successfully upgraded to 2.2 froyo without losing the lock. This is great news. My only concern is that when I insert the unaccepted sim card (international), won't it request a code or will it not?
Thanks for the help!
not sure about using a sim from spain but i've used and tested my captivate on:
US T-mobile sim
UK T-mobile sim
US Simple Mobile sim
and Hong Kong sims
without any problems.
open up your phones dialer and enter *#7465625#
if you see:
Network Lock [off]
Network Subset Lock [off]
SP Lock [off]
CP Lock [off]
you should be good to go.
Your best bet is to contact whatever provider you will be using while in spain and ask if them if your unlocked phone will work with their sims.
Thanks for your input. I contacted them and they said their sim card WILL work, just going to have a hard time unlocking it. The good thing is I have done that already!
My network lock is [off]. I thought I would still need the code? I suppose not.

[Q] SIM Unlock for Sensation XL?

Any way (free) to sim-unlock, found couple of threads but for other Sensations, regular, xe, and other htc phones.
http://forum.xda-developers.com/showthread.php?t=2024422
http://forum.xda-developers.com/showthread.php?t=1693491
http://forum.xda-developers.com/showthread.php?t=1232107
They all say that you should type in Terminal Emulator on phone:
su
strings -n 8 /dev/block/mmcblk0p6
and you should find in bounch of numbers the 8 digit number above the IMEI and that should be the unlock code. I tried that but can't find either the imei or unlock code. The mmcblk0p6 file IS in /dev/block. Any solution?
snebojsa said:
Any way (free) to sim-unlock, found couple of threads but for other Sensations, regular, xe, and other htc phones.
http://forum.xda-developers.com/showthread.php?t=2024422
http://forum.xda-developers.com/showthread.php?t=1693491
http://forum.xda-developers.com/showthread.php?t=1232107
They all say that you should type in Terminal Emulator on phone:
su
strings -n 8 /dev/block/mmcblk0p6
and you should find in bounch of numbers the 8 digit number above the IMEI and that should be the unlock code. I tried that but can't find either the imei or unlock code. The mmcblk0p6 file IS in /dev/block. Any solution?
Click to expand...
Click to collapse
Thanks for the info, my SXL is already unlocked, but following this pattern i will look into the phone to find the partition we use, and will post here my findings and you can test the solution.
--
Using this
Code:
strings -n 8 /dev/block/mmcblk0p7
you will find the same things as you find in this thread.
Personally i got the CID, some code, the IMEI and other stuff under it, so i believe the thing above the IMEI should be the unlocking code, but not it is made from 8 digits and should not be the one that starts with lots of 000 (i got that too )
I would apreciate if you could provide a screenshot, as i have an unlocked phone and it could be different at you.
--
Note that i'm using the ICS Radio and .28 Hboot, don't know if things are different on other Radion or Hboot versions, but i just wanted to put it here
Ok, thanks.
I tryed this:
strings -n 8 /dev/block/mmcblk0p7
and i actually got the 8 digit code above the imei, but first 5 digits are 0, don't know if i should try that code. Here is screenshot.
snebojsa said:
Ok, thanks.
I tryed this:
strings -n 8 /dev/block/mmcblk0p7
and i actually got the 8 digit code above the imei, but first 5 digits are 0, don't know if i should try that code. Here is screenshot.
Click to expand...
Click to collapse
I also got the exact same code above the imei.... hmm...
--
Are you S-OFF?
That is not my code, then
Yes, I am s-off.
snebojsa said:
That is not my code, then
Yes, I am s-off.
Click to expand...
Click to collapse
Have you tried a different SIM since you S-OFF'ed your device? It seems that on some device, the device becomes sim-unlocked when you S-OFF it.
Yes i tried it, and i tried it again just now, it is sim-locked.
I tried this:
sh /sdcard/simfinder.sh
in the link you posted, and got bounch of 8 digits numbers from mmcblk0p29. Maybe there is unlock code, but which one?
Maybe I have to be in stock rom to find unlock code, or it doesn't matter?
snebojsa said:
Maybe I have to be in stock rom to find unlock code, or it doesn't matter?
Click to expand...
Click to collapse
29 is the data partition, there is no chance to find the unlock code there... Don't have any ideea for now, it could be done in another way but will need to investigate further.
Lexmazter said:
29 is the data partition, there is no chance to find the unlock code there... Don't have any ideea for now, it could be done in another way but will need to investigate further.
Click to expand...
Click to collapse
Problem is I don't think you can find the code unless your device is locked to a specific carrier.
Sent from my Sensation XL using XDA Premium HD app
I am locked to carrier, maybe we can compare some data from mmc?
Strange thing happened today, when i try the other sim card and restart the phone, don't got message "network is locked" and dialpad to enter the code, instead got locked screen, in status bar no network, but when tried to unlock the screen it was unresponsive! So, no screen and soft buttons are working, only power and volume button does, and i can't unlock screen and can't use phone in any way. When i remove that sim and put the one from my carrier or no sim at all, everything back to normal, i tried that couple of times. Just to mention, i DID NOT enter any unlock code ever, just to try. Why that happened?
EDIT: just flash another rom and it is ok, got the "enter unlock code" screen.
I bought unlock code online from trusted source, but doesn't work. I was on aosp rom but read somewhere that you must be on sense rom to accept the code. So i flash some sense rom, not working again. Then i tried ics stock rooted rom, no good, then tried gb stock rooted rom, because the phone was on gb rom when it's locked, no good. Then i found somewhere that some other devices accepted the code when you flash different radio, so i tried that, no good either. Then i relocked bootloader and flash gb ruu, no good, then flash ics ruu, guess what, no good. I tried everything but the code seems to be false.
snebojsa said:
I bought unlock code online from trusted source, but doesn't work. I was on aosp rom but read somewhere that you must be on sense rom to accept the code. So i flash some sense rom, not working again. Then i tried ics stock rooted rom, no good, then tried gb stock rooted rom, because the phone was on gb rom when it's locked, no good. Then i found somewhere that some other devices accepted the code when you flash different radio, so i tried that, no good either. Then i relocked bootloader and flash gb ruu, no good, then flash ics ruu, guess what, no good. I tried everything but the code seems to be false.
Click to expand...
Click to collapse
hi there, I'm working on a method to unlock the samsung galaxy W 8150 device and am interested in your findings. what's this about a 'sense' rom? do you simply mean a stock sensation XL rom? thanks,
Foxy
Yes, i mean the stock rom the phone came with from factory, basically that must be the rom that was on the phone when it is locked.
snebojsa said:
Yes, i mean the stock rom the phone came with from factory, basically that must be the rom that was on the phone when it is locked.
Click to expand...
Click to collapse
thanks, just restored my CWM backup. now working on some strange busy box/terminal emulator issue. so, my friend, do you have your original rom installed? or a back up somewhere? i've trying to make a script that should work on a variety of phones - so since i posted on your thread, i will keep you posted too.
Sorry my friend, i sold my Sensation XL long time ago, i'm on HTC One X now...
snebojsa said:
Sorry my friend, i sold my Sensation XL long time ago, i'm on HTC One X now...
Click to expand...
Click to collapse
ha ha no worries. well thanks you still helped with my own pursuit of happiness. cheers!
Cheers!

[Q] Sim Unlock Code Not Accepted

Hi,
I have HTC one on Three UK network. I took Sim network unlock code from 3 different paid servers, All have given same code but code does not work. It says Sim Password incorrect. Spoken to supplier and he said it is some bug in new android system. Can anyone explain me how to fix this. I appreciate that.
I already 3 tried another source and checked imei etc.
talkways said:
Hi,
I have HTC one on Three UK network. I took Sim network unlock code from 3 different paid servers, All have given same code but code does not work. It says Sim Password incorrect. Spoken to supplier and he said it is some bug in new android system. Can anyone explain me how to fix this. I appreciate that.
I already 3 tried another source and checked imei etc.
Click to expand...
Click to collapse
Are you on a custom CID ? On a custom ROM? If yes, change them back to the original and it'll work.
attanasi0 said:
Are you on a custom CID ? On a custom ROM? If yes, change them back to the original and it'll work.
Click to expand...
Click to collapse
No it is original rom, original recovery but still not accepting. In attempt to flash i loaded up custom recovery now but unable to find any stock rom ruu on three. Hbot is 1.54 and s on and bootloader locked (i unlocked it using htcdev now)
talkways said:
No it is original rom, original recovery but still not accepting. In attempt to flash i loaded up custom recovery now but unable to find any stock rom ruu on three. Hbot is 1.54 and s on and bootloader locked (i unlocked it using htcdev now)
Click to expand...
Click to collapse
This is purely anecdotal but the phone I had before this was the s2 LTE model on AT&T, when they gave me the code it kept saying it was unsuccessful until I ran out of attempts. However when I actually put in a t-mobile sim card it worked fine and it was fully unlocked. Maybe try that?
Danmanlott said:
This is purely anecdotal but the phone I had before this was the s2 LTE model on AT&T, when they gave me the code it kept saying it was unsuccessful until I ran out of attempts. However when I actually put in a t-mobile sim card it worked fine and it was fully unlocked. Maybe try that?
Click to expand...
Click to collapse
You do know that to unlock the phone you need a SIM card from a different company inside the phone so that it asks for Network Unlock Code... SIM Lock is not the same...
attanasi0 said:
You do know that to unlock the phone you need a SIM card from a different company inside the phone so that it asks for Network Unlock Code... SIM Lock is not the same...
Click to expand...
Click to collapse
Obviously phone is asking for sim network unlock code when we put non accepted sim card. So phone is not unlocked. We do quite a lot unlocking and few phones get this error, we have to refund customer but I am seeking solution for it. It is only in Android phones (HTC and Samsung).. Samsung's we usually unlock using unlocking boxes but HTC One is not supported other than code. (Setool support older HBOOT).

[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:
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
Click to expand...
Click to collapse
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!!
alex93310 said:
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!!
Click to expand...
Click to collapse
Sim unlock code only works with a stock rom. Install the stock rom and try again
bored_stupid said:
Sim unlock code only works with a stock rom. Install the stock rom and try again
Click to expand...
Click to collapse
Are you sure? Most other sources say that ROM doesn't matter. I will try it though.
alex93310 said:
Are you sure? Most other sources say that ROM doesn't matter. I will try it though.
Click to expand...
Click to collapse
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
alray said:
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
Click to expand...
Click to collapse
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?
alex93310 said:
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?
Click to expand...
Click to collapse
well if i was you, id install the T-Mobile stock since its them you got the sim unlock code from,
Problem Solved!
Thank you all for the advice! I flashed the original T-Mobile ROM found here: http://forum.xda-developers.com/showthread.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! :laugh:
alex93310 said:
Thank you all for the advice! I flashed the original T-Mobile ROM found here: http://forum.xda-developers.com/showthread.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! :laugh:
Click to expand...
Click to collapse
Pleased youve got it to work now. Can you add solved to your post title please. Edit-Advanced.

Categories

Resources