Wednesday 11 April 2012

Samsung Galaxy ACE GT-S5830D HOW TO FIND UNLOCK CODE Android 2.X KOODO BELL VIRGIN

Samsung Galaxy Ace GT-S5830D Android 2.X bought in Canada.

The given instructions worked perfectly. 

Dialing *2767*3855# clear all locks! (note: also factory reset!! note2: use stock ROM)
I found the code in the first search and was only once in the file.

Root using SuperOneClick: http://forum.xda-developers.com/showthread.php?t=803682

Here is how I made SuperOneClick work for me: http://forum.xda-developers.com/showthread.php?t=803682

First you need to install:
Java SDK (JDK): http://www.oracle.com/technetwork/ja...ads/index.html
(needed by Android SDK)

Android SDK: http://developer.android.com/sdk/index.html
(that installs adb)

Android USB Driver: http://developer.android.com/sdk/win-usb.html
(I don't know if it's needed)
Note: first check if your phone is locked at all. Obvious, but some forget it.
Goto dialer and type: *#7465625#


Note: if you cannot write to sdcard: stop Kies or make sure your card is not in Mass Storage Mode

Just found another way of doing it  Someone needs to do it. Thanks.

In a DOS box (phone does! need to be routed)

See for temporary rooting EDIT2 below!

- adb shell
- su
- cat /dev/bml5>/sdcard/bml5.img (BE-EM-EL-FIVE is about 25 Mb)
- exit (2x)
- adb pull /sdcard/bml5.img
- now open in hex editor on PC (like xvi32)
- find the proper block with hex search:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 FF FF FF FF FF FF FF FF FF FF FF FF FF FF (2 times)
Scroll a few pages of FF's down until you see the first number (unlock code)
- my unlock code is at #1282C0A
- put locked sim in phone, boot and enter code from above 

I did reboot twice without any problems. Also checked other bml5 images found on xda.
All have the unlock code in it !!! If your phone is not SP locked you will have 000000 
instead of provider code in the same block.

That is perso.txt but 00 are FF.
In perso.txt from stl5:
Code:
00 00 00 00 00 00 00 00 00 00 36 31 34 39 33 36  = 61493638 (my unlock code)
33 38 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 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF 39 32 34 32 37 33
35 38 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 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 03
05 03 05 05
In bml5.img
Code:
FF FF FF FF FF FF FF FF FF FF 36 31 34 39 33 36  = 61493638 (my unlock code)
33 38 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 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF 39 32 34 32 37 33
35 38 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 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 03
05 03 05 05
Find the proper block with hex search:
for Galaxy Ace search for 
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 (2 times)

or...

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 FF FF FF FF FF FF FF FF FF FF FF FF FF FF (2 times)

Scroll a few pages of FF's down until you see the first number (unlock code)
After the search, fwd page 2 times or until the first number (w/8 digits) appear. Then inmediatly do a second search, and repeat fwd page (2x), the same number should appear, and after the third search, too. That should be your unlock code.

Let me know if it worked for you.