yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] Cruc1an:
Hi folks,

I just gave this procedure a shot and got a successful network unlock on my Samsung Galaxy S 4G. Even as a n00b, this was not difficult at all. What was strange was even with the list of 'write fail' notifications during the SuperOneClick v2.3.1 root, I had success there too. Maybe I'll post that info in another thread.

:D Thanks to sanfranx415 for the details.
[Samsung Galaxy S (4G Model)] wings76:
Hi, I've been trying to look for the code in bml3.bak file. But when I typed in "FFFFFFFFFF0100000000", there were like 268 results. Can anyone take a look of my file - bml3.bak? :( By the way, I'm trying to unlock Samsung Galaxy S T959 Vibrant.
[Samsung Galaxy S (4G Model)] derrickl:
look at the bottom box and click each until you see code on far right, then write code down
[Samsung Galaxy S (4G Model)] FBis251:
You can use my sgs4g unlocker, it's posted in the general section, and there's a link in my signature.
[Samsung Galaxy S (4G Model)] dragood:
hey man, attach your bml3.bak file and i will give it a look and give you the unlock code.
[Samsung Galaxy S (4G Model)] FBis251:
Don't give anyone your bml3.bak unless you trust them. It contains a lot of sensitive information.
[Samsung Galaxy S (4G Model)] Briang92205:
Thanks for the step by step instruction.

Stock phone to unlocked sim in less than an hour.
[Samsung Galaxy S (4G Model)] jpark8079:
Unlock code I get doesn't work....

I followed every steps and it seemed to be working right

I got 9 occurrences of FF FF FF FF FF 01 00 00 00 00

it gave me 42963831 which seems like the unlock code

9 times but the unlock code won't work

I only have 5 tries left and I don't wanna risk without getting some help

Someone please help me!

I want to unlock T-Mobile SGH-T959V to use on Rogers network (Canada)

I have rooted the phone.

Thanks in advance!
[Samsung Galaxy S (4G Model)] stephen_w:
I'd suggest using FB's unlocker script. That way you don't have to mess with hex editors or anything of the sort.
[Samsung Galaxy S (4G Model)] jpark8079:
I used FB's unlocker script too and it gives me the same unlock code 42963831

but it still doesn't work. I'm pretty sure this is the right unlock code otherwise it wouldn't show up again in both methods. I don't know what seems to be wrong. The phone's been rooted for sure.

Can anyone help me?

I'm a very very noob

Thank you
[Samsung Galaxy S (4G Model)] GFX.myst.:
try calling tmo and telling them you're going out of country? give that a try as some say they've been successful with that method.

sent from within pure darkness
[Samsung Galaxy S (4G Model)] jpark8079:
Ya I heard but I'm in Canada and I got this phone as a gift from someone so the phone is not actually connected to any network. I don't know if I can still call them and ask for the code. I heard they send it to you by text but since this phone is not connected, how am I going to get it?

I'm pretty sure the unlock code I found is the right one cuz I tried both methods and both showed me the same unlock code. It's just that it won't unlock.

What else do I need to do besides rooting the phone and installing the busybox?

Do I need to flash a rom before I can unlock?
[Samsung Galaxy S (4G Model)] Peace712:
Thanks

Hey @sanfranx415

Thanks a lot. This worked for my phone:) (Samsung Galaxy S 4G with gingerbread).

Elsewhere I found that you need nv_data.bin (in efs folder) to get the code. Once SGS4G is upgraded to gingerbread, it does not have nv_data.bin. I was confused whether to go back to froyo for unlock, but your method got it unlocked.

Also I got single instant of the Hex code unlike multiple occurrence reported by others.
[Samsung Galaxy S (4G Model)] [MajorPain]:
What worked for all the time was as someone said before...tell them you are going out of country and you need your phone to use while gone.
[Samsung Galaxy S (4G Model)] SpiderMikey88:
unlocked!

Worked great! thanks
[Samsung Galaxy S (4G Model)] Domunus:
Works great!! and great instructions! Thank you.
[Samsung Galaxy S (4G Model)] andresalaz:
A bit of trouble

I was directed here to root my sidekick 4g. I rooted my phone using the OneClick program and next to the FFFFFFFFFF0100000000 code all that comes up is "ÿÿÿÿÿÿÿÿÿ.....15" at both occurences!!
[Samsung Galaxy S (4G Model)] drp1209:
not working

I have cm9 on my phone and when I put in the CD/dev/block it says not found none of this worked and I really need this phone unlocked please help
[Samsung Galaxy S (4G Model)] FBis251:
it's not a capital CD, it's cd, and there are spaces. Look VERY carefully at the commands you run.
[Samsung Galaxy S (4G Model)] drp1209:
i did

i did put the cd/dev/block it says not found i am running the cm9 from team acid on my phone i really need this to work
[Samsung Galaxy S (4G Model)] FBis251:
cd[space]/dev/block

There is a space between cd and /dev
[Samsung Galaxy S (4G Model)] drp1209:
ok

alright that worked and the i did the su and it granted the permission then i typed the next code and it said no such file or directory

---------- Post added at 09:04 PM ---------- Previous post was at 08:55 PM ----------

i typed as follows

cd(space)/dev/block

su

and everything worked fine but the last code ill type like i entered it and it did not work

dd(space) if=/dev/block/bml3 (space) of=/sdcard/bml3.bak

it that right
[Samsung Galaxy S (4G Model)] FBis251:
This method is for doing it on a GB BML rom btw.
[Samsung Galaxy S (4G Model)] drp1209:
oo

is there any way for that last code to work i mean it is saying that file exsist and if i am right that last code is just to get the file to copy to the sd card so you can use a hex editor i am new to all this i am sorry

---------- Post added at 09:19 PM ---------- Previous post was at 09:14 PM ----------

ok so i used root explorer and followed it to the block folder and i went to dev and block and i have a bml12 can you write a code replacing the others to work

---------- Post added at 10:01 PM ---------- Previous post was at 09:19 PM ----------

so i replaced the bml3 with bm12 and it worked i pulled it up on the hex editor and i gottt a bunch of ffffffyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy just a bunch of yyyy idk confused help
[Samsung Galaxy S (4G Model)] soleil10:
I have upgraded my S2 and how can i find a unlock code? I see that the method does not work for ICS ROM. Am I right?
[Samsung Galaxy S (4G Model)] hechoen:
This won't work on an S2. Your gonna have to pay for the code until someone figures out how to unlock it for free.
[Samsung Galaxy S (4G Model)] TechDaddy30:
Awesome tutorial

Thanks for the introduction to modding this device!
[Samsung Galaxy S (4G Model)] TechDaddy30:
No such file found.

So I had this device unlocked and then it took a swim with me. I repaired and reloaded the phone and went through the steps to extract the code as the original code no longer worked. I tried entering the if= command 3x and it says there is no such file. I browse to the file with File Manager and it reports the file is 0 bytes in size. Any suggestions?
[Samsung Galaxy S (4G Model)] inaudible101:
Any chance you can put that it only works on GB in the op?
[Samsung Galaxy S (4G Model)] JaimeZX:
Question for y'all - if I'm going to be traveling out of the US but will have wi-fi access in my hotel & etc., is this necessary? That is, will "Wi-fi calling" work from IP addresses outside the US?

Thanks. :)
[Samsung Galaxy S (4G Model)] quailallstar:
Subscribed! Trying this on a new Vibrant 4G this week.
[Samsung Galaxy S (4G Model)] moosee333:
Easily extended to Mac and Linux!

Worked perfectly! If you don't have a windows computer (like me!) it's even easier on a linux distro or a Mac. After generating the bml.bak file on your device, simply copy it your desktop (via the USB connection) and open it using any Hex editor of your choice.
[Samsung Galaxy S (4G Model)] quailallstar:
Did this on my mac as the user above mentioned and works like a charm. Thanks!
[Samsung Galaxy S (4G Model)] k..white:
ICS users!

FYI, I have discovered that on my SGS4G running AOKP / Team Acid ICS, following the procedure in OP (ie searching for FF FF 01 00 00) but instead checking the file /efs/root/afs/settings/nv_data.bin works fine.

Also, and I haven't bothered to check and see if it's as a result of being on a custom rom, but I'm able to use generic file explorers on Android like Ol File Manager (free from market) to just copy the file, no terminal hackery required. YMMV.

Thanks OP!

-K
[Samsung Galaxy S (4G Model)] SherifAshrafGabr:
I had 314 occurences please help

I had 314 occurence !, I even looked up them all, but I didn't find the 8 digits
[Samsung Galaxy S (4G Model)] jeffsf:
First, please edit your post, there is no need to quote the entire set of instructions (yet again).

Have you tried FB's script?
[Samsung Galaxy S (4G Model)] cyrixke:
Think I'm running oiut of options here...

To sum it all up: I unlocked my phone last year to use it in my country but in a blatant state of mind I relocked it to my provider. Now, I switched providers and I need it unlocked again, but the code I then found doesn't work anymore. So I followed your advice and went back to stock, tried the code there but to no avail. I tried FB's script, but that doesn't find the unlock code so I started searching for it myself again. Found the BML3 file, but not in the dev/block/ directory. Looked into it anyway just to make sure, found my original code again. Also checked the efs/root directory on the sdcard, found the nv_data.bin, but that also shows me the same freaking code.

What's left? I have 7 more attempts to put in an unlock code.
[Samsung Galaxy S (4G Model)] Jerry D:
Allot of members just call their device provider and tell them they are leaving the country and NEED the unlock code so they can use out of the country SIM CARD. Have you tried calling your service provider and getting the code from them? They should give it to you.

EDIT.. Allot of members call their SERVICE (not device) provider. Damn auto spell and quick sending lol.
[Samsung Galaxy S (4G Model)] IDisposable:
This is an alot
[Samsung Galaxy S (4G Model)] microjoel:
Samsung Galaxy S 4g successfully unlocked!!!

Thanks fr0z3n !!!!!

Your suggestion cleared up the confusion. On my unit the number was next to the highlighted Hex information. It only appeared once in the whole file...and wouldn't you know it was the last one of 176 finds. Still easy to find. Maybe a bit of good fortune that I found it quickly. I was aprehensive because the unlock number only appeared once in the whole file. Kudos to both sanfranx415 and fr0z3n ....it is unlocked with little trouble.:o
[Samsung Galaxy S (4G Model)] theistus:
Same here mate, that worked like a charm. Same rom on the phone So at least for this ICS rom, there is no bml3 file. Just used the stock file explorer to grab the nv_data.bin, copied it to sd (much easier than mucking about in terminal), opened it in hex editor. Got 1 return using the same search string. Popped in a foreign sim card, and unlocked the carrier on the first go
[Samsung Galaxy S (4G Model)] FBis251:
Because of the way that ics/mtd roms are set up, you guys who did your unlocks on a non gb/bml rom will lose the unlock if you ever revert to a bml rom from an mtd rom. You are correct that the bml3 partition didn't get used.

Under mtd a copy of the /efs partition gets made since there isn't a bml driver so just keep in mind that an unlock on a bml rom is more permanent than on an mtd rom
[Samsung Galaxy S (4G Model)] mrdownboy:
FINALLY!!!

I tried both fb's methods, (including aroma), to no avail. (Sorry FB; you're awesome!!!!) I then stumbled upon this thread. Took longer to download 010Hex than to complete the whole process. THIS THREAD SHOULD BE STICKIED.

Thanks so much sanfranx!!

Thanks FB, Thanks XDA :D
[Samsung Galaxy S (4G Model)] Pop45398:
Thanks so much, I was able to unlock my friend's SGS 4G. A couple of tips:

Use Root Explorer to copy the bml3 file. By mounting the device as Read/Write (R/W) in Root Explorer instead of Read Only (R/O), I was able to copy the bml3 file when the DD method was unsuccessful, saying file system is read only.

Start searching backwards from the end of the file. I used HxD Hex Editor since it was already installed but I think 010 Hex Editor search functions operate the same. After loading the file into the hex editor, press CTRL+End to go to the end of the file then press CTRL+F, select Hex Values and select "Backward" as search direction, enter the search term, then click OK. This could save you lots of time.
[Samsung Galaxy S (4G Model)] johnadelic:
You could do that or you could go and buy fb's unlock tool for $3.

It works great, is super fast and you support a developer.

https://play.google.com/store/apps/details?id=com.fernandobarillas.SGS4GCarrierUnlocker
[Samsung Galaxy S (4G Model)] maxaiken:
no bml file found...:(

got a gt-i9505 4.2.2

bml3 not found.. why is the bml3 not in my device?

help please.. need to unlock my s4..
[Samsung Galaxy S (4G Model)] johnadelic:
Wrong forum. These are two completely different phones.
[Samsung Galaxy S (4G Model)] wviegas:
Will work for the normal galaxy s?

Enviado do meu GT-I9000, usando o Tapatalk 4
[Samsung Galaxy S (4G Model)] xsnakebitesx:
I think this is not applicable for GT-19505. missing bml3
[Samsung Galaxy S (4G Model)] FBis251:
You are correct, this method is for the SGH-T959V or SGH-T959W
[Samsung Galaxy S (4G Model)] xsnakebitesx:
Hopefully there is another way to get the code for GT-19505. :fingers-crossed:
[Samsung Galaxy S (4G Model)] Theraze:
Possibly. And you'd possibly have better luck posting on your own phone's forum rather than the 3 year old T959V/W forum. This is the SG S 4G, not the SG S4. Note the different spacing. Note that the phone is Samsung Galaxy S (4G model), not Samsung Galaxy S4 (G model). :)
[Samsung Galaxy S (4G Model)] xsnakebitesx:
Thanks for the enlightenment. :good:
[Samsung Galaxy S (4G Model)] MUSIC120:
I need your help

I go through vibes of unlocking the samsung 4G, and i can't understand the procedure more better, i would be so much grateful if you can help me outok...my name is shalty from Africa...

Thanks
[Samsung Galaxy S (4G Model)] lumin30:
Search - [ROOT] Galaxy S 4G Unlocker - in Google Play. That is as easy as it gets.
[Samsung Galaxy S (4G Model)] jupika:
samung galaxy s 4g unlock

i did the method with hex editor. only one code showed up. and of coarse it was not the right unlock code. is there a new update on how to unlock galaxy s 4g?
[Samsung Galaxy S (4G Model)] z416003:
what's gonna happen if i end up using all the unlock attempts?

i got the code, been retyping it for 8 times now.

i only have 1 attempt left.
[Samsung Galaxy S (4G Model)] ndelorme04:
trouble

cant get this too work properly, i have a sgh-t959p galaxy S, done all the steps. thing is the emulator pro would not allow me to create bml3.bak file, if there are any answers please do not hesitate to point me in the right direction.
[Samsung Galaxy S (4G Model)] jeffsf:
Did you su first? Regular users generally can't access raw disk devices.

Posted from my SGS4G, thanks to Team Acid development
[Samsung Galaxy S (4G Model)] CSP III:
Really??? Just buy the unlocker from the play store and be done with it. Seriously simple. Good luck otherwise.
[Samsung Galaxy S (4G Model)] Karam.:
I'm region locked not sim locked

I searched for "FFFFFFFFFF0100000000" , but no luck

I believe the code is stored in the same place , anybody has any idea what to search for ?
[Samsung Galaxy S (4G Model)] woudwijk:
A little help please..

Hi, thanks for this amasing post but i'm kinda stuck. i have a huawei ascend g510-100, i rooted the phone, and when i try to write the bml3.bak file to my sdcard it says that there is no file with that name.. Can anybody help me with this?? When i use

ls -l

i can't find the file either. And i have used the

su

command.

Thanks in advance.

EDIT: never mind just read that it is for a samsung s4.
[Samsung Galaxy S (4G Model)] mbig325:
unlock code

Hi guys i'm new here . I have sch 1545 with mk2 and my terminal read ; cannot open for read: no such file or directory after putting in this line ; dd if=/dev/block/bml3 of=/sdcard/bml3.bak <enter>, please tell me what I did wrong
[Samsung Galaxy S (4G Model)] jeffsf:
First, please edit your post and remove the quote -- no need to repeat it yet again.

Once you've done that, what ROM are you running right now? What is "sch 1545 with mk2"? How did you get a prompt on your phone? What does the prompt say?
[Samsung Galaxy S (4G Model)] enigmerald:
Found Unlock Code. Not Working.

Hello there.

I just tried everything as mentioned. The Terminal Emulator ran fine. I also found the unlock code in the .bak file. I keep on getting the same error when I enter it. The code is 75026260. It has appeared 3 times in the .bak file. This is really confusing.

Any help guys? I have attached the file. ( Phone is rooted successfully, running gingerbread 2.3.6, and of course, it's a t-mobile samsung galaxy s 4G :laugh: )

Thanks

P.S: I have only 4 tries remaining to get the unlock code correct.:eek:
[Samsung Galaxy S (4G Model)] FearL0rd:
I have SlimSaber 4.4.2 loaded on my but I don't have bml3 only bml12.

Could you please help me?

:crying:
[Samsung Galaxy S (4G Model)] champ1919:
Make a backup, download to gingerbread, unlock & then restore.
[Samsung Galaxy S (4G Model)] johnadelic:
I would suggest to go get fb's unlock app in Google play. It is flawless.

Sent from inside the time vortex
[Samsung Galaxy S (4G Model)] FearL0rd:
Do you have the link?
[Samsung Galaxy S (4G Model)] champ1919:
Search Google play store for "root Samsung 4g unlocker". It should come right up for ya.
[Samsung Galaxy S (4G Model)] johnadelic:
The Play Store link is in the OP.

http://xdaforums.com/showthread.php?t=2243585

Sent from inside the time vortex
[Samsung Galaxy S (4G Model)] gandygreen:
New here, not sure how it works, friend gave me an att s4, I337, and was trying to unlock it off utube. I entered *#9090# and on the diag config screen I picked option two, DM/DUN over hsic(*)....what SHOULD it be set to ?? If somebody could email me, I would GREATLY appreciate it. And if snybody could tell me if I can use kt with metro would be great. Thank you all for your time and trouble. Hope to hear from somebody

Thank you Sir
[Samsung Galaxy S (4G Model)] FBis251:
Try asking in the right forums:

http://xdaforums.com/galaxy-s4-att
[Samsung Galaxy S (4G Model)] silvergenius24:
Huawei U8665

hy need some help.. can this method work with other types of phones..for exg.. say a Huawei U8665....
[Samsung Galaxy S (4G Model)] FBis251:
No this will only work on Samsung Vibrant type phones.
[Samsung Galaxy S (4G Model)] explorer2001:
lucky

you guys lucky to have this topic.

i bought my unlock code from a website with paying more thn $30 3 years ago :(
[Samsung Galaxy S (4G Model)] Sonu1588:
need u r help

after opening terminal emulator what should type after cd/dev/block ?
[Samsung Galaxy S (4G Model)] elekonsult:
thanks

it works!! just follow as it stated, scroll down up to the last line!!
[Samsung Galaxy S (4G Model)] mayfidh:
hi,

i am looking for network unlock code for samsung sgh-t959w

any assistance will highly be appreciated

thanks

email me on alphaazladha@yahoo.com
[Samsung Galaxy S (4G Model)] FBis251:
http://xdaforums.com/showthread.php?t=2243585
[Samsung Galaxy S (4G Model)] ameliawill:
can u help me please
[Samsung Galaxy S (4G Model)] FBis251:
If you need to unlock your phone, just root it and use this app: http://xdaforums.com/showthread.php?t=2243585
[Samsung Galaxy S (4G Model)] SaltyCat:
Yes, it dose work on AT&T, but only on 1900MHz area.
[Samsung Galaxy S (4G Model)] SaltyCat:
The device works on UMTS bsnd I Which widely used in Europe and Asia. I started using it on Softbank in Japan.
[Samsung Galaxy S (4G Model)] AllGamer:
this is awesome!
[Samsung Galaxy S (4G Model)] flashyp:
This worked great. Thank you for sharing and hard work on this.
[Samsung Galaxy S (4G Model)] flashyp:
Hey rob3rtx, it is working with AT&T sim card. I tested with an AT&T card and was able to do everything on it.
[Samsung Galaxy S (4G Model)] michaelangelo75:
Not sure what to make of this information

Hey all,

Can you enlighten me and let me know what do you mean that the phone will work with ATT and TMobile? Does that mean once the network is unlocked that it will work with either network?
[Samsung Galaxy S (4G Model)] flashyp:
Yes michaelangelo75, once u unlock the phone, you will be able to use either an AT&T or Tmobile sim card.
[Samsung Galaxy S (4G Model)] MEGABYTEPR:
Is the 3G band working on ATT?
[Samsung Galaxy S (4G Model)] jrzypnoi1623:
Tnx!! it did worked on mine. It's finally unlocked!! :)
[Samsung Galaxy S (4G Model)] rob3rtx:
Do you happen to know if you were using the 850mhz 3G or the 1900Mhz 3G band?
[Samsung Galaxy S (4G Model)] EricDET:
Has anyone tried changing the single 01 value to 00 and pushing it back to the phone and unlocking that way... Like the Vibrant? I have a feeling this code retreive method will be wiped on a new update similiar to the JI6 update for the vibrant.
[Samsung Galaxy S (4G Model)] sanfranx415:
I did attempt this but you must understand if you take a quick second to think about this the unlock code is in various places and after you unlock your phone different values are changed nut just that one hex byte from 01 to 00 it is a little more complicated than that for this version for now

Solutions are being worked on to figure out the correct byte but for now it seems that the string is the same but the position is not.

Please if anyone has done this provide your feedback, everything helps in these forums knowledge is always useful
[Samsung Galaxy S (4G Model)] brothersman:
Just a little FYI

in the past 4 years, I have changed cell phones (same carrier- T-mobile) every 6 months, if u want the free extremely easy way unlock ANY phone, call T-Mobile customer service, tell them you will be traveling outside the country soon and you would like to request a unlocked code for your phone so you can use your phone in the other country, they will submit a request and email your unlock code with in 24 hrs, always got mine within 6-12hrs, then put in a non t-mobile sim card in your phone and enter the unlock code you were emailed! Its that simple and easy!! Just a little FYI for the ones that are a little if'y about doing adv phone editing.

BTW CAN BE ROOTED OR NON-ROOTED
[Samsung Galaxy S (4G Model)] sk8er_:
I'd be more than happy to help you out on unlock codes if you email me your bak file
[Samsung Galaxy S (4G Model)] usachftp:
I found my manually at 9E:2900h
[Samsung Galaxy S (4G Model)] lphillips80:
Worked

Worked. showed up twice. nice work as always..
[Samsung Galaxy S (4G Model)] rafarataneneces:
Thanks worked like a charm!
[Samsung Galaxy S (4G Model)] tatico28:
Worked perfect for me thanks.
[Samsung Galaxy S (4G Model)] sitnlow4life:
having trouble finding multiple unlock codes

Could someone please take a look at my .bak file?

I could only see one 8 digit code

I tried it and it didnt work

Thanks in Advance
[Samsung Galaxy S (4G Model)] sanfranx415:
Go ahead and send it to me upload it and send me a pm with the link
[Samsung Galaxy S (4G Model)] hawkeyeaz1:
Just to have it on record...

I tried to follow the instructions to the letter, however, the disk dup (dd) failed w/ permission denied. I rooted using the oneclick method. A whoami gives UUID 100122, which I haven't jumped in deep enough to determine who that is supposed to map to. Regardless, using a hexeditor available fromt he market, I was able to save the file to my sd card. I started the search in it, but it was too slow, so I loaded the file created on my PC. I found the string in question for the latter 2 of the 4 hits. I will try it tomorrow to verify it works.
[Samsung Galaxy S (4G Model)] ibroudno:
What's in the other locations?

You said there are several locations where you found the string FFFFFFFFFF0100000000

But only some of them have the 8 digit code?

What do other locations have?
[Samsung Galaxy S (4G Model)] sitnlow4life:
I Pm'd you