yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab General] klee2000:
Why does it keep failing for me????????? This is what I get!

C:\Users\Owner>adb shell

shell@android:/ $ su

cd /sdcard

echo "this takes about 45 seconds"

if [ ! -f /sdcard/nv_data.bin.orig ]; then

echo "copying file to /sdcard"

cp /efs/nv_data.bin /sdcard/nv_data.bin.orig

fi

echo -en \\x00 > out0

dd if=nv_data.bin.orig of=out1 bs=1 count=1578089

su

dd if=nv_data.bin.orig of=out2 bs=1 skip=1578090 count=163

cd /sdcard

echo "this takes about 45 seconds"

if [ ! -f /sdcard/nv_data.bin.orig ]; then

echo "copying file to /sdcard"

dd if=nv_data.bin.orig of=out3 bs=1 skip=1578254

cat out1 out0 out2 out0 out3 > nv_data.bin.unlocked

cp /efs/nv_data.bin /sdcard/nv_data.bin.orig

fi

echo -en \\x00 > out0

dd if=nv_data.bin.orig of=out1 bs=1 count=1578089

rm out0 out1 out2 out3

rm /efs/nv_data.bin

dd if=nv_data.bin.orig of=out2 bs=1 skip=1578090 count=163

dd if=nv_data.bin.orig of=out3 bs=1 skip=1578254

cp nv_data.bin.unlocked /efs/nv_data.bin

rm /efs/nv_data.bin.md5

reboot

.cat out1 out0 out2 out0 out3 > nv_data.bin.unlocked

rm out0 out1 out2 out3

rm /efs/nv_data.bin

cp nv_data.bin.unlocked /efs/nv_data.bin

rm /efs/nv_data.bin.md5

reboot

Permission denied

1|shell@android:/ $ cd /sdcard

shell@android:/sdcard $ echo "this takes about 45 seconds"

this takes about 45 seconds

shell@android:/sdcard $ if [ ! -f /sdcard/nv_data.bin.orig ]; then

> echo "copying file to /sdcard"

> cp /efs/nv_data.bin /sdcard/nv_data.bin.orig

> fi

shell@android:/sdcard $ echo -en \\x00 > out0

shell@android:/sdcard $ dd if=nv_data.bin.orig of=out1 bs=1 count=1578089

1578089+0 records in

1578089+0 records out

1578089 bytes transferred in 12.737 secs (123898 bytes/sec)

ut2 bs=1 skip=1578090 count=163 <

163+0 records in

163+0 records out

163 bytes transferred in 0.001 secs (163000 bytes/sec)

shell@android:/sdcard $ dd if=nv_data.bin.orig of=out3 bs=1 skip=1578254

518898+0 records in

518898+0 records out

518898 bytes transferred in 3.900 secs (133050 bytes/sec)

shell@android:/sdcard $ cat out1 out0 out2 out0 out3 > nv_data.bin.unlocked

shell@android:/sdcard $ rm out0 out1 out2 out3

shell@android:/sdcard $ rm /efs/nv_data.bin

rm failed for /efs/nv_data.bin, Permission denied

255|shell@android:/sdcard $ cp nv_data.bin.unlocked /efs/nv_data.bin

cp: can't create '/efs/nv_data.bin': File exists

1|shell@android:/sdcard $ rm /efs/nv_data.bin.md5

rm failed for /efs/nv_data.bin.md5, Permission denied

255|shell@android:/sdcard $ reboot

reboot: Operation not permitted

1|shell@android:/sdcard $

1|shell@android:/sdcard $

:crying:
[Galaxy Tab General] priyana:
Seems you don't have su.
[Galaxy Tab General] klee2000:
I think your correct from my update to CM10 I didn't verify if SU was in stalled... I will have a look when I get home tonight! Thanks again!:highfive:
[Galaxy Tab General] klee2000:
Priyana you were correct worked like a charm after SU... Thanks foreverything!!!!! :good:
[Galaxy Tab General] joey5:
can anybody help me?

the script doesnt work

i have a orange tab p7300 8.9 and im am root.

can i please send you the nv_data.bin ? can you make the changes for me?

greetings from Germany

joey
[Galaxy Tab General] priyana:
I don't think you should try any method described in a P1000 forum in your P7300

This goes for everything, not just unlocking.

And BTW, without root, you can never do anything like that to your tab.

Count yourself lucky you are not root.

Else who knows what is the state of your nv_data.bin now

Your forum is here:

http://xdaforums.com/forumdisplay.php?f=1438
[Galaxy Tab General] joey5:
I try it with the hexeditor but it does´n work.

Can you help me?
[Galaxy Tab General] priyana:
Why are you still here?
[Galaxy Tab General] rvalusa:
Samsung Galaxy SGH-T779

Can you please let me know whether using the above mentioned method, can I unlock my SGH-T779(US T-Mobile SG Tab 2 10.1) ?

When checked in the efs folder, I dont see the nv_data.bin file.

Please let me know if you need any files from my tab for you to figure out the way to unlock SGH-T779 model.
[Galaxy Tab General] kemeia:
Hi everibody

Running perfecgt on a GT-P1000. Only added a comment, you must rename the files, if they are on the efs folder, nv_data.bak and .nv_data.bak.md5 to some other extension or remove from the efs folder. If not, even you edit and change the bin file this files replace them to the original, then don't work.

Cheers
[Galaxy Tab General] mr.newbie:
Tmobile Samsung Tab SGH T849

Hello everyone,

Sorry for asking dump questions. I have Samsung Tab ( SGH T849). It's locked by T-Mobile, I can't update it. I dont know, how to do it. I am kinda confused. Can someone please explain me or provide me link

Thanks
[Galaxy Tab General] DermagraFX:
Hi guys, I have a sgh-i957 LTE 8.9 tab. I have rooted installed CM10.1 and CWM. I have everything running and all that jazz, I have searched my entire SD drive with such status, and I can not locate the nv_data.bin file anywhere. My tab is locked to Telus canada.

Is there another file name it might be under? I would really like to unlock my tab asap.

Thanks,

---------- Post added at 09:11 PM ---------- Previous post was at 09:09 PM ----------

Sorry.. damned autocorrect. I have searched with SU /ROOTstatus... not such status.. lol
[Galaxy Tab General] priyana:
Your tab may have its own forum.

This one is for p1000 original 7" galaxy tab.
[Galaxy Tab General] Izobretatel:
Galaxy 2 Tab 10.1 (i497) unlock?

Hi guys, anybody knows way to unlock Galaxy 2 tablet from ATT (sgh-i497)? Because nv_dta.bin doesn't exist in \efs folder. May be locks located in other file?
[Galaxy Tab General] dogmatism:
Just for a confirmation that this is the easiest method provided that you are rooted and busybox set.
[Galaxy Tab General] :
Thanks a lot !

Thank you rotohammer...!
[Galaxy Tab General] vegh_mark97:
It worked on my Tab too, thanks a lot! I done that nearly half year ago. Do you think it should work on any Android smartphones? (Now exactly I want to SIM unlock an Xperia Z1)
[Galaxy Tab General] Poro_Akihiko:
I can't find the nv_data.bin even though my tab is rooted

I can't find the nv_data.bin even though my tab is rooted
[Galaxy Tab General] Markrose:
Nice!
[Galaxy Tab General] JhonBP:
Samsung galaxy tab 3

Hi, i could really use some help, i have a samsung galaxy tab 3 and a wanna know if this tutorial will work for my tablet.

and also a want to thank u very much for this tread, i know that has been very helpful for a lot of people.
[Galaxy Tab General] oldlabguy0:
The method seems no longer work on the Galaxy Tab 4. Just tested it on my phone.

The workable method is this one: Unlock SIM Card for Android Phone
[Galaxy Tab General] JacobTheFox:
So I tried both of these methods, but neither worked. The "nv_data.bin" file is there, but not the .md5 version of it and when I open nv_data.bin with a hex editor it is empty, even with full permissions. Any help? My model number is: SM-T217S.

Thanks.
[Galaxy Tab General] jerian01:
hi i read through your post and i would like to request some help please. I have a galaxy tab s4 it is sim locked to t-mobile. can you please help with instructions for sim unlocking it. i cant speak to t mobile as i am out side the us. Any help will be appreciated
[Galaxy Tab General] jerian01:
hi i have a Galaxy Tab SM -T837T locked to T-mobile. I tried to root using z4root but it didnt work. How would you suggest i root it ? I want to try to unlock it
[Galaxy Tab General] rotohammer:
Thats it, assuming you even need to run a non-AT&T SIM.

Family plan addon will be the best deal. Bring them some old smartphone to setup, then put the SIM in the Tab.

Interestingly, I could not get my Nexus One SIM to work with the stock ROM, the phone had no internet and a home screen message that said I had to call AT&T. I didn't, I just flashed the Euro ROM, message gone :)
[Galaxy Tab General] dcboy123:
Unlock code

I am in the same boat, I have two T-mobile version tab's and working with T-mobile to get unlock code.

I was told it cannot be done, good to hear they can unlock.

I will add this to my arsenal, when calling T-mobile again, thanks.

I faxed my 4 pages of receipts with cover page to:

FAX COVER

Attn: SIM Unlock Team

REMEDY FORM: xxxxxxx given to me by cust service

Customer Name: Roto Hammer

Phone#: 555-1212

Alt-Phone# 555-1213

Email: roto@xxxx.net[/QUOTE]
[Galaxy Tab General] pshapiro:
bad luck here...

It didn't work for me. I have a T-mobile Galaxy Tab (make SGH-T849). I tried rotohammer's instruction, patching nv_data.bin as follows, and removing the md5 file.

0x181469 change this one byte from 01 to 00

0x18150e change this one byte to 00 if its not already (it was already 00)

After rebooting, an AT&T SIM card gave me "no network". My goal is to unlock the Tab in order to use a T-mobile SIM card I have with an Even More Plus plan. When I use the Even More Plus card, I get 3G signal, I can do queries on Google and browse my.t-mobile.com, but every other site redirects me to T-mobile. It's funny I have to unlock it… to use a T-mobile card! (At least, I believe it's a problem of locking)

Anyway, I asked for the SIM unlock code and I will post the binary differences here.

Did anybody try the "[GUIDE] Galaxy Tab Network Unlock (thread 838424)"? It looks like a more complex approach. Should I give it a shot?
[Galaxy Tab General] jtc442:
So it booted with the att sim, without asking for an unlock code? If so, then it did work. You should be unlocked now.

Sent from Jt's Samsung Galaxy Tab!!
[Galaxy Tab General] Croak:
What the guy above said, this doesn't generate code, it bypasses the need for one entirely. You'll need to setup the AT&T APN for data, too.

And are you sure that's a functional AT&T SIM card?
[Galaxy Tab General] pshapiro:
Thank you, jtc442 and Croak.

Yes, the tab booted (no questions asked) with an AT&T card. It said "AT&T" on a corner, but I couldn't get any data ("No network available"). My understanding was that I could get Edge (no 3G). The AT&T card works, it was pulled out of an iPhone. Maybe I need to configure the APNs.

Also, the Tab still didn't let me use my Even More Plus card. Even after unlocking (assuming it worked), my Tab on 3G can only browse google.com and my.t-mobile.com. Every other site sends me to my.t-mobile.com. What issue is this?

Is anybody using the Tab on T-mo, with something different from the WebConnect plan?
[Galaxy Tab General] jtc442:
I have the att settings but it would be tomorrow before i can get em to you.

Sent from Jt's Samsung Galaxy Tab!!
[Galaxy Tab General] Croak:
Just Google AT&T APN Settings, should be all over the intertubes.

Sent from my GT-P1000
[Galaxy Tab General] pshapiro:
Thank you for the notes. My friend is not around today, so I can't test the AT&T card. Still, apparently you can't use a SIM card from another T-mobile phone even if you unlock. On the unlocked device, a SIM card with an "Even More Plus" plan (voice + unlimited data) will only browse Google and T-mobile. What is blocking the data, in your opinion? I will probably end up flashing the firmware.

Happy Thanksgiving to all!
[Galaxy Tab General] rotohammer:
TMobile is blocking your data at the APN. Don't flash unless you're prepared to switch carriers.
[Galaxy Tab General] intellitech:
Unless i'm missing something / not doing it right, but I've got Root on my T-mobile Tab, which I've flashed to JK5, however, I am unable to find the byte which needs to be edited ... the closest i've got a reference to in the .bin file is - "00181460" ... but NOT the references which I need to change ... Any help or nudge in the right direction will be greatly appreciated.
[Galaxy Tab General] Croak:
Ok, look across the row from where it says 00181460. You see a bunch of columns, right? Look for the one that reads 09, that's the "69" you're looking for (or maybe not, but it's the 69 you need to unlock your Tab :) )

0x18150e is in row 0018150, column that reads 0E, and so on.
[Galaxy Tab General] intellitech:
Thanks for that. Worked perfectly and was able use mt AT&T sim card on there. Will have to see how it works on the UK sim card next week.
[Galaxy Tab General] AlexVallat:
Just reporting in, this works perfectly on a Galaxy Tab locked to Vodafone Portugal. Lock Check reports network lock off; successfully tested registering to a Virgin UK and a Three Mobile SIM, and it works perfectly on both, including HSPDA data access. IMEI appears unaffected.

It's worth noting that my previous effort of purchasing an unlock code was entirely unsuccessful, apparently Vodafone PT codes aren't available or something - I did try a few different vendors.

In summary: It works. Nice one! Thank you.
[Galaxy Tab General] lucboucim:
Need help to do SIM unlock on a Bell Galaxy Tab

I have rooted my Bell Canada GT, I'm using an hexeditor to read the nv_data.bin file located in the /efs folder and it's all 00. I can't edit the file as its content is all 00.

What am I doing wrong?

Thanks
[Galaxy Tab General] borodark:
I have successfully unlocked my Bell Canada Tab to use fido SIM for 3g!

Here is what I did:

"root" it first - z4root

buy/install rootExplorier

backup /efs

copy nv_data.bin to safe place

edit as per suggestions - this is only one byte I have changed:

0x181469 change this one byte from 01 to 00

mount / in rw

put the nv_data.bin into /efs

delete nv_data.bin.md5

reboot

define AP

reboot again

got a gmail !!!

Thanks to all contributed
[Galaxy Tab General] SonicTab:
borodark - Thanks for posting that. It's getting harder to resist.

Are you planning to try and get the phone inside working too?

Not sure I would really want to use 7" phone very often,

but it would be hard to own the device knowing a

phone is locked inside and not release it...

Might be worth the wait till its possible to create and restore a the original rom image as shipped.
[Galaxy Tab General] lucboucim:
Yes yes yes!

Thanks for the simple explanation. Works perfectly on Telus network now.

Thanks again.
[Galaxy Tab General] rvae:
Anybody knows if this method works to unlock the Verizon version??
[Galaxy Tab General] willie168:
I paid full price in Canada, (Rogers), called them and they told me this:

"Full price with not contract/term does not mean unlock! We do not provide unlock service. You must use Rogers data service, no contract means u can cancelle it at anytime without a penality charge"

This piss me off totally!!!
[Galaxy Tab General] willie168:
great! I've just unlocked mine! works perfectly. Thx!!!

(Canada Rogers Galaxy Tab)
[Galaxy Tab General] kosmocos:
i have unlocked my Orange tab in just 5 minutes, IMEI remains the same, thank you guys for sharing this solution.

Sent from my Galaxy Tab
[Galaxy Tab General] markogin:
Happened the same for me with AT&T and that is why I am reluctant in giving them my money!
[Galaxy Tab General] qualification:
Hey Borodark, how much did you end up paying on Fido?
[Galaxy Tab General] BluePlanetMan:
Help a Noob...

So I want to do the below... my galaxy tab is all rooted and ready to go, I cannot download the apk for the hexeditor on the tab cuz it has not network access and I am traveling, I copied the EFS folder and when I edit the nv_data.bin file all I see if "ff" how do I edit it so that I can properly change it and then copy it back to the sdcard using root explorer... I am using HxD but have no experience with hex editors.
[Galaxy Tab General] Croak:
http://xdaforums.com/showpost.php?p=9413735&postcount=52

You'll need to PgDn to find the right row and column, obviously.
[Galaxy Tab General] aguiamaster:
thanks do AlexVallat and the first person who did all this report the "hacker"

i have now my vodafone portugal samsung tablet unlocked :D

thanks and keep good work please.
[Galaxy Tab General] aguiamaster:
1 last question , if i do update the firmware any time or install new distros of the android system like 2.3 or 3.0 i will have to do this again and loose the UNLOCK ?thanks
[Galaxy Tab General] Croak:
It permanent. Flashing wont overwrite it.

Sent from my GT-P1000
[Galaxy Tab General] BluePlanetMan:
Ok, thanks! figured it out, I edited the byte and now my Rogers Galaxy Tab shows up on O2 - UK mobile with that sim in there... I can make calls on it, but the data does not work. There are two APN's that showed up automatically in the config:

O2 UK (mobile.o2.co.uk)

O2 UK MMS (wap.o2.co.uk)

Any ideas why the data won't work?

Thanks
[Galaxy Tab General] AlpineM3:
Is sprint a GSM model and would this hack work on it?
[Galaxy Tab General] Croak:
Sprint is CDMA and this hack will NOT work on it. Sorry.
[Galaxy Tab General] Croak:
Still sounds like an APN issue for me. Be sure to check the settings inside the APN to verify they are correct (assuming you have a data plan with O2), and not to sound patronizing, but make sure that you have the button clicked to select one.
[Galaxy Tab General] BluePlanetMan:
Just switched out my O2 card for a Vodafone card that was working in my unlocked Winmo7 phone, and APN settings update, texting works, calls work, but data does not work. So I am also thinking this is an APN issue, I hope. Just need to get the correct APN settings and see if I can make it fly now
[Galaxy Tab General] BluePlanetMan:
I tried a variety of different APN settings for Vodafone, but just like the O2 card, I can't get the data to work. I wonder if this is NOT an APN issue and something still related to the SIM LOCK? I did unlock it, and can make calls/texts so its odd. The more strange thing is that the same Vodafone sim works full data in the Win Phone 7 handset. So some setting on this Galaxy Tab remains yet to be solved. Any ideas?
[Galaxy Tab General] BluePlanetMan:
Ok... So to anyone who wants to know... If you have a Rogers (or possibly any other GSM Galaxy Tab and want to use it on the O2 network after doing this unlock method, you will get on the network, but will be given INCORRECT APN settings. The correct O2 APN settings for the Galaxy Tab are:

NAME O2 UK payandgo

APN payandgo.o2.co.uk

PROXY NOT SET

PORT NOT SET

USERNAME Vertigo

PASSWORD password

SERVER http://mmsc.mms.o2.co.uk:8002

MMSC http://mmsc.mms.o2.co.uk:8002

MMS PROXY 193.113.200.195

MMS PORT 8080

MCC 234

MNC 10

APN TYPE NOT SET

TYPE: Internet & MMS
[Galaxy Tab General] maxtcee:
0x181469 change this one byte from 01 to 00

0x18150e change this one byte to 00 if its not already

am i looking for 0x181469 and 0x18150e or is 00181469 cause i cant seem to find this im using hex editor from the market
[Galaxy Tab General] moviecouple:
If I do this SIM unlock for AT&T... and I have a AT&T Captivate with the 3G Data plan... does this mean I will be able to swap out the SIM and use the data from the Captivate on the Galaxy Tab? Or is it still gonna give me an unrecognizable SIM error?
[Galaxy Tab General] joedoe:
Worked for me like a charm on a T-Mobile Tab. Thank you, Rot
[Galaxy Tab General] n123456:
i have a rogers galaxy tab

doing the hex changes but I can't seem to find 00181460 or 00181469

The closes I found is 00181462 or 0018146d

can anybody help?
[Galaxy Tab General] moviecouple:
I am not finding the 0x181469 or 0x18150e either... like maxtcee. The best I can come to is 00181462 and 00181507.

My AT&T Tab has been rooted, I used root explorer and copied over the nv_data.bin and the whole efs folder to an external SD card. I am using HexEditor right on the Tab. Still cannot find or maybe understand how to use the hex editing program properly??

Could someone shine a bit of light on the situation?
[Galaxy Tab General] rotohammer:
The answer is in this thread:

http://xdaforums.com/showpost.php?p=9413735&postcount=52
[Galaxy Tab General] moviecouple:
Roto,

I understand that post and your initial post... but I am not finding any of those string values. I cannot find

0x181469

0x18150e

or even

00181460

0018150
[Galaxy Tab General] rotohammer:
They are not string values, they are byte offset addresses into the file, displayed on the left column. Use "Jump To Address" to get to the correct point in the file.
[Galaxy Tab General] moviecouple:
Sorry about the "string value" comment. Those numbers are not there. I cannot jump to them because they don't exist. Closest to them are the following...

00181462 ff ff ff ff ff ff ff 01 00 00 00

0018146d 00 49 c1 f3 88 cc 86 8e c4 72 14

00181507 ff ff ff ff ff ff ff 00 00 00 00

00181512 00 0a 05 05 05 05 00 ff ff ff ff
[Galaxy Tab General] moviecouple:
Well, I am not sure if this means it worked or not. I stuck in my AT&T Captivate SIM into the Tab and it DOES show the correct phone number. Just cannot seem to get the Data working. I thought I needed to update to an AT&T APN, but whenever I enter wap.cingular into the APN... it says wap.cingular is not supported. Not sure what is up.
[Galaxy Tab General] moviecouple:
I've tried everything. Looks like I have to give up for now as it just isn't working. Or at least not working for my newbie mind.
[Galaxy Tab General] n123456:
Willie: Would you be able to assist me in unlocking mine... got the rogers one as well.
[Galaxy Tab General] adinis78:
Can someone please post step by step instructions on how to unlock the tab, it will be a lot simpler than reading through all the posts or if anyone can just simple start a thread that outlines all the steps. I called t-mobile but i can not get my code until about February since i already received an unlock code for my Vibrant.:confused:
[Galaxy Tab General] maxtcee:
can someone please help me i cant find this 0x181469 for the life of me im using a hex editor from the market opened the nvdata bin file jumped to address 180000 but cant find the 2 edit points from the first post what am i ding wrong
[Galaxy Tab General] maxtcee:
got it finally woooooooooohooooooooooooooooooo
[Galaxy Tab General] moviecouple:
Maxtcee,

Explain how you did it... because I think I am in the same boast as you. Also... did you have to change/add AT&T APN settings? Or does the Data work right out of the gate?
[Galaxy Tab General] maxtcee:
just open up a copy make sure you save you original nvdata bin

in hex editor on phone jump to address 180000 look for 0018146* mine was 00181462 that was the closest to 69

so i looked in the colums on the right of 00181462 and saw

ff ff ff ff ff ff ff ff 01 00 00 00 so i changed 01 to 00

then went to 0x18150* mine was 00181507 look to the columns on the right it was already 00

so i saved as

then deleted the nvdata bin and nvdata5 bin in /efs folder

copied the edited one back popped in my t mobile sim and it booted up using tmobile

keep in mind im using att tab with tmobile sim all my apn were already there when the phone booted up
[Galaxy Tab General] moviecouple:
That's what I thought too and did that exact thing last night. Well it must have worked. I stuck in my brothers t-mobile card tonight and it recognized it. Phone number popped up and t-mobile showed as carrier.

So now... How do I get my at&t captivate SIM card, which has full voice and unlimited data to work? Tried adding the APN for at&t and it won't allow it. Is this even possible?
[Galaxy Tab General] maxtcee:
di you put the modem bin on also
[Galaxy Tab General] moviecouple:
No. So far all I have done is the SIM unlock. Haven't flashed anything. Didn't think I needed to.
[Galaxy Tab General] ToY9CiTo:
any reason why we speak about hex editing the galaxy for 10 pages and no one mentions not even one program for hex editing by name.. either for mac or for windows or linux? i think it is extremely important yet nobody mentions it not even once.. whats the editor being used for all this and how are u using it.. we need detailed instructions.. ive edited motorola phones for years but my xvi32 nor 4 other editors i have tried work on this nvdata file so can anyone please speak about this matter more detail