[TUTORIAL] Unlock Samsung [GT-S5570 / i5500 / Galaxy Ace]

Search This thread

Androidin'

Member
Sep 16, 2010
44
0
Vancouver
Trying this on a Virgin/Bell GT-S6550m

I used method 2 and it seems to work where it now accepts a sim card from another network. However the network locks turns back on after a reset of the phone. Has anyone else run into this? Even when I pop in my sim card that should work now that it's supposed to be unlocked, it tells me I'm roaming on my own cell network.
 

skiptomylou11

Senior Member
Mar 31, 2009
178
3
San Antonio, TX
Got this phone through work but it's SIM unlocked, instead of having to wait 2 weeks for them to replace it, I have tried to unlock it myself.


Long story short, I was able to root it with ease, put in the commands and what not, but I can't for the life of me find the unlock code. Can anyone lend a hand? It would very much be appreciated.
 

Attachments

  • bml5.zip
    240.1 KB · Views: 40

Osni~*

Member
Dec 15, 2010
35
9
São Paulo
Thanks a lot for this tutorial, I spent the entire afternoon trying do unlock an I5500 that I found (I even managed to brick it >_<)

It was super easy to follow your tutorial and I found the unlock code after the first search!
 
  • Like
Reactions: DMitch16

mike.tfc

Member
Dec 8, 2012
9
2
Samsung Galaxy Discover

I was trying this on a Samsung Galaxy Discover S730M with Android v4.0.4 (Ice Cream Sandwich) but there is no /dev/block/bml5 device. This is the content of /dev/block:

[email protected]:/ $ ls -l /dev/block/
ls -l /dev/block/
brw------- root root 7, 0 2013-03-23 22:49 loop0
brw------- root root 7, 1 2013-03-23 22:49 loop1
brw------- root root 7, 2 2013-03-23 22:49 loop2
brw------- root root 7, 3 2013-03-23 22:49 loop3
brw------- root root 7, 4 2013-03-23 22:49 loop4
brw------- root root 7, 5 2013-03-23 22:49 loop5
brw------- root root 7, 6 2013-03-23 22:49 loop6
brw------- root root 7, 7 2013-03-23 22:49 loop7
brw------- root root 179, 0 2013-03-23 22:49 mmcblk0
brw------- root root 179, 1 2013-03-23 22:49 mmcblk0p1
brw------- root root 179, 10 2013-03-23 22:49 mmcblk0p10
brw------- root root 179, 11 2013-03-23 22:49 mmcblk0p11
brw------- root root 179, 12 2013-03-23 22:49 mmcblk0p12
brw-rw---- system system 179, 13 2013-03-23 22:50 mmcblk0p13
brw------- root root 179, 14 2013-03-23 22:49 mmcblk0p14
brw------- root root 179, 15 2013-03-23 22:49 mmcblk0p15
brw------- root root 179, 16 2013-03-23 22:49 mmcblk0p16
brw-rw---- system system 179, 17 2013-03-23 22:49 mmcblk0p17
brw-rw---- system system 179, 18 2013-03-23 22:49 mmcblk0p18
brw------- root root 179, 19 2013-03-23 22:49 mmcblk0p19
brw------- root root 179, 2 2013-03-23 22:49 mmcblk0p2
brw------- root root 179, 20 2013-03-23 22:49 mmcblk0p20
brw------- root root 179, 21 2013-03-23 22:49 mmcblk0p21
brw------- root root 179, 22 2013-03-23 22:49 mmcblk0p22
brw------- root root 179, 23 2013-03-23 22:49 mmcblk0p23
brw------- root root 179, 3 2013-03-23 22:49 mmcblk0p3
brw------- root root 179, 4 2013-03-23 22:49 mmcblk0p4
brw------- root root 179, 5 2013-03-23 22:49 mmcblk0p5
brw------- root root 179, 6 2013-03-23 22:49 mmcblk0p6
brw------- root root 179, 7 2013-03-23 22:49 mmcblk0p7
brw------- root root 179, 8 2013-03-23 22:49 mmcblk0p8
brw------- root root 179, 9 2013-03-23 22:50 mmcblk0p9
lrwxrwxrwx root root 2013-03-23 22:49 param -> /dev/block/mmcblk0p13
drwxr-xr-x root root 2013-03-23 22:49 platform
drwxr-xr-x root root 2013-03-23 22:49 vold
[email protected]:/ $


Any suggestions? Is this procedure for Android 2 only?
Thank you.
 
Last edited:

Flowyk

Senior Member
Aug 23, 2011
223
17
my /sdcard/ is read only ... where to save output (I have 130MB free in internal memory)
 

manuelserpa

New member
May 2, 2006
1
0
Porto
I have the Galaxy I5500 and I already extract the unlock code (15240631) from the bml5.img (zipped in attach), then i have flash the Stock rom from samfirmware (android version 2.2) and i try to unlocked unsuccessfully,

Can anyone tell me any workaround ?
Or maybe the code that I have found is not the correct one ?

I will appreciate any help on this, because the Network company request 50€ for the unlock code....
 

Attachments

  • bml5.zip
    291.8 KB · Views: 24

Myst0gaN

Senior Member
Apr 5, 2012
278
33
I have the Galaxy I5500 and I already extract the unlock code (15240631) from the bml5.img (zipped in attach), then i have flash the Stock rom from samfirmware (android version 2.2) and i try to unlocked unsuccessfully,

Can anyone tell me any workaround ?
Or maybe the code that I have found is not the correct one ?

I will appreciate any help on this, because the Network company request 50€ for the unlock code....

you can try it again ,but i found this (1 5 2 4 0 6 3 1)
maybe you need to upgrade to gingerbread 2.3.6 (i think that 2.2 is froyo)

P.S i do't have a phone like yours
 

dagothe9

Senior Member
Apr 16, 2012
190
56
Genova
I have the Galaxy I5500 and I already extract the unlock code (15240631) from the bml5.img (zipped in attach), then i have flash the Stock rom from samfirmware (android version 2.2) and i try to unlocked unsuccessfully,

Can anyone tell me any workaround ?
Or maybe the code that I have found is not the correct one ?

I will appreciate any help on this, because the Network company request 50€ for the unlock code....

try a 2.3 rom!
 

T_D_H

Senior Member
hey tried this on a GT-I5800D but couldnt find the FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 30 30 30 30 30 30 30 30 on the bml5.img, I attached the file if anyone has more experience with this
 

Attachments

  • bml5.rar
    4.1 MB · Views: 52

Tr1gun

Member
Mar 15, 2012
16
1
Cause your using stock rom.
You need to use cm7

Sent from my GT-S5570 using Tapatalk 2

but how i can change the firmware if odin don't see the phone...
i can use phil-touch recovery and flash the new rom from the recovery? (i have galaxy s2 version is the same for all?)
 
Last edited:

behzad00

Account currently disabled
Jan 16, 2010
111
6
Sanandaj
Get me Unlock Code Please,tnx

My Phone is Galaxy Mini S5570i

I Unlock it with ToolBox easilly
 

Attachments

  • bml5.zip
    5.1 MB · Views: 108
Last edited:

Viviana1987

New member
Nov 25, 2009
2
0
Help!!

Hi, did everything but when I search the code, it finds nothing. How long can it go until the code is found? I have a Galaxy Mini GT-S5570I. Can someone check the file and you may set send by private message?
Would be very grateful. Thanks and regards,

Viviana
 

Attachments

  • bml5.rar
    4.5 MB · Views: 24

Top Liked Posts

  • There are no posts matching your filters.
  • 278
    Unlock your Samsung Phone
    [GT-S5570 / more...]

    ------------------------------------------------------------------------------------------------------------------------------------------------------------
    First i would like to say some words about this thread. I made this thread at some users requests, original thread contains some obsolete method for unlocking, making some people brick theyr phone. The last method and safe one, was somewhere mixed through other posts from different method and may confuse users. I just rewrite this from 0 for a better understanding and possible questions, discussions about this. I don't own anything from method used.

    Original author of method: tweakradje
    Original thread: http://forum.xda-developers.com/showthread.php?t=828534&page=34
    ------------------------------------------------------------------------------------------------------------------------------------------------------------

    This tutorial was tested on a Samsung GT-S5570 ( Galaxy Mini ) but worked on some other models too ( i5500 / Galaxy Ace ). For more details you can search in original thread.

    First thing you must know is that in order to keep following this tutorial you must have your phone rooted. Temporary or permanent, both will do the job. For any information about rooting phone ( Android 2.2 / 2.3 ) you can do a quick search on XDA-forum or Google.

    Root Desktop App: SuperOneClick
    SuperOneClick Root Tutorial: Root Tutorial

    Now there are 2 methods for extracting the file we need to obtain unlock code, one using ADB Shell(if you use this method, make sure you have installed Android USB Driver first) or using a Terminal App for phone. ADB comes with Android SDK Tools and Terminal Emulator App from market or somewhere else.

    Method 1 (ADB Shell)

    - Open one instance of "Command Prompt" and go to folder containing ADB tool (adb.exe). (e.g C:\Program Files (x86)\Android\android-sdk\platform-tools>)
    - Make sure your phone is connected to PC and "USB Debugging" it's enabled. (Settings -> Applications -> Development -> USB debugging [X])
    - The following commands will be executed in "Command Prompt" that we opened earlier:
    Code:
    - adb shell
    - su
    - cat /dev/block/bml5>/sdcard/bml5.img
    - exit (2x)
    - adb pull /sdcard/bml5.img


    So let's understand what we did here. First we run remote shell interactively, grant super-user access, extract the bml5 file to /sdcard then copy it to PC.

    The file that we copied to PC should be in C:\Users\~username~\AppData\Local\VirtualStore but you can do a quick search to find it.


    Method 2 (Terminal App)

    - Open Terminal Emulator app
    - Grant Super-user access to application
    - The following commands will be executed in current opened application:
    Code:
    - su
    - cat /dev/block/bml5>/sdcard/bml5.img
    - exit (2x)
    - Close the application.



    bml5 -> (BE-EM-EL-FIVE)
    2x -> run the command 2 times


    Attention: If you run cat command with the path from above and it's says the file doesn't exists or something like that make sure you try "cat /dev/bml5>/sdcard/bml5.img". For Samsung GT-S5570 the files is under /dev/block.

    If you get this message when trying to access .bml file while your connected to PC: Permission Denied then try to get your USB card out of Mass Storage mode, so card won't be used by another process.

    Ok, so after using one of these methods we have our file bml5.img in our PC if we used first method or on our /sdcard if we used second method. Keep in mind that we need this file on our PC, so if you used second method just copy the file to PC!
    Now comes the part where we need to work with the file that we just extracted. So, in order to get the unlock code we need a HEX Editor, i've used XVI32 Hex Editor to open the file.

    Finding the unlock code

    - Open XVI32 Application that we just downloaded. Hit CTRL+O and select the bml5.img file that we extracted earlier. (Open the file)
    - At the first look we will see just a bunch of FF's and 00's and random decimals or symbols, but somewhere deep in there it's our unlock code.
    - Hit CTRL+F to open search dialog, select "Hex String" and put the following search string
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 30 30 30 30 30 30 30 30
    (maybe the search string won't be the same for all phones, but the one from above worked for Samsung GT-S5570)
    - Mark "Case Sensitive", Direction "Down", Scope from "Begin".
    - Click ok, or hit ENTER to start our search.
    - So now, we must hit F3 untill we find our unlock code.
    Our unlock code will be 8 digits plain text surrounded by unknown symbols just like in image below.



    (I've hited F3 like 3 times, but don't know if it's the same for everyone. Also to make sure you see the code, after hitting F3 make sure you go 2-3 rows up to make sure the code is not above the searched string.)
    (Unlock code can be finded in multiple places in file, so if you skip one searched string by mistake, just pay attention for next ones)


    After getting the unlock code, write it somewhere in PC or paper... close the phone, remove the actual SIM Card, insert a foreign one and turn it ON! Wait untill it boots up, insert the unlock code and your done. Now you have an unlocked phone!

    Attention: Unlock code can be extracted using a Custom ROM like CM7 in my case, the file was there, but can't be unlocked since the window to insert code doesn't appear(pop-up). In order to unlock your phone you must have a Stock ROM that actually can read any Samsung code and have that Network unlock code window!
    Most custom roms that tries to remove blur break the subsidy lock interface (sim unlock screen doesn't show on them). If you flash other rom and subsidy unlock screen doesn't pop when you insert foreign sim, you will need to flash back stock ROM in order to unlock. So the easyest way for those of you running a Custom ROM, just do a nandroid backup using CWM, flash Stock ROM, unlock your phone then restore your backup. ;)

    Useful Codes
    *#7465625# - Dial code to check if phone it's network locked.
    #7465625*638*UNLOCK-CODE# - Replace UNLOCK-CODE with your 8 digits number, then dial. Phone might reboot.

    Details about test environment
    Code:
    Phone used: Samsung GT-S5570 (Galaxy Mini)
    Android Version: 2.3.4 (Gingerbread)
    PC Windows: Windows 7 (64-bit)

    ------------------------------------------------------------------------------------------------------------------------------------------------------------
    If you have reached the end of the tutorial and you wasn't able to obtain the unlock code( find numbers like 00000000 / 11111111 ), then it means that your phone it's "Hard Locked" or doesn't have the unlock code provided with the phone. I don't know any solution until now for this problem. For most of the people here, this works flawlessly, for some doesn't work.
    ------------------------------------------------------------------------------------------------------------------------------------------------------------

    If you find this tutorial useful please consider pushing the Thanks button at the end of thread.
    thanks.jpg



    You can also send me a beer by donating :) Thank you.
    4
    Galaxy ace

    Working on galaxy ace android 2.2.1 :)
    4
    Unlock your Samsung Phone
    [GT-S5570]

    ------------------------------------------------------------------------------------------------------------------------------------------------------------
    First i would like to say some words about this thread. I made this thread at some users requests, original thread contains some obsolete method for unlocking, making some people brick theyr phone. The last method and safe one, was somewhere mixed through other posts from different method and may confuse users. I just rewrite this from 0 for a better understanding and possible questions, discussions about this. I don't own anything from method used.

    Original author of method: tweakradje
    Original thread: http://forum.xda-developers.com/showthread.php?t=828534&page=34
    ------------------------------------------------------------------------------------------------------------------------------------------------------------

    This tutorial was tested on a Samsung GT-S5570 ( Galaxy Mini ) but worked on some other models too ( i5500 / Galaxy Ace ). For more details you can search in original thread.

    First thing you must know is that in order to keep following this tutorial you must have your phone rooted. Temporary or permanent, both will do the job. For any information about rooting phone ( Android 2.2 / 2.3 ) you can do a quick search on XDA-forum or Google.

    Root Desktop App: SuperOneClick
    SuperOneClick Root Tutorial: Root Tutorial

    Now there are 2 methods for extracting the file we need to obtain unlock code, one using ADB Shell(if you use this method, make sure you have installed Android USB Driver first) or using a Terminal App for phone. ADB comes with Android SDK Tools and Terminal Emulator App from market or somewhere else.

    Method 1 (ADB Shell)

    - Open one instance of "Command Prompt" and go to folder containing ADB tool (adb.exe). (e.g C:\Program Files (x86)\Android\android-sdk\platform-tools>)
    - Make sure your phone is connected to PC and "USB Debugging" it's enabled. (Settings -> Applications -> Development -> USB debugging [X])
    - The following commands will be executed in "Command Prompt" that we opened earlier:
    Code:
    - adb shell
    - su
    - cat /dev/block/bml5>/sdcard/bml5.img
    - exit (2x)
    - adb pull /sdcard/bml5.img


    So let's understand what we did here. First we run remote shell interactively, grant super-user access, extract the bml5 file to /sdcard then copy it to PC.

    The file that we copied to PC should be in C:\Users\~username~\AppData\Local\VirtualStore but you can do a quick search to find it.


    Method 2 (Terminal App)

    - Open Terminal Emulator app
    - Grant Super-user access to application
    - The following commands will be executed in current opened application:
    Code:
    - su
    - cat /dev/block/bml5>/sdcard/bml5.img
    - exit (2x)
    - Close the application.


    bml5 -> (BE-EM-EL-FIVE)
    2x -> run the command 2 times


    Attention: If you run cat command with the path from above and it's says the file doesn't exists or something like that make sure you try "cat /dev/bml5>/sdcard/bml5.img". For Samsung GT-S5570 the files is under /dev/block.

    Ok, so after using one of these methods we have our file bml5.img in our PC if we used first method or on our /sdcard if we used second method. Keep in mind that we need this file on our PC, so if you used second method just copy the file to PC!
    Now comes the part where we need to work with the file that we just extracted. So, in order to get the unlock code we need a HEX Editor, i've used XVI32 Hex Editor to open the file.

    Finding the unlock code

    - Open XVI32 Application that we just downloaded. Hit CTRL+O and select the bml5.img file that we extracted earlier. (Open the file)
    - At the first look we will see just a bunch of FF's and 00's and random decimals or symbols, but somewhere deep in there it's our unlock code.
    - Hit CTRL+F to open search dialog, select "Hex String" and put the following search string
    Code:
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 30 30 30 30 30 30 30 30
    (maybe the search string won't be the same for all phones, but the one from above worked for Samsung GT-S5570)
    - Mark "Case Sensitive", Direction "Down", Scope from "Begin".
    - Click ok, or hit ENTER to start our search.
    - So now, we must hit F3 untill we find our unlock code.
    Our unlock code will be 8 digits plain text surrounded by unknown symbols just like in image below.

    (I've hited F3 like 3 times, but don't know if it's the same for everyone. Also to make sure you see the code, after hitting F3 make sure you go 2-3 rows up to make sure the code is not above the searched string.)
    (Unlock code can be finded in multiple places in file, so if you skip one searched string by mistake, just pay attention for next ones)


    After getting the unlock code, write it somewhere in PC or paper... close the phone, remove the actual SIM Card, insert a foreign one and turn it ON! Wait untill it boots up, insert the unlock code and your done. Now you have an unlocked phone!

    Attention: Unlock code can be extracted using a Custom ROM like CM7 in my case, the file was there, but can't be unlocked since the window to insert code doesn't appear(pop-up). In order to unlock your phone you must have a Stock ROM that actually can read any Samsung code and have that Network unlock code window!

    So the easyest way for those of you running a Custom ROM, just do a nandroid backup using CWM, flash Stock ROM, unlock your phone then restore your backup. ;)

    Useful Codes:
    *#7465625# - Dial code to check if phone it's network locked.

    Details about test environment
    Code:
    Phone used: Samsung GT-S5570 (Galaxy Mini)
    Android Version: 2.3.4 (Gingerbread)
    PC Windows: Windows 7 (64-bit)

    ------------------------------------------------------------------------------------------------------------------------------------------------------------
    If you have reached the end of the tutorial and you wasn't able to obtain the unlock code( find numbers like 00000000 / 11111111 ), then it means that your phone it's "Hard Locked" or doesn't have he unlock code provided with the phone. I don't know any solution until now for this problem. For most of the people here this works flawlessly, for some doesn't work.
    ------------------------------------------------------------------------------------------------------------------------------------------------------------

    If you find this tutorial useful please consider pushing the Thanks button at the end of thread.
    thanks.jpg



    This tutorial is useful for me. Thanks! But is there an update on what to do if phone is "Hard Locked"? Thanks again.
    3
    Nice work. I will add it to the OP of my thread.

    Cheers
    3
    Nice work. I will add it to the OP of my thread.

    Cheers
    Nice. Thank you :) i hope it's clear enough.
    Cheers