[REF] How to unlock/unfreeze all SGS Models [NOW WORKS ON Vibrant 4G][Updated 4-9-11]

What model did this work on?

  • GT-I9000

    Votes: 2,074 49.3%
  • USA Vibrant

    Votes: 977 23.2%
  • USA Captivate

    Votes: 573 13.6%
  • Bell I9000

    Votes: 275 6.5%
  • Other

    Votes: 304 7.2%

  • Total voters
    4,203
Search This thread

RazvanG

Senior Member
Aug 1, 2010
359
81
I had unlocked my Captivate from AT&T to use it with vodafone (Germany) without any problem - can receive and make calls and have access to the internet with 3G.
When i check my network state i had an screen with empty fields of MNC and so on - does it must fill in with the local code for vodafone?

As far as I know, that information is based on the phone's CSC file.
It shouldn't be a problem.
 

dagentooboy

Senior Member
Feb 16, 2008
544
156
Kansas
The app is here!!!!

Look in the market... See my sig or the first post for the QR code or search for Samsung Galaxy S Unlock Tool in the market.
 

galaxysguy

Member
Aug 21, 2010
43
0
Look in the market... See my sig or the first post for the QR code or search for Samsung Galaxy S Unlock Tool in the market.

Amazing work! Love the option to email it to yourself. Finally a simple app that provides the unlock code without having to pay someone cash and a file or their $10 app in the marketplace.

I think an ad running at the bottom wouldn't hurt that way you get at least one view per run.
 

primarilydna

Senior Member
Jun 15, 2010
105
3
samsung galaxy gti9000 international version...
Does this mean that throughout the released models this works with t mobile and at&t 3g?? (850/1900,1700)??
 

captirwin

Senior Member
Dec 9, 2006
152
1
Las Vegas,NV
Great job all !!!

I'm very new to all of this.
With a lot of help and patience from DAGENTOOBOY I was able to get it done.:D
Thanks again to all.

That said, I have not tried a different sim in my phone.
I have an old ATT sim that if I put it in the phone, it asks for the unlock code. If I unlock the phone and then reinsert the original T-Mobile sim, will it work? And still be unlocked?
I hope who ever reads this understands my question, because I'm not sure I do...LOL.
 
Last edited:

nbs11

Senior Member
Jul 25, 2010
515
148
Chicago
I'm very new to all of this.
With a lot of help and patience from DAGENTOOBOY I was able to get it done.:D
Thanks again to all.

That said, I have not tried a different sim in my phone.
I have an old ATT sim that if I put it in the phone, it asks for the unlock code. If I unlock the phone and then reinsert the original T-Mobile sim, will it work? And still be unlocked?
I hope who ever reads this understands my question, because I'm not sure I do...LOL.

Yes. It will
 

garyham

Member
Aug 24, 2010
17
0
Trouble with Vibrant unlock but found answer!

The Generate Unlock program couldn't find some sort of file on my Vibrant and didn't come up with the unlock code.

I fixed this problem by downloading the Samsung Kies program, started it and did the procedure. Voila....did the trick!

Learned about the Kies program after watching a Youtube video on unlocking the Vibrant.

Hope this helps some of you with the same problem.
 

zagorka

Member
Mar 5, 2007
22
0
I was unable to unlock my Captivate and I tried twice. So now i have only one attempt left. Here is what i got running this in windows:
===============================================================
===============================================================
Generate unlock code for any Samsung Galaxy S
===============================================================
===============================================================
__________________________________________________________
Copy nv_data.bin
* daemon not running. starting it now *
* daemon started successfully *
2431 KB/s (2097152 bytes in 0.842s)
Extract code

SGUX v0.92b (C) 2010 By Mark0 & rbnet
Samsung Galaxy Unlock code eXtractor
(based on info by rhcp0112345 & RazvanG)

Opening file <.\nv_data.bin>...
Searching code block...
Found.
Searching codes...

Freeze code : 08374***
Network Control Key: 18427***
* server not running *
===============================================================
===============================================================
Please donate to DagentooBoy for the script
Please donate to rbnet.it and marcopon for the SGUX utility used in the script
===============================================================
===============================================================
Script complete!
Press any key to continue . . .

I am running I897UCJH2 plus EXT2 lag fix and i am rooted as well. i tried first time with usb debugging off and second with usb debugging on and I got the same result "Incorect code" I'd love to unlock my Captivate as I am planning to use it overseas but now i am afraid to try it again what if the freeze code doesnt work as well.


Last Edit:
It's my fault. The app works. I was using foreign sim card that require unlock code and i was entering the code from this app. After i put a t-mobile card it open different window to enter network unlock code which i did and everything is fine now.
Great job guys. Donation on its way
 
Last edited:

stefonk

New member
Aug 23, 2010
1
0
device offline

this is all I get. I hard tried so many times but still. I think there is a problem with the USB composite device. Help Newbie

===============================================================
===============================================================
One click Unlock for Galaxy S Family
===============================================================
===============================================================
__________________________________________________________
Copy nv_data.bin
* daemon not running. starting it now *
* daemon started successfully *
error: device offline
Extract code

SGUX v0.92b (C) 2010 By Mark0 & rbnet
Samsung Galaxy Unlock code eXtractor
(based on info by rhcp0112345 & RazvanG)

* Error: unable to find file <.\nv_data.bin>
Could Not Find C:\samsung\Generate Unlock Windows\Generate Unlock Windows\nv_dat
a.bin
===============================================================
===============================================================
Please donate to DagentooBoy for the scripting
Please donate to rbnet.it and marcopon for the SGUX utility used in the script
Special thanks to Bowsa2511 for helping with the script
===============================================================
===============================================================
Script complete!
Press any key to continue . . .
 

nbs11

Senior Member
Jul 25, 2010
515
148
Chicago
this is all I get. I hard tried so many times but still. I think there is a problem with the USB composite device. Help Newbie

===============================================================
===============================================================
One click Unlock for Galaxy S Family
===============================================================
===============================================================
__________________________________________________________
Copy nv_data.bin
* daemon not running. starting it now *
* daemon started successfully *
error: device offline
Extract code

SGUX v0.92b (C) 2010 By Mark0 & rbnet
Samsung Galaxy Unlock code eXtractor
(based on info by rhcp0112345 & RazvanG)

* Error: unable to find file <.\nv_data.bin>
Could Not Find C:\samsung\Generate Unlock Windows\Generate Unlock Windows\nv_dat
a.bin
===============================================================
===============================================================
Please donate to DagentooBoy for the scripting
Please donate to rbnet.it and marcopon for the SGUX utility used in the script
Special thanks to Bowsa2511 for helping with the script
===============================================================
===============================================================
Script complete!
Press any key to continue . . .

is your SD card mounted?
 

gil21

Member
Apr 24, 2009
14
0
Asnieres
MERCI

A thank you DaGentooBoy I succeeded in window 7 with 1st method
'm in France and Vodafone and Bouygues télécom
Donate via Paypal
Thank you :)
 

RazvanG

Senior Member
Aug 1, 2010
359
81
You can now look in the market for the new SGS Unlock .apk

FREE !! No ROOT required !!

If you like it/use it, don't forget to support the DEVs

DaGentooBoy, RazvanG, rhcp0112345 and GalaxySGuy

and donate to their PayPal accounts (find them at the end of the Tutorial, 1st page -- different donation link from the one in the application which is for supporting the development of the .apk)

RazvanG
 
Last edited:

z_dori

Member
Mar 9, 2006
8
0
41
Dosen't work for me

I Have SGS i9000 16GB , it's unlocked from the factory.
Rom is jpjg8 (2.1).

msg say: "sorry, no codes found, unknown error".

I'll be glad to try stuff, if others will need it in the future.
 

RazvanG

Senior Member
Aug 1, 2010
359
81
I Have SGS i9000 16GB , it's unlocked from the factory.
Rom is jpjg8 (2.1).

msg say: "sorry, no codes found, unknown error".

I'll be glad to try stuff, if others will need it in the future.

Can you please extract and attach a copy of your nv_data.bin so we can look at it ?

To do this, download the attachment provided, connect your phone in debug mode (Settings->Applications->Development->USB Debugging) and run the .bat file after extracting the .zip file on your PC

Thank you

RazvanG
 
Last edited:

captirwin

Senior Member
Dec 9, 2006
152
1
Las Vegas,NV
Thanks to all

It works...

I just donated ten Pounds to raz_ssx@yahoo.com. I hope thats DAGENTOOBOY or at least his team.
EVERYONE else that uses this app should do the same. Its a good cause.
Its people like you and your team that make this fun.
Thanks again to all.
 
Last edited:

RazvanG

Senior Member
Aug 1, 2010
359
81
It works...

I just donated ten Pounds to raz_ssx@yahoo.com. I hope thats DAGENTOOBOY or at least his team.
EVERYONE else that uses this app should do the same. Its a good cause.
Its people like you and your team that make this fun.
Thanks again to all.

Thank you for your donation.
Yes, I'm part of the team :) and along with Dagentooboy and other DEVs we managed to find the solution to unlock the GalaxyS for Free.
You can see my name all over the credits section.
All donations made to my PayPal account go to cancer support because I had chimo for 3 years when I was 17 because I had leukemia and I know how important support is.
thank you once again

RazvanG
 

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    Vibrant 4G/SGS 4G manual method here

    PRO App also works on Vibrant 4G/SGS 4G for anyone who doesn't feel comfortable with a hex editor

    Do NOT try this or any other unlock method on the SC-02B Docomo phone. Please see thread here for progress on the SC-02B

    Please note the same information used to develop the app is in the guide for free... the app just makes it easier

    ALL METHODS FOR NEWER PHONES REQUIRE ROOT... PLEASE GO GET ROOT ON YOUR PHONE AND THEN COME BACK.

    Oh and BTW... I cannot be held responsible for anything that happens to your phone.... EVER!


    Before you start... if you don't have root you WILL need it unless you are on a really old version of android 2.1 (look in Appendix A for depreciated methods)

    Step 1. - Retrieve nv_data.bin file
    use "adb shell" or a terminal emulator to get a terminal prompt and run the following commands
    Code:
    su
    cat /efs/nv_data.bin >> /sdcard/nv_data.bin

    Step 2. - Edit nv_data.bin file
    mount the internal SD Card on your computer
    make a backup copy of the nv_data.bin file on your computer
    using your favorite HEX editor open the nv_data.bin on the sdcard
    jump to address 0x181468

    you should see a string like this
    ff 01 00 00 00 00 46 46
    there are 5 different types of locks in 5 different bytes
    the FF byte should be left alone
    the first byte after the FF is the network lock
    the next byte is the network subset lock
    the next byte is the sp lock
    the next byte is the cp lock
    the last byte appears to be a data lock.
    the 46 46 should be left alone
    Change any 0x01 to 0x00 (or 0x00 to 0x01 to lock for warranty)
    It should read ff 00 00 00 00 00 46 46 for unlocked
    save and close file
    unmount SD Card

    Step 3. - Replace nv_data.bin file
    I want to say it again so no one misses it MAKE SURE YOU HAVE A BACKUP OF YOUR NV_DATA.BIN FILE BEFORE YOU CONTINUE!!!!!

    use "adb shell" or a terminal emulator to get a terminal prompt and run the following commands
    Code:
    su
    rm /efs/nv_data.bin
    rm /efs/nv_data.bin.md5
    cat /sdcard/nv_data.bin >> /efs/nv_data.bin
    chmod 755 /efs/nv_data.bin
    chown radio.radio /efs/nv_data.bin || chown 1001.1001 /efs/nv_data.bin
    reboot
    your phone is now unlocked... enjoy :D

    [OPTIONAL] Use the PRO app [OPTIONAL]
    Please note that this step is ONLY here for people that are not comfortable using a Hex editor.
    Search "Vibrant unlock" in the market or scan the QR code:
    img.php


    Install and run app
    press menu
    press Unlock Phone
    Select phone
    allow root
    at this point if you get an error code make SURE you mount your internal SD card on your computer and backup the nv_data.bin.orig file that is there.
    press unlock
    restart and your phone is now unlocked

    to lock your phone for warranty
    press lock instead of unlock
    restart your phone, remove root, and take your phone in for warranty


    APPENDIX A (DEPRECIATED)

    DOES NOT WORK ON 90% PHONES PLEASE USE THE APP

    Using ADB
    Make sure that Network Lock is the only thing on... go to phone and enter *#7465625#
    Make sure USB debugging is enabled (Settings->Applications->Development->USB Debugging)
    Using APP (Thanks ClarkeHackworth and DaGentooBoy)
    ClarkHackworth's page about the app
    Same thing as before if this bricks your phone sorry but we aren't responsible.

    Step A.1. – Get your code
    Search Samsung Galaxy S Unlock Tool in the market or scan the QR code.
    img.php

    Install SGS_Unlock.apk
    Applications->SGS Unlock
    Menu->Root Gen Codes (Root method is the most reliable method at this point)

    Jump to Step A.2.

    Step A.1.alternate – Get your code

    For Mac Updated!!! New Script

    1. Download the Samsung Galaxy S Unlocker for Mac from this here:
    http://www.multiupload.com/9NEBR6FAKD

    2. Mount the DMG and drag the folder onto the hard drive. DO NOT DRAG THE ICON WITH THE LOCK (the app). Once the file is finished copying continue.

    3. Open the application with the lock. It should open a terminal window. Let it run for a few seconds and then it should show a screen like this:

    9039xs.png


    4. Write down your unlock code

    For Windows UPDATED!!! With Un-Freeze Codes
    Video Guide
    Download and extract the attached Generate Unlock Windows.zip.
    Run Generate_Code.bat
    Look for the line Network Control Key:YourCode
    Save the code

    Step A.2. – Enter the code

    Power down your phone
    Put in a SIM card from another carrier
    Power up your phone
    When it boots up it will ask for the unlock code that you found above

    OR

    NO SIM Method (Thanks RazvanG)
    (Apparently this just adds another SIM to the accepted SIM list... can someone confirm?)
    remove sim card
    power on phone without sim
    enter *7465625*638*# and relock the phone to another network other than the one u have u'r sim card (eg 22610)
    power off phone
    insert sim card back
    power on and enter nck code extracted from .bak file
    phone unlocked

    Step A.3. – Flash back (IF THE CODE DIDN'T WORK)

    Flash back to an older firmware (I9000XXJF7 with 513.pit worked for me on an I9000)
    Now enter the unlock code you generated in Step 2.


    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

    Guide in Spanish here
    Guide in Italian here
    Guide in Chinese here

    LEGAL NOTES (because information should be free for all):
    YOU MAY NOT, BY ANY MEANS, USE THIS SOLUTION/CODE OR PART OF IT FOR COMMERCIAL PURPOSES.
    DO NOT USE THIS EXTRACTION METHOD COMMERCIALLY



    PLEASE give credit (and donations if you can) to
    For those of you that have donated THANKS! (You know who you are... you paid for my developer account so I could post the app)

    DaGentooBoy For this AWESOME guide, the free and PRO apps, finding the other unlock bits, the original mac and windows scripts, the no root cat nv_data method, the unfreeze code portion of the mac script, and a lot of troubleshooting :D (Paypal)

    dawen, Helroz, and NWolf for discovering the hex location of the lock bit in the nv_data.bin file (donate to NWolf here)

    RazvanG for pointing galaxysguy in the right direction, finding the Freeze Code location in the .bak file, the code for re-locking the phone to any network, and the solution to unlock with only one sim card (Paypal)

    rbnet.it and marcopon for the cool SGUX utility for windows to extract both the Unlock and Unfreeze codes (donate to marcopon and rbnet.it Here)

    nbs11 for the new mac script that makes it REALLY easy (donate here)

    Bowsa2511 for the command to extract the unlock code on a Mac (Paypal here)

    rhcp0112345 for finding the file and giving me (and others) a place to start (Donate here)

    galaxysguy for confirming that I was looking at the right code (Paypal here)

    AllGamer for starting the Bounty thread and giving the XDA devs the motivation to get started.

    If you want me to extract the code for you just PM me with a link to your zipped bml3.bak or nv_data.bin file and I will send you back the code. If it works please feel free to donate via Paypal
    5
    Unlock Froyo 2.2 I9000M phone running I9000UGJK4

    Just updated post with more details, I hope someone will find it more useful. As always make sure you have a backup, make a backup of your nv_data.bin BEFORE editing.

    I was not able to unlock my phone Froyo 2.2 I9000M phone running I9000UGJK4 firmware by using this official thread http://xdaforums.com/showthread.php?t=761045
    and after few hours of searching I found this method which worked for me from first attempt.

    I give all the credits for this idea to cursor2010 from http://xdaforums.com/showpost.php?p=8656481&postcount=156

    Here are the detailed steps

    * Your phone must be rooted (I used SuperOneClick http://xdaforums.com/showthread.php?t=803682) to do this unlocking and busybox from market is installed
    * Get the archive file from first post of this topic. The archive contains ADB software which we will use to connect to the phone.
    * Turn On USB debugging Application->Settings->Application->Development
    * Follow the instructions of STEP 4 from http://www.communityhosting.net/sgsunlock/i9000.html to get your nv_data.bin to your PC

    Get your current nv_data.bin file from the /efs directory on your phone. This can be done with ADB. Most often, the nv_data.bin file is not readable and you will get a permission denied message. You'll need to enter the commands manually.
    To do this with ADB, from the DOS command prompt you can type:

    adb pull /efs/nv_data.bin

    If you receive a permission denied error, you can fix it by typing the following commands from an ADB shell (type "adb shell" at the DOS command prompt) or from within a terminal on the phone:

    adb shell
    su
    chmod 777 /efs/nv_data.bin
    exit
    exit


    Then from the DOS command prompt:

    adb pull /efs/nv_data.bin

    Using Hex editor edit the file ( you can use any hex editor, http://www.logitheque.com/logiciels/windows/utilitaires/editeur_hexadecimal/telecharger/edithexa_9903.htm for example). I personally use UltraEdit.

    UEdit.jpg

    At the offset of 180069H you will see your provider MCC and MNC codes see http://en.wikipedia.org/wiki/Mobile_Network_Code

    In my case the code was 30261020404... which is Bell Canada, so I changed 610 to 720 Rogers Canada now the code is 30272020404...

    Again the offset in the file is 180069H.

    Save the file on the pc.

    * Follow the instructions from http://xdaforums.com/showpost.php?p=8182729&postcount=107

    Copy your nv_data.bin to temporary folder on your phone:

    adb shell "mkdir /sdcard/efs"
    adb push nv_data.bin /sdcard/efs
    adb shell
    su
    ls -l -a /efs


    If there is an nv_data.bin.md5 file in the directory, all is well. You should continue with these commands:

    mv /efs/.nv_data.bak /efs/.nv_data.bakk
    mv /efs/.nv_data.bak.md5 /efs/.nv_data.bakk.md5
    rm /efs/nv_data.bin
    rm /efs/nv_data.bin.md5
    rm /efs/.nv2.bak
    rm /efs/.nv2.bak.md5
    busybox cp /sdcard/efs/nv_data.bin /efs/nv_data.bin
    chmod 755 /efs/nv_data.bin
    chown radio.radio /efs/nv_data.bin
    exit
    exit

    if you have errors on the chown command, use
    chown 1001.1001 /efs/nv_data.bin


    If there was no nv_data.bin.md5 file, then something is wrong and you'll need to see other options or reflash again with a known working ROM that generates a new MD5 file when it's missing.

    * Reboot the phone, it should not ask any unlock codes or anything, in my case it simply just registered on Rogers network

    * Obviously you also need to program your APN settings for Rogers from http://xdaforums.com/showthread.php?t=809003 to make your 3G working. For your own provider please search forum.

    I wish it would be much simpler or automated or tested on bigger variety of phones.If somebody could gather the statistics and check if this method is applicable throughout all the versions of I9000, that would be very nice.

    Feel free to comment my post.
    2
    can you tell me which method you used ??

    The HEX hack is the one that works on most devices. Unfortunately the unlcok code was removed from the bin file a long time ago.
    2
    Hey, I know this thread is old but I just wanted to say Thanks man. This worked perfectly to unlock an AT&T Captivate SGH-i897.

    can you tell me which method you used ??
    1
    re: credits
    apparently marcopon helped rbnet.it to write that sgux utility.

    thanks... I saw the bounty thread is updated. Feel free to link to the instructions on this thread so that they all go to one place.