x PhoneArena is hiring! Reviewer in the USA
  • Hidden picShow menu
  • Home
  • News
  • How to unlock a Samsung Galaxy S II for use with any GSM carrier

How to unlock a Samsung Galaxy S II for use with any GSM carrier

Posted: , by Nick T.

Tags :

How to unlock a Samsung Galaxy S II for use with any GSM carrier
Got a carrier-locked Samsung Galaxy S II that you really feel like unlocking? If you just answered “yes” to this question, than we have both good news and bad news for you. The good news is that you can do it by yourself and it would not cost you a dime. The bad news – it will require some really geeky skills so you better wake up your inner hacker and put them to work.

So, are you still with us? Good. The first step to unlocking your Galaxy S II is to root it. This part is crucial because you will need to have root access in order to get the nv_data.bin file, located in /efs/nv_data.bin. Go ahead and copy that file to your computer and open it up with a HEX editor. Now you jump over to offset 0x181460 and get the hash values for 0x18146e, 0x18148e, 0x1814ae, 0x1814ce, and 0x1814ee. The HEX editor should be able to calculate SHA1 hash values for you. If the value of any of these offsets turns out to be 7D3E17CFCD816CACD4E025FAA65004FDD17D51F8 just ignore it, yet if it doesn't – that is the one you need. Copy that value and paste it at the page, to which a link has been provided for you below. An 8 digit unlock code will be calculated for you so just pop in an unaccepted SIM card in the phone and type it in.

Be aware that the procedure that we just described is dangerous and can render your phone useless if you do something wrong. Proceed at your own risk.

The hash value can be converted into the needed unlock code here.

If you need a HEX editor, you can use HEX Workshop or WinHex

source: XDA-Developers via Samsung Hub

  • Options

posted on 23 May 2011, 09:29

1. vantenkiest (Posts: 312; Member since: 20 Apr 2011)

thats actually very easy :D I cant wait for the cdma version :D EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

posted on 23 May 2011, 10:07

2. remixfa (Posts: 14604; Member since: 19 Dec 2008)

what.. the samsung developer menu didnt make it to the SGS2? im sure its there somewhere. way easier than any HEX editor, even though thats not really all that hard.

If this had all the american 3g/4g GSM frequencies for Tmo and ATT then it would be great.

posted on 13 Sep 2013, 20:49

15. ramacasu1 (Posts: 4; Member since: 13 Sep 2013)

Unlock AT&T SAMSUNG Galaxy S2, S3, S4 ETC

itechunlimited.com/at-t-samsung-galaxy-s2-s3-s4-et​c. html

Popular Models: Samsung S2 i777, Samsung S2 i727 Skyrocket, Samsung S3 Galaxy, Samsung Galaxy S4, Galaxy Active & MORE

posted on 23 May 2011, 10:13

3. skymitch89 (Posts: 1359; Member since: 05 Nov 2010)

Or...someone could just buy and unlocked version.

posted on 23 May 2011, 10:47

4. android_hitman (unregistered)

is this XDA now? or phonearena?

posted on 23 May 2011, 10:53 2

5. sorr932 (Posts: 3; Member since: 20 May 2011)

just get another ROM of an unlocked device!
it will take 2 mins on Odin

posted on 23 May 2011, 14:24

6. drg_c (unregistered)

https://market.android.com/details?id=eu.chainfire .sgs2simunlockcode

thx chainfire & odia!

posted on 23 May 2011, 19:45

7. koolaid (unregistered)

one question... why do all of you go through that bs to unlock a phone.. all you need is a tmo sim card which you would have since its a tmo phone, call tmo say your going out of the country for a bit and you want to unlock it.. which first they will say you can't then you just tell them. fuck off and give it to me because the lovely fcc requires them to give it to you if you request it. they will walk you through the whole process. then put in a good ol' att sim and bing badda boom. its unlocked.. ive done it with many many many phones, blackberry, g1 & 2, nokia's, and other mis. htc's. you just have to know how to ask. grow some balls and say you have to. im not asking im telling you too..

posted on 27 May 2011, 21:08

8. vantenkiest (Posts: 312; Member since: 20 Apr 2011)

why would we bother when we can do it ourselves and in the process have access to a lot more.
that and we dont have to be annoyed by stupid people.

posted on 04 Aug 2011, 20:53

9. androider (Posts: 1; Member since: 04 Aug 2011)

Doesn't seem to work for galaxy i9100m from Bell and Virgin Canada, this phone uses a new crypto method for the unlock data. I would recommend researching this before trying root it.
If you have the i9100m or if you aren't good with the various softwares involved you can get a generated unlock code from cellunlocker.net

posted on 03 Oct 2011, 17:03

10. Abe (unregistered)


I just got a Samsung Galaxy SII phone from Sprint in US. I have two questions

1. Can I unlock this phone using the method describe? Has anyone here done it

2. Where do we insert the new SIM as this phone does not have a slot to do so?

Thanks all you GURUs

posted on 13 Sep 2013, 20:49

16. ramacasu1 (Posts: 4; Member since: 13 Sep 2013)

Unlock AT&T SAMSUNG Galaxy S2, S3, S4 ETC


Popular Models: Samsung S2 i777, Samsung S2 i727 Skyrocket, Samsung S3 Galaxy, Samsung Galaxy S4, Galaxy Active & MORE

posted on 30 Oct 2011, 12:51

11. JayMoney88 (Posts: 8; Member since: 30 Oct 2011)

This is method does not work on the Galaxy S II because there is NO nv_data.bin file in these phones. I know for a fact it does not exists in the Samsung Galaxy S II SGH-T989 for T-Mobile nor any of the close variants. This only works on the Galaxy S and the Galaxy S 4G no other models have the necessary file.

posted on 14 May 2012, 10:08

12. gsmwong (Posts: 1; Member since: 14 May 2012)

Hi. This works only with old version and models. For the latest software versions and new models usehttp://www.fastgsm.com/en/samsung/samsung/galaxy-s/unlock-code/unlocking

posted on 09 Jul 2012, 14:05

13. andreww3834 (Posts: 1; Member since: 09 Jul 2012)

i ordered a code fromhttp://www.unlockscodes.com/ and it worked perfect

posted on 17 Aug 2013, 10:00

14. dougasker (Posts: 4; Member since: 14 Jun 2013)

Just remember if you live in the USA. It's illegal to unlock your phone. If you bought it after 26 January of this year. Are you likely to go to jail working time because you unlock your phone? The answer is probably not, since a petition was signed by all 130,000 people on the government's website Congress will be forced into providing clarity on the subject soon, but don't hold your breath.

Want to comment? Please login or register.

Latest stories