cd /dev/block <enter>
su <enter> <at this point your phone will ask for superuser access ALLOW it
dd if=/dev/block/bml3 of=/sdcard/bml3.bak <enter>
do that to your rooted phone in ADB
Then just open the file with a hex editor, and SHAZAM! your code is there,
Around line 515040
Yep it works.
I used HexWorkshop for windows to find the code
I did the following:
Code:
You must be rooted Here's how to grab your unlock code off your own phone, for free!
Connect your phone via USB and open an adb shell (you need the SDK installed)
My SDK is installed in C:\Android
cd c:\android\tools
adb shell
Now that you're in shell type in the following
su
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
Mount your SD card on your computer and open bml3.bak in a hex editor. Search for the string SSNV (it's in caps). You'll see something like this
SSNV.±Ì.ž.Ì.å....`Få•1Š>...OÊÄÏñ..ý“œÌ5..ÇõÎ_.coõã Ò@×`^ãQ.ÚR=€[¥×‡ùáâß-P.5370859753708597.51531930.00000000100100101#3101 503101703111803104103109809 9999#
In my case, the 51531930 is the unlock code! So basically, it's the second set of numbers (separated by periods).
Pop in a foreign SIM and it'll ask you for an unlock code. Punch this baby in and you're unlocked!
Worked like a charm! I checked out the thread on HowardForums (which I am a member of as well, so I trust the content) just to make sure I did everything right and it worked! Network Unlock Successful!
I'm just wondering if someone could help me with this, I follow steps listed on this post but got stuck at "c:\sgux.exe bml3.bak" command prompt says C:sgux.exe not found
can someone helps?
If you have a rooted phone,
Now we will work on getting an unlock code for your phone. For this, You will need Command prompt, android SDK, and unlock code finding app. Make sure your device is plugged into your computer.
1. From Command prompt run the following commands:
adb shell <enter>
cd /dev/block <enter>
su <enter> <at this point your phone will ask for superuser access ALLOW it>
dd if=/dev/block/bml3 of=/sdcard/bml3.bak <enter>
This will save a copy of bml3.bak file in your phone. Now you need to copy this file from my files (in phone) to your computer folder containing android sdk. Almost done....
Now run command prompt again and add these commands exactly..
c:\sgux.exe bml3.bak
That command depends on where you have saved all the files. Once done, It will give an 8 digit code which is an unlocking code for your galaxy s. Enjoy...
Any questions, PM me. This all info was combined from XDA. All credit goes to them..
Is there some hidden secret menu or alternative way to enter in the unlock without using another sim card? I have trouble finding one at the moment.
I been looking for the same thing and trust me there's no other way. All the known codes don't work for the Captivate. You could re-lock it to another carrier and then try using the sim card for att. That seems to be even more trouble
do i need a sd card in order for this to work and when i follow the steps in sdk i get a message that says cannot open for write: read only file system
do i need a sd card in order for this to work and when i follow the steps in sdk i get a message that says cannot open for write: read only file system
and where do i look to find the .bak file
Hey sounds like you're trying the hard way. Can you try the easy way first and see if that works.
Galaxy S Unlocker
============
The Code is below. The Mac version of The Galaxy S Unlocker was made by NBS11. This method of obtaining the unlock code was found by dagentooboy. Also thanks to bowsa2511 for helping make the script. Donate links for them can be found on the XDA forum link below. Please remember to donate to me like this program at http://bit.ly/cplmLk (paypal only).
strings: can't open file: ./nv_data.bin (No such file or directory)
strings: can't open file: ./nv_data.bin (No such file or directory)
Your code is:
Guide to entering code:
1. Power off phone, 2. Put in other carriers SIM, 3. Turn on phone, 4. Enter unlock code. BE EXTRA CAREFUL; ENTERING IT WRONG ONCE WILL BRICK YOUR PHONE, 5. You are now unlocked. Congratulations.
If you need any help go here: http://forum.xda-developers.com/showthread.php?t=761751
Also, if the unlock code doesn't work and it freezes your SIM, enter this code:
rm: ./nv_data.bin: No such file or directory
logout
Galaxy S Unlocker
============
The Code is below. The Mac version of The Galaxy S Unlocker was made by NBS11. This method of obtaining the unlock code was found by dagentooboy. Also thanks to bowsa2511 for helping make the script. Donate links for them can be found on the XDA forum link below. Please remember to donate to me like this program at http://bit.ly/cplmLk (paypal only).
strings: can't open file: ./nv_data.bin (No such file or directory)
strings: can't open file: ./nv_data.bin (No such file or directory)
Your code is:
Guide to entering code:
1. Power off phone, 2. Put in other carriers SIM, 3. Turn on phone, 4. Enter unlock code. BE EXTRA CAREFUL; ENTERING IT WRONG ONCE WILL BRICK YOUR PHONE, 5. You are now unlocked. Congratulations.
If you need any help go here: [PROGRAM]One Click Unlock / All Models (Mac & PC) - xda-developers
Also, if the unlock code doesn't work and it freezes your SIM, enter this code:
rm: ./nv_data.bin: No such file or directory
logout
[Process completed]
this keeps happening what's wrong?
Search the market for Captivate Unlocker. There's a free application apparently which should work.
I followed your youtube video to unlock my AT&T Captivate (unrooted). When I run the Generate_code.bat, I got the error messages:
failed to copy '/efs/nv_data.bin' to './nv_data.bin':Permission denied
What I did is:
1) downloaded Captivate drivers and installed it.
2) connected phone with PC (with USB debugging checked)
3) downloaded and unzipped the unlock files, and run the .bat file.
Questions about the Samsung Captivate? Check out: http://www.capfaq.com/ Nintendo-friendly gaming forum: http://www.ninstation.com/
If myself or CapFAQ.com has been helpful to you, please use the [Thanks] button DropBox: Free online storage for Android and your PC. Click here for extra space free. "Your" isn't the same as "You're". Learn the difference.
It looks like he's using JH7 where they locked the permissions of nv_data. SGS Unlocker (currently) no longer works in that case. You can find a manual way using grep somewhere in XDA Captivate General forum.
If you're using the JI6 Froyo, you're SOL. They scrubbed the plain text unlock code from what I understand.
It looks like he's using JH7 where they locked the permissions of nv_data. SGS Unlocker (currently) no longer works in that case.
Hmm you're right. I hadn't noticed this. Updated CapFAQ.com. If there's a manual way via grep I'd hope he could update the tool.
Unlocking isn't important to me except for increasing the resale value somewhere down the line. But that's a ways off. Guess I should've written down my unlock code before updating to JH7.
Unfortunately, the easy-peasy SGS unlocker app doesn't work after the Captivate OTA update in october. This is confirmed by myself and loads of other comments on the App site. HOWEVER, if like me you unlocked your phone BEFORE the OTA update using the code the app provided, (you should still have the code saved on ur phone's internal SD card), then the unlock should still be working.
To check,and make sure that Network Lock is the only thing on... go to phone and enter *#7465625#
PS. I've included a link to xda about the code, so don't just type in random codes in your phone if the original poster doesn't know what he is saying because there is at least one code that resets and formats EVERYTHING and luckily I had backed up my phone after using that code on the advice of just one poster on here.
Unfortunately, the easy-peasy SGS unlocker app doesn't work after the Captivate OTA update in october. This is confirmed by myself and loads of other comments on the App site. HOWEVER, if like me you unlocked your phone BEFORE the OTA update using the code the app provided, (you should still have the code saved on ur phone's internal SD card), then the unlock should still be working.
Not entirely true. I unlocked my phone right away, but after the update the unlock programs no longer work. My phone is still unlocked and I wrote down the code, so I am not worried, but I definitely cannot extract the code anymore.
The Following User Says Thank You to ardyer For This Useful Post:
Yes, Mul might be correct. I just got my new Captivate, which comes with JH7 update. It seems that SGS unlock method does not work on it. Any other methods?
PS. I've included a link to xda about the code, so don't just type in random codes in your phone if the original poster doesn't know what he is saying because there is at least one code that resets and formats EVERYTHING and luckily I had backed up my phone after using that code on the advice of just one poster on here.
Whoa whoa whoa what now?
Quote:
Originally Posted by dmp316
Wow thanks for the heads up. My question is if this is done will 2.2 still work?
Yes, if you unlock your phone then you can still upgrade to froyo
Quote:
Originally Posted by Cake He
Yes, Mul might be correct. I just got my new Captivate, which comes with JH7 update. It seems that SGS unlock method does not work on it. Any other methods?
Yes, Mul might be correct. I just got my new Captivate, which comes with JH7 update. It seems that SGS unlock method does not work on it. Any other methods?
You can do it manually in JH7, just get root and do:
If you have JI6/Froyo/2.2, you'll have to wait until someone else figures out how to extract since it's now encrypted/obfuscated. I don't think flashing back will work either (or so I heard).
If you have JI6/Froyo/2.2, you'll have to wait until someone else figures out how to extract since it's now encrypted/obfuscated. I don't think flashing back will work either (or so I heard).
Mui, thanks a lot! My Captivate with JH7 is unlocked successfully. And thanks to pingpongboss and everyone else who gave any advice.
Here I listed what I did as a reference for other newbies like me:
1) Download and install "RyanZA's OCLF 2.0" from the Marketplace.
2) Run the app "One Click Lag Fix". Select the option "Root Device 2.1". After finishing, power down your phone.
3) Once your phone is off, hold down both the Volume keys (up+down) while powering on the phone. Release the power button as the phone begins to boot but keep the volume keys depressed.
4) Once at the Android system recovery menu, use the volume keys to select "reinstall packages"
5) Assuming that's successful, your phone will reboot again. Your phone should now be rooted.
After rooted the phone sucessfully
6) Download and install "Android Terminal Emulator" from the Market.
7) In Terminal Emulator, type:
su
busybox grep -E "^[0-9]{8}$" /efs/nv_data.bin
then the unlock code will show up. Write it down for later use.
8) Power down the phone. Insert a SIM card from another carrier and power on the phone. When prompted to input the Network unlock code, input the code you got above. Now it is unlocked successfully. Done.
Just an FYI - I unlocked when the method for finding the 8 digit code in bml3 first came out. I have since flashed my phone a few times. At least to the Froyo release - maybe a 2.1 i9000 release - but now my bml3 file has FFFFFFFF where the unlock code used to be. The phone is locked again, and the original code no longer works. Recently flashed back to JF6 and then upgraded to JH7 via Kies.
One other developer has discovered this, and started some work on sorting it out. Hopefully more details to come.
Yep it works.
I used HexWorkshop for windows to find the code
I did the following...
Code:
... 51531930 is the unlock code! ... the second set of numbers (separated by periods).
Pop in a foreign SIM and it'll ask you for an unlock code.
Punch this baby in and you're unlocked!
I followed your example but used both /dev/block/bml3 & /eps/nv_data.bin finding similarly placed codes, & same values: SSNV..27503752.73527908.00000000100100101#31015031 017031118031041031098099999 hence 73527908 [same value both files]
With an old VoiceStream sim I entered the code after rebooting.. no response. Further dithering caused me the "spend" of my 10 tries, while entering the found code caused no loss of tries[?]
btw-the unlock app script failed to copy the nv_data.bin , hence not having the file to search later in the script. adb shell got me access to the files just fine.
The Samsung Captivate is AT&T's version of the Samsung Galaxy S, marking Samsung's first strong push into high-end Android territory. The manufacturer simultaneously launched the Galaxy S on every major American carrier, each reta... Read More