• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[REF] How to: Extract "Freeze Code" for Free [NOT_UPDATED_ANYMORE]

Search This thread

RazvanG

Senior Member
Aug 1, 2010
359
81
As of today, August 25, this thread is for INFORMATiONAL PURPOSES ONLY and NOT Updated Anymore. For a complete guide on unlocking, please use this thread and donate to all who made this possible (XDA devs: GalaxySGuy, DaGentooBoy, RazvanG, rbnet.it and marcoponand and rhcp0112345)
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=

=======================================================================

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


YOU ARE NOT ALLOWED TO USE THIS METHOD IN YOUR FREE SOFTWARE WITHOUT PROPER CREDITS ADDED TO IT.
YOU SHOULD ALWAYS MENTION MY NAME AND MY PAYPAL ACCOUNT FOR DONATIONS IN YOUR SOFTWARE IF YOU CHOOSE TO DISPLAY THE UNFREEZE CODE !!


Remember the places online to get a code (NCK & UN-FREEZE), want $25-30 so please donate

PLEASE give credit (and donations if you can) to

RazvanG for finding The Solution, writing this Tutorial and the Automated Script (PayPAL Donation)
rhcp0112345 for finding the file and giving me (and others) a place to start (PayPAL Donation)
rbnet.it and marcopon for the cool SGUX2 utility to extract the code (donate to marcopon and rbnet.it here)
DaGentooBoy for finding a way to extract the .bin file on an un-rooted phone (PayPAL)


For those of you that have donated THANKS!

1. DEV Solutions; Canada
2. Mobile Solutions; Thailand
3. Helio Gastao; Angola
4. Daniel Costin; United States
5. Javier Vidal Mata; Spain
6. Ryan Holzer; United States
7. Kapildev Vyas; Canada
8. Johann Grabner; Austria
9. Valentin Reznik; Israel

.. and a bigger THANKS to those who will donate in the future !!


If your phone has a "Phone Freeze" / "Phone Freeze SIM Unavailable Please Contact Service Provider" or a similar message displayed when you enter a not yet accepted SIM card, this is because you have entered too many wrong unlocking codes previously.

To fix this, you'll be using ADB (Until someone writes down a script) Auto_process via Script file.
Make sure USB debugging is enabled when getting the .bak file from a rooted phone or the .bin file from an un-rooted phone.
(Settings->Applications->Development->USB Debugging)

Step 1. – Get the file

For rooted phones (Advanced Users):

adb shell
su
cd /dev/block
dd if=/dev/block/bml3 of=/sdcard/bml3.bak


For un-rooted phones (EASY method for everyone that uses Windows):

Download the file from the attachment (eXtract C0des.zip)
Extract it
Connect your phone to the PC (Make sure USB debugging is enabled)
Double click: Extract_CODES.bat
Jump to Step 3 (Enter the Code)


OR


Install Better Terminal Emulator 3.17 App
Launch the App on the device. It will give you a command prompt (shell)

cat /efs/nv_data.bin >> /sdcard/nv_data.bin

Mount USB storage and copy the file off the internal SD card

Rooted phones: search for bml3.bak
Un-Rooted phones: search for nv_data.bin

Step 2. – Find the code

Download SGUX2 (v.0.92b): http://www.multiupload.com/81WAY99VHH

It's a win32 executable. Run the program from command line with the blockdevice backup as parameter:

Rooted phones:
c:\sgux2.exe bml3.bak

Un-Rooted phones:
c:\sgux2.exe nv_data.bin.bak

It returns the Freeze Code, Unlock Code/Control Key (NCK) and Network Code (MCC/MNC) for your phone.


OR


Open the file in a HEX editor
Search for SSNV (in ASCII Mode)
At the end of this block of data there should be a string of numbers
(my freeze code started at 00180036)
The format will be freeze_code.freeze_code.unlock_code.network_locked_to

eg.: 1234567812345678.34826952.00000022610

Blue = FREEZE Code (First 8 Digits)
Green = Network Control Key (NCK)
Orange = MCC/MNC the phone is locked to

Step 3. – Enter the code

Power on phone with wrong sim inside so phone displays "Phone Freeze, SIM unavailable. Please contact service provider"
Now type FREEZE CODE that you extracted from the .bak/.bin file and press OK (no digits will be seen on display when entering this code)
Now phone will ask you for Network Code, so enter the NCK code extracted from the .bak/.bin file and press OK.

Now your phone should be un-freezed and unlocked.


HOW TO LOCK SAMSUNG GALAXY S - FOR WARRANTY PURPOSES ONLY

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

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


YOU ARE NOT ALLOWED TO USE THIS METHOD IN YOUR FREE SOFTWARE WITHOUT PROPER CREDITS ADDED TO IT.
YOU SHOULD ALWAYS MENTION MY NAME AND MY PAYPAL ACCOUNT FOR DONATIONS IN YOUR SOFTWARE IF YOU CHOOSE TO DISPLAY THE UNFREEZE CODE !!


PS: For devs only: SP=00000000; CP=00000000 (default in every GT-I9000)


If you want me to extract the code for you just PM me with a link to your zipped bml3.bak/nv_data.bin file and I will send you back the code. If it works please feel free to donate via Paypal
 
Last edited:

galaxysguy

Member
Aug 21, 2010
43
0
Great find there, should help all those who tried too many times and locked the phone.

People like this are the reason this forum rocks.
 

no-success

Member
Aug 22, 2009
42
1
Oklahoma City
i keep getting an error using the easy (read: n00b) method.

*Error: unable to find the file <.\nv_data.bin>

phone is connected in debug mode. what am i doing wrong?
 

RazvanG

Senior Member
Aug 1, 2010
359
81
i keep getting an error using the easy (read: n00b) method.

*Error: unable to find the file <.\nv_data.bin>

phone is connected in debug mode. what am i doing wrong?

I just tested the script file once more. It should work.
Try using the other method, manually extracting the .bak file instead.

RazvanG
 

RazvanG

Senior Member
Aug 1, 2010
359
81
is there another method for unrooted phones?

this is for my wifes phone and she doesnt want hers rooted yet (don't ask)

So I guess it worked for your rooted phone then ..

Try the method for un-rooted phones on another PC (for your wife's mobile phone) or re-install the samsung drivers on the first PC. It should help.
If not, you can always follow this guide, here even though it uses the same principles.

RazvanG
 

quiron

Senior Member
Jun 23, 2006
111
12
Help - "Network Control Key: 00000000"

Help
I do not know what else to do, someone help me?
I tried with three different Firmwares, and the result is always the same
The Network Code 00000000 doesn't work :'(.

"E:\Generate Unlock Windows>sgux.exe nv_data.bin

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

Network Control Key: 00000000

E:\Generate Unlock Windows>sgux2.exe bml3.bak

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

Opening file <bml3.bak>...
Searching code block...
Found.
Searching codes...

Network Control Key: 00000000

E:\Generate Unlock Windows>"
 

karabey

Member
Nov 1, 2005
35
0
41
What about if phone wont accept the unlock code? I relocked it and it still wont accept the unlock code?!

Any help about it?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    As of today, August 25, this thread is for INFORMATiONAL PURPOSES ONLY and NOT Updated Anymore. For a complete guide on unlocking, please use this thread and donate to all who made this possible (XDA devs: GalaxySGuy, DaGentooBoy, RazvanG, rbnet.it and marcoponand and rhcp0112345)
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =

    =======================================================================

    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


    YOU ARE NOT ALLOWED TO USE THIS METHOD IN YOUR FREE SOFTWARE WITHOUT PROPER CREDITS ADDED TO IT.
    YOU SHOULD ALWAYS MENTION MY NAME AND MY PAYPAL ACCOUNT FOR DONATIONS IN YOUR SOFTWARE IF YOU CHOOSE TO DISPLAY THE UNFREEZE CODE !!


    Remember the places online to get a code (NCK & UN-FREEZE), want $25-30 so please donate

    PLEASE give credit (and donations if you can) to

    RazvanG for finding The Solution, writing this Tutorial and the Automated Script (PayPAL Donation)
    rhcp0112345 for finding the file and giving me (and others) a place to start (PayPAL Donation)
    rbnet.it and marcopon for the cool SGUX2 utility to extract the code (donate to marcopon and rbnet.it here)
    DaGentooBoy for finding a way to extract the .bin file on an un-rooted phone (PayPAL)


    For those of you that have donated THANKS!

    1. DEV Solutions; Canada
    2. Mobile Solutions; Thailand
    3. Helio Gastao; Angola
    4. Daniel Costin; United States
    5. Javier Vidal Mata; Spain
    6. Ryan Holzer; United States
    7. Kapildev Vyas; Canada
    8. Johann Grabner; Austria
    9. Valentin Reznik; Israel

    .. and a bigger THANKS to those who will donate in the future !!


    If your phone has a "Phone Freeze" / "Phone Freeze SIM Unavailable Please Contact Service Provider" or a similar message displayed when you enter a not yet accepted SIM card, this is because you have entered too many wrong unlocking codes previously.

    To fix this, you'll be using ADB (Until someone writes down a script) Auto_process via Script file.
    Make sure USB debugging is enabled when getting the .bak file from a rooted phone or the .bin file from an un-rooted phone.
    (Settings->Applications->Development->USB Debugging)

    Step 1. – Get the file

    For rooted phones (Advanced Users):

    adb shell
    su
    cd /dev/block
    dd if=/dev/block/bml3 of=/sdcard/bml3.bak


    For un-rooted phones (EASY method for everyone that uses Windows):

    Download the file from the attachment (eXtract C0des.zip)
    Extract it
    Connect your phone to the PC (Make sure USB debugging is enabled)
    Double click: Extract_CODES.bat
    Jump to Step 3 (Enter the Code)


    OR


    Install Better Terminal Emulator 3.17 App
    Launch the App on the device. It will give you a command prompt (shell)

    cat /efs/nv_data.bin >> /sdcard/nv_data.bin

    Mount USB storage and copy the file off the internal SD card

    Rooted phones: search for bml3.bak
    Un-Rooted phones: search for nv_data.bin

    Step 2. – Find the code

    Download SGUX2 (v.0.92b): http://www.multiupload.com/81WAY99VHH

    It's a win32 executable. Run the program from command line with the blockdevice backup as parameter:

    Rooted phones:
    c:\sgux2.exe bml3.bak

    Un-Rooted phones:
    c:\sgux2.exe nv_data.bin.bak

    It returns the Freeze Code, Unlock Code/Control Key (NCK) and Network Code (MCC/MNC) for your phone.


    OR


    Open the file in a HEX editor
    Search for SSNV (in ASCII Mode)
    At the end of this block of data there should be a string of numbers
    (my freeze code started at 00180036)
    The format will be freeze_code.freeze_code.unlock_code.network_locked_to

    eg.: 1234567812345678.34826952.00000022610

    Blue = FREEZE Code (First 8 Digits)
    Green = Network Control Key (NCK)
    Orange = MCC/MNC the phone is locked to

    Step 3. – Enter the code

    Power on phone with wrong sim inside so phone displays "Phone Freeze, SIM unavailable. Please contact service provider"
    Now type FREEZE CODE that you extracted from the .bak/.bin file and press OK (no digits will be seen on display when entering this code)
    Now phone will ask you for Network Code, so enter the NCK code extracted from the .bak/.bin file and press OK.

    Now your phone should be un-freezed and unlocked.


    HOW TO LOCK SAMSUNG GALAXY S - FOR WARRANTY PURPOSES ONLY

    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

    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


    YOU ARE NOT ALLOWED TO USE THIS METHOD IN YOUR FREE SOFTWARE WITHOUT PROPER CREDITS ADDED TO IT.
    YOU SHOULD ALWAYS MENTION MY NAME AND MY PAYPAL ACCOUNT FOR DONATIONS IN YOUR SOFTWARE IF YOU CHOOSE TO DISPLAY THE UNFREEZE CODE !!


    PS: For devs only: SP=00000000; CP=00000000 (default in every GT-I9000)


    If you want me to extract the code for you just PM me with a link to your zipped bml3.bak/nv_data.bin file and I will send you back the code. If it works please feel free to donate via Paypal