How to Unlock Samsung Galaxy S 4G
So you bought a Samsung Galaxy S 4G on T-mobile network and wanting to unlock it so that you can use phone on another carrier? You ended up at right place for the guide. Folks at XDA have done it again, they have successfully unlocked Samsung Galaxy S 4G.
UNLOCK SAMSUNG GALAXY S 4G ON T-MOBILE
Before you head to instructions on unlock Samsung Galaxy S 4G, make sure you go through all the requirements!
PREREQUISITES
1. You need to have your Galaxy S 4G rooted to unlock the phone.
2. You also need to have working USB connection between your computer and SGS 4G for transferring file. If you have installed “Kies”, it should take care of necessary USB drivers. Alternatively, download and install Samsung Drivers from below links:
- Download Samsung Drivers for Windows 32-bit version.
- Download Samsung Drivers for Windows 64-bit version.
3. Download and install 010 Editor on your computer. You can install the trial version and use it. Alternatively, you may use any free hex editor such as Hex Editor Neo.
4. Install “Terminal Emulator” app in your Samsung Galaxy S 4G. It is available for free from android market.
FINDING UNLOCK CODE INSTRUCTIONS
1. Launch Terminal Emulator on your SGS 4G and type the following code on at a time:
cd /dev/block
su
2. If you have Superuser app installed, it will prompt for permissions. Tap “Yes”.
3. Now continue in Terminal Emulator with below command:
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
4. Launch 010 Hex Editor in your computer.
6. In 010 Hex Editor, click “View”—> “LineFeeds”—> Custom —> Set Bytes to “32″.
7. Now connect your phone to computer and copy the “bml3.bak” file from phone’s SD card to computer (on desktop).
8. Open “bml3.bak” file using the 010 Hex Editor.
9. Press CRTL and F to search for a Hex string.
10. In the search window pop up, select “Hex byte” in the Type field and then key-in or copy paste following code in the search box:
“FFFFFFFFFF0100000000″
Then click “Find All” button.
11. The number of results may vary from 2 to 10. Go through each result. On the 3rd window pane, against your search term, you should see an 8 digit code. This is your phone’s unlock code! Make sure you note it down correctly!

So finally, after you dug out the unlock code from your Samsung Galaxy S 4G, it’s time now to unlock the device!
UNLOCKING INSTRUCTIONS
1. Power off your SGS 4G and remove the battery.
2. Insert the foreign SIM card on which you want to use the phone.
3. Power on the phone.
4. You will be prompted to enter the “Network Unlock Control Key”. Enter the unlock code that you noted down in step 11 above.
Congrats! Your Samsung Galaxy S 4G should be unlocked now. You can now insert any other carrier SIM card.
Head-over to developer’s thread for more information and to join discussion.
How To Unlock Motorola Atrix 4G Bootloader
How To Overclock Samsung Galaxy S II To 1.5 GHz
Sony Ericsson Xperia Play, Arc, Pro, Neo Get Official
One-Click Root, Unroot, Lock, And Unlock For Motorola Xoom
Unlock Google Nexus S Bootloader On Android 2.3.3
How to Unlock Samsung Galaxy S 4G
How To Overclock Motorola Xoom To 1.5GHz
In FINDING UNLOCK CODE INSTRUCTIONS
It says
“The number of results may vary from 2 to 10. Go through each result. On the 3rd window pane, against your search term, you should see an 8 digit code.”
How do I know which if the 2-10 found places has the correct unlock code?
What if you dont have a root
Thank you very much for the excellent solution. I don’t know how you found it but it really works. Thank you again.
The FINDING UNLOCK CODE INSTRUCTIONS step by step did not work on my phone.
cd /dev/block after this code I press Enter and then It showed “$$cd /dev/block not found”
So please…!
Hi, I got the unlock code but didn´t work. Is the same that T-Mobile gave me. I think I have to use an unfreeze code but I don´t know where to get it. Could help me? tks
Hi, I got the unlock code but didn´t work. Is the same that T-Mobile gave me. I think I have to use an unfreeze code but I don´t know where to get it. Could help me? tks
What happens if you don’t have a SD card?
FInally I unlocked the Galaxy 4G from T Mobile, Thanks to this tutorial, is explain perfectly and detailed, thanks !!!!!!!!!!!
i wish i understood it
please help me find the code. I cant find anything on the 3rd pane. all of them are yyyyyyyy………. they are like that and there is no numbers or letters. I really need help with this. ive been trying to do this for a while and i couldnt solve the problem. Thank you
Worked perfectly on Samsung Galaxy S 4G from T-mobile. Thank you for your detailed explanation!
Please help me find the codes. I cant find them on the 3rd pane. they are all yyyyy……. please help me
i cant understand how to do all this and i dnt wanna screw ma phone up
Super thanks i have followed the instructions and have unlock my phone.
I need to know how to find the code. all it says on the 3rd pane is yyyyyyy…… nothing else. i need help please
hola buenas noches, ya encontre 2 series de 8 numeros seguidos
pero ambas son iguales y no me lo acepta como codigo, es un samsung galaxy S
modelo “T959V”, creen que sea muy moderno, hice todos los pasos exactamente
encontro 227 direcciones con el valor que dijiste ffff…. ese, puedes ayudarme???
hi there to everyone, i have found 2 series with 8 digits each, but, both of those didn’t work, my samsung its a galaxy S model “t959v”, do you think is it very modern?, I made all the steps as you said to do, it have found 227 address with that valor you said “FFFFFFFFFF0100000000″, can you tell me what i did wrong??, I wait you answer…. thanks to all for helping someone else…
Thank you! Odin 1.7 + this let me root & unlock my Tmobile Samsung S 4G and use my AT&T prepaid SIM (I’m too cheap to pay for a data plan)
I could get into dd if=/dev/block/bml3 of=/sdcard/bml3.bak. it says No such file or directory. What Can I do?
worked for me samsung galaxy s 4g ! you guys are Freaking Great !
Worked great for Samsung Galaxy S 4G that was locked to T-Mobile (USA) network. I was able to unlock and use on various Indian carriers – Thank you very much for the detailed step-by-step guide
Hi,
I already have a Samsung Galaxy S 4g unlocked handset with me. i had upgraded my phone to gingerbread 2.3.5 (the official update) using kies.
earlier, my phone was rooted and had deleted a couple of unwanted programs (the programs which made this phone cheaper) using terminal emulator. Now i dont have a rooted phone. It worked fine for sometime but now its giving me hell of problems. Sudden freeze, unresponsive, slow in every action.
I want to re-install the OS. Probably by flashing it using ODIN. my question is that, will it lock my phone if i do that?????
well, I’m stuck on step 7 ! when I write the command and press enter it says:
/dev/block/bml3: cannot open for read: No such file or directory
and I couldn’t find the bml3.bak file in order to copy it to the PC!!
Help plz