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
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

Related phones

Galaxy S II
  • Display 4.3" 480 x 800 pixels
  • Camera 8 MP / 2 MP front
  • Processor Samsung Exynos 4 Dual, Dual-core, 1200 MHz
  • Storage 32 GB + microSDHC
  • Battery 1650 mAh(9.00h 3G talk time)

FEATURED VIDEO

16 Comments

1. vantenkiest

Posts: 316; Member since: Apr 20, 2011

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

2. remixfa

Posts: 14605; Member since: Dec 19, 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.

15. ramacasu1

Posts: 4; Member since: Sep 13, 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

3. skymitch89

Posts: 1451; Member since: Nov 05, 2010

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

4. android_hitman unregistered

is this XDA now? or phonearena?

5. sorr932

Posts: 3; Member since: May 20, 2011

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

6. drg_c unregistered

https://market.android.com/details?id=eu.chainfire .sgs2simunlockcode thx chainfire & odia!

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..

8. vantenkiest

Posts: 316; Member since: Apr 20, 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.

9. androider

Posts: 1; Member since: Aug 04, 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

10. Abe unregistered

Hi, 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

16. ramacasu1

Posts: 4; Member since: Sep 13, 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

11. JayMoney88

Posts: 8; Member since: Oct 30, 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.

12. gsmwong

Posts: 1; Member since: May 14, 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

13. andreww3834

Posts: 1; Member since: Jul 09, 2012

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

14. dougasker

Posts: 4; Member since: Jun 14, 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.

Latest Stories

This copy is for your personal, non-commercial use only. You can order presentation-ready copies for distribution to your colleagues, clients or customers at https://www.parsintl.com/phonearena or use the Reprints & Permissions tool that appears at the bottom of each web page. Visit https://www.parsintl.com/ for samples and additional information.