[CLOSED][PROGRAM]One Click Unlock / All Models (Mac & PC)

Status
Not open for further replies.
Search This thread

Bowsa2511

Senior Member
Jul 30, 2010
653
77
Be aware that places online charge $25-$30 for the code, so please donate.

PLEASE give credit (and donations if you can) to:
  • DaGentooBoy For optimizing the mac and windows scripts, and a lot of troubleshooting :D (Paypal)
  • rbnet.it and marcopon for the cool SGUX utility to extract it (donate to marcopon and rbnet.it Paypal)
  • RazvanG for pointing the un-freeze code (Paypal)
  • Bowsa2511 for the command to extract the unlock code on a Mac & Pc (Paypal Paypal)
  • nbs11 for fixing and optimizing my original mac script, and making it an easier 1-click program. Paypal

This code may not work. If you enter the unlock code wrong to many times or if it gives you the wrong unlock code your phone may become bricked. By continuing you will take full responsibility for any damage. I am not liable

Prep:

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

Step 1: get the code

For Mac

  1. Download the Samsung Galaxy S Unlocker
  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 the unlock code
  4. Save/write down the code
  5. Jump to step 2.

For Windows

  1. Download and extract the attached Galaxy S unlocker windows.
  2. Run Generate_Code.bat
  3. Look for the line Network Control Key:YourCode
  4. Save the code
  5. Jump to step 2.

Step 2: Entering the code

  1. Power down your phone
  2. Put in a SIM card from another carrier
  3. Power up your phone
  4. When it boots up it will ask for the unlock code that you found above now enter the unlock code you generated in Step 1.

Don't have another sim to unlock the phone with? (Thanks RazvanG)

  1. remove sim card
  2. power on phone without sim
  3. enter *7465625*638*# and relock the phone to another network other than the one u have u'r sim card (eg 22610)
  4. power off phone
  5. insert sim card back
  6. power on and enter nck code extracted from .bak file
  7. phone unlocked

Step 3: Flash back (IF THE CODE WAS UNSUCCESSFUL)
Flash back to an older firmware.

File mirrors:

Download the Samsung Galaxy S Unlocker for Mac here:

{Mod edit: Links removed. Not accepted as filehost on XDA - Oswald Boelcke}

Download the Samsung Galaxy S Unlocker for PC here:

{Mod edit: Links removed. Not accepted as filehost on XDA - Oswald Boelcke}

DATA:

To make use of your carrier's data, make sure to change the APN settings appropriate to your carrier.

APN settings for all, if not most carriers: Here


Guide in Spanish 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
 
Last edited by a moderator:

nbs11

Senior Member
Jul 25, 2010
515
148
Chicago
I am glad you got it working. How did you end up automating it?

Also I uploaded it to a mirror for you because some people had trouble getting it. You are free to use the links i give

{Mod edit: Links removed. Not accepted as filehost on XDA - Oswald Boelcke}

these links include pretty much every popular file sharing site.
 
Last edited by a moderator:
  • Like
Reactions: krautsalat82

Bowsa2511

Senior Member
Jul 30, 2010
653
77
I am glad you got it working. How did you end up automating it?

Also I uploaded it to a mirror for you because some people had trouble getting it.

Thank you, I'm on my laptop now :) (Captivate tethering ftw)

I worked with DaGentooBoy for the script, he worked it into a shell script for mac (They always get it easier XD), and he made a adb/push one for windows that utilizes sgux.exe.
 
Last edited:

nbs11

Senior Member
Jul 25, 2010
515
148
Chicago
Thank you, I'm on my laptop now :) (Captivate tethering ftw)

I worked with DaGentooBoy for the script, he worked it into a shell script for mac (They always get it easier XD), and he made a adb/push one for windows that utilizes sgux.exe.

Thats great. Would you mind showing me how to run the script on a PC for the guide? I have it for the Mac already.
 

DarkVasyaK

Senior Member
Dec 28, 2009
275
3
guys, I tried to do this unlock both from Mac and Windows (parallels)
from Windows when I launch Generate_Code.bat it writes this:
what I do wrong?

===============================================================
===============================================================
Generate unlock code for any Samsung Galaxy S
===============================================================
===============================================================
'.\adb' is not recognized as an internal or external command,
operable program or batch file.
__________________________________________________________
Copy nv_data.bin
'.\adb' is not recognized as an internal or external command,
operable program or batch file.
Extract code
'.\sgux' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find C:\Windows\nv_data.bin
'.\adb' is not recognized as an internal or external command,
operable program or batch file.
===============================================================
===============================================================
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 . . .
 

WheresWaldo

Senior Member
May 24, 2006
371
57
It would seem that you do not have the android SDK installed in your windows setup.

guys, I tried to do this unlock both from Mac and Windows (parallels)
from Windows when I launch Generate_Code.bat it writes this:
what I do wrong?

===============================================================
===============================================================
Generate unlock code for any Samsung Galaxy S
===============================================================
===============================================================
'.\adb' is not recognized as an internal or external command,
operable program or batch file.
__________________________________________________________
Copy nv_data.bin
'.\adb' is not recognized as an internal or external command,
operable program or batch file.
Extract code
'.\sgux' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find C:\Windows\nv_data.bin
'.\adb' is not recognized as an internal or external command,
operable program or batch file.
===============================================================
===============================================================
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 . . .
 
  • Like
Reactions: krautsalat82

pezx44

Senior Member
Oct 8, 2007
95
3
Thank You!!! Worked like a charm. I gave you guys the 30 that I was planning on spending on getting it unlocked as it was. Great work!
 

nbs11

Senior Member
Jul 25, 2010
515
148
Chicago
guys, I tried to do this unlock both from Mac and Windows (parallels)
from Windows when I launch Generate_Code.bat it writes this:
what I do wrong?

===============================================================
===============================================================
Generate unlock code for any Samsung Galaxy S
===============================================================
===============================================================
'.\adb' is not recognized as an internal or external command,
operable program or batch file.
__________________________________________________________
Copy nv_data.bin
'.\adb' is not recognized as an internal or external command,
operable program or batch file.
Extract code
'.\sgux' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find C:\Windows\nv_data.bin
'.\adb' is not recognized as an internal or external command,
operable program or batch file.
===============================================================
===============================================================
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 not sure how to fix it on a PC, but I fixed it on a Mac. First of all download the Mac version of the script. Then extract it etc. now you need the android SDK and you need to edit the script. Add "cd ~path of tools dir. of sdk" it should work now
 
Last edited:

Bowsa2511

Senior Member
Jul 30, 2010
653
77
  • Like
Reactions: krautsalat82

DarkVasyaK

Senior Member
Dec 28, 2009
275
3
I am so angry that everybody says that it's so easy and only I can't complete this damn staff ><
how to run Generate_Code.sh using terminal?
tried typing sh Generate_Code.sh and so on buy it doesn't find this file
and how to run adb (shell?) and what is it?
 
Last edited:

Bowsa2511

Senior Member
Jul 30, 2010
653
77
I'll be updating the thread later with an easier mac solution.

Sent from my SAMSUNG-SGH-I897 using XDA App
 

dagentooboy

Senior Member
Feb 16, 2008
544
156
Kansas
I am so angry that everybody says that it's so easy and only I can't complete this damn staff ><
how to run Generate_Code.sh using terminal?
tried typing sh Generate_Code.sh and so on buy it doesn't find this file
and how to run adb (shell?) and what is it?

adb is the debugging program from Google for Android. It allows us to run shell commands and many other things. The problem you are having is on the Windows side. For some reason it is looking to the \windows\ directory.

Try this
Hit Start->Run->cmd
click ok
type in
cd \path to extracted script\ (I usually copy and paste everything after c: in an explorer window)
hit enter
Generate_Code.bat
hit enter

let me know if that works.
 

nbs11

Senior Member
Jul 25, 2010
515
148
Chicago
The current mac method does NOT work. I have created a Mac version that does work, but I am awaiting approval to post it since it uses the source code from their version.

I would like to ask Bowsa2511 not to post my version yet because I am still smoothing the edges and I am a perfectionist. But it will be online tonight. I promise.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Be aware that places online charge $25-$30 for the code, so please donate.

    PLEASE give credit (and donations if you can) to:
    • DaGentooBoy For optimizing the mac and windows scripts, and a lot of troubleshooting :D (Paypal)
    • rbnet.it and marcopon for the cool SGUX utility to extract it (donate to marcopon and rbnet.it Paypal)
    • RazvanG for pointing the un-freeze code (Paypal)
    • Bowsa2511 for the command to extract the unlock code on a Mac & Pc (Paypal Paypal)
    • nbs11 for fixing and optimizing my original mac script, and making it an easier 1-click program. Paypal

    This code may not work. If you enter the unlock code wrong to many times or if it gives you the wrong unlock code your phone may become bricked. By continuing you will take full responsibility for any damage. I am not liable

    Prep:

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

    Step 1: get the code

    For Mac

    1. Download the Samsung Galaxy S Unlocker
    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 the unlock code
    4. Save/write down the code
    5. Jump to step 2.

    For Windows

    1. Download and extract the attached Galaxy S unlocker windows.
    2. Run Generate_Code.bat
    3. Look for the line Network Control Key:YourCode
    4. Save the code
    5. Jump to step 2.

    Step 2: Entering the code

    1. Power down your phone
    2. Put in a SIM card from another carrier
    3. Power up your phone
    4. When it boots up it will ask for the unlock code that you found above now enter the unlock code you generated in Step 1.

    Don't have another sim to unlock the phone with? (Thanks RazvanG)

    1. remove sim card
    2. power on phone without sim
    3. enter *7465625*638*# and relock the phone to another network other than the one u have u'r sim card (eg 22610)
    4. power off phone
    5. insert sim card back
    6. power on and enter nck code extracted from .bak file
    7. phone unlocked

    Step 3: Flash back (IF THE CODE WAS UNSUCCESSFUL)
    Flash back to an older firmware.

    File mirrors:

    Download the Samsung Galaxy S Unlocker for Mac here:

    {Mod edit: Links removed. Not accepted as filehost on XDA - Oswald Boelcke}

    Download the Samsung Galaxy S Unlocker for PC here:

    {Mod edit: Links removed. Not accepted as filehost on XDA - Oswald Boelcke}

    DATA:

    To make use of your carrier's data, make sure to change the APN settings appropriate to your carrier.

    APN settings for all, if not most carriers: Here


    Guide in Spanish 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
    1
    I am glad you got it working. How did you end up automating it?

    Also I uploaded it to a mirror for you because some people had trouble getting it. You are free to use the links i give

    {Mod edit: Links removed. Not accepted as filehost on XDA - Oswald Boelcke}

    these links include pretty much every popular file sharing site.
    1
    It would seem that you do not have the android SDK installed in your windows setup.

    guys, I tried to do this unlock both from Mac and Windows (parallels)
    from Windows when I launch Generate_Code.bat it writes this:
    what I do wrong?

    ===============================================================
    ===============================================================
    Generate unlock code for any Samsung Galaxy S
    ===============================================================
    ===============================================================
    '.\adb' is not recognized as an internal or external command,
    operable program or batch file.
    __________________________________________________________
    Copy nv_data.bin
    '.\adb' is not recognized as an internal or external command,
    operable program or batch file.
    Extract code
    '.\sgux' is not recognized as an internal or external command,
    operable program or batch file.
    Could Not Find C:\Windows\nv_data.bin
    '.\adb' is not recognized as an internal or external command,
    operable program or batch file.
    ===============================================================
    ===============================================================
    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 . . .
    1
    I don't understand how to install this Android SDK...
    and how to change something using it...

    If you're on windows, download this

    http://dl.google.com/android/android-sdk_r06-windows.zip

    If you're on Mac

    http://dl.google.com/android/android-sdk_r06-mac_86.zip

    Then download the zip file in the original post for your OS, and follow the instructions. Super easy
    1
    Thank you Thank you Thank you !!!
    I did it on my first try.
    I have a HD2 on tmobile and I have a Captivate to play with so now I can verufy that my Captivate is working on T-mobile.
    I had no clue on how to do any of this but somehow I manage to fiddle my way to unlocking this sucker(on PC).

    This is the steps I took for newbies.
    You may or may not need to do all this but this is what I did.
    - My phone is rooted BTW.
    - I downloaded the SDK file and installed it.
    http://developer.android.com/sdk/index.html
    I think it gave me some type of error saying it couldn't find something.
    - I then downloaded the Samsung Galaxy drivers.
    Find it here. http://briefmobile.com/how-to-root-the-samsung-captivate
    When I installed the drivers, it started recognizing all kind of things.
    (This is with my captivate plugged in and in debug mode).
    - So after this, I took a stab at running the .bat file and to my surprise, I got the Network CODE.
    - So I plugged in my Tmobile sim and restarted and it asked me for a code and it WORKED.

    Thanks so much....remembered I'm a total newbie when it comes to all this.