yashsingh1/xdaforums huggingface dataset:
[Android General] psyke83:
I understand. I just think it's better to censor the methods that are known to cause bricks, and just reference to the method vaguely, without providing the steps.

I'm not blaming you for all the bricks, please don't misunderstand :). It's purely their fault for failing to read the warnings properly.

However, your stl5 mount post is vague. You posted two "edit" comments, the first saying that the method was safe. That will encourage some people to try it (and will also catch really lazy people that don't read "edit 2" directly below it).

---------- Post added at 05:35 PM ---------- Previous post was at 05:34 PM ----------

No, that's why we call it bricked. Unless you are the one to finally discover the repair process - so, good luck :).
[Android General] Zero|Cool:
I have read a lot of different experiences and came up to no conclusion :mad:

I think these threads are becoming a mess and no palpable information is being gathered.

Therefore I ask your help for the following Q's and if possible try to indicate the #postnumber:

-Which is the most safe method to unlock a Samsung Galaxy Gio (s5660)?

-Should it be on the original rom? (Froyo 2.2)

-What are the chances of that IMEI thing going away?

Regards :)
[Android General] aminvahid:
Cant get in to recovery mode !!

Hi

I have just bought Galaxy Gio from Canada and decided that it is locked by Virgin mobile company however I can not use other SIM cards from other companies !!

now I want to root it but whenever I want to Get into recovery mode (press Home+Power on/off button) nothing happens!! and after a few minutes it restarted again!

I have only installed Recovery Clockwork from downloading mode and nothing else

I tried SuperOneClick (last version) but after step 6 it is not responding !

please tell me what should I do !!
[Android General] kraven:
Working on Samsung Galaxy Mini S5570 with Android 2.2.1

Well, tweakradje (link)method worked for me with this phone:

Model: Samsung Galaxy Mini S5570

ROM: Stock ROM from Yoigo, Android 2.2.1

Operator: Yoigo

Root Method: SuperOne Click 1.9.1

bml5.img size: ~9MB

String searched: 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

I've followed the steps from tweakradje but I did only one search of this string because the code was before the first time the string appeared.

Thanks also to Sliderule for the string.
[Android General] tweakradje:
Hi, first can you remove big quote from your post please? Thanks.

As for your device I think it is simply a matter of flashing to stock rom

completely. I have no experience with Clockwork. Sorry.

Cheers
[Android General] smfilip:
+1 success

Model: Samsung Galaxy Mini S5570

ROM: 2.3.3 Gingerbread

Operator: T-Mobile Montenegro

bml5.img size: ~9MB

String searched: 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

Found before this string, mine was 80 90 38 58
[Android General] bcpk:
Worked for me on the i5500 using the 30 30 30 method.
[Android General] tweakradje:
Relocking from CSC occurs!

There has been reports of a relock. That is simply because of your CSC info.

In /system/csc there is a customer.xml with in some cases has sp locking info.

This csc info comes from csc.rfs (fat image with recovery\csc.zip , use winimage)

This zip file can have system apps, boot/shutdown animations and csc info.

With factory reset (or perhaps command in recovery) the CSC.zip is reapplied to the phone and processes the info /system/csc/customer.xml.

So if there is SP lock info in customer.xml your phone is simply locked again :)

So can we take this a step further? Use customer.xml to unlock the phone from recovery mode? Perhaps. Someone needs to find that out. I don't have my original CSC.rfs anymore.

Cheers
[Android General] roo1313:
Worked perfectly for me on my samsung galaxy mini with this pattern, better than 00 [..] 05 [..] FF twice..or maybe my eyes were tired but my unlock code was just before the pattern ffff ffff ffff 3030 3030 3030 ...! Funny to unlock this way..!

Be aware that 1 digit can be on the line above...i thought it wasn't the right code coz 1 digit was missing..!!

Thanks!!
[Android General] roo1313:
about relock

Hi

I haven't experienced any relock since unlocking, even after i did few reset after flashing roms (CM7 and "official" 2.3).

Hope it'll last...

Thks again for your tutorial
[Android General] eduardito:
I'm getting this message??

# cat/dev/bml5>/sdcard/bml5.img

cat/dev/bml5>/sdcard/bml5.img

cat/dev/bml5: not found

wht can i do??

thanks
[Android General] roo1313:
type a space: cat_/dev/bml5>/sdcard/bml5.img
[Android General] felix811:
first at all, sorry for my (really) bad english.

i read the post where you explain how to unlock using the bml5 metod. i just have one question:

when i put *#7465625# in the dialer, everything should be blocked?

this is the result of the code:

Network Lock [on]

Network subset lock [off]

SP lock [off]

CP Lock [off]

so.... can i use the unlocking method?

i think i can't... but maybe you can help me...

P/D: my i5500L is from Argentina, i don't know if the region is a problem...

again, forgiveness for disturbing (<---- google translate :p ), and thanks!!!
[Android General] tweakradje:
You have lock. Only use bml5 method.

If the instructions are not clear you need to study adb/android first.

Cheers
[Android General] felix811:
ok!

i will study adb/android, because i never used before...

i will comment the results! thanks again!
[Android General] felix811:
hi! i'm back :P

while sdk was downloading, i tried to copy the bml5 image using a root explorer, and i did it!

so, now i have the unlock code without using adb. but the code i found is 01234567... sounds suspicious...

while i tried to copy bml5, the apk that i used to do it, moved the bml5 to sdcard. then i copied bml5 FROM the sdcard TO /dev. my 5500 is still alive, i tried to reboot and still works fine.

now i have to find a different SIM to test the unlock code. i find a different way to put the unlock code (in the cellphone without SIM, dial #7465625*638*unlockcode#, but i'm not sure about it...)

any suggestions?
[Android General] psyke83:
tweakradje says to find the numbers after the second occurrence of the block of code. In my particular case, I found them after the first occurrence.
[Android General] zynou:
Yes! I just unlocked my Samsung using the supersafe method thanks to tweakradje
[Android General] tweakradje:
For entering unlock code without locked network sim you can try to dial:

#7465625*638*#

Perhaps you can even unlock it in that screen. I dunno. Have not tried.

For more dial codes is Android 2.2 Samsung roms see: http://xdaforums.com/showthread.php?t=1280477

Cheers
[Android General] felix811:
I search after the first occurrence, and nothing; but i found another code after the third occurrence. the code is 46248580, it looks better...

now I'm thinking where I put all SIM cards I have...

when i decide if put the code using the dial code, or wait to have a different SIM, i will comment the results.

:D

thanks for the patience!!
[Android General] felix811:
i tried using #7465625*638*# and put the code i have found after the third occrrence, and nothing; incorrect code...
[Android General] roo1313:
Give a try to this pattern and look before:

Worked for me for my galaxy mini..

Thks again tweakradje and sliderule
[Android General] felix811:
i found the same code: 46248580

today i will try with a blocked SIM, after that I will comment the result
[Android General] Obskure:
Just wanted to give thanks to @tweakradje for his bml5 method. I was unlocking a Galaxy Ace GT-S5830 for a friend. He tried it and bricked the first one. This one worked a charm for me, but I admit I also used the php script given by @aileron79. I ended up with a list of 9 * 8 digit nos. The unlock code appeared 7 times and it was the first one I tried as the code kinda stands out in the results list.

Again fair play guys.
[Android General] felix811:
well, i tried with a blocked SIM card and... my i 5500 was unblocked!!! :P

i guess it was unblocked yesterday, when i put the code with the dial code.

anyway, my 5500 is now unblock! thanks to all you guys for your help!!

for the record: rather than try adb, i use the apk "ES explorador de archivos" (v1.6.0.4) (as root), and extract bml5 with it. Then i read bml5 using an hex editor (is "an hex" or "a hex? :S ).

once more, thanks!!!

Cheers!
[Android General] tweakradje:
Thank you for the feedback.

It might be possible that dialing #7465625*638*# is the only action for unlocking needed.

Even without a code. There is an OK button and below that (in dutch) "Uitzetten". Dunno what that in English rom is (Turn Off?)

Perhaps that removes the lock all together without a code. You can always check without a blocked SIM with dial code *#7465625#

Cheers
[Android General] felix811:
perhaps I misread the message that was returned when I put the code, it appear and disappear too fast...
[Android General] Zero|Cool:
Guys I found a new method (easier, no need for ADB) based on this one!!!

Bear in mind that my phone is a galaxy gio s5660, stock rom 2.3.4 (samfirmware.com)

This is what I did:

-I rooted it using the method on the galaxy gio main page (update.zip)

-Market - Terminal Emulator

-Press power button for a while till the menu pops up. Select airplane mode

-Open Terminal and write "su". Then the superuser app asks to give access to superuser, you say YES and tick REMEMBER (very important!)

-Close the terminal using the back button

-Re-open terminal and write: "cat /dev/bml5>/sdcard/bml5.img"

-Then you see it laggin for 1 second (its the writing the bml5 to the sd card)

-Then when cursor appears write: "exit" (one time)

-Then exit the aplication on the back button

-Plug the phone via USB to the computer and activate usb storage. Copy the bml5.img on the root of your SD card to your desktop

-Unplug the phone, press power for a sec and deactivate airplane mode

-download xvi32 and open the bml5 file with it.

-click on the search menu (hex string,case sensitive, scope from begin) and enter the following 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

-Then click search again but instead of scope from begin select scope from cursor

- scroll down a bit and you will see the 8 couples of numbers with your unlock code (last digit from pair corresponds to the code)

-Turn off the phone, put another network sim card and start it. Put the code when asked to

-YOU'RE DONE

Worked on 3 gio's, no problems, no hangs, no loops, imei mac and bluetooth all in place. Safe :):D
[Android General] twoborg:
Hi,

I can only confirm the method.

Unlocked the phone within 3 mins, and after hours spent on thinking why do I get the "Premission denied" message in my PC CMD box.

I unlocked Galaxy Ace with Gingerbread 2.3.3.

and rooted with Universal_GB_ROOT.zip from this Thread
[Android General] tkowalczuk:
Hi

I couldn't find this file - and at the end it was in /dev/block directory.

I'm looking it up and down but can't make any sense of it.

Can I upload it somewhere and ask You to have a look at it ?

Tom
[Android General] mefrodo:
thank you very much it works perfectly!!!!

S5670L GINGERBREAD 2.3.4 KP6
[Android General] Tobz:
YOU ARE A LIFE SAVER! Mine did the same thing and hid it in this additional folder, thank god i stumbled on your post.

Worked a treat from here.... I found mine on he 3rd search, first 2 were 1234567
[Android General] nerdo:
BML5 method working on Samsung Galaxy Europa I5500

Thanks everyone

Just to confirm that bml5 worked for me on three I5500 phones

Rooted with SuperOneClick 2.1.1

Stuggled a bit with finding code, I recommend using Vim hex reader (dowload here)

Follow steps quoted above

can convert to hex view in Vim reader by choosing

Tools>Convert to HEX

wait for few seconds, when it is in HEX choose

Edit>Find and paste this ffff ffff ffff 3030 3030 3030

and your code is just nearby :D
[Android General] art2111:
need a help to unlock my virgin i5500

I followed it step by step with my i5500 (Virgin).

Had the following in my bml5.img after the second search for

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, third search did not returned any results:

FF FF FF FF FF FF FF FF FF FF 30 31 32 33 34 35

36 37 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 31 32 33 34 35

36 37 FF FF FF FF FF FF FF FF FF FF FF FF FF FF

So I assumed that my unlock code is 01234567.

But the code didn't work when I inserted a Rogers SIM into the phone.

Also was not able to find "FF FF FF FF FF FF FF FF 30 30 30 30 30 30

30 30"

Please help .
[Android General] zliott:
Thanks tweakradje, I've worked out the unlock code for my Samsung Galaxy Ace S5830D using this method. There are multiple places in bml5 have the unlock code.

I see a lot of ppl have successfully unlocked their phone using the unlock code, but when I powered on my phone with an unsupported SIM, I got ""Enter Network Lock Control Key", entered #7465625*638*UnlockCODE#, then pressed the "unlock" button.

What I got was "network unlock request unsuccessful" msg. I double checked that the correct unlock code is used. Did I missing anything in the unlock steps ?

Is there any different unlock step for S5830D model (just got it two weeks ago) ?

I also tried *#7465625*638*UnlockCODE#, same result. I have tried total 4 times, not sure how many times I can try before the phone freeze

Thanks in advance for any tips.
[Android General] art2111:
that what I also had with my I5500M

tried to unlock using this 01234567 with a different SIM and it didn't work

search for FF FF FF FF 30 30 30 30 doesn't return anything

Please let me know about your progress
[Android General] twoborg:
Hi,

did you enter the whole thing (*#7465625*638*UnlockCODE#) when asked to enter the code or just the 8 digit code ?

when you boot up your phone with another SIM, you only have to enter 8 digit number not the whole thing...

this "*#7465625*638*UnlockCODE#" String is used from dialpad to unlock you phone.
[Android General] zliott:
Thanks !

I thought I need the whole thing, but the 8 digit code only worked.
[Android General] necrosy:
Hello,

few days ago, I bougth second 3-branded i5500 and succesifully unlocked it via b* method.

Could anyone help me with making full backup of "3-logo" firmware from second phone to copy it to first one (also i publish it for all ppl who flashed their phones with gray firmwares be4 bricking its).

Cheers, Alexei.
[Android General] hinaini:
Network Lock Control Key

Do you think from this dump file we can also find the "Network Lock Control Key" ?? ( ... would appear that this shows up as a separate issue for some users some time after unlocking see:

http://xdaforums.com/showthread.php?t=992564 )
[Android General] AlonR:
Samsung ACE "hardlocked" ??

Hi,

I've performed all the above and got the 8 digits code (I assume :)

But when entering a foreign SIM, I get only the 'Dismiss' button, without a way to enter the unlock code.

Using the keypad (*#7465625*638*UnlockCODE#) didn't affect at all.

Any ideas what options do I have? Looking a round a bit I understood that this situation called "hardlocked" and I couldn't find a solution.

Thanks!

I'm using rooted Samsung ACE 2.3.4 with stock ROM from Telcel (Mexico)

Alon
[Android General] isotske:
Confirm: Samsung Galaxy Mini (SG-S5570?)

Bml5 method worked, bml5 was found both in /dev/ and in /dev/block/

I took from second source, file was about 9MB, found unlock code twice, serached by pattern in quote, thank you.

Maybe later I will try to unlock Ace model.
[Android General] kiewirevo:
what to do?

my friend has an ace too we got the code just fine but the problem is that the phone never asks to put in the code ????? what is wrong??? we do the *#7465625*638*UnlockCODE# method and it doesnt affect it either and it i=only displays that there is no network avaible?????? what to do?
[Android General] Sichas:
for the ibml5 use FF FF FF FF FF FF FF FF 30 30 30 30 30 30 (x2) and code should be right above (just scroll 1 line up after the second search)
[Android General] twoborg:
Hi,

See this:

*7465625*638*Code# = Enables Network lock

#7465625*638*Code# = Disables Network lock

from here : http://gleez.com/articles/did-you-know/samsung-secret-codes

I hope I helped
[Android General] tehhoe:
How do i start the /dev/bml5 process of?it start with "In a DOS box"

Am I missing something?

I have a rooted Ace and the SDK but not sure how to use it.

Cheers

Scott
[Android General] twoborg:
No need for SDK,

Follow/Use the method from post #441.

Less complicated from the method that uses PC Box and ADB...
[Android General] tehhoe:
Sorted it and unlocked :) Thanks :)

It was pretty difficult to follow, I had to jump between a few posts.

If this is the safest way, Would it be a good idea to create a complete walkthrough?

Cheers

Scott
[Android General] AlonR:
Thanks but the phone doesn't respond to this code... Looks like a different solution is needed here...

Here is the phone's print screen with foreign SIM:
[Android General] AlkaDragos:
I have a Galaxy Mini, i've opened the bml5.img file with xvi32, searched for the 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" but don't know for what numbers exactly should i look. Anyone can explain a bit? Thank you :)

*EDIT*

I've finded the code i think, but the problem i have now, is that when i put other SIM Card won't request network code, just SIM Pin and then writes No Network Available... like in this post. You must have a stock ROM or something? I've finded somewhere this

So for anyone that the phone won't request the network unlock code make sure you have a stock ROM.

Now if i flash back stock ROM the unlock code will be the same? Or the consistency of bml5 file will change?
[Android General] Fraser1978:
Ok I have been up all night trying to unlock using the method on post #334. I've followed every step and been through numerous posts. when I try to cat the file I get the response invalid file path then when I found the bml5 files under sys/block dir as opposed to dev/block dir and tried to enter that file path and it came up invalid file lenght and copied it anyway to the sd card. However both files were 0kb files. Also the rest of the bml files were 0kb files too.

I should perhaps mention that my phone is cynagone mod 7 android ver 2.3.7

Do I need to revert back to original stock rom for this to work. This has never been properly identified as an issue as far as I've read.

Any help appreciated. Cheers!
[Android General] AlkaDragos:
@Fraser1978 - I have CM7 too, and i've finded the file under /dev/block and i was able to get the unlock code, but don't bother more, you need to have a stock ROM in order to unlock it.
[Android General] babajus:
So in order to get unlock code you need to have stock rom but if i have cyanmod rom installed the last version 2.3.7 and according to theyre log no system files are changed just the basic ones.. or am i wrong?
[Android General] Fraser1978:
Its not even in dev/block its in sys/block and each file is 0kb anyway grrrr
[Android General] inspiron42:
I was wondering if changing the ROM unlocked the phone. I dialled the code to see if my phone was locked and the message said no, which is very surprising.

I am using the Gingerreal ROM on a Galaxy Ace.
[Android General] Fraser1978:
Finally managed to pull the bml5 file out, but I've been informed that even with the code one cannot unlock the phone when the cm7 mod is installed. Is there perhaps a way to install stock rom on a separate partition and unlock there or even if I revert back to stock rom and back up this one will the unlock code still work (once I find it that is) or will I have to repeat process?

---------- Post added at 03:29 PM ---------- Previous post was at 03:14 PM ----------

I used the method on post 334 of this thread but used your tips to find the code and voila easy peasy lemon squeezy! I found the code very quickly and its quite plainly there. My query is, does this code change if you flash the rom again in order to enter on stock rom?

^^Suggest all other users use step 11 of this good mans post to find their code plain and simple. Found it on my GT-S5570!
[Android General] Darkshado:
Instead of using SSH, you could also use the Android SDK.

And instead of opening vi to see the bml5 file, I'm pretty sure grep with a regular expression would work well.
[Android General] russ18uk:
CM7 likely doesn't have Samsung codes to unlock so best way unfortunately its to nandroid current ROM, flash stock, unlock, restore nandroid. Should take 15 mins.
[Android General] AlkaDragos:
Indeed. :) I will try it tomorrow.
[Android General] tweakradje:
Use proper stock Samsung ROM for unlocking. Others don't have Samsung /system/app/Personalization.apk and odex ;)

Cheers
[Android General] malayalapenkutti:
Thanks for sharing............
[Android General] microtsip:
bml5 hex search string and file size

Hi! I tried to find this Hex string twice from the bml5 file of the Galaxy Mini (GT-S5570). Only got one instance of this value.

And with regards to this:

The one I got was only 9MB. I was expecting near 25MB.

Is this normal? Thanks!
[Android General] AlkaDragos:
On Galaxy Mini the file has 9MB, mine too. I was able to find the code with that "ff ff ff ... 30" search string, but i searched it like 4-5 times, and was there. ;)
[Android General] funkmiester:
Like scott says, can someone please post a complete walkthrough, this is the first time i'm about to attemp to unlock a mobile and my overly cautious nature is compelling me not too..... on the same note, i can build web sites, write SQL, rebuild pc's, etc, etc...... pretty sure I can do this, if someone can post clear instructions:D. my phone is tesco mobile, galaxy mini gt-s5570, 2.2.1, s5570xxkb2, 2.6.32.9-perf dpi@androidbuilder14#1, froyo.xwke3 . my pc is win 7 64 bit. please help.
[Android General] AlkaDragos:
I will create from 0 a complete walkthrough(at least for S5570 but should work for most SAMSUNG branded phones). In 1~2h should be done ;)

Complete walkthrough tutorial for unlocking -> http://xdaforums.com/showthread.php?t=1335548
[Android General] PEFP:
Did it on a Samsung I5500L "Europa", and after a few mistakes with adb shell (my bad), i finally unlocked my cellphone. YAAAAAAAAAY!!!!

I followed your steps to the letter, but the only difference is that in XVI32, i only needed 1 search of the hex string you posted and advanced a few pages, and there was the number. Just to be secure, i searched again (after writing down the first number), and in the second "search", i advanced a few pages, and there it was again. Also at the third search, etc.

I put a locked SIM card, asked me for unlock code, put it down, and voilá!!! Cellphone unlocked!!!!

EDIT: After all is done, can i erase bml5.img? Or its not advisable to do?
[Android General] funkmiester:
thank you very much, i now have one unlocked phone :D i did find two sets of potential unlock codes in the hex string though :S both repeated multiple times, second one worked :D thanks again
[Android General] nit2:
01234567

I have the same problem.

i tried both the bml5 and the stl5 methods.

both showed "01234567" repeatedly. this number did not work as the unlock code.

i have a galaxy 550 (aka GT-i5500M) locked to Virgin Mobile Canada.

anyone fine a solution to this problem?
[Android General] PEFP:
It's rare it didn't work for you.

You searched the hex string as told? 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.
[Android General] AlkaDragos:
If you want, i can try do a quick search. PM me with the file or post it somewhere, i don't think contains any data/codes that can harm. ;) you can also take a look at my tutorial if you have doubts.