yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] dagentooboy:
I am not sure what could cause GPS problems. Except that Samsung Galaxy S phones have been plagued with GPS problems since day one. Let me know if you figure out a fix.
[Samsung Galaxy S (4G Model)] elry567:
I unlocked mine just yesterday anf gps actually locked pretty fast playing with maps and nav
[Samsung Galaxy S (4G Model)] dagentooboy:
Maybe KD1 has some GPS fixes in it? Mine seems to work fine too.
[Samsung Galaxy S (4G Model)] chris071404:
I remember with my old Vibrant, I had an issue trying to unlock where the IMEI number changed and it messed up the available apps in the market. Will the unlock app jack with that?
[Samsung Galaxy S (4G Model)] dagentooboy:
So far I haven't heard of anyone having that problem... if something does happen... well that's why we make backups :D
[Samsung Galaxy S (4G Model)] umarali:
awesomeness...

so simple...

just followed every step closely and now i have network lock off phone...

thanks alot...
[Samsung Galaxy S (4G Model)] cyrixke:
Well, I finally got it sorted out. In fact, you don't even need the unlock code at all. Just changed the network lock setting in nv_data.bin, copied it back to the efs folder and rebooted the device. Works like a charm now.
[Samsung Galaxy S (4G Model)] eollie:
Once unlocked why would you want to relock the phone?

This just goes to show people dont lock the phone back down.
[Samsung Galaxy S (4G Model)] fefetron:
Hey there, i making the process but i need i little help here.

I am using hexedit and i can't find the line FF FF 00 00 00 00 00

Anyone can help?

Thank you
[Samsung Galaxy S (4G Model)] fefetron:
I did it.. unlocked now... thank you so much.
[Samsung Galaxy S (4G Model)] pycomputing:
Big problem

Hi, i have a big problem, i try unlock galaxy s 4g, but when i search for backup in sdcard of efs folder, its say the memory has corrupted, and need to be formated, i try recover the files, but the efs folder isnt there, my problem now is i dont have imei, only see 000000000, i dont have backup of efs folder what can i do
[Samsung Galaxy S (4G Model)] ariesgodofwar:
You did backup a copy of your /efs folder outside of your SD Card, right? As I am sure you are aware, the IMEI is stored within the /efs, so if there is anything you make double if not triple backups of, that is it.....if you have a copy, you might try a new SD Card without the corrupted sectors. If you do not have a back up, I am afraid that you might be SOL :crying: (which I hope is not the case)
[Samsung Galaxy S (4G Model)] Shortbus-Driver:
Flashing back to stock will generally fix your imei.
[Samsung Galaxy S (4G Model)] elmanortega:
do you have the URL of the thread?
[Samsung Galaxy S (4G Model)] padre629:
Does this method function on a Samsung Galaxy S Blaze 4G aka SGH-T769 ???????????

Thanks :)
[Samsung Galaxy S (4G Model)] serialteg:
I get

chown: unknown user/group radio:radio

on the last command line

anyone know whats going on?
[Samsung Galaxy S (4G Model)] FerociousAndroid:
Just picked up another SGS 4G. Flashed it to stock UVKJ6:

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

Then did the " [ODIN+CWM] GB Ext4 Starter Pack"

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

The steps below work flawlessly. Used "Root Explorer" to get to the "nv_data.bin". This time my code was something like 41809491.
[Samsung Galaxy S (4G Model)] supercho:
Did you unlock a carrier or unlock the imei number?
[Samsung Galaxy S (4G Model)] champ1919:
This method does carrier unlock.
[Samsung Galaxy S (4G Model)] supercho:
But doesn't unlock the imei, correct?
[Samsung Galaxy S (4G Model)] champ1919:
Not sure what you mean when to say imei unlocked. I just ran the code on first post & it says network lock off. Nothing about imei. Use fb251's app if hex edit method seems too difficult.
[Samsung Galaxy S (4G Model)] supercho:
I tried it already, it didn't work. imei unlock is not the same as carrier unlock. my imei is blocked by t-mobile so i can't get signal til I unlock it. It's not that its too difficult, I just don't know what it is. lol
[Samsung Galaxy S (4G Model)] gizmoscoop:
Your imei is blacklisted. The end.
[Samsung Galaxy S (4G Model)] FerociousAndroid:
Unlock it and sell the phone on CL stating the bad T-Mobile IMEI but will work in Latin America. If you' re in the States it should work with a Pre Paid GSN provider like Simple Mobile (T-Mobile towers) \, H2O or Net10 (AT&T Towers).
[Samsung Galaxy S (4G Model)] qromwel:
pls someone should gv me thw unlock code for samsung sgh i897...pleeeeease
[Samsung Galaxy S (4G Model)] champ1919:
54763114

Just joking... this method only works for the vibrant or sgs4g
[Samsung Galaxy S (4G Model)] FBis251:
Made me lol
[Samsung Galaxy S (4G Model)] desti3128:
where i can dowload this soft
[Samsung Galaxy S (4G Model)] dagentooboy:
Glad it worked for you.
[Samsung Galaxy S (4G Model)] invario:
Thanks! But I have to ask, why do you use "cat" and not "cp"?
[Samsung Galaxy S (4G Model)] dagentooboy:
Because stock roms don't include a cp command. If you have busybox cp will work fine but the stock OS has cat built in.
[Samsung Galaxy S (4G Model)] invario:
Ahhh ok. Thanks :)
[Samsung Galaxy S (4G Model)] hpnokia:
It worked with my phone.Special thank to Dagentooboy and Mr Lam!
[Samsung Galaxy S (4G Model)] haripi2:
Not working for me

HI,

I would probably be the first person for whom this method is not working. my phone is unlocked but IMEI and product code are corrupted. i have the original nv_data.bin file . i actually got this unlocked from a user in US and upon receiving it in India discovered that the IMEI is corrupted and does not work in India as networks do not regsiter it. The IMEI displays as 0X0.0X0.~ and not even the generic one. i have installed busybox and terminal emulator as well as SGS toolbox. i could not even find the product code as it says it cannot read the nv_data.bin file and states that nv_data.bk cannot be found.

is there a way by which i can restore the phone back and get it to work.

i was provided the bin file by the seller but i am not sure if it is corrupt or not. Can somebody help me. i am a complete novice with emulator commands. so it would be extremely helpful if you can list out the cp or cat commands. i have moved the new bin file to \sdcard\ sgstoolbox folder . will that have any impact?

i believe currently there are no bin files or bk files in efs. i dont have root explorer and am using android mate to view files. dont know how to view hidden files. android mate has been provided with superuser access.
[Samsung Galaxy S (4G Model)] haripi2:
i have replaced the bin file with the original bin file. the location is under efs\root\afs\settings . i am not able to locate any md5 file or bak files so i am not able to delete thyem.

do i need to just reboot the phone to get it to read the IMEI number?

the nv_data.bin is not under efs folder but under root/afs/settings folder. is that correct?

please advice
[Samsung Galaxy S (4G Model)] dagentooboy:
I would just put the original nv_data.bin file on the root of the sdcard and then I would use ADB because for some reason people have had trouble with terminal emulators... and then you would 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
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
[Samsung Galaxy S (4G Model)] chris49424:
Help

Hi I tried using the second option but keep coming back with error Null? When I try the other's I get FC, What am I doing wrong I followed your guide step by step. I'm running New Kd1. Thanks in advance...
[Samsung Galaxy S (4G Model)] fatherof4:
Thanks to the op!!!!!!!!!!!!!!!!!!

I downloaded the free 30 day trial of the 010 Editor V3 from their website. I then followed the instructions provided by OP using the free Terminal Emulator app in the market. I did not have any problems and now when i run the *#7465625# locks check..... my network lock is now also turned off! Thanks so much!!!!!!!!!!!!!!!!!!!!!!!!
[Samsung Galaxy S (4G Model)] dagentooboy:
Are you using ADB?
[Samsung Galaxy S (4G Model)] aaronpoweruser:
this will survive a factory rest correct?
[Samsung Galaxy S (4G Model)] dagentooboy:
Haven't tried but it should.
[Samsung Galaxy S (4G Model)] dagentooboy:
Tried it over the weekend... it is working fine... still unlocked.
[Samsung Galaxy S (4G Model)] dj02:
hi, i used the pro app feature but now i cant connect to my tmobile netowrk, my IMEI is showing .[]x[]~".[]x[]~
[Samsung Galaxy S (4G Model)] cannondale0815:
Word of caution: I used the Pro app a few days back on my T-Mobile Galaxy S 4G and it completely screwed up my IMEI -- after 'unlocking' it contained garbage characters (no numbers). I had *lots* of trouble getting my phone working again.

See here how I fixed it. I would suggest staying away from this app for now.

Also, within 15 minutes I initiated a refund process and I thought it went through, but this app still shows up as purchased in 'my apps'. boo.
[Samsung Galaxy S (4G Model)] cannondale0815:
I had the same problem. See my post just below yours and click on the link I provided.
[Samsung Galaxy S (4G Model)] dagentooboy:
wow that is really weird. You did select the SGS 4G option when you select phone right? Could you send me a copy of your /efs folder?
[Samsung Galaxy S (4G Model)] dj02:
yup, i used your app on my old sgs 3g and worked with no problem. when i got the pop up for what phone to choose i selected sgs 4g, send efs folder now
[Samsung Galaxy S (4G Model)] dj02:
email sent
[Samsung Galaxy S (4G Model)] badb4lyfe:
so i'm using hex editor app on phone... and i can't find address 1469... i have 1468 and 1470... any ideas?

Edit: i'm assuming its 1468 on mine cause it looks close but i may be wrong .... :/.... dont wanna jack my phone up lol
[Samsung Galaxy S (4G Model)] dagentooboy:
As long as you are changing the 01 after several blocks of FF you should be fine.
[Samsung Galaxy S (4G Model)] dagentooboy:
where did you send the email?
[Samsung Galaxy S (4G Model)] dj02:
to the yahoo email on your account profile. let me know if you want me to send it somewhere else.
[Samsung Galaxy S (4G Model)] niraviry:
I just got a band new SGS 4G dated MAy 2011.

I used the method of using address 1469.

After the FF 01 00 00 00 00 there is an 8 digit number.

This is simplly the unlock key. For me no need to re-flash the file.

Nir
[Samsung Galaxy S (4G Model)] cannondale0815:
Sorry to the OP, but this tool is dangerous, as it is altering your nv_data.bin file and, in some reported cases, results in your phone being unusable after. You should use this method instead, which gives you the proper unlock code an doesn't require you to tamper with the all-important nv_data.bin file.

http://xdaforums.com/showthread.php?t=980157
[Samsung Galaxy S (4G Model)] dagentooboy:
I wouldn't consider it dangerous... we are simply changing 1 bit in the file and putting it back AND the app and guide both tell you to make a backup first. I will check this out and add instructions for using the code to the first post. The thing to be aware of is that since the Samsung Galaxy S series has been released about 50% of the phones will not successfully unlock with the code. So far the hex hack is far more reliable.
[Samsung Galaxy S (4G Model)] junkiee24:
i dont see the nv_data.bin file in the systems..

it says file not found when i type in the commands "cat /efs/root/afs/settings/nv_data.bin >> /sdcard/nv_data.bin"

also it created a 0 byte file on my SD with the same name..

what to do?
[Samsung Galaxy S (4G Model)] dagentooboy:
su

ls /efs/

ls /efs/root/afs/settings/

Let me know what you see....
[Samsung Galaxy S (4G Model)] junkiee24:
su

#

ls /efs/

nv_data.bin.md5

nv.log

nv_data.bin

imei

ls /efs/root/afs/settings/

ls /efs/root/afs/settings/: No such file or directory

what to do now? i used file expert to check the contents of the efs folder.. nothing in there.
[Samsung Galaxy S (4G Model)] dagentooboy:
Hmmm this looks like the /efs/ folder from the original vibrant. You might want to check both addresses for the lock bits. if you don't see FF FF FF 01 00 00 at that address then don't change anything... also it looks like your phone has an .md5 file in the /efs/ folder so you will have to delete that after you unlock your nv_data.bin. You can email me your nv_data.bin and I can look for you if you want. Use the email in my donate link in my sig (no you don't need to donate I just try not to explicitly post my email online)
[Samsung Galaxy S (4G Model)] junkiee24:
sent you the email with the nvdata file.. using HXD as my hex editor. What should the settings be 16 bytes per row, byte group size, chat set, offset base? right now the stock option is 16-ansi-hex (byte group size 1).

i copied the nvdata file to my SD using this, since my nv file was in the efs folder..

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

so when i get the nvdata file edited.. and i reinstall do i change the folder to efs instead of setting like how i copied over the file?

su

rm /efs/root/afs/settings/nv_data.bin

cat /sdcard/nv_data.bin >> /efs/root/afs/settings/nv_data.bin

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
[Samsung Galaxy S (4G Model)] invario:
I flashed a new rom recently and reset the phone. Do I need to redo this? Thanks.
[Samsung Galaxy S (4G Model)] junkiee24:
i am not too sure but i think the unlock and root should remain.. but i suppose you can download root checker and see.. or use terminal and type in SU.. if you get a # then your still rooted.
[Samsung Galaxy S (4G Model)] junkiee24:
thanks for the help.. it worked like a charm!
[Samsung Galaxy S (4G Model)] invario:
not worried about root, just the unlock. thanks :)
[Samsung Galaxy S (4G Model)] GDofWR420:
Works great. The first time I tried I was entering the code wrong. Thanks for this
[Samsung Galaxy S (4G Model)] sgtmedeiros:
When you have your galaxy 4g unlocked call att they will switch internet to non smartphone unlimited i have it its only 10 bucks a month for unlimited internet
[Samsung Galaxy S (4G Model)] doantri:
I need good NV file , please upload good dump file from woking phone .
[Samsung Galaxy S (4G Model)] rpgdev:
For the record guys, I did not see this address on my hex editor: 0x181468 to find it I had to actually look for the hex code "FF 01 00 00 00 00 46 46" and it was scattered between the line 00181450 and 0018146D. I changed the 01 to 00 in 00181450 as the tutorial said and the sim was unlocked now I can move on to follow on to set the rest of the phone

The editor I used was ghex2 on ubuntu. The ROM was Andromeda3 (probably why it was different)...

Oh, and thanks for providing the manual method. The apps didn't work for me.
[Samsung Galaxy S (4G Model)] dagentooboy:
That address is for the non-4G version.
[Samsung Galaxy S (4G Model)] cal4877:
on the first line of commands is su goes seprately from the other commands or all together

---------- Post added at 08:10 PM ---------- Previous post was at 08:09 PM ----------

after the commands that it has to anything? because when i type the commands i dont get anything on terminal emulator
[Samsung Galaxy S (4G Model)] dagentooboy:
you might have to use ADB
[Samsung Galaxy S (4G Model)] Frostbyrne:
The pro app changed my IMEI to 000000000000000000..... Is it possible to fix it?
[Samsung Galaxy S (4G Model)] tooter1:
I didn't use the app. I used the ADB method and it changed my IMEI to all ZERO's. Is this going to be a problem?
[Samsung Galaxy S (4G Model)] Frostbyrne:
Cant install swype beta becUse of the imei issue =/
[Samsung Galaxy S (4G Model)] Frostbyrne:
If I took an Nv_data.bin from my old vibrant, would it work on the SGS4g?

EDIT: Didnt work D=
[Samsung Galaxy S (4G Model)] dagentooboy:
Try restoring the backup and make sure it works locked... then send me the /efs/ folder zipped up to the email in the donate link in my sig.
[Samsung Galaxy S (4G Model)] Frostbyrne:
Thats the problem, I wouldve gone to the backup and installed swype beta, then gone back to being unlocked with the bad imei. But the imei stayed broken..... Ill upload my efs folder asap
[Samsung Galaxy S (4G Model)] jager555:
for the last time. you guys can call up tmobile and get the phone unlocked for FREE. it is painless and is completely safe. do a search on how to fix the imei. there are 2 or 3 fixes out there.
[Samsung Galaxy S (4G Model)] Frostbyrne:
Having some trouble finding one that works, thanks for the head up about the unlock code. Ill keep trying I guess
[Samsung Galaxy S (4G Model)] tooter1:
Successful unlock without messing up IMEI number

My UPDATE:

I did just like the OP stated and, it messed up my IMEI number. Glad I had a backup of the file. :)

So I went back into the HEX editor (I used HxD editor) and looked where I did the the change and noticed to the right side there were a series of numbers that started at row 41460 and ended on row 41470.

It was an 8 digit series started with 75 ending in 13, something like this 75382313. I was sure it had something to do with the unlock code but, didn't have a different SIM to check.

I sold the phone and, the guy said he had to get it unlocked so he could use it with O2 network (I think).

I text him later that day to ask if he got the phone unlocked, he said no, the place wanted $45 to SIM unlock it.

I told him to try the number listed above and it "SIM UNLOCKED" the phone. He called me back and thanked me many times for saving him $45.

Hope this helps someone else and not mess with the IMEI number!!!!
[Samsung Galaxy S (4G Model)] nashi20002003:
Exhibit I 4G Successfull

I can confirm both of these methods work on Samsung Exhibit I 4G & Samsung Galaxy S 4G. I first did the manual unlock on SGS4G and it worked fine without IMEI problem. Was able to connect to ATT 3G. Surprised. It worked on 3G ATT even though the specs do not mention HSDPA bands for ATT on SGS4G. (Now I'm in Dallas, don't know if it's 850 or 1900.

I was eager to test Exhibit I 4G as soon as I learned that few days ago a Rooting method was found. I rooted. Next I tried the manual unlock as done before on SGS4G and it worked. Then I read this last post about an unlock code.

So I replaced the original Bin file and tried an ATT sim but got the lock Sim windows request unlock code. So I tried the 8 digits...boom..it worked.

This method will also work I think on Exhibit II. But can not confirm. Thanks! Unfortunately the Exhibit I does not have the ATT 3g band ...but once unlocked I was able to get EDGE connection. The exhibit II does have them and they are specified in the specs.

Thank you!
[Samsung Galaxy S (4G Model)] smokeuout:
tmobile refused to give me my unlock code. i called 7 different times and emailed them twice (over a 2 month period). they wouldnt do it for my g2 either
[Samsung Galaxy S (4G Model)] dagentooboy:
I just bought an S2 from t-mobile and it took them 3 weeks to get me the code and when I put in another carriers SIM to unlock it it said "no sim" and the soft buttons on the front stopped working.

I am sure that for most people t-mobile is great about all this but for anyone who buys the phone used, built in unlock doesn't work, doesn't want to wait, or just likes to hack stuff there is this method.
[Samsung Galaxy S (4G Model)] thegoo:
Solved

So my co-worker decided to try this. He pulled the nv_data.bin and MADE back ups of it. He then proceeded to follow the tutorial . In the end, his phone showed it was unlocked however his IMEI was lost in the process and it remains at 00000...0 (null). Everything works as far as service goes (talk, 4G so on)

He is trying to just revert back to not having it unlocked and re-placed the nv_data.bin with the original file. However in this case the IMEI still remains Null and the *#754.. code still reveals it is unlocked.

I've attempted to reverse this process myself with no avail.
[Samsung Galaxy S (4G Model)] Vlad_z:
IMEI is what make you phone unique ... I'm surprised that cell network registers phone with corrupted one.

Speaking about non-reversal process. NV_data.bin might have been protected with control check sum, md5 hash or store cached data someplace, so when it borked then replacing this file withoriginal does not reverse this process.

I just unlocked my phone by simply getting 8 digit unlock code (just after that FF 01 00 00...) and inserting simcard from att.

I think it's safer just let software do it's thing instead of hex-editing file when nobody knows how it works for sure.
[Samsung Galaxy S (4G Model)] smokeuout:
when i unlocked my phone the same thing happened with the imei #. i just left it alone and didnt care much and ive never had any problems because of it. is there a specific reason you want the # shown?
[Samsung Galaxy S (4G Model)] thegoo:
Solved

Fixed.

Correct. And it was protected by md5 checksum having viewed the ../settings dir I figured so :)
[Samsung Galaxy S (4G Model)] Rabid Panda:
Null IMEI

It did the same thing to me.... IMEI=00000000000... Phone worked fine all day, i reverted back to stock to get my IMEI back to normal...I was worried at midnight the phone might turn into a pumpkin... Phone still works... IN my SGS4g forum we have been talking about the same issues. Phone will register just fine, have a had no problems with the null IMEI.. from what i can tell its a non issue, unless you want to sell the phone to someone...or try to return it... However, chances are, if you have rommed and rooted the hell out of your phone they wouldn't take it anyhow.

I reverted back to pre unlock, and will just get a off network sim and enter the code... that will apparently preserve the IMEI.
[Samsung Galaxy S (4G Model)] dagentooboy:
When I wrote the guide the phone I used didn't have an .md5 .... If you guys see an .md5 in there I would suspect that you need to delete and reboot... MAKE SURE YOU BACKUP EVERYTHING FIRST and whatever happens it isn't my fault.
[Samsung Galaxy S (4G Model)] Vlad_z:
No it's not your fault, you just gave a gun loaded with one bullet and let the user play Russian roulette. Cause you have suspection that everything will be OK.

And if user turns out to be lucky then don't forget to press donate button to help fund your gadgets ...
[Samsung Galaxy S (4G Model)] Rabid Panda:
Just for ****s and giggles i re-did everything and deleted the MD5 File just to see what would happen.. Well i still have an IMEI but when you put in *#746.... It doesn't show the status of anything. Phone still works great... Just an observation.
[Samsung Galaxy S (4G Model)] smokeuout:
are you freakin kidding me!! we go to devs like him for advice and beg them to make our precious roms, apps, and mods and when **** goes wrong you want to try and lay blame on the people giving us what we want? UNBELIEVABLE!!!!!
[Samsung Galaxy S (4G Model)] Rabid Panda:
hex 41460

The unlock code can also be found at hex 41460 What if we were to change that 01 to an 00... would it do the same thing as when we change the hex at 1450?
[Samsung Galaxy S (4G Model)] Vlad_z:
Exactly, what would happened if somewhere 01 change to 00? Without source code and design knowledge no one can answer for sure.

If you found your 8 digit unlock code (just next to that FF 01 00 00 pattern) - use it, it's safe. Wost case phone just rejects your code, that would probably mean that firmware was tempered with.

I have tons experience with WinDbg (looking/hacking windows apps) and can advice to go with standard ways.

You don't even need root to unlock your phone.
[Samsung Galaxy S (4G Model)] dagentooboy:
If anyone has an nv_data.bin file that doesn't work with the hex hack please email me your /efs/ folder all zipped up and I will look at it. (if you click the paypal link it will display my email... you don't have to donate just get the email address... I have to avoid those stupid bots)