[Samsung Galaxy S (4G Model)] dagentooboy:
PLEASE KEEP POSTS ON TOPIC.

This method works on my Vibrant 4G. Please email me if it doesn't work on your Vibrant 4G or SGS 4G.

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

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.

tooter1 reports an alternate method. Please tell me if this works for you.

BTW please note the importance of a BACKUP!!!!

IMEI Restore Method

All you need to do is restore your backup nv_data.bin and delete the md5. Even the unlocked file will work as long as you delete the .md5

su
cp /sdcard/nv_data.bin /efs/root/afs/settings/nv_data.bin
rm /efs/root/afs/settings/nv_data.bin.md5

Step 1. - Retrieve nv_data.bin file

Check locks... go to phone and enter *#7465625#

use "adb shell" or a terminal emulator to get a terminal prompt and run the following commands

su
cat /efs/root/afs/settings/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 0x1469

you should see a string like this

ff ff 01 00 00 00 00

there are 5 different types of locks in 5 different bytes

the FF bytes 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.

Change any 0x01 to 0x00 (or 0x00 to 0x01 to lock for warranty)

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

su
rm /efs/root/afs/settings/nv_data.bin
cat /sdcard/nv_data.bin >> /efs/root/afs/settings/nv_data.bin
rm /efs/root/afs/settings/nv_data.bin.md5
chmod 755 /efs/root/afs/settings/nv_data.bin
chown radio.radio /efs/root/afs/settings/nv_data.bin || chown 1001.1001 /efs/root/afs/settings/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:

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

To restore your IMEI try this.....

su
rm /efs/root/afs/settings/nv_data.bin
busybox cp /sdcard/nv_data.bin.orig /efs/root/afs/settings/
rm /efs/root/afs/settings/nv_data.bin.md5
chmod 755 /efs/root/afs/settings/nv_data.bin
chown radio.radio /efs/root/afs/settings/nv_data.bin || chown 1001.1001 /efs/root/afs/settings/nv_data.bin
reboot

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 everyone listed on the original thread here

For those of you that have donated THANKS! (You know who you are...)