[GUIDE] Unlock Froyo 2.2 I9000 Galaxy S manually - Galaxy S I9000 Android Development

Just updated post with more details, I hope someone will find it more useful. As always make sure you have a backup, make a backup of your nv_data.bin BEFORE editing.
I was not able to unlock my phone Froyo 2.2 I9000M phone running I9000UGJK4 firmware by using this official thread http://forum.xda-developers.com/showthread.php?t=761045
and after few hours of searching I found this method which worked for me from first attempt.
I give all the credits for this idea to cursor2010 from http://forum.xda-developers.com/showpost.php?p=8656481&postcount=156
Here are the detailed steps
* Your phone must be rooted (I used SuperOneClick http://forum.xda-developers.com/showthread.php?t=803682) to do this unlocking and busybox from market is installed
* Get the archive file from first post of this topic. The archive contains ADB software which we will use to connect to the phone.
* Turn On USB debugging Application->Settings->Application->Development
* Follow the instructions of STEP 4 from http://www.communityhosting.net/sgsunlock/i9000.html to get your nv_data.bin to your PC
Get your current nv_data.bin file from the /efs directory on your phone. This can be done with ADB. Most often, the nv_data.bin file is not readable and you will get a permission denied message. You'll need to enter the commands manually.
To do this with ADB, from the DOS command prompt you can type:
adb pull /efs/nv_data.bin
If you receive a permission denied error, you can fix it by typing the following commands from an ADB shell (type "adb shell" at the DOS command prompt) or from within a terminal on the phone:
adb shell
su
chmod 777 /efs/nv_data.bin
exit
exit
Then from the DOS command prompt:
adb pull /efs/nv_data.bin
Using Hex editor edit the file ( you can use any hex editor, http://www.logitheque.com/logiciels/windows/utilitaires/editeur_hexadecimal/telecharger/edithexa_9903.htm for example). I personally use UltraEdit.
View attachment 464171
At the offset of 180069H you will see your provider MCC and MNC codes see http://en.wikipedia.org/wiki/Mobile_Network_Code
In my case the code was 30261020404... which is Bell Canada, so I changed 610 to 720 Rogers Canada now the code is 30272020404...
Again the offset in the file is 180069H.
Save the file on the pc.
* Follow the instructions from http://forum.xda-developers.com/showpost.php?p=8182729&postcount=107
Copy your nv_data.bin to temporary folder on your phone:
adb shell "mkdir /sdcard/efs"
adb push nv_data.bin /sdcard/efs
adb shell
su
ls -l -a /efs
If there is an nv_data.bin.md5 file in the directory, all is well. You should continue with these commands:
mv /efs/.nv_data.bak /efs/.nv_data.bakk
mv /efs/.nv_data.bak.md5 /efs/.nv_data.bakk.md5
rm /efs/nv_data.bin
rm /efs/nv_data.bin.md5
rm /efs/.nv2.bak
rm /efs/.nv2.bak.md5
busybox cp /sdcard/efs/nv_data.bin /efs/nv_data.bin
chmod 755 /efs/nv_data.bin
chown radio.radio /efs/nv_data.bin
exit
exit
if you have errors on the chown command, use
chown 1001.1001 /efs/nv_data.bin
If there was no nv_data.bin.md5 file, then something is wrong and you'll need to see other options or reflash again with a known working ROM that generates a new MD5 file when it's missing.
* Reboot the phone, it should not ask any unlock codes or anything, in my case it simply just registered on Rogers network
* Obviously you also need to program your APN settings for Rogers from http://forum.xda-developers.com/showthread.php?t=809003 to make your 3G working. For your own provider please search forum.
I wish it would be much simpler or automated or tested on bigger variety of phones.If somebody could gather the statistics and check if this method is applicable throughout all the versions of I9000, that would be very nice.
Feel free to comment my post.

Phams0 said:
I had problems unlocking too. But the little trick that Happy Hunter posted worked. The phone is now locked to fido instead of bell.
I guess my phone is one of the newer builds. That's why the original unlocking method doesn't work.
I bought it a few days ago from Bell.
Model number: GT-I9000M
Firmware Version: 2.2
Baseband Version: I9000UGJK4
Kernel Version: 2.6.32.9 [email protected] #1
Build number: Froyo.UGJK4
Click to expand...
Click to collapse
in hex editor on phone jump to address look for 00181460 looked in the colums on the right of 00181460 and saw
ff ff ff ff ff ff ff ff 01 00 00 00 so i changed 01 to 00
that will make your phone sim free, u dont have to edit to lock just one network, i already try this tricked while leaving 610 as bell in the nv_data file, after i changed to 00 my rogers sim now work, so i assume it will work with other sims also

in my case this method did not work,
I try something different:
I changed too nv_data.bak and delete nv_data.bin.md5 and nv_data.bak.md5 and now my phone is unlocked

This is such a great written guide, i'd have been a shame to have it get lost inside that unlock topic
so I made it a topic of its own for all the new people trying to unlock Froyo
NOTE: in some HEX editor the offset reads as 181460

bizkopt said:
in my case this method did not work,
I try something different:
I changed too nv_data.bak and delete nv_data.bin.md5 and nv_data.bak.md5 and now my phone is unlocked
Click to expand...
Click to collapse
LOL !!!!
i can't believe it, this is the most ridiculous "lock' ever
i tried it and it truely works
just delete the files and it automatically becomes SIM free, it wont even ask you for the PIN
tried with 3 different SIM cards, all of them can call out and access to 3G

bizkopt said:
in my case this method did not work,
I try something different:
I changed too nv_data.bak and delete nv_data.bin.md5 and nv_data.bak.md5 and now my phone is unlocked
Click to expand...
Click to collapse
there is no friggin way it is that simple...isnt ur imei or some other pertinent info store in the files?

I can confirm this works, been using it for a month to switch vibrants over to Fido and Rogers.

dawen said:
in hex editor on phone jump to address look for 00181460 looked in the colums on the right of 00181460 and saw
ff ff ff ff ff ff ff ff 01 00 00 00 so i changed 01 to 00
that will make your phone sim free, u dont have to edit to lock just one network, i already try this tricked while leaving 610 as bell in the nv_data file, after i changed to 00 my rogers sim now work, so i assume it will work with other sims also
Click to expand...
Click to collapse
This worked great for me. Thanks!

sjavvaji said:
there is no friggin way it is that simple...isnt ur imei or some other pertinent info store in the files?
Click to expand...
Click to collapse
it is really that easy
i couldn't believe it myself either

so does that mean hex editing is unecessary.. since that would seem to inidicate that it would then be locked to whatever provider you change the code too.. So dont bother editing the file,,, just delete the files, as a side does still know when you are roming or not when you do it with this method.. i kinda doubt it?

Sorry for the newbie question. THis is the first time I root android phones.
1. My phone was originally 2.1 and I upgraded it to 2.2
2. I ran superoneclick and I can see "superuser" on my app list (I asume it is rooted)
3. unable to get nv_data.bin so I ran "ADB shell" at the dos prompt
4. when I hit "chmod 777 /efs/nv_data.bin" I got "unable to chmod...operation not permitted".
Please let me know what I can do to unlock. THanks.

try using root explorer in the market.

I managed to use andexplorer to look at the efs directory but it it was empty??

Awesome, just tried this on my 3rd Galaxy S Vibrant which came with JL2. Works brilliantly. Nothing else worked.
Does anyone know if this will survive a flash with a custom ROM?
Thanks

mklo said:
I managed to use andexplorer to look at the efs directory but it it was empty??
Click to expand...
Click to collapse
If you've installed Darky's Rom 8.1 you've most likely lost Root as I had. So do the following:
boot into recovery, go to Advanced Speedmod ULK features > Root/Install Superuser, and select the first option i.e 'Simple: install busybox+su'. If this doesn't work, turn on the phone, open Superuser, forget all the apps, then again boot into recovery and follow the above steps.
Click to expand...
Click to collapse
old post (not relevant anymore):
Same here. Root explorer only shows this:
/efs
5.01MB used, 935K free, r/w
..
Parent Folder.​Any ideas?

make sure you are able to see hidden files

I don't want to pollute this thread but can someone be a bit more specific on what to do on the "simple" unlock shown below
bizkopt said:
in my case this method did not work,
I try something different:
I changed too nv_data.bak and delete nv_data.bin.md5 and nv_data.bak.md5 and now my phone is unlocked
Click to expand...
Click to collapse
I.e. "changed too nv_data.bak" means he renamed nv_data.bin to nv_data.bak
OR did he delete nv_data.bin and renamed .nv_data.bak to ny_data.bin?
I don't have nv_data.bak.md5 but I do have .nv_data.bak.md5 should I delete this other file?
(I don't mind the hex editing way but if there is a simpler way I'll try it first)

hey guys i am just wondering would this instruction help getting verizon samsung fascinate to be on sprint network and data working?
i have my fascinate on sprint already but i just never can get the 3G icon to come up

hello, excuse me I am completly new with SGS
where can I find these 2 files ? (internal card ??)
thanks for your reply

I used root explorer to get nv_data.bin on PC. Then got eXchange.rar, putted nv_data.bin from the phone in the same folder with Reparation_nv_data.jar nv_data.binvierge from eXchange.rar, ran Reparation_nv_data.jar, putted some 8 digit random numbers in filed one and two (different ones), copied nv_data.binvierge back to phone, renamed it to nv_data.bin, deleted EVERYTHING from /efs folder BESIDE nv_data.bin and .imei. Then got the battery off from the phone (not turning it off from power button), left like that for 5 seconds, back in, power on...TADA! Phone unlocked
It has to be rooted.
This is a method from razvang in romanian.

Related

[REF] How to unlock/unfreeze all SGS Models [NOW WORKS ON Vibrant 4G][Updated 4-9-11]

Vibrant 4G/SGS 4G manual method here
PRO App also works on Vibrant 4G/SGS 4G for anyone who doesn't feel comfortable with a hex editor
Do NOT try this or any other unlock method on the SC-02B Docomo phone. Please see thread here for progress on the SC-02B
Please note the same information used to develop the app is in the guide for free... the app just makes it easier
ALL METHODS FOR NEWER PHONES REQUIRE ROOT... PLEASE GO GET ROOT ON YOUR PHONE AND THEN COME BACK.
Oh and BTW... I cannot be held responsible for anything that happens to your phone.... EVER!
Before you start... if you don't have root you WILL need it unless you are on a really old version of android 2.1 (look in Appendix A for depreciated methods)
Step 1. - Retrieve nv_data.bin file
use "adb shell" or a terminal emulator to get a terminal prompt and run the following commands
Code:
su
cat /efs/nv_data.bin >> /sdcard/nv_data.bin
Step 2. - Edit nv_data.bin file
mount the internal SD Card on your computer
make a backup copy of the nv_data.bin file on your computer
using your favorite HEX editor open the nv_data.bin on the sdcard
jump to address 0x181468
you should see a string like this
ff 01 00 00 00 00 46 46
there are 5 different types of locks in 5 different bytes
the FF byte should be left alone
the first byte after the FF is the network lock
the next byte is the network subset lock
the next byte is the sp lock
the next byte is the cp lock
the last byte appears to be a data lock.
the 46 46 should be left alone
Change any 0x01 to 0x00 (or 0x00 to 0x01 to lock for warranty)
It should read ff 00 00 00 00 00 46 46 for unlocked
save and close file
unmount SD Card
Step 3. - Replace nv_data.bin file
I want to say it again so no one misses it MAKE SURE YOU HAVE A BACKUP OF YOUR NV_DATA.BIN FILE BEFORE YOU CONTINUE!!!!!
use "adb shell" or a terminal emulator to get a terminal prompt and run the following commands
Code:
su
rm /efs/nv_data.bin
rm /efs/nv_data.bin.md5
cat /sdcard/nv_data.bin >> /efs/nv_data.bin
chmod 755 /efs/nv_data.bin
chown radio.radio /efs/nv_data.bin || chown 1001.1001 /efs/nv_data.bin
reboot
your phone is now unlocked... enjoy
[OPTIONAL] Use the PRO app [OPTIONAL]
Please note that this step is ONLY here for people that are not comfortable using a Hex editor.
Search "Vibrant unlock" in the market or scan the QR code:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Install and run app
press menu
press Unlock Phone
Select phone
allow root
at this point if you get an error code make SURE you mount your internal SD card on your computer and backup the nv_data.bin.orig file that is there.
press unlock
restart and your phone is now unlocked
to lock your phone for warranty
press lock instead of unlock
restart your phone, remove root, and take your phone in for warranty
APPENDIX A (DEPRECIATED)
DOES NOT WORK ON 90% PHONES PLEASE USE THE APP
Using ADB
Make sure that Network Lock is the only thing on... go to phone and enter *#7465625#
Make sure USB debugging is enabled (Settings->Applications->Development->USB Debugging)
Using APP (Thanks ClarkeHackworth and DaGentooBoy)
ClarkHackworth's page about the app
Same thing as before if this bricks your phone sorry but we aren't responsible.
Step A.1. – Get your code
Search Samsung Galaxy S Unlock Tool in the market or scan the QR code.
Install SGS_Unlock.apk
Applications->SGS Unlock
Menu->Root Gen Codes (Root method is the most reliable method at this point)
Jump to Step A.2.
Step A.1.alternate – Get your code
For Mac Updated!!! New Script
nbs11 said:
1. Download the Samsung Galaxy S Unlocker for Mac from this here:
http://www.multiupload.com/9NEBR6FAKD
2. Mount the DMG and drag the folder onto the hard drive. DO NOT DRAG THE ICON WITH THE LOCK (the app). Once the file is finished copying continue.
3. Open the application with the lock. It should open a terminal window. Let it run for a few seconds and then it should show a screen like this:
4. Write down your unlock code
Click to expand...
Click to collapse
For Windows UPDATED!!! With Un-Freeze Codes
Video Guide
Download and extract the attached Generate Unlock Windows.zip.
Run Generate_Code.bat
Look for the line Network Control Key:YourCode
Save the code
Step A.2. – Enter the code
Power down your phone
Put in a SIM card from another carrier
Power up your phone
When it boots up it will ask for the unlock code that you found above
OR
NO SIM Method (Thanks RazvanG)
(Apparently this just adds another SIM to the accepted SIM list... can someone confirm?)
remove sim card
power on phone without sim
enter *7465625*638*# and relock the phone to another network other than the one u have u'r sim card (eg 22610)
power off phone
insert sim card back
power on and enter nck code extracted from .bak file
phone unlocked
Step A.3. – Flash back (IF THE CODE DIDN'T WORK)
Flash back to an older firmware (I9000XXJF7 with 513.pit worked for me on an I9000)
Now enter the unlock code you generated in Step 2.
RazvanG said:
HOW TO LOCK SAMSUNG GALAXY S - FOR WARRANTY PURPOSES ONLY (TESTED)
After you get the NCK code using the method above, enter: *7465625*638*#
There will be a pop-up box.
Complete the first field (MCC/MNC) with the network you want your phone locked to (eg. 226 10 where 226 = romania; 10 = orange etc.) and the second field (Control Key) with the NCK extracted from the .bak file.
Press OK and your phone should relock.
RazvanG
Click to expand...
Click to collapse
Guide in Spanish here
Guide in Italian here
Guide in Chinese here
LEGAL NOTES (because information should be free for all):
YOU MAY NOT, BY ANY MEANS, USE THIS SOLUTION/CODE OR PART OF IT FOR COMMERCIAL PURPOSES.
DO NOT USE THIS EXTRACTION METHOD COMMERCIALLY
PLEASE give credit (and donations if you can) to
For those of you that have donated THANKS! (You know who you are... you paid for my developer account so I could post the app)
DaGentooBoy For this AWESOME guide, the free and PRO apps, finding the other unlock bits, the original mac and windows scripts, the no root cat nv_data method, the unfreeze code portion of the mac script, and a lot of troubleshooting (Paypal)
dawen, Helroz, and NWolf for discovering the hex location of the lock bit in the nv_data.bin file (donate to NWolf here)
RazvanG for pointing galaxysguy in the right direction, finding the Freeze Code location in the .bak file, the code for re-locking the phone to any network, and the solution to unlock with only one sim card (Paypal)
rbnet.it and marcopon for the cool SGUX utility for windows to extract both the Unlock and Unfreeze codes (donate to marcopon and rbnet.it Here)
nbs11 for the new mac script that makes it REALLY easy (donate here)
Bowsa2511 for the command to extract the unlock code on a Mac (Paypal here)
rhcp0112345 for finding the file and giving me (and others) a place to start (Donate here)
galaxysguy for confirming that I was looking at the right code (Paypal here)
AllGamer for starting the Bounty thread and giving the XDA devs the motivation to get started.
If you want me to extract the code for you just PM me with a link to your zipped bml3.bak or nv_data.bin file and I will send you back the code. If it works please feel free to donate via Paypal
Great work dagentooboy. I was working on a free unlock myself but approaching it from a slightly different angle. Unfortunately bricking my phone held me up a lot but I'm glad to see someone has done it now.
re: credits
apparently marcopon helped rbnet.it to write that sgux utility.
AllGamer said:
re: credits
apparently marcopon helped rbnet.it to write that sgux utility.
Click to expand...
Click to collapse
thanks... I saw the bounty thread is updated. Feel free to link to the instructions on this thread so that they all go to one place.
AllGamer said:
re: credits
apparently marcopon helped rbnet.it to write that sgux utility.
Click to expand...
Click to collapse
Yes! It's shown in the credits:
Uploaded with ImageShack.us
This is just the thing I've been looking for. Thanks a lot. Just out of curiosity, why do you have to flash back to older firmware after entering the unlock code?
Yes, I usually go by the Mark0 nick but it was already used in the forum (IIRC).
I want also to thanks andars05 for a post he made that provided some inspiration.
Nice to see that the tool is proving to be useful!
Feel free to donate to the PayPal link rbnet.it provided!
Got "Permission denied" after su in step 1 - I've got rooted Captivate with stock firmware - I know that is probably problem with access to root account, but all apps are working properly with it. Any idea for solution?
I've Windows 7, tried running command line with administrator privileges, but it didn't helped.
TheNaturat said:
Got "Permission denied" after su in step 1 - I've got rooted Captivate with stock firmware - I know that is probably problem with access to root account, but all apps are working properly with it. Any idea for solution?
I've Windows 7, tried running command line with administrator privileges, but it didn't helped.
Click to expand...
Click to collapse
After "su", have you allowed the root access on the phone?
Jreddekopp said:
This is just the thing I've been looking for. Thanks a lot. Just out of curiosity, why do you have to flash back to older firmware after entering the unlock code?
Click to expand...
Click to collapse
Sorry That is what it took to unlock mine. I updated the first post... you don't have to do that if the code works.
Thanks so much, it worked on my Globe locked SGS (Philippines).
MAC users use 0xED Hex Editor and just search SSNV and you'll get your 8 digits unlock code.
TheNaturat said:
Got "Permission denied" after su in step 1 - I've got rooted Captivate with stock firmware - I know that is probably problem with access to root account, but all apps are working properly with it. Any idea for solution?
I've Windows 7, tried running command line with administrator privileges, but it didn't helped.
Click to expand...
Click to collapse
I found the same code in the nv_data.bin file... if you can't get the dd thing to work try
Code:
cat /efs/nv_data.bin >> /sdcard/nv_data.bin
having problems pulling the file but I have SU permissions.
$ su
su
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
Permission denied
$ dd: can't open '/dev/block/bml3': Permission denied
$
antz88c said:
Thanks so much, it worked on my Globe unlocked SGS (Philippines).
MAC users use 0xED Hex Editor and just search SSNV and you'll get your 8 digits unlock code.
Click to expand...
Click to collapse
I used HexEdit
http://sourceforge.net/projects/hexedit/
You can try both but the important thing is finding the code. Searching for SSNV should get you right there.
nickbarbs said:
having problems pulling the file but I have SU permissions.
$ su
su
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
Permission denied
$ dd: can't open '/dev/block/bml3': Permission denied
$
Click to expand...
Click to collapse
Try this and let me know if it works.
samsung galaxy s sgh-i897
has anyone unlocked the samsung galaxy s sgh-i897 useing this method?
Network unlock successful
Click to expand...
Click to collapse
Thank you guys!
WOWOOWOWOWOOWWWW
NETWORK UNLOCK SUCCESSFULL
as soon as i get my 25$ refund from this guy and 6£ from someone else you'll get it
EDIT: I'm Samsung Captivate Sgh-i897
turilo said:
has anyone unlocked the samsung galaxy s sgh-i897 useing this method?
Click to expand...
Click to collapse
I haven't heard of anyone but you are welcome to give it a try. Please let me know if it works.
ok i will try so first i download the file? then follow the directions? if this works im definetly donateing

[HOW TO] /efs Folder backup + Restore NV_DATA.BIN

I’ve compiled a quick guide to instruct how to make a copy of the /efs folder. I’ve found in many threads suggestions about backing up this folder but the methods itself are very general. Most of the times they suggest to “root and copy the folder” with Root Explorer or similar, but usually it’s not that easy or it just doesn't work for everyone (my case).
This guide ASUMES you have read this Excellent Guide by Darkstrikerfirst:
H E R E <-- Make sure to read the ADB Guide.
I recommend doing this with a Mobile just taken out of the box or with any Official ROM of its Service Provider. If you have already Flashed your phone with another ROM but its working fine, then you can use that /efs also.
Why the /efs folder?
This is a very sensitive system folder that contains Phone-specific information such as the IMEI (encrypted in the nv_data.bin), wireless devices MAC addresses, product code (also in the nv_data.bin), and much more. Often users trying to change product codes or trying to unlock the mobile will end up corrupting data in this location.
Why back it up?
Well, let’s resume it saying that backing-up this little folder will keep you away from Samsung service centers.
***WARNING: I take no responsibility to any damage caused by the methods cited and/or written here. Their sole purpose is to back-up data and not to alter in any way the integrity of the original files of the mobile***
Please don’t ask how to recover your IMEI if you have previously messed your SGS without backing up this folder. I’m not familiar with such methods plus it is UNRELATED to this thread.
What you will need:
Rooted SGS to get permissions as a SU (Super User) and perform the backup
I would suggest learning a little about the terminal commands used (in case you are not familiar with them), as it’s better to know what you are doing rather than typing strings like a little chimp without knowing what they are; if you are a little lazy, then you have a good chance bricking your mobile.<- Busybox Commands(or Google them)
Terminal Emulator by Jack Palevich (available from the market) <-Terminal Emulator or use ADB which is included in the SDK Development Tools
IMPORTANT: If getting "error: device not found" under ADB (happened to me under CM7 2.3.4), you need to update your ADB drivers. Go HERE and follow the instructions to download the USB Driver for Windows, Revision 4 (Nexus S Support). Then update the drivers under your Windows Device Manager.
--------------------------------------
Backup commands
--------------------------------------
Depending on the type of root, you might have to use “busybox” at the beginning of the sting or just the string:
The standard prompt of terminal (adb) is a $ sign. Once you enter “SU” it will become a # Sign.
***NOTE: Make sure to keep an eye on the screen of your SGS during this process, because it will request SU permissions; else, you will get an error (just if it’s the first time). In Terminal Emulator you will need to reset the app after granting permissions cause it usually freezes***
*Remember: to use ADB you need to enable USB DEBUGGING under Applications/Development in your SGS. Once you are finished with the files, you need to turn it off so you can get the files.
Code:
su
tar zcvf /sdcard/efs-backup.tar.gz /efs or
busybox tar zcvf /sdcard/efs-backup.tar.gz /efs
After this, you will end up with the file efs-backup.tar.gz in your INTERNAL SDCARD, which is a “tarball” or a ZIP of the /efs folder. That file is your backup. You can expand it with Winrar.
In another forum I also saw a recommendation to back up the st13 under /dev/block which can support greatly to recoveryour IMEI in case of a screw-up:
Code:
su
cat /dev/block/stl3 > /sdcard/efs_dev-block-stl3.img or
busybox cat /dev/block/stl3 > /sdcard/efs_dev-block-stl3.img
Same thing, the target is the INTERNAL SDCARD, so go ahead and copy the file.
----------------------------
nv_data.bin - Restore
----------------------------
In case you screwed your IMEI by playing with the nv_data.bin and you are experiencing issues like:
Fake IMEI (usually 004999010640000)
Unable to download apps from the market
Unable to unlock your SIM card using your PIN
Weird apps are downloading automatically from the market
Blinking SIM card icon on the top tray… ETC
You may want to upload your fresh copy of this file back to the phone. Use this commands:
(thanks to Methyldioxide method to recover the product code http://forum.xda-developers.com/showthread.php?t=780509 )
Copy the file from your backup (efs-backup.tar.gz) and paste it in the INTERNAL SDCARD:
Code:
cp /sdcard/nv_data.bin /efs/nv_data.bin
rm -rf /efs/nv_data.bin.md5 OR
busybox rm -rf /efs/nv_data.bin.md5
Reboot your SGS
The md5 hash/signature is removed (rm) as the system will generate a new one.
**Most likely your SIM code won’t work after this and you won’t be able to log into the phone**
Pop off your SIM card, boot your SGS and execute the following commands to change ownership of the file under ADB or Terminal as well:
Code:
su
busybox chown 1001:1001 /efs/nv_data.bin or
chown 1001:1001 /efs/nv_data.bin
Hope this can help anyone with doubts. Cheers!
An alternative to the backup part is to use Root Explorer and zip the whole /efs folder onto your external sd card. (or wherever you want)
How about a method to restore the IMEI if you never had a good back up to begin with ?
Candanga said:
Please don’t ask how to recover your IMEI if you have previously messed your SGS without backing up this folder. I’m not familiar with such methods plus it is UNRELATED to this thread.
Click to expand...
Click to collapse
EarlZ said:
How about a method to restore the IMEI if you never had a good back up to begin with ?
Click to expand...
Click to collapse
How did you manage to miss that?
EarlZ said:
How about a method to restore the IMEI if you never had a good back up to begin with ?
Click to expand...
Click to collapse
had the feeling you would be here LMAO..
funny thing
the other day i messed up nv_data.bak trying to get my old product code back
the phone would not recognise the sim card
i deleted the whole /efs folder and the phone made a new one
i got my imei but no product code
sim card started working everything looked ok appart from sgs tools reporting nothing as phone !?!
i did restore /efs from a backup i had and then my product code came back
weird though
I was on jpo when all this happened
pele78 said:
had the feeling you would be here LMAO..
Click to expand...
Click to collapse
I guess you find it entertaining if people messed up their IMEI, well we all have our kinkiness.
EarlZ said:
I guess you find it entertaining if people messed up their IMEI, well we all have our kinkiness.
Click to expand...
Click to collapse
@EarlZ - I myself was a victim of this, but I managed to make a duplicate of my nv_data.bin as per instructions of the guide that I was following to unlock my SGS.
The only "tip" that I can give you (geez.. Im going against my own disclaimer lol ) is to try to flash it back to JM1 or the earliest release of your mobile. I think I remember to get my IMEI back doing this, but then lost it flashing to a newer ROM. AGAIN, my "research" didn't go past this as I managed to get my IMEI back, reason why I got inspired to throw this little guide.
Hope this can get you started on your IMEI recovery journey.
Cheers mate.
The restore should also be done with tar - in this way you won't lose the permissions on the files.
ingineru said:
The restore should also be done with tar - in this way you won't lose the permissions on the files.
Click to expand...
Click to collapse
Just for future reference (in case I need it ) can you give us the full command line?
Thanks
Thanks for the HowTo.
I ended up deleting my nv_data files in order to restore the backup files to get back the orig product code. As far as I can tell, it worked perfectly.
Code:
busybox rm -rf /efs/nv_data.bin
busybox rm -rf /efs/nv_data.bin.md5
In case you really boink your EFS
I wanted to add a small piece to this thread that not really consolidated anywhere I can fine. I toasted my /EFS yesterday - to the point of no cellular unless I was at JF6. I couldn't use tar because I'd get "out of room" errors and "numerical value out of range". I mean I SERIOUSLY borked the /EFS. But then I've been flashing this phone from the day it was available from AT&T.
I used ODIN to restore my /EFS. I have a permanent generic IMEI.
There are several good threads on backup of the /EFS, but not on restoring. If you follow the OP post to backup, here's a good discussion on how to restore.
http://forum.xda-developers.com/showthread.php?t=882039
What wasn't clear in Da_G's thread is the you don't have to use DD to use ODIN to restore. There's no discussion on using the .img file to restore. That's scattered across a couple of threads and lots of reading. I'm not a linux guy, so I had to figure this out. . . .
Deep in rotohammer's following thread, there is a discussion about using a cat .img file to do create an ODIN .rfs file that allows you to restore from ODIN.
http://forum.xda-developers.com/showthread.php?t=850359
So here's what I did to restore my /EFS to functional. You MUST have a backup of your functional /EFS using either dd or cat and ADB installed.
On your PC do the following:
c:\Android\tools> adb shell
$ su (you're now on your phones Android command line; watch your home screen on the phone in case Superuser comes up asking for permission)
#
Now we're going to take the efs_folder_backup_stl3.img that you did with the cat file and make it usable by ODIN. Change directory locations to your cat .img location. Mine is on /sdcard/external_sd/.
#cd /sdcard/external_sd/
#busybox cat efs_folder_backup_stl3.img > /sdcard/efs.rfs (this is the key step!!)
# cd /sdcard
# tar -cf efs.tar efs.rfs
# exit
$ exit
Now your back at your PC. Do the following step to get the .tar file off your phone.
c:\Android\tools> adb pull /sdcard/efs.tar
Almost done. Move the efs.tar file to the same direction as ODIN and the follow the last directions in Da_G's thread. I'll post them below for just for clarity.
"Now, get into download mode, open odin, stick efs.tar in PDA slot, and press start. Bam! EFS fixed"
This worked for me, several times. Once you have the /EFS directory in ODIN flashable tar format - you really have to work hard to brick your phone.
Hope this helps!
If I flash back to stock using ODIN, would that also put things back to right ?
@bsc7080xsc
It should. You might have to do a factory reset if the device shows as locked, but otherwise it's worked for me many times.
Hi
backedup my efs folder through this thread in combination with roto.
cellgeek in your post you say : " busybox cat efs_folder_backup_stl3.img > /sdcard/efs.rfs (this is the key step!!)"
But i never made an .img file/folder.
both the dd and cat created an rfs file which i turned to tar.
am i missing a step?
thank you for your little extra guide.
that's a very useful Candanga
several times saved my ass
thanks !
Thank you VERY much OP, that worked for me
Sorry to revive if this is old;
Why won't rm -rf /efs/nv_data.bin.md5 work in terminal? It gives me an error along the lines of this is a read-only file etc?
geesamsungs said:
Sorry to revive if this is old;
Why won't rm -rf /efs/nv_data.bin.md5 work in terminal? It gives me an error along the lines of this is a read-only file etc?
Click to expand...
Click to collapse
Try "busybox rm -rf /efs/nv_data.bin.md5"
Thanks that was very useful but I have a problem here.
When I copy my nv_data.bin file to efs directory I can only change the ownership but not the group!
I tried both of this:
su
busybox chown 1001:1001 /efs/nv_data.bin or
chown 1001:1001 /efs/nv_data.bin
Click to expand...
Click to collapse
and
su
busybox chown radio:radio /efs/nv_data.bin or
chown radio:radio /efs/nv_data.bin
Click to expand...
Click to collapse

[provider unlock] samsung galaxy 551 GT-i5510

Hi,
I have purchased a 5510 for one of my parents, without Contract, but blocked by a French provider: "Bouygues Telecom".
I think that's going to be easy to unlock, but I have not yet find how.
The phone has been flashed on the latest stock rom samsung (samfirmware) and it is not root.
if the root is necessary, what app or software is needed? and how to unlock?
ps: as a purchase without Contract, I can not ask my provider to unlock it.
[solved]
this solution works for me with the last rom samsung and rooted by "SuperOneClickv2.3.3-ShortFuse".
it's in french, so good luck with google translate!
phonandroid.com/forum/desimlocker-samsung-ace-s5830-en-invite-de-commande-t4206.html
alucka said:
this solution works for me with the last rom samsung and rooted by "SuperOneClickv2.3.3-ShortFuse".
it's in french, so good luck with google translate!
phonandroid.com/forum/desimlocker-samsung-ace-s5830-en-invite-de-commande-t4206.html
Click to expand...
Click to collapse
I can confirm this works on my I5510M from Bell Mobility. I just tried it using a TELUS sim card.
Here are the steps I took:
0. Type in dial pad *#7465625#, make sure network lock is [ON]... if not you're not simlocked
1. If phone is not rooted, download SuperOneClickv2.2-ShortFuse.zip from this thread: http://forum.xda-developers.com/showthread.php?t=803682
2. Connect the phone to your computer using, windows 7 installed the correct drivers for me
3. Once the drivers are installed, disconnect your phone
4. Open SuperOneClick
5. Reconnect your phone to the computer
6. Press Root in SuperOneClick... wait for it to finish (may take ~2-5 min)
7. Your phone is now rooted, hooray
8. Make sure your phone is in debug mode. Settings > Applications > Developer > Debug Mode
9. Copy ADB folder from SuperOneClick folder to C:\
10. Open command prompt (start > run > cmd)
11. Type in the following commands:
Code:
cd C:/adb (navigate to the adb folder you just placed)
adb devices (to verify device is connected)
adb shell
su
cat /dev/bml5>/sdcard/bml5.img (thats an "L" not a "one")
exit
You just copied bml5 binary to the root of your sdcard. If you get access denied, your phone was not properly rooted, try again.
12. Mount your SDCard and copy bml5.img to your desktop
13. Download HexEdit here: http://www.physics.ohio-state.edu/~prewett/hexedit/
14. Open bml5.img in HexEdit
15. Press FIND, select HEX, and paste in "FF FF FF FF FF FF FF FF FF FF 30 30 30 30 30 30 30 30" (without quotes), then press OK
16. It should find the hex sequence, look to the right pane of HexEdit and you'll see an 8-digit numeric code (mine was split over two lines). This is your sim unlock code. Write down this code.
17. Turn off your phone
18. Place another networks simcard in your phone, and turn your phone back on
19. After it boots, it'll say this phone is network locked, and prompt for an unlock code... type the code found in step 16
20. If it doesn't prompt type in in the dialer: #7465625*638*# then type in your code
21. It should unlock no problem
22. Double check by typing *#7465625# in the dialer and making sure Network Lock is [OFF]
Let me know if you have any questions. Cheers.
stuasmo City
JT-on said:
I can confirm this works on my I5510M from Bell Mobility. I just tried it using a TELUS sim card.
Here are the steps I took:
0. Type in dial pad *#7465625#, make sure network lock is [ON]... if not you're not simlocked
1. If phone is not rooted, download SuperOneClickv2.2-ShortFuse.zip from this thread: http://forum.xda-developers.com/showthread.php?t=803682
2. Connect the phone to your computer using, windows 7 installed the correct drivers for me
3. Once the drivers are installed, disconnect your phone
4. Open SuperOneClick
5. Reconnect your phone to the computer
6. Press Root in SuperOneClick... wait for it to finish (may take ~2-5 min)
7. Your phone is now rooted, hooray
8. Make sure your phone is in debug mode. Settings > Applications > Developer > Debug Mode
9. Copy ADB folder from SuperOneClick folder to C:\
10. Open command prompt (start > run > cmd)
11. Type in the following commands:
Code:
cd C:/adb (navigate to the adb folder you just placed)
adb devices (to verify device is connected)
adb shell
su
cat /dev/bml5>/sdcard/bml5.img (thats an "L" not a "one")
exit
You just copied bml5 binary to the root of your sdcard. If you get access denied, your phone was not properly rooted, try again.
12. Mount your SDCard and copy bml5.img to your desktop
13. Download HexEdit here: http://www.physics.ohio-state.edu/~prewett/hexedit/
14. Open bml5.img in HexEdit
15. Press FIND, select HEX, and paste in "FF FF FF FF FF FF FF FF FF FF 30 30 30 30 30 30 30 30" (without quotes), then press OK
16. It should find the hex sequence, look to the right pane of HexEdit and you'll see an 8-digit numeric code (mine was split over two lines). This is your sim unlock code. Write down this code.
17. Turn off your phone
18. Place another networks simcard in your phone, and turn your phone back on
19. After it boots, it'll say this phone is network locked, and prompt for an unlock code... type the code found in step 16
20. If it doesn't prompt type in in the dialer: #7465625*638*# then type in your code
21. It should unlock no problem
22. Double check by typing *#7465625# in the dialer and making sure Network Lock is [OFF]
Let me know if you have any questions. Cheers.
Click to expand...
Click to collapse
Thanks, I can find the hexstrings 24 times in the image file but none of them has a 8 digit numeric string close by.
For unlocking purpose I need to copy /dev/bml15, I was able to access it but after flashing I can't access it any more,any ideas?
/dev/bml15: No such device or address
thanks.
# id
id
uid=0(root) gid=0(root)
# ls -l /dev/bml15
ls -l /dev/bml15
brwxrwx--- root root 137, 15 2013-01-06 14:54 bml15
# ls -l /dev/block/bml15
ls -l /dev/block/bml15
/dev/block/bml15: No such file or directory
# cat /dev/bml15 > /sdcard/bml15.img
cat /dev/bml15 > /sdcard/bml15.img
/dev/bml15: No such device or address
# dd if=/dev/bml15 of=/sdcard/bml15.img
dd if=/dev/bml15 of=/sdcard/bml15.img
/dev/bml15: cannot open for read: No such device or address
# ls -l /dev/bml15
ls -l /dev/bml15
brwxrwx--- root root 137, 15 2013-01-06 14:54 bml15
# which cat
which cat
/system/bin/cat
# id
id
uid=0(root) gid=0(root)
# uname -a
uname -a
Linux localhost 2.6.32.9-perf #21 PREEMPT Fri Jun 10 11:53:15 IST 2011 armv6l GNU/Linux
#
Worked for me - also a GT-i5510 from Bell
falcon09 said:
Thanks, I can find the hexstrings 24 times in the image file but none of them has a 8 digit numeric string close by.
Click to expand...
Click to collapse
I found it a few lines up from where the first occurrence of the string was. In the Hex editor, try scrolling up a few lines and see if there's an 8 digit code that isn't 00000000 - my stuck out like a sore thumb once I went back a few lines.
falcon09 said:
For unlocking purpose I need to copy /dev/bml15, I was able to access it but after flashing I can't access it any more,any ideas?
/dev/bml15: No such device or address
Click to expand...
Click to collapse
Are you trying to copy /dev/bml15 or /dev/bml5? The instructions I followed were for /dev/bml5 and that worked for my phone.
Colin
Why i can't find the 8 digit numbers ?
that's awesome !!! was able to do mine.. I'm too happy to search for this thing as i was going to pay for the unlock... Thanks for sharing this buddy !!
thanks for the guide
Another Bell success story
My wife is on Bell and I'm on Telus. The only reason she hasn't switched is that Telus doesn't have a QWERTY phone she likes. These instructions worked flawlessly on her 551. XP found and installed the drivers with no problems. I used ES File Manager to copy bml5.img from the SD card to a shared folder on the XP machine via WiFi. When I ran the hex editor there was only one match for the hex search string and I scrolled up 2 lines and saw the code. I popped my Telus SIM in her phone and when it powered up it prompted me for an unlock code. I entered the code and made a couple of test calls.
I have attached a prtscr of the hex editor with the search string hilighted. Note that it's repeated 3 times and the scroll bar shows it's near the end of the file.
greetings and thanks...
Excellent contribution, I have a GT-I5510L and follow his footsteps, at first the computer gave me two errors but it was nothing serious, and then did the miracle, but the hex editor to use was the XVI32, I saw a little more faster and easier to use.
I can vouch that this method works great. Purchased a Bell branded phone for my wife (she broke her S3), followed the steps and voila!
Kudos.
I get in hexeditor this messge
search string not found
what can i do please !?
Read Only?
when I do the command "cat /dev/bml5>/sdcard/bml5.img" I get an error saying "cannot create /sdcard/bml5.img: read-only file system"
Help anyone?! xD
sahacing said:
thanks for the guide
Click to expand...
Click to collapse
thanks work whell on mine bell now its on Rogers
works well lol jus tried it
THANKS JT-ON!
Grandpa needed simple phone for just making phone call, I had 551 collecting dust but those online unlocking sites were asking $25~$30 for unlock code, which is probably more than what phone is worth...
unlocked mine following your instruction!
just want let everyone this works but you have to use HexEdit, nothing else.
URL on JT's guide is not working, i downloaded some other random Hex reader and it did not find the FF FF 30 30....
I found HexEdit from some other site and it found FF FF 30 30 sequence no problem.
JT-on said:
I can confirm this works on my I5510M from Bell Mobility. I just tried it using a TELUS sim card.
Here are the steps I took:
0. Type in dial pad *#7465625#, make sure network lock is [ON]... if not you're not simlocked
1. If phone is not rooted, download SuperOneClickv2.2-ShortFuse.zip from this thread: http://forum.xda-developers.com/showthread.php?t=803682
2. Connect the phone to your computer using, windows 7 installed the correct drivers for me
3. Once the drivers are installed, disconnect your phone
4. Open SuperOneClick
5. Reconnect your phone to the computer
6. Press Root in SuperOneClick... wait for it to finish (may take ~2-5 min)
7. Your phone is now rooted, hooray
8. Make sure your phone is in debug mode. Settings > Applications > Developer > Debug Mode
9. Copy ADB folder from SuperOneClick folder to C:\
10. Open command prompt (start > run > cmd)
11. Type in the following commands:
Code:
cd C:/adb (navigate to the adb folder you just placed)
adb devices (to verify device is connected)
adb shell
su
cat /dev/bml5>/sdcard/bml5.img (thats an "L" not a "one")
exit
You just copied bml5 binary to the root of your sdcard. If you get access denied, your phone was not properly rooted, try again.
12. Mount your SDCard and copy bml5.img to your desktop
13. Download HexEdit here: http://www.physics.ohio-state.edu/~prewett/hexedit/
14. Open bml5.img in HexEdit
15. Press FIND, select HEX, and paste in "FF FF FF FF FF FF FF FF FF FF 30 30 30 30 30 30 30 30" (without quotes), then press OK
16. It should find the hex sequence, look to the right pane of HexEdit and you'll see an 8-digit numeric code (mine was split over two lines). This is your sim unlock code. Write down this code.
17. Turn off your phone
18. Place another networks simcard in your phone, and turn your phone back on
19. After it boots, it'll say this phone is network locked, and prompt for an unlock code... type the code found in step 16
20. If it doesn't prompt type in in the dialer: #7465625*638*# then type in your code
21. It should unlock no problem
22. Double check by typing *#7465625# in the dialer and making sure Network Lock is [OFF]
Let me know if you have any questions. Cheers.
Click to expand...
Click to collapse
work ok thank you

[Q] How do I get a £ sign with CM7 on a UK DZ?

Hi there,
Recently converted to CM7 after years of Sense ROMs and I'm loving it. But I have one question, how do I make FN-z on the physical keyboard produce a £ sign?
I've got the keyboard language set to English (United Kingdom) but that doesn't seem to make any difference.
Regards,
Richard
Change the characterlayout in /system/usr/keychars
In all *.kcm files add these lines to the Z key:
Code:
alt: '\u00A3'
shift+alt:'\u00A3'
To make it look like this:
Code:
key Z {
label:'Z'
base:'z'
shift, capslock:'Z'
alt: '\u00A3'
shift+alt:'\u00A3'
}
Do so in all files, to make sure it's loaded whatever keyboard file you're using.
Ah, I notice this is the case in MIUI roms as well.
Would this work there also? I see the kcm files are bin files, how exactly are we editing them, just open as text file I assume?
It should work on any custom rom, unless the keymapping is done diffrent then usally. Just try it, and if it doesn't work or your phone won't start anymore (enters a bootloop) , just reflash your custom rom, without wiping. Then only homescreen settings and system settings will get lost. Personal and data settings will not be touched.
Just to confirm though, are you editing it as a txt file or what? I have no knowledge of editing bin files which the kcm files seem to be.
Eg: vision-keypad-ell.kcm.bin
As textfile yes, but they should be just plain *.kcm files, not *.bin as I believe, let me check that, to be sure.
--Edit:
They are just *.kcm, not *.bin, but I'm not sure how that's done in other Roms..
If there are only *.bin files, then I don't know how to edit those.. I know that *.kcm can be edited as plain text file.
Cool, I'll look into it.
I notice you put '*.kcm'. My memory is failing me but doesn't this mean hidden files? In which case I didn't look for them.
EDIT: Nah just looked, they are all BIN files. Looks like MIUI does things differently.
Oh well.
The star doesn't mean they're hidden, it is a joker sign. Just means all filenames that end with .kcm (wich is the extention). The .bin files are packed files, binary files. But I can't remember how to edit those as plain text... Try to do it with something like hexeditor on the pc.
lineaira said:
Change the characterlayout in /system/usr/keychars
In all *.kcm files add these lines to the Z key:
Code:
alt: '\u00A3'
shift+alt:'\u00A3'
To make it look like this:
Code:
key Z {
label:'Z'
base:'z'
shift, capslock:'Z'
alt: '\u00A3'
shift+alt:'\u00A3'
}
Do so in all files, to make sure it's loaded whatever keyboard file you're using.
Click to expand...
Click to collapse
All the files that I have in the folder you specified are *.kcm.bin. I guess I need to find the .kcm source files some where and compile them?
Regards,
Richard
You can pull them from your phone with adb. Then edit them with a program like hexeditor.
I can't explain how, as I do not have any *.bin files on my phone or other rom.
If I can find one somewhere in a download or something (you are on CM7 if I'm right) I'll post instructions tomorrow about how to do it. If you'd like me to, that is.
lineaira said:
You can pull them from your phone with adb. Then edit them with a program like hexeditor.
I can't explain how, as I do not have any *.bin files on my phone or other rom.
If I can find one somewhere in a download or something (you are on CM7 if I'm right) I'll post instructions tomorrow about how to do it. If you'd like me to, that is.
Click to expand...
Click to collapse
If you could I would be interested
HOW TO: remap the £ back to FN+Z
Okay here we go.
Before we begin, I suppose that you all know how to set up an adb session with your phone..
And you need this program to be installed on your PC:
Free Hex Editor Neo
You should make a backup of your current working ROM with your favorite recovery, so if something goes wrong, you can just reflash the backup, instead of loosing all your data and settings.
Now start a cmd prompt on your pc (Windowskey+R, type "cmd" hit enter)
browse to your platform-tools directory (cd path-to-platformtools)
Make sure your phone is connected:
Code:
adb devices
And execute these lines:
Code:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
exit
You can now read and write to the /system folder on your phone.
Next you need to pull the *.kcm.bin file you'd like to edit. (For the OP this is most likely the "vision-keypad.kcm.bin" or the "vision-keypad-wwe.kcm.bin", but if they aren't the ones used.. then try and edit the "qwerty.kcm.bin" or "generic.kcm.bin" files)
This is done by entering the following:
Code:
adb pull /system/usr/keychars/vision-keypad-wwe.kcm.bin /tmp/vision-keypad-wwe.kcm.bin
Or one of the many other files if this one isn't working.
Minimize the cmd screen for now and browse on your computer to the platform-tools folder (or the folder where you executed the adb from) there should be an new folder called "tmp", in that folder you'll find the file you just pulled from your phone.
Hit it with a right mouse-click and click "Edit with HDD Hex Editor Neo". (If that option is not available, start the Hex Editor and open the file from within the editor)
The first row and columns are blue, except for the first one on the far left-top side, this one is white.
Click it and type: "0000027c" and hit enter.
Now there are some hexadecimals selected in green. On the far right side of that row should be something like this: "6...Z.9.z.Z"
(If that isn't the case, find the line that does look like that and edit that line)
In the green field you've got, change the value to: "a3" (just type)
The cursor will automatically go to the next value, which is "00" leave that.
Press the arrow-key to the right once and edit that value to "a3" as well.
The field on the right side should now display something like: "6...Z.9.z.Z.£.£."
That's it, save the file and push it back to your phone by entering the following in the cmd window you minimized:
Code:
adb push /tmp/vision-keypad-wwe.kcm.bin /system/usr/keychars/vision-keypad-wwe.kcm.bin
Then restart the phone and it should be working!
----
I used the file in the .zip attached as my example file, to see how to do it.
Where do you get the list of codes ? Need the Euro Symbol code ? __=€
Thanks
Edit google is my friend,tried 80 which shows in my file but just get a blank keypress?
bombadier said:
Where do you get the list of codes ? Need the Euro Symbol code ? __=€
Thanks
Edit google is my friend,tried 80 which shows in my file but just get a blank keypress?
Click to expand...
Click to collapse
The Euro € sign is set in the X key.
That line is: "4...X.x.X."
If you want it in the Z key, type "0000027c" in the left top box and hit enter, type "ac20ac20" That'll give you the euro sign. Then the field on the right looks like this: "6...Z.z.Z.- - "
If you want it in the X key, type "0000025c" in the left top box and hit enter, type "ac20ac20" That'll give you the euro sign. (string on the right looks like: "4...X.x.X.- - ")
Thanks for that!
It'll be fun trying this on Linux.
I'll let you know how I get on when I find the time.
Myrmidon83 said:
Thanks for that!
It'll be fun trying this on Linux.
I'll let you know how I get on when I find the time.
Click to expand...
Click to collapse
For linux you can do the same as you need to do for windows. The only thing is that you have to find software which can edit binary files. A nice GUI based editor is ghex.
it's available in the universe repository.
Code:
$ sudo apt-get install ghex
Lineaira,
Thanks for this info. It worked fine! I now have a GBP sign on Fn-Z.
Regards,
Richard
Easier way. Download the attached file, unzip it and place the contained file on the root of your sdcard, then type in the following commands using Terminal Emulator:
su
mount -o rw,remount /system
busybox cp /sdcard/vision-keypad-wwe.kcm.bin /system/usr/keychars
reboot
Found this over at the Cyanogenmod forums ages ago
setspeed said:
Easier way. Download the attached file, unzip it and place the contained file on the root of your sdcard, then type in the following commands using Terminal Emulator:
su
mount -o rw,remount /system
busybox cp /sdcard/vision-keypad-wwe.kcm.bin /system/usr/keychars
reboot
Found this over at the Cyanogenmod forums ages ago
Click to expand...
Click to collapse
It is easier, but not as much fun and satisfying as doing it yourself, I'd say;p
lineaira said:
It is easier, but not as much fun and satisfying as doing it yourself, I'd say;p
Click to expand...
Click to collapse
Exactly,I wanted to learn how to do it myself and now that I know I would say it is just as easy to pull the file from the phone make my edits push it back and job done don't even have to reboot,thanks again for the guidance Lineaira

[TUTORIAL] Unlocking(relocking) Samsung Galaxy Ace GT-S5830i

At the beginning, i gave my girlfriend a galaxy ace GT-S5830i.
My Network is the Telenor, Her is the T-Mobile.
So i wanted to unlock it..
All the methods of the GT-S5830 isnt worked.
After few long days, ive found a relock method (Network Provider Change (not unlock))
Progies, you need:
- Android SDK (or simply an ADB environment, below uploaded)
- KIES (only for the drivers)
- Root file(below uploaded)
- Hex editor(Below uploaded)
First you have to root your phone.
- Copy the update.zip to SD card
- Turn off phone
- Press and hold the Home button, and the volume up button.
- Press and hold the power button, until the Galaxy Ace text appears and disappears.
- When disappears, release only the power button...
- Wait until the Galaxy Ace text appears and turns into bright yellow.
- Release all the buttons, and the recovery comes up.
-Choose the apply update from SD card, then choose the zip, you copied.
reboot your phone...
Alright, Here comes the relock procedure
- First make sure, the usb debug is turned on...
[Settings>applications>Development>USB Debugging]
and the drivers are installed correctly (if it isn't, then install KIES)
- exrtact the ADB.zip from below to C:\
- Open Start Menu, then open Run command, and write here :
cmd
Then a command prompt comes up..
The commands:
Code:
c:
cd adb
adb shell
su !! A SU windows pops up in your phone.. Allow it !!
cat dev/block/bml15 > /data/local/bml15.bin
exit
exit
adb pull data/local/
Open this link:
h t t p :// en . wikipedia . org/wiki/Mobile_Network_Code [remove the spaces]
Search for your current MCC and MNC.
and the provider, you wanted to change to.
write it down. First the MCC and then the MNC
For example i'd like to change from hungarian Telenor to hungarian T-Mobile
So for the hungarian telenor's MCC is 216 and MNC is 01 => 21601
and the hungarian T-Mobile's MCC is 216 and MNC is 30 => 21630
Extract the XVI32, you downloaded.
open it, and open the bml15.bin in your C:\ADB
Press ctrl+F
At the Text String line enter your code (my example code is: 21601)
press ok
Change it to your next code (My example next code is: 21630)
Save it as bml15_unlocked.bin
Then open your command prompt again.
Code:
c:
cd adb
adb push bml15_unlocked.bin /data/local/bml15_unlocked
adb shell
su
dd if=/data/local/bml15_unlocked of=/dev/bml15
exit
exit
Reboot your phone with the new sim card
Cuii said:
At the beginning, i gave my girlfriend a galaxy ace GT-S5830i.
My Network is the Telenor, Her is the T-Mobile.
So i wanted to unlock it..
Click to expand...
Click to collapse
much easier way in my sig, also applicable for ACE S5830i
Doky73 said:
much easier way in my sig, also applicable for ACE S5830i
Click to expand...
Click to collapse
Yes much easier thanks unlocked my S5830i no problems!! cheers!!!
Cuii said:
Code:
c:
cd adb
adb shell
su !! A SU windows pops up in your phone.. Allow it !!
cat dev/block/bml15 > /data/local/bml15.bin
exit
exit
adb pull data/local/
Click to expand...
Click to collapse
Sorry I'm fairly new to this sort of stuff, how should I enter the code?
TootyPang said:
Sorry I'm fairly new to this sort of stuff, how should I enter the code?
Click to expand...
Click to collapse
Forget about this commands, if your device is S5830i then download Galaxy Toolbox from Google Play Store! It's free...
See my sig!
Sent from my SGSII using Tapatalk 2 & Swype
... "by George Orwell"
Doky73 said:
Forget about this commands
Click to expand...
Click to collapse
some will prefer to press a button some want the hard way and finally all are winners
unfortunately I don't have a Samsung phone to test it but surely someone is to appreciate first post on this thread too !
Great post Cuii easy to follow!
I was able to pull the bml15.bin. But now when I opened it, I have trouble finding the unlocking code. It doesn't seem tho match the wikipage
Can someone tell me on which line the code can be found? It's mentioned in XVI32 on the left (in hexadecimal) and on the bottom in decimal address.
Thanks!
<edit> : never mind it turned out my new phone was already simlock free !!! it was supposed to be simlock at delivery. I guess my provider made a mistake
Thanks this has saved my mates phone (he imported it was supposed to be unlocked but it wasnt). I tried every other procedure without success but this worked. Cheers
very nice tutorial keep sharing THANKS!!!!
Did not work
Hello I tried the rooting as suggested and my phone does not turn on now. All it does is flash, I tried to flash my phone and still does the same thing after it reboots. Odin says that it passes but it still does not.
Any suggestions?
thanks
Cuii said:
At the beginning, i gave my girlfriend a galaxy ace GT-S5830i.
My Network is the Telenor, Her is the T-Mobile.
So i wanted to unlock it..
All the methods of the GT-S5830 isnt worked.
After few long days, ive found a relock method (Network Provider Change (not unlock))
Progies, you need:
- Android SDK (or simply an ADB environment, below uploaded)
- KIES (only for the drivers)
- Root file(below uploaded)
- Hex editor(Below uploaded)
First you have to root your phone.
- Copy the update.zip to SD card
- Turn off phone
- Press and hold the Home button, and the volume up button.
- Press and hold the power button, until the Galaxy Ace text appears and disappears.
- When disappears, release only the power button...
- Wait until the Galaxy Ace text appears and turns into bright yellow.
- Release all the buttons, and the recovery comes up.
-Choose the apply update from SD card, then choose the zip, you copied.
reboot your phone...
Alright, Here comes the relock procedure
- First make sure, the usb debug is turned on...
[Settings>applications>Development>USB Debugging]
and the drivers are installed correctly (if it isn't, then install KIES)
- exrtact the ADB.zip from below to C:\
- Open Start Menu, then open Run command, and write here :
cmd
Then a command prompt comes up..
The commands:
Code:
c:
cd adb
adb shell
su !! A SU windows pops up in your phone.. Allow it !!
cat dev/block/bml15 > /data/local/bml15.bin
exit
exit
adb pull data/local/
Open this link:
h t t p :// en . wikipedia . org/wiki/Mobile_Network_Code [remove the spaces]
Search for your current MCC and MNC.
and the provider, you wanted to change to.
write it down. First the MCC and then the MNC
For example i'd like to change from hungarian Telenor to hungarian T-Mobile
So for the hungarian telenor's MCC is 216 and MNC is 01 => 21601
and the hungarian T-Mobile's MCC is 216 and MNC is 30 => 21630
Extract the XVI32, you downloaded.
open it, and open the bml15.bin in your C:\ADB
Press ctrl+F
At the Text String line enter your code (my example code is: 21601)
press ok
Change it to your next code (My example next code is: 21630)
Save it as bml15_unlocked.bin
Then open your command prompt again.
Code:
c:
cd adb
adb push bml15_unlocked.bin /data/local/bml15_unlocked
adb shell
su
dd if=/data/local/bml15_unlocked of=/dev/bml15
exit
exit
Reboot your phone with the new sim card
Click to expand...
Click to collapse
thanks
Just perfect
Doky73 said:
much easier way in my sig, also applicable for ACE S5830i
Click to expand...
Click to collapse
Using Dorky's way of unlocking my GT-S5830i was exactly what I needed, so I made a sizeable donation and I won't say thank you:laugh:
Thanks
Doky73 said:
much easier way in my sig, also applicable for ACE S5830i
Click to expand...
Click to collapse
I know you said not to say thanks but are you aware of the heartache you save some ppl who are trying to unlock their phones, not to mention time. I spent hours trying to unlock my 5830i with the Root, Busybox, Galaxy Unlock method all to no avail, I kept getting that the unlock code was "or or or or" with no actual codes showing. I had convinced myself my phone could not be unlocked because of the i after the 5830 as everybody with a std 5830 seemed to be doing fine, that was until I found your great app. To be honest I have not donated as things are not that great but I will. :good:
Thanks a lot!
Succesfully unlocked my 5830.
Hi @Cuii
Extract the XVI32, you downloaded.
open it, and open the bml15.bin in your C:\ADB
Click to expand...
Click to collapse
I don't understand your mean.
When I Extract, and open downloaded file, And not have the bml15.bin !
Please help me this problem.
Thanks you
samsung galaxy ace network lock
c:
cd adb
adb shell
su !! A SU windows pops up in your phone.. Allow it !!
cat dev/block/bml15 > /data/local/bml15.bin
exit
exit
am stuck on the cmd code.
path error

Categories

Resources