Help! Restore BML3 / STL3 - Galaxy S I9000 Q&A, Help & Troubleshooting

Hi all mates!
I have a problem with my i9000... I explain my problem fast:
I have extracted the BML3 and STL3 of my phone to 2 files .img... I have duplicated this files to a backup and I modified it. Now, I can´t load the original bml3.img and stl3.img because the /dev/block/stl3 doesn´t exists... not are mounted... also when I restart my phone, the /efs/ directory is empty, and the phone dont ask me for the pin... (obviously, I don´t have call service) but, If I copy the nv_data.bin to /EFS directory, the phone ask me for the pin and I can make and receive calls...
Do you have some idea to load the original stl3 & bml3 files in the phone????
-------------------
well, now I have put the bml3 and I reboot, all is ok, but when I try to put the stl3 and I obtain this message:
dd if=/sdcard/stl3.img of=/dev/block/stl3
/dev/block/stl3: cannot open for write: Invalid argument
but the stl3 partition exist! and I rooted the phone
ls /dev/block/stl*
/dev/block/stl1
/dev/block/stl10
/dev/block/stl11
/dev/block/stl12
/dev/block/stl2
/dev/block/stl3
/dev/block/stl4
/dev/block/stl5
/dev/block/stl6
/dev/block/stl7
/dev/block/stl8
/dev/block/stl9

all is done!!!
I had to reflash the phone after recover the bml3... Now all is OK but my IMEI... it has the famous 004999010640000 number but that is other history

awia said:
all is done!!!
I had to reflash the phone after recover the bml3... Now all is OK but my IMEI... it has the famous 004999010640000 number but that is other history
Click to expand...
Click to collapse
Simply make a Call from your Phone: +49 9901 0640000 xD

Aery said:
Simply make a Call from your Phone: +49 9901 0640000 xD
Click to expand...
Click to collapse
xDDDDDDDDD

Why in the Gods name you messed around EFS in that way?
If your IMEI is messed up, I recon so is your WIFI MAC and BT address too.

Richthofen said:
Why in the Gods name you messed around EFS in that way?
Click to expand...
Click to collapse
because I looking for restore my original IMEI number
the WIFI MAC and BT also are changed?? I don´t have any problem with the wifi... but I don´t tested the BT...

I don´t have the MAC of wifi and BT ............
but wifi works good....... at the moment!

surprise!
when I recovered the product code and I restarted the phone, it shows me the WIFI MAC !!!!
but the KIES reg continues showing me the XXXXXXXXXXXXXX product code...

awia said:
surprise!
when I recovered the product code and I restarted the phone, it shows me the WIFI MAC !!!!
but the KIES reg continues showing me the XXXXXXXXXXXXXX product code...
Click to expand...
Click to collapse
Do you try to copy the files nv_data.bin and nv_data.bin.md5 into /efs and then remove the battery without turning off the phone?

quiron said:
Do you try to copy the files nv_data.bin and nv_data.bin.md5 into /efs and then remove the battery without turning off the phone?
Click to expand...
Click to collapse
no........ I try it now

awia said:
no........ I try it now
Click to expand...
Click to collapse
any news about that?

quiron said:
any news about that?
Click to expand...
Click to collapse
The same result

i had a similar issue with my nv_data files. i backed them up to my computer, then copied a set of nv_data files over from my gf's phone, and it gave the same issue. when i copied my original ones back, it still wouldn't work. seems the signature of the file is changed, and the phone doesn't accept it. your phone has a set of backup nv_data files on the phone in the efs partition. delete your bad nv_data files, shut off your phone, and turn it back on. the phone should recognize the files are gone, and use the backup files......worked for me
edit: just to clarify, only delete the .bin and .md5 files, not the .bak files.
leave: nv_data.bak & nv_data.bak.md5

Hello,
I'm having the same problem but only have the bml3.bak and the nv_data.bak and nv_data.bak.md5.
I updated the firmware to JPH and make the changes to restore the product code to KOR from XEC the original for my country and operator.
The bml3 was corrupted and in the next reboot the phone didn't ask for the pin code of my SIM card.
I try to restore the original files, but the efs is empty or write protected, with root explorer a mount to r/w and only if I connected by usb the phone ask for the pin, and I can access to phone network and can make calls a recive it but the IMEI is the tipical 004999010640000.
The stl3 is imposible to read or write from it. The nv_data.bin can not be reinstalled because pin is not recognise and in a reboot the files are restore to previous state.
I think the nv_data are store somewhere and when the file system is mounted as r/w the efs directory is recovery from there.
Efs directory only has and .android directory, and nv_data.bin, nv_data.bin.md5, .nv_state. No imei directory, etc
awia you has some good news, i'm from spain to, it's possible to speak somewhere in spanish.
Do you recomend to take the phone to SAT?
I bought it in the Telefonica FlagShip Shop in Madrid.

Hello,
An update over my previous comments.
If I used rootexplorer to paste .nv_data.bak and .nv_data.bak.md5 that I backup before and then go to efs directory and mount r/w and immediately copy the previous pasted files, then the process start and ask for my pin, and then the imei is restored. The problem is that this is temporal and only works in the current session, if you reboot the phone then you must to make the same steps. I don't know if I can make a sh to do this step more automatically, because I don't know how and what rootexplorer remount in r/w permissions, may be someone can help me in this tasks.
In my previous comment I said that the pin prompt only has shown if the phone is usb plug in but this is not true, works in all conditions.
About the process, I suppose the bml3 contains all the information and in the bootload process this bml3 set the stl3 and mount over efs directory but for some reason this is not working with my phone because the changes over the bml3, I don't know how can I reestablished it. I use the redbend_ua for that and the bml3 are now like my backed-up one, but still doesn't work.

Related

[Q] JM6 IMEI Change

Hi, i've just dialled *#06# to get my IMEI and my imei number has changed from 352*********** to 00004**********.
Does anyone currently know of a way to change the imei number back? Thanks in advance.
Your Friend
Phil
I noticed on JM6 and JMA that it made my IMEI number incorrect as well, so when I entered it, it didn't recognise it to change the CSC.
Not sure if there is a way, hopefully so!
I'm sticking with JJ7 now on my replacement tab until we get a proper recovery mode in place.
I had this on my galaxy S. Solved it by backing up the efs directory to be safe. you need root. then delete everything in the efs dir except nv_data.bak then rename it to nv_data.bin and reboot. It should rebuild the efs dir correctly and put the imei back.
But this only works if the nv_data.bak file has not been modified in anyway otherwise it will rebuild with the 0044 imei.
Lordao
Is a corrupted IMEI, can create you problems
I had it too before, but because I deleted also all the .bak files in the EFS folder...
You can recovery in 2 ways:
1st:
I suggest you to delete the nv_data.bin and the nv_data.md5 in EFS folder using rootexplorer then rename the .nv_data.bak to nv_data.bin and the .nv_data.md5.bak in nv_data.bin.md5 (same suggested by lordao); You can also delete the md5 files because it will rebuild it by itselfs.
2nd:
In the bad case the 1st solution will not work, means that your backup files are corrupted and your IMEI is not recoverable.....BUT if you are lucky like I was I recognize that I had a copy in my sdk folder (the one you used when you rooted the Tab!!!) I think the one click root did a backup copy of the nv_data.bin by itself. Grab that file and copy it in the EFS folder (deleting all the other nv_data.bin and nv_data.md5 and relatives .bak that you have in the folder) restart the tab. It will self rebuild the md5. You can make the new .bak files copying the nv_data.bin and rename the copy ad .nv_data.bak
Hope it will help you
Thanks zerocool76 worked perfect!! I now have my imei back. Your a star. Think I will keep a backup of that file. Just in case of future flashing.
diigibio said:
Thanks zerocool76 worked perfect!! I now have my imei back. Your a star. Think I will keep a backup of that file. Just in case of future flashing.
Click to expand...
Click to collapse
Just to know. Where you found the file? In the sdk? Because it would means that your .bak was corrupted too and I'm wondering why..???!!! Anyway glad it was working.I suggest you to backup all the EFS folder
zerocool76 said:
Just to know. Where you found the file? In the sdk? Because it would means that your .bak was corrupted too and I'm wondering why..???!!! Anyway glad it was working.I suggest you to backup all the EFS folder
Click to expand...
Click to collapse
I noticed and fixed this a few days ago.
When I look at my EFS folder backup, done right after rooting the Tab, I can see that nv_data.bak; size 1732608, is a different size, with an earlier creation date than the original nv_data.bin; size 2097152. According to nv.log, my nv_data.bin was corrupted during the time-frame where I was flashing different modems to the Tab while testing the screen timeout bug on JMA, it reports that when nv_data.bak was restored as nv_data.bin the file size was invalid, then says that it restored nv_data.bin, created from scratch I guess, which resulted in the improper IEMI and a serial# of all 0's.
Bell Tab
Roto-JMA firmware
Bell I9000UGJK4 radio
rgbc said:
I noticed and fixed this a few days ago.
When I look at my EFS folder backup, done right after rooting the Tab, I can see that nv_data.bak; size 1732608, is a different size, with an earlier creation date than the original nv_data.bin; size 2097152. According to nv.log, my nv_data.bin was corrupted during the time-frame where I was flashing different modems to the Tab while testing the screen timeout bug on JMA, it reports that when nv_data.bak was restored as nv_data.bin the file size was invalid, then says that it restored nv_data.bin, created from scratch I guess, which resulted in the improper IEMI and a serial# of all 0's.
Bell Tab
Roto-JMA firmware
Bell I9000UGJK4 radio
Click to expand...
Click to collapse
I destroyed my original nv_data.bin editing with a txt editor instead hex editor, plus I deleted baks files for mistake with root manager (no booze when playing with this **** anymore ), I didn't know that the IMEI is encrypted in that file. When I found a copy in my sdk (that I didn't make!?) I restore everything, and after that time I flashed a lots of Firmwares and Modems, but my imei is still ok.I know that a Galaxy S firmware made this issue because it was changing the nv_data and it didn't match anymore with the phone, so corrupted IMEI.I'm wondering if there is a firmware that is doing the same with the Tab
Mine has done the same but with JK5. First noticed when I did the Samsung UK offer thing. Completely different IMEI to whats on the back of my Tab.
Sent from my GT-P1000 using XDA App
Sorry to dig up and old thread, but is this still an issue, can say flashing back and forward from Overcome for example corrupt IMEI etc?
Interesting - are other Samsung devices able to have their IMEI changed?
What this means is that to a technically capable enough thief (or one who knows someone technical enough that will work on credit), Samsung devices are much more valuable: Normally if your mobile got stolen and you had the IMEI, you would report it to your network and they would have it blocked on all networks. Furthermore the police would use the IMEI to prove that the device is yours if it were recovered. If the IMEI can be changed, the device can't be identified and can't be blocked from networks. It only needs slight tweaking to make it appear valid. Don't know about the implications for post-registration call routing, but the thief wouldn't care about that.
In the US, gsm carriers won't block the number - they seem to view stolen phones as a potential new subscriber.
hello,
i have the same trouble ( imei change)on galaxy tab , but the phone work normally (for now ...).
Can i let it so , or could have trouble in future?
because i don't save nv data folder, and i'm not very good to restore rom.The mod was made from my friend.
excuse for my english ,bye
zerocool76 said:
Is a corrupted IMEI, can create you problems
I had it too before, but because I deleted also all the .bak files in the EFS folder...
You can recovery in 2 ways:
1st:
I suggest you to delete the nv_data.bin and the nv_data.md5 in EFS folder using rootexplorer then rename the .nv_data.bak to nv_data.bin and the .nv_data.md5.bak in nv_data.bin.md5 (same suggested by lordao); You can also delete the md5 files because it will rebuild it by itselfs.
2nd:
In the bad case the 1st solution will not work, means that your backup files are corrupted and your IMEI is not recoverable.....BUT if you are lucky like I was I recognize that I had a copy in my sdk folder (the one you used when you rooted the Tab!!!) I think the one click root did a backup copy of the nv_data.bin by itself. Grab that file and copy it in the EFS folder (deleting all the other nv_data.bin and nv_data.md5 and relatives .bak that you have in the folder) restart the tab. It will self rebuild the md5. You can make the new .bak files copying the nv_data.bin and rename the copy ad .nv_data.bak
Hope it will help you
Click to expand...
Click to collapse
i can recovery ANY imei number on ANY android device im currently making a program to do this automaticly
paul.robo said:
i can recovery ANY imei number on ANY android device im currently making a program to do this automaticly
Click to expand...
Click to collapse
Hows that program coming along? I might be in need of it on account of
losing my IMEI on my Galaxy tab.
ktmman said:
Hows that program coming along? I might be in need of it on account of
losing my IMEI on my Galaxy tab.
Click to expand...
Click to collapse
So i got my IMEI no.back but i still don't have a data connection. The strange thing is if i swap sim cards
with my phone it works so im not sure whats wrong with it.

[Q] Upgraded to "Overcome - Gingerbread", /efs folder empty

Hi guys,
Looking for helps here.
First I want to thank the guy created the "Overcome for Gingerbread", it comes w/ a great details instruction and I successfully upgraded.
My tab was original from Bell Canada, the phone feature was locked. I was able to unlock it by modifying the nv_data.bin file...
But now after I upgraded to Gingerbread, my phone feature is disabled again so I suppose I should do the whole unlock process again. However when I looked for the nv_data.bin file, the directory /efs is empty?!?!?!. Can someone help me here?
Thanks,
Edit: I found a nv_data.bin file on my laptop (not sure if it's the orginial one), trying to copy it to the /efs folder on the tablet, but I got error "not enough space"...
What program u using to copy with. Put that file on the SD card first from your PC.
Then get EF File Explorer rooted, and copy that from the SD card to the /efs directory
The nv_data.bin edit unlocks the tablet to allow use on other carriers like rogers, fido etc.
It does not provide phone usage, you need to flash a european rom to enable the phone,
then you need to flash a suitable modem to allow 3G data and phone, then edit your apn info.
Are you sure efs is empty, maybe your no longer rooted and can't see it?
You get the not enough space error because you have most probably renamed the original file and are trying to copy the new one in the directory. Delete the file and also the.md5 correspondent (it will be recreated on reboot.
P
Thanks for all the replies guys, but my problem is still there.
@Sonictab: I'm rooted and I'm sure that my /efs folder is empty.
@StarLog: I'm using Super Manager to copy the file
Now I can't even download files from the browser nor using the market place to download any apps. Something went wrong and I'm not sure what. Should I downgrade?

I have no efs folder yet I am able to get an efs_backup?

Using the thread below, I am able to get an efs_backup, but there is no original efs folder on my phone. it has all the nv_data.bin and files like that, but no "efs" folder on my phone. What is the proper file structure? Thanks
http://forum.xda-developers.com/showthread.php?t=881162
You have no /EFS partition? and still get a backup with the files in it? Use a root enable file explorer and check the very root of the phone for /efs not /system/efs but /efs...
I am running the stock Xperia Play ROM and I don't have an /efs partition either. I haven't tried making backups yet, but I do have an IMEI and I can make and receive calls.
I understand this is the forum for a Samsung phone and perhaps only Samsung phones store their IMEI like this. Is it even possible to lose your IMEI on an Xperia Play?

:( EFS folder empty = 12mb of 12 used! How to restore unzipped backup?

Hi all..
So Im pretty new at flashing androids, been using ubuntu for years and am quite familiar with the terminal as well as computers in general. I made the silly mistake of not doing a complete backup of my phone with CWM before flashing with CyanogenMod 9 and now my EFS folder is "empty" but still with Zero free space... giving the "usual" errors":
1) Corrupt or incorrect ( FAKE) IMEI number. (International Mobile Equipment Identity)
2) No Network and Signal ( calls, sms and mobile Internet not working)
3) No base Band or Unknown Baseband
4) Sim card lock missing
as described in the [A.I.O. Helpline] My Android Solutions.
CWM seems to have created a copy/paste backup of my EFS folder (not .zip and not .img, just a folder) on sdcard/efs/backup but the EFS folder is read only and root manager cant paste into it. I've read that deleting the EFS folder should recreate it, I tried in terminal with
Code:
rm -r /efs/*
and got the reply:
Code:
rm failed for /efs/lost+found, Directory not empty
How do I go about restoring the EFS folder?
Finally figured out how to copy/paste into the read only EFS folder! I have searched probably about a million threads, all say to "just copy paste" into the efs folder... but never how to do it when its locked because of read only permissions.
I think im one step closer.. but still not quite there yet.
The way to get write permissions is simply to open terminal and get root access and unmount the efs directory using:
Code:
umount /efs
After that, I could open the efs directory in Root explorer and mount it as R/W. Automatically, I get some default files there created by the system which I can delete and then I could copy/paste my backup into the efs directory. Bang, mobile network running, but baseband version is still unknown. Also, my IMEI number is the generic one, not my unique one
The problem now, is that on reboot my EFS directory goes blank again... anyone know how to continue from here?
Snarlster said:
The problem now, is that on reboot my EFS directory goes blank again... anyone know how to continue from here?
Click to expand...
Click to collapse
Solution:- Reason is you had Jumped from GB to JB (should be on ICS before JB), so now you need to
1) Download Root Explorer from Play Store and use it to
2) Search you internal SD card for sdcard/backup/efs
3) Copy nv_data.bin, nv_data.bin.md5 and nv.log paste them into /efs in your Phone memory
4) Reboot to get back your original IMEI
If it gets lost after reboot
Remedies for those who have a efs backup
If you Have a Backup and you want to restore it, this is one method Here or you can use the restore function in the app that you used to back it up
If restoring the efs folder or you have a nv_data.bin backup but if you write nv_data.bin or .nv_data.bak it's being deleted on every boot, than follow this [GUIDE] how to get IMEI to stick across reboots to make it stick.
BUT try this method first
Copy Paste EFS folder with root explorer, after paste , power down phone and reboot into recovery and wipe cache before rebooting....this worked for some
xsenman said:
Solution:- Reason is you had Jumped from GB to JB (should be on ICS before JB), so now you need to
1) Download Root Explorer from Play Store and use it to
2) Search you internal SD card for sdcard/backup/efs
3) Copy nv_data.bin, nv_data.bin.md5 and nv.log paste them into /efs in your Phone memory
4) Reboot to get back your original IMEI
If it gets lost after reboot
Remedies for those who have a efs backup
If you Have a Backup and you want to restore it, this is one method Here or you can use the restore function in the app that you used to back it up
If restoring the efs folder or you have a nv_data.bin backup but if you write nv_data.bin or .nv_data.bak it's being deleted on every boot, than follow this [GUIDE] how to get IMEI to stick across reboots to make it stick.
BUT try this method first
Copy Paste EFS folder with root explorer, after paste , power down phone and reboot into recovery and wipe cache before rebooting....this worked for some
Click to expand...
Click to collapse
Thank you, I had read each thread linking from those threads but it was good for me to do it again!
Flashing the EFS folder with Heimdall gave me the same results as copy/paste, setting the ownership/permissions made no difference in both cases, always empty on reboot.
FINALLY, these are the steps I took to get my phone "working".
1: Odin re-installed the stock I9000JVJV9_OJVJV9_JXJV6.tar file found on sammobile.com as well as the Pit file found on 4shared
2: This gave me an error on bootup... something about "failed to mount dbdata", this was solved with Odin as well by selecting only PDA and using the dbdata.rfs.tar found on hotfile.com.
After this, my phone booted up with the generic imei, a very welcomed change to the previous no imei thats been bothering me! Also, my baseband is showing, the EFS directory is full of files and google play is working... and fortunately, my carrier doesnt seem to care about the generic imei
I'm still going to get my imei back, but first things first! Its time to do some backing up!
Current plan is:
1: Install ClockworkMod
2: BACKUP
3: replace nv_data.bin with the backed up one.
4: reboot / see if my IMEI number is back.
5: BACKUP
6: install CyanogenMod
I hope this helpes someone down the road.. dont be shy on letting me know if my hours of pain helped you!
And... one more thing, my phone is Samsung Galaxy S GT-I9000
Thanks again for pointing me to the right direction
did you only used the PDA included on the I9000JVJV9_OJVJV9_JXJV6.tar file? and how did you use teh dbdata.rfs.tar? thanks.
efs Folder Contents
Hi Guys,
I am hoping you can help me with a problem.
I have a brand new GalaxyS2 i9100, which is on ICS 4.0.4 IMM76XWLPW - XXLQ6 Baseband version, Kernel 3.0.15-1056084 [email protected]#3(SMP PREEMPT Wed Aug 22 2:55:24 KST 2012). The phone is not rooted, but what I did was make a copy of my efs folder to my PC, obviously incorrectly, using My Phone Explorer.
I thought it was just a matter of uploading the folder to my PC and it could be used in an emergency, I thought it would just copy the folder.
What I have discovered, is that all the contents of the efs folder are now on my PC and the efs folder in my phone is empty!!!!
I am now unable to get the files, back into my phones storage.
When I enter *#06# into my phone, the IMEI number shows up and is correct.
I also have a copy of the original efs folder, on my External SD Card.
I have not changed anything else on the phone, other than removing the efs folder contents to my PC. Is there a way, to get all the contents back into my phones efs folder without having to "Root," using say....Emulator or something?
Would a "Hard Reset" on this unrooted stock phone, restore the efs folder to factory settings??
Thank You.
dixielee said:
Hi Guys,
I am hoping you can help me with a problem.
I have a brand new GalaxyS2 i9100, which is on ICS 4.0.4 IMM76XWLPW - XXLQ6 Baseband version, Kernel 3.0.15-1056084 [email protected]#3(SMP PREEMPT Wed Aug 22 2:55:24 KST 2012). The phone is not rooted, but what I did was make a copy of my efs folder to my PC, obviously incorrectly, using My Phone Explorer.
I thought it was just a matter of uploading the folder to my PC and it could be used in an emergency, I thought it would just copy the folder.
What I have discovered, is that all the contents of the efs folder are now on my PC and the efs folder in my phone is empty!!!!
I am now unable to get the files, back into my phones storage.
When I enter *#06# into my phone, the IMEI number shows up and is correct.
I also have a copy of the original efs folder, on my External SD Card.
I have not changed anything else on the phone, other than removing the efs folder contents to my PC. Is there a way, to get all the contents back into my phones efs folder without having to "Root," using say....Emulator or something?
Would a "Hard Reset" on this unrooted stock phone, restore the efs folder to factory settings??
Thank You.
Click to expand...
Click to collapse
I would be careful with that, if you have your efs folder on your sd card, I think it would be better to copy/paste them with root explorer back before reboot... though this is just a guess. In any case, since you have the folder on your PC, then at least you have the backup you need if you get into serious trouble.
If it did reset, please tell us about it in case someone else needs this info later
efs file restore
Thank you so much. After days of not having calling and texting functions available from a corrupted efs folder, who would have thought that a simple copy and paste of the backed up efs to the system would help greatly?
Hey, this worked for me, but I still can't connect to some carriers.

Empy Modemfs Folder

Hi, im running JB VSLP9 (Movistar Argentina firmware) and recently i decided i should backup efs and modemfs just in case. I followed the steps in this guide http://forum.xda-developers.com/showthread.php?t=2342100
I don't know if this is related but recently i've been having some problems with 3G connectivity. Sometimes the phone shows good signal but no data connection. You have to restart the phone to correct this. Also, some people have told me that calling me directs them straight to voice mail.
I was looking at my modemfs folder and then discovered that it is empty! 0 files, 0 bytes. So i tried to restore the backup that I made (16mb). But nothing changed, the folder is still empty ....
Is this normal ??? Can my problems be related to the "backup" of efs and modemfs ????
Thanks
Can anyone at least check your modemfs folder and tell me its contents ?
Piachnp said:
Can anyone at least check your modemfs folder and tell me its contents ?
Click to expand...
Click to collapse
Here you go.
But I do not know how to fix yours...
Thanks Shutdown, i tried wiping everything and flash the firmware again, but the modemfs folder is still empty... That crappy backup guide ****ed up everything
Does anyone know if i can ask for someone using the same firmware for the contents of this folder and copy them to my phone ????
Piachnp said:
Thanks Shutdown, i tried wiping everything and flash the firmware again, but the modemfs folder is still empty... That crappy backup guide ****ed up everything
Does anyone know if i can ask for someone using the same firmware for the contents of this folder and copy them to my phone ????
Click to expand...
Click to collapse
Maybe you need to mount modemfs partition before restoring? Look how to do that (trough terminal emulator, or ADB shell).

Categories

Resources