yashsingh1/xdaforums huggingface dataset:
[Android General] yvautrin:
can't find bml5 file

Hi to all!

I know this question has been raised hundreds of time, but i can not find the bml5 file in /dev/ nor in /dev/block

It is a galaxy i8160, rooted...

Any help would really be appreciated!

Yann
[Android General] milhastugas:
I can't find the unlock code, my phone is galaxy ace, someone can help?

attached the Hex file.

Tnk you.
[Android General] sjp770:
You haven't exported the right file. Check /dev/block/bml5 ?

---------- Post added at 07:53 AM ---------- Previous post was at 07:23 AM ----------

So I've rooted the phone and retrieved the bml5.img fine, found the 8 digit code and I cant unlock the phone. I have gone back to stock firmware and tried again and I get "Connection problem or invalid MMI code."

I don't have a third party SIM installed though. (phone locked to Telstra, telstra sim.)

Ideas?

This is happening with 5x phones of the same type.
[Android General] droidshan:
Not working with SG grand Prime :SM-G530H!

after executing

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

im getting error :: tmp-mksh: - not found.
[Android General] Last85:
Thanks for your share, i need some help please I could´t find my code in the bml5 file.
[Android General] tweakradje:
Please don't quote whole posts. It is useless and makes this thread unreadable. Thx.
[Android General] elatllat:
Anyone who wants conciseness should use the wiki. Forums are a place for threads like this with 65 posts only helpful to those still using software from 6 years ago.
[Android General] kicsrules:
thnx, worked on s5830L says network unlocked successful but the phone says no service :/
[Android General] jappish84:
I'm having issues finding the code aswell, my "bml5.img" is only 9Mb and I can only find the first sequence of

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

I've uploaded the bml5.img to here (sorry, can't publish links yet so you will have to stich it together ) use tinyurlDOTcom SLASH ybwxhm96

if someone can take a look I'd really appreciate it. Thanks
[Android General] zukes1966:
SM-G357FZ

I am using the phone SM-G357 FZ, I have slightly different files in the / dev directory. I don't have bml5.

Do you have any suggestions on where to look for the code in / dev / block files

bootdevice

loop0

loop1

loop2

loop3

loop4

loop5

loop6

loop7

mmcblk0

mmcblk0p1

mmcblk0p10

mmcblk0p11

mmcblk0p12

mmcblk0p13

mmcblk0p14

mmcblk0p15

mmcblk0p16

mmcblk0p17

mmcblk0p18

mmcblk0p19

mmcblk0p2

mmcblk0p20

mmcblk0p21

mmcblk0p22

mmcblk0p23

mmcblk0p24

mmcblk0p25

mmcblk0p26

mmcblk0p27

mmcblk0p3

mmcblk0p4

mmcblk0p5

mmcblk0p6

mmcblk0p7

mmcblk0p8

mmcblk0p9

mmcblk0rpmb

mmcblk1

mmcblk1p1

param

platform

ram0

ram1

ram10

ram11

ram12

ram13

ram14

ram15

ram2

ram3

ram4

ram5

ram6

ram7

ram8

ram9

vold

zram0
[Android General] booci:
add one more phone. :)) mine was new, i didn't even get a chance to use much. but let-s hope and prey for a solution
[Android General] :
7 reboot looping phones for the win. Count me in either. I bricked my Sammy the Tuesday 15th of March. It is already sent to be fixed by a nearby Samsung Service Center. I even do not care whether they will charge me for this as I want my phone back and fixed.

Please, do not go through this procedure unless if you want your phone to be bricked !

:)
[Android General] BlocK240:
I went through this without ever getting a boot loop, so don't advertise it as being the way straight to bricking a phone because it ain't.

Nonetheless, if anyone wants to risk their phone, they could flash a rom using odin's phone boot update/phone efs clear/pda format and then rewriting their efs from the backup they have previously made.

Alas, if any of you can access their phones via adb during the bootloop or recovery mode,

adb shell rm -r /data/*
adb shell rm -r /cache/*
adb reboot

Good luck.
[Android General] boogiemanzor:
I tried that in emergency download mode and in download mode, nothing.

Does anyone know how to go into recovery mode when you can't get into adb to do adb reboot recovery?
[Android General] robilaur:
! u cant do that because u cant use adb ( doesnt connect) I tryed in download mode , in ARM9 Em mode u cant do it. Also ...I did try odin emergency i cheched all options available there with every combination posible... it does absolutly nothing!!!! Same loop over and over again. Is there any other software that does the same job as Odin i mean for flashing... maibe we can try with other.
[Android General] BlocK240:
Have any of you tried doing that while the phone is in the boot loop? (normal boot, not the download mode or emergency mode. try and see if the phone lists with adb devices)
[Android General] boogiemanzor:
boot loop = off - on - showing SAMSUNG, www.samsungmobile.com - screen off - on - showing SAMSUNG, www.samsungmobile.com - screen off and all over again

same thing with connecting to USB (screen on, screen off, screen on and off again)

I checked and it DOES NOT get detected by adb when it's in that state. So, it does not work.

The only things which work are emergency download and download mode where you DO NOT have adb.
[Android General] teddyuskin:
it was very easy to unlock:D thanks vampires.remembered for the tutorial on page 3
[Android General] :
7 bricked phones in a row, maybe we were not doing something right. I have to admit that I used the mount as vfat procedure and did not wrote a bit to the EFS by hand... and what I got was zeroed mac addresses and XXXXXXX product code and after reboot telephone gone to boot loop.

So stupid myself. My telephone was even not locked to an operator. All I did was because I tried to backup my EFS :)
[Android General] BlocK240:
Flash any ROM using Odin and when it gets to the recovery mode (i.e. it shows use update.zip; wipe data partition; wipe data cache partition and everything else) it should be detected by adb.

mkdir /mnt/sdcard
mount -t vfat /dev/block/mmcblk0p2 /mnt/sdcard
dd if=/mnt/sdcard/stl5.rfs of=/dev/block/stl5

If this does not work I guess you have to wait for someone else to figure this out.
[Android General] boogiemanzor:
I don't think it ever gets there. I am not even sure it can be recovered in any way.

If it does the flashing after it reboots, it will never work on these phones as nothing boots - recovery or regular boot.

However, since it seems to be doing it without an sdcard in ODIN, it might be a direct flash.

Would it be possible to do something else ?
[Android General] BlocK240:
The flashing is done during the first reboot (from download mode to recovery mode). Unless the problem is on the hardware side of the phone, which it isn't, all phones should get to recovery mode after flashing.

If I recall correctly, all android phones start their usb debugging driver when in recovery mode, which leads to adb detecting them. Even if any flashing takes place after the second reboot (from recovery mode to the normal mode) it is irrelevant, as we are only trying to rewrite the efs using the steps I mentioned above.

As I previously stated, I wish you the best of luck in your future endeavors getting your phones back on track.
[Android General] robilaur:
Doesnt work ..... adb does not recognize ur phone at any stage... The thing is i managed to get stl5 back on the phone. The bad thing is i dont recomend doing it my way becouse my phone is not even starting anymore (Today il get it to carier service).

So what have i dont .... I modified the ops file with notepad and added at nr.4 stl5, the rest come as they r until 10. The thing i did wrong was not leaving a blanck one 11,. (this step made my phone not restart after writing everithing). Then i added stl5 to Motafoca rom archive and that was it.

DO NOT TRY THIS BECAUSE I GOT MY PHONE EVEN WHORSE.Not EVEN STARTING IN DOwnload mode..

So this is as far as i go. Hope vodafone will repair it.
[Android General] boogiemanzor:
The fact that you did not leave an empty one was not the mistake. The mistake is that you actually thought adding the efs at random somewhere would somehow make it work.

Let me know if they fix it for you, please.
[Android General] robilaur:
Sure...il let u know but probably will take some weeks till i get it back. Now the problem with that modified ops is that Odin need a blanck space so he knows where to reboot the phone. Mine didnt reboot. After removing tha cable it was dead. It stoped at csc file (idk what that is) The only way my comp recognize the phone in odin was in Emergency mode but the screen was black ... and in that mode Odin froze at establishing connection when hitting start.
[Android General] Kapatagan:
thanks for the effort of finding solution in fixing our phone. Since no effective solution yet on hand, i may just as well return it to my carrier for repair. Next time, i'll just pay for online unlocking lol :D
[Android General] BlocK240:
Has anyone tried this yet?
[Android General] robilaur:
Yes dude i did.... adb does not see the device while its being flashed!!!! adb doesnt see the device at all at any stage. I sent mine to service today ... The guy at vodafone told me that he didnt had this kind of phone to service ..i was the first .... tuf luck.. il see in 1 week.
[Android General] kill3r000:
My phone came today after some days in service ;) and... the motherboard and software were changed :( ... in full warranty, no money paid extra (prolonged for 3 days of warranty). So, that Vodafone guy, better that dealer didn't receive any I5500, but Regenersis (which is one of the two repair shops that VDF works with) sure did in the past.

Guys, do not try to unlock your phone. If at any time in the near future (6-12 months) call VDF, or your operator and tell them you want to use that phone abroad in another country and see if that works for unlocking by them.

See you soon, with all your phones repaired, money-free!
[Android General] BlocK240:
You've bricked yours by using a faulty ops, it needs a hard rewrite of the software, there's nothing that any production-line software could do to it.
[Android General] robilaur:
Glad to hear that Killer ...hope mine comes back repaird also :d By the way... isnt the unlock code for vdf romania the same at all i5500?
[Android General] kill3r000:
Hope you get yours repaired for free too. I really do not know if the code applies to all phones
[Android General] robilaur:
What was your code?
[Android General] kill3r000:
26481719 Guess this will help. I am kind of affraid to use it now :P
[Android General] tweakradje:
Perhaps there is something wrong with the i5500 locked phones anyway. Mostly after a year you can get the unlock code free from your provider. That is when warranty is general gone.

Anyway your unlock code should still work (if you still have it). It is based on the imei if I can recall correct. When my phone gets back I am gonna try it anyway with the code I already have now.

Cheers
[Android General] kill3r000:
All i can say is that i have put in a sim from...Orange and... it workssssssssssssssssss!!!

Yeap it really works, but only after a trip to the repair shop and a change of the motherboard :(
[Android General] Kapatagan:
glad to hear your phone is fixed and unlock. I sent back my phone yesterday at Samsung telling me to return call after 5 days if problem is software. since you've said that board had been replaced then mine will probably take longer around 20 days.

Good luck to us ^__^
[Android General] robilaur:
Nahhh.... its easyer for them to change parts than just grind on the softwares. My code is diferent from yours bdw ....but i gues it will work also after i get it back.
[Android General] kill3r000:
They shouldn't keep more than 8 working days (max. 15 days is VDF policy for returning - transport, repair, etc.). 20 days are a little too much. And also, the unlock code is based on IMEI, so it should be different, device-wise. I went to VDF shop last thursday, friday the repair shop person called and said they'll keep it a little longer for more tests and monday it was already back in the VDF shop and in my pocket :P
[Android General] lildadou:
Hello, I have a Galaxy Ace (GT-S5830) from Virgin Mobile (Orange France) and /efs/ doesn't exist.

The "dd copy" says :

# dd if=/dev/stl15 of=/sdcard/stl15.rfs
/dev/stl15: cannot open for read: No such device or address
[Android General] tweakradje:
stl15? no it is more likely stl4 or stl5.

But be careful. Some phones have been bricked already here.

Cheers
[Android General] cipivat:
hi

please someone help me with

bml10.img

i used one from i5700 and now my phone lost its imei.

dd if=/dev/bml10 of=/sdcard/bml10.img

please help
[Android General] lildadou:
Shame on me...

I just want to read the file, not edit.

Do you have an idea about the cause of brick?
[Android General] emilya:
You can unlock your mobile at TheUnlockArena using codes. Submit your mobile details and get the codes very easily and at very low cost.
[Android General] kill3r000:
Yeah right, low cost:

Examples:

This service can be used to unlock and unfreeze Samsung phones locked to any mobile network in Europe.

Time Required: 1 to 2 Working Days

Unlocking Price: $ 47.18 US Dollars

This service can be used to unlock any mobile phone currently locked to the network Vodafone in Romania.

Time Required: 1 to 2 Working Days

Unlocking Price: $ 73.26 US Dollars.

...very low cost! :P

Copied: Warning! This site has a poor reputation (WOT service) A user said: http://www.mywot.com/en/scorecard/theunlockarena.com/comment-11524174
[Android General] tweakradje:
Cheap? $47.18 US Dollars for unlocking a i5500 in my country is not cheap.
[Android General] kill3r000:
I was making an ironical remark about the post from emilya. 43 bucks is a little fortune only for unlocking a phone to use in another network (especially i cannot afford that money). I really can do without :P
[Android General] lildadou:
Unlock working for me! Thanks.
[Android General] Kapatagan:
Finally got my phone back from Samsung. They told me that they replaced the board to fix it.
[Android General] helroz:
deleted...
[Android General] tweakradje:
Nice to see it works on S5830 too. I will try program soon.

Cheers
[Android General] Azrael_PT:
Hi there.

I have tried your program.

Get a window whit:

Votre Réponse

Unlock code is one of these codes: ???????? or ???????? or ???????? or ????????

Tried many times whit the same results. :confused:
[Android General] helroz:
on i5500?

(i have tested on s5830 and it work)

it's possible the codes arent not a the same offset of gt-s5830.

ok for adapt this, i need one stl5.rfs of i5500.
[Android General] Azrael_PT:
y :D

PM me. To talk about the file you need.
[Android General] tweakradje:
Quit spamming here. Go away.

edit: @mods thanks for removing spam post above. :)
[Android General] helroz:
deleted....
[Android General] luca_mzq:
@tweakradje

You are the best man,my GT-I5500 is unlocked now,i'm so happy ....
[Android General] Kapatagan:
all i see is 4 rows of question mark symbols inside diamond. is there a way to decode them?
[Android General] BlocK240:
This does brick the phone, since it hates having its efs copied.

Rewrite your script, and have it do the last action as dd if=/sdcard/Corby_Unlock/stl5.rfs of=/dev/block/stl5
[Android General] helroz:
This command rewrite stl5 block, i don't modify this file, just copy it on sdcard for search code in, i'm not sure this is a good idea:(
[Android General] BlocK240:
I've unlocked my phone way before you posted your application, I know my way around a Linux shell and I know that dd modifies nothing, but there is something hard-coded in this phone that will just bork the efs after it's read/copied.

Since you are creating a bit for bit copy with dd, it should not matter if you rewrite it, since it's the same information, right? Nonetheless, it worked for me and some others that have previously posted in this topic.
[Android General] Azrael_PT:
One simple question.

I have used the command in the terminal, whit the 1st program that i used from helroz and whit the program modified for i5500.

i have 3 copies in different folders.

I didn't used the code.

What i can do?

Help please.
[Android General] helroz:
you have reboot one time your phone or not?

if you don't have reboot it, don't reboot now
[Android General] Azrael_PT:
I have already rebooted the phone

All normal.

EDIT: Only my GPS and 3G/UMTS don't work well
[Android General] helroz:
ok if you have already rebooted your phone and if it work, all is ok:)
[Android General] Azrael_PT:
I think that it's because i didn't used the code.

EDIT: And the other problems that i have i think that is because i'm using MAD Team rom 2.0.9

But i'm in there now and they have released 2.0.9.1 :P
[Android General] helroz:
After extract stl5??? or don't work well after buying the phone?

ok, it's possible this is your rom :)
[Android General] helroz:
BlocK240:

i see your post for clear data and cache, i don't like rewrite stl5, wipe data is (for me) not necessary, but wipe cache is a good idea and if i insert wipe cache and wipe dalvik-cache at the end???
[Android General] BlocK240:
That should be done if the phone is stuck in a boot loop (Samsung flashing over and over when powering up).

Otherwise, as you will notice as soon as more people use your application, they will not have any GSM/3G access because /dev/block/stl5 becomes borked, or has a flag sat on it after it is copied.

Of course, you could try, as there's nothing bad that could happen.
[Android General] helroz:
Ok wednersday i post one revision with wipe cache/dalvic cache.

And i post one other with rewrite stl5 and wipe cache/dalvic cache.

After i don't have a i5500 for test on my phone.....

For all have problem, i made 2 script on .bat files for wipe data/cache/dalvic and for rewrite stl5 with usb and adb on windows. (I use a wait device for start script).
[Android General] BlocK240:
USB Debugging Mode/ADB Usb Driver is ONLY loaded during recovery mode. Not Download or Emergency Download but Recovery mode.

To force a phone to boot in recovery mode, as far as everyone is concerned, is to flash any ROM using Odin.

Alternatively, if the phone is already connected to the PC and with usb debugging enabled,

adb reboot recovery

will make it reboot to recovery mode.

I've never seen anyone try using recovery mode on this whole forum, apparently everyone asks for a solution but no one uses potential ones. Nothing I can do about it.
[Android General] helroz:
ok i5500 have a download mode and recovery mode, same mode of galaxy s (i have sold my galaxy s in january).

ok this is a link with 2 windows batch files for activate download/recovery mode (with a wait device):

normally in recovery mode, you have a wipe cache/data.

http://helroz.perso.sfr.fr/app/reboot_download_recovery.zip

it's not possible to enter in recovery mode with push multiple button on i5500? (on GS, volume up + home + power send recovery and volume down + home + power send download).
[Android General] BlocK240:
Nope, just tried the GS method, it does a normal boot. Download mode is the same, though.
[Android General] robilaur:
ok ... I got my phone back from the service... Its working :D They changed the mainboard. No more fking around with it.
[Android General] naught101:
unbricking

I too bricked my phone, because I read, and tried the dd method, assuming that just reading a device block couldn't hurt. Damn Samsung. Anyway, I've been trying to unbrick, with no luck..

The things I've tried in odin, all with sim and sdcard removed:

flashing motofoca 2.0.9.1 (phone was originally on 2.0.8 before bricking) - failed

flashing motofoca 2.0.7 with one package - succeded, but still wouldn't boot.

flashing motofoca 2.0.7 with one package, using all debug options on - succeeded, but still wouldn't boot.

flashing just the boot.img extracted from the motafoca 2.0.7 build, using the debug option for the boot loader - failed with message 'e - unknown file "ANDROID!¼O."'

flashing just the stl5.rfs file dumped with dd as the "efs" image, using the debug option reset EFS - failed with message 'e - unknown file "ë↕ ?MSWIN4.1"'

error messages are estimates, since I couldn't copy them..

I'm attaching my stl5.rfs file, if anyone wants a peek. I can't send this back to samsung until monday, so I'm happy to keep playing with it for a while. If anyone has something they want me to try, please let me know. I'll be hanging out in #gti5500 on irc.freenode.org.
[Android General] Azrael_PT:
Unknown IMEI and Unknown Baseband Version

Well. One more to go to the warranty. :p

Any ideas to try to the phone before that? :D

Open to suggestions. ;)
[Android General] tweakradje:
I am beginning to think that bricking is due to custom roms.

Is there anyone with a bricked phone after unlocking that had original ROM from samsung?

Or had all the bricked phones custom ROM?

Cheers

EDIT: I also thought about new method: adb in recovery mode to dd /dev/block/stl5 . The phone app is not running then.
[Android General] Azrael_PT:
I was using 2.0.9 from MAD Team when i used the dd.
[Android General] naught101:
Yes, but how can we get into recovery mode? traditionally the only way is by using adb reboot recovery, but that won't work...

By the way, tweakradje, could you please edit the OP, and link to some of the kills, or at least note that a large proportion of phones are bricked? (seems like 8-9 out of about 12-13 are fails). Specifically, can you note that even reading the efs device block, without writing anything to it will potentially kill your phone, and it may be some kind of bastard lock protection by samsung?
[Android General] tweakradje:
My new suggestion above was not for un-bricking, but for getting the stl5 file with dd without the phone app running.

I also bricked my i5500 but not with unlocking. But it did run out of memory installing apps and then receiving a new SMS. Red triangle sign in notification bar with message "out of memory". After rebooting it hung in Samsung boot loop. Dead. This was with 2.0.8 custom ROM.

Cheers
[Android General] motafoca:
Using dd on stl5 bricks/corrupts efs

Dont do it

Dont blame custom roms ;)
[Android General] Azrael_PT:
I can confirm that it's true.

I'm using MAD rom for a wile and i didn't had problems.

My problems start when i used the dd on stl5.
[Android General] tweakradje:
OK. Thanks for that info. dd is causing trouble. I will adapt opening post. After using my first method (with mounting stl5 on /efs) I rebooted a few times without problems. So that is the way to go. Not using the dd method.

Cheers
[Android General] booci:
i think the solution for unbricking is flashing a good efs. but how do we get a uncorrupted one ? we have the otion to flash efs in odin, so there should be no problem there. Anyone got any ideas on how we can get a good efs?
[Android General] Azrael_PT:
I think that you can't do that. :(

I read something about this somewhere. :confused:

Can't remember where. :p
[Android General] tweakradje:
http://xdaforums.com/showthread.php?t=781149&page=190

Motofoca is the only one that might know the proper number for efs in ops file.

With dd you get a proper efs, tar it and use odin selecting only efs.

but we need to know the number for ops file.

Cheers
[Android General] :
My phone came back repaired by Samsung Service Center in my country. My logicboard was also changed. I am never ever going to mess with the EFS data again.

I fear that sooner or later Samsung engineers will take a look at this thread and do the possible to reject warranty of telephones with screwed up EFS.
[Android General] BlocK240:
I tend to think the opposite. Vanilla ROMs are more prone to go into a boot loop than custom ROMs. Or so, I think.

Azrael_PT and naught101, please PM me before you send your phones off to warranty. I want to try a few tricks.
[Android General] Azrael_PT:
No luck, i have already sent my phone to repair. :(

Back in 10 business days. :p
[Android General] booci:
i still have my phone, and i'm willing to try anything, because i can't send for repairs due to lack of warranty(i bought my phone from a guy, not from a shop).