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

Code: su cat /efs/nv_data.bin >> /sdcard/nv_data.bin

Step 2. - Edit nv_data.bin file

Step 3. - Replace nv_data.bin file

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

[OPTIONAL] Use the PRO app [OPTIONAL]

Please note that this step is ONLY here for people that are not comfortable using a Hex editor.

APPENDIX A (DEPRECIATED)



DOES NOT WORK ON 90% PHONES PLEASE USE THE APP

Step A.1. – Get your code

Step A.1.alternate – Get your code

For Mac

Updated!!! New Script

Quote: Originally Posted by nbs11 Originally Posted by 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:







4. Write down your unlock code 4. Write down your unlock code

For Windows

UPDATED!!! With Un-Freeze Codes

Step A.2. – Enter the code

NO SIM Method

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

Quote: Originally Posted by RazvanG Originally Posted by 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

YOU MAY NOT, BY ANY MEANS, USE THIS SOLUTION/CODE OR PART OF IT FOR COMMERCIAL PURPOSES.

DO NOT USE THIS EXTRACTION METHOD COMMERCIALLY

DaGentooBoy

dawen, Helroz, and NWolf

RazvanG

rbnet.it and marcopon

nbs11

Bowsa2511

rhcp0112345

galaxysguy

AllGamer

use "adb shell" or a terminal emulator to get a terminal prompt and run the following commandsmount the internal SD Card on your computermake a backup copy of the nv_data.bin file on your computerusing your favorite HEX editor open the nv_data.bin on the sdcardjump to address 0x181468you should see a string like thisff 01 00 00 00 00 46 46there are 5 different types of locks in 5 different bytesthe FF byte should be left alonethe first byte after the FF is the network lockthe next byte is the network subset lockthe next byte is the sp lockthe next byte is the cp lockthe last byte appears to be a data lock.the 46 46 should be left aloneChange any 0x01 to 0x00 (or 0x00 to 0x01 to lock for warranty)It should read ff 00 00 00 00 00 46 46 for unlockedsave and close fileunmount SD CardI 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 commandsyour phone is now unlocked... enjoySearch "Vibrant unlock" in the market or scan the QR code:Install and run apppress menupress Unlock PhoneSelect phoneallow rootat 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 unlockrestart and your phone is now unlockedto lock your phone for warrantypress lock instead of unlockrestart your phone, remove root, and take your phone in for warrantyUsing ADBMake 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)Same thing as before if this bricks your phone sorry but we aren't responsible.Search Samsung Galaxy S Unlock Tool in the market or scan the QR code.Install SGS_Unlock.apkApplications->SGS UnlockMenu->Root Gen Codes (Root method is the most reliable method at this point)Jump to Step A.2.[B]Download and extract the attached Generate Unlock Windows.zip.Run Generate_Code.batLook for the lineYourCodeSave the codePower down your phonePut in a SIM card from another carrierPower up your phoneWhen it boots up it will ask for the unlock code that you found aboveOR(Thanks RazvanG)(Apparently this just adds another SIM to the accepted SIM list... can someone confirm?)remove sim cardpower on phone without simenter *7465625*638*# and relock the phone to another network other than the one u have u'r sim card (eg 22610)power off phoneinsert sim card backpower on and enter nck code extracted from .bak filephone unlockedFlash 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.Guide in Spanish here Guide in Italian here Guide in Chinese here PLEASE give credit (and donations if you can) toFor those of you that have donated THANKS! (You know who you are... you paid for my developer account so I could post the app)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 troubleshootingfor discovering the hex location of the lock bit in the nv_data.bin file (donate to NWolf here 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 for the cool SGUX utility for windows to extract both the Unlock and Unfreeze codes (donate to marcopon and rbnet.it Here for the new mac script that makes it REALLY easy (donate here for the command to extract the unlock code on a Mac (Paypal here for finding the file and giving me (and others) a place to start (Donate here for confirming that I was looking at the right code (Paypal here 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