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

Search This thread

Cuii

Member
Aug 29, 2011
7
7
Makó
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 :)
 

Attachments

  • update.zip
    1.1 MB · Views: 5,718
  • xvi32_253.zip
    557.6 KB · Views: 4,732
  • ADB.zip
    375.7 KB · Views: 5,178

pieper2

New member
Jul 29, 2012
3
0
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 ;)
 
Last edited:

the_mouse

Senior Member
Jun 5, 2010
75
4
Masterton
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 :D
 

bigstar16

Member
Mar 16, 2013
14
1
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?
 

cesarou

Member
Jun 29, 2012
8
0
thanks

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 :)

thanks
 

Gerry7

Member
Apr 1, 2014
11
1
Thanks

much easier way in my sig, also applicable for ACE S5830i

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:
 

niteshcausy

New member
Apr 5, 2016
1
0
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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    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..

    much easier way in my sig, also applicable for ACE S5830i
    4
    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 :)
    2
    Sorry I'm fairly new to this sort of stuff, how should I enter the code?

    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