Hello.
I had problems with my EFS folder and IMEI.
Now i got it all back and running the Official Android 4.3 Firmware I9300XXUGMK6-DBT
But now i want to go back to custom roms ( Paranoidandroid ).
With the update to EMG4 Android changed the EFS folder.
That was the problem why i lost my IMEI.
What can i do, to get custom roms back !?
Everytime i flash ParanoidAndroid i dont get MobileNetworks.
Ask your question in Q&A section... this section is just for developers...
Hi mate ! Wrong section but i'll try to help you.
I read again your post, so, i guess you can simply flash an EMG4 modem !
^Try this before this :
I'll make it quick, and if you don't understand, i'll develop. Also, i apologize for my bad english.
1 ; Delete your EFS folder
2 ; Reboot in recovery, connect your mobile to the computer.
3 ; On your computer, start an ADB session and type, in the exact order the following commands :
adb remount
adb shell
mke2fs /dev/block/mmcblk0p3
mount -w -t ext4 /dev/block/mmcblk0p3 /efs
Once it's done, reboot your phone and check if your IMEI is back. If not, reflash an EMG4 modem and restart your smartphone.
Let me know how it's going, PM me if you want, or, you can add me on Skype ; Orath. (Don't forget the dot )
Related
I'm trying to run the "unofficial alpha 3" rom again but think that I need to do the following but can't figure out how. I have the Thunderg recovery rom and from reading the text below I think it means to boot into the recovery console, mount the /system partition and format it but I don't see how to get to a shell prompt from there,
Sometimes Recovery can't format /system so you must remove all files before flashing zip (bug still here):
1. Mount /system in recovery.
2. adb shell rm -rf /system/*
You get 1 error. This is ok.
Will update if I found this bug.
Can someone help ?
Cheers
Keith
You have to use ADB. Read here on how to get ADB installed and working: http://forum.xda-developers.com/showpost.php?p=10372531&postcount=3
Can I do that using ONLY my mobile phone? for example using a terminal emulator? If so, how?
Thank you
On void I installed cm 7 a2 just with the simple procedure of flashing in recovery. Then updated to cm7 a3 easily. Then I went back to void to check the audio quality. Found the quality same and also realized equalizer app didn't install on void. So tried to flash back cm7a3. But bootloop occurred. Fortunately I had a nand backup of cm7a2. So restored it and updated to a3 flawlessly.
So two learnings:
1. Sometimes direct install of cm fails. Sometimes it works.
2. Nand backup is a very good thing.
Hi!
My brand new SGS2 quickly got bad blocks on the ... /efs partition.
Talk about bad luck, radio wouldn't work. Also, odin, etc wouldn't format that properly as EFS shouldn't be deleted (even "Phone EFS clear" does not work)
After tinkering around a while, granted that you DO HAVE a backup of the /efs (when you buy the phone and root it, for the love of whatever you believe in ALWAYS BACKUP EFS), I found a way to do it properly.
If you do not have a backup (ARE U NUTS?!) try this in adb shell as root:
# cp -r /efs /sdcard/efs
If there's no error, it might work. Even if there's errors, but /sdcard/efs is not empty, it might work. If you have ._nvdata kind of files that copied successfully, you might also be able to recover something. (post here for assistance if so, i guess)
Note that regular write/reads and regular dd'ing won't work.
Anyhow.
1: root the phone
2: coy your efs backup to your sdcard (eg as /sdcard/efs in my example)
3: adb shell to the phone, su if necessary (=be root)
4: # umount /efs
5: # dd if=/dev/block/mmcblk0p1 of=/dev/null bs=1
*wait a while*
Check the number of bytes it has read and copy it, normally it should be 20971520 (20 megs)
<size> is without the "<>" eg make_ext4fs -l 293938 -a ...
6: # make_ext4fs -l <size> -a efs /sdcard/efs_new.img /sdcard/efs
7: # dd if=/sdcard/efs_new.img of=/dev/block/mmcblk0p1 bs=1
*wait ages*
8: # mount -text4 /dev/block/mmcblk0p1 /efs
*check theres no error*
9: # reboot
10: # verify you have no I/O error in dmesg
Good luck!
And remember:
This voids your warranty.
This is at your own risk.
Making mistakes/typoes in the devices names can BRICK your device.
I am not responsible if anything wrong happen.
Thanks for the howto.
Have you any idea how you got those bad blocks in the first pkace ?
nope
i wasnt doing anything special, hard the phone only recently
at one reboot it didnt want to take my sim card pin anymore, then later radio wouldnt turn on at all (cause it couldn't read /efs)
That's pretty scary...:s
Send from my Galaxy S II running on VillainRom.
This happened to my samsung nexus s do you think there is a similar recovery for my device? i hhave some bad blocks
Any news for a nexus s bilboa I've got bad blocks :s and sometimes radio wont start and crash I have atm 8 badblocks, if it is not fixable can I make a workaround like on cm7 that original efs partition is untouched (in cm7 for i9000)
Thanks
Sent from my Nexus S using XDA App
You saved my life! My IMEI was completely lost and so I could recover it. Thank you very much for the guide.
I keep getting umount: not found when i try to unmount /efs. Whats wrong?
...and on the 8th day he created the SGS II!
What do i do if the EFS folder is completely empty??
you're screwed then sorry
Is your problem solved.. I am also facing same problem.
I lost my IMEI number.
Please help me out
Please could somebody tell me if there is any known method for backing up efs/IMEI data that works for the S5830i and if anybody has ever actually successfully restored their IMEI number for this model of phone?
I've read alot of information about differrent methods, although most of them are in the Galaxy S forums and I've seen one post in the Galaxy Ace S5830 forum stating there is currently no known working restore method for the S5830 (but not the S5830i).
Also, apparently (see http://forum.xda-developers.com/showpost.php?p=25718433&postcount=8) you can actually corrupt the /efs partition when backing it up if you are not carefull as it is a hidden partition that is not mounted by default when the phone boots. Apparently, if you don't unmount it after you've backed it up, goodbye /efs partition.
Even if there is no current working restore technique, I would rather backup now to be on the safe side and hope a restore method becomes apparrent in the future as I've already lost my IMEI information once (and managed to get a phone replacement under warranty luckily). I would however prefer to know how I can safely do so first.
Ok, so I've been looking into how to do this for a couple of weeks now and still nothing. Surely somebody must know some information regarding /efs or IMEI data on the s5830i?
I'm in an ADB shell at the moment and I've got an /efs folder in my root directory, but I've looked in this directory and it's currently completely empty (including hidden files). The only thing I can presume is that on my phone /efs is merely a directory that has been created for the specific purpose of acting as a mount point for the actual 'efs partition', which is not actually mounted at the moment for whatever reason.
Issuing the mount command confirms nothing along the lines of an efs partition is mounted. I've had a look in /dev and from searching this forum a bit more, I understand, efs is likely to be /dev/stl# (where # is a digit). So does anybody know which one it is?
I'm not going to do anything silly and start dd'ing it straight off but there must be some way of backing it up safely seeing as it has been done on many other phones. Also any information on when and how it is mounted (by Android OS) and how to mount it safely would be much appreciated even if this is more Android general than my specific model of phone.
I may be speaking to myself in this thread but in case anybody else needs an answer, it looks like Galaxy Toolbox can do an /efs backup and is compatible with the S5830i. See:
http://forum.xda-developers.com/showthread.php?p=25949902
https://play.google.com/store/apps/details?id=com.doky.sgtoolbox
Incidentally, that information seems to imply that the /efs device file is at /dev/bml15, which does exist on my phone, not that I plan on manually interacting with it!
I know this is an old topic and no one showed up here.
But I wanted to come to say to you THANKS! because you really helped me
kitsune0 said:
I know this is an old topic and no one showed up here.
But I wanted to come to say to you THANKS! because you really helped me
Click to expand...
Click to collapse
galaxy toolbox is the solution :good: i already try it ... work fine in restore and backup
terminal emulator
su press enter
busybox dd if=/dev/bml15 of=/sdcard/bml15.img press enter
angel.sea said:
terminal emulator
su press enter
busybox dd if=/dev/bml15 of=/sdcard/bml15.img press enter
Click to expand...
Click to collapse
1. Use SGY Toolbox
2. Use this .
http://forum.xda-developers.com/showthread.php?p=38823212
3. Then at last resort
Use the command given by above person
AW: Is efs/IMEI Backup Possible for S5830i
Yeah thats work for me too :thumbup:
Gesendet von meinem GT-S5830i
TLDR: Phone was bricked revived it now stuck with generic IMEI
Ok so basically my GS3 got bricked dont know exactly why but in recovery it said e: failed to mount /efs (Invalid argument) i was able however to revive it with this thread post #4 ( http://forum.xda-developers.com/showthread.php?t=2204960 ) but now my IMEI is "generic" 004999010640000 and now i cant connect to the network. Im on a mac and the only tutorials ive seen are for windows. my question is is there anyway to change it from the phone itself or on a mac? Sorry if this has been asked before but if anyone can point me in the right direction that would be great.
PS i know changing your IMEI is HIGHLY illegal but i just want to change it back to the original one on the back of the phone.
You're #2 today and #1073453 in total, asking for help with 00499... issue! Not nice...
Use the flipping search bar! :/
Im on a mac...
oh im sorry but if you read the whole thing IM ON A MAC so anyway to fix this would be great...
djembey said:
You're #2 today and #1073453 in total, asking for help with 00499... issue! Not nice...
Use the flipping search bar! :/
Click to expand...
Click to collapse
Restore your backed up EFS folder through whatever method you used .
No backup then a Samsung service centre .
jje
Ok so i have a backup but its the coorrupted one... anyway to open up the .img and copy the files manually on a mac? sidenote when i restore the corrupted one im in a boot loop
JJEgan said:
Restore your backed up EFS folder through whatever method you used .
No backup then a Samsung service centre .
jje
Click to expand...
Click to collapse
Sorry not a clue don't even know how to switch a Mac on .
jje
If your EFS dump is a full partition dump (it being .img suggests that), you can simply write it back in recovery with:
Code:
umount /efs
dd if=/sdcard/yourefs.iso of=/dev/block/mmcblk0p3
reboot
If that fails or throws errors, repeat the steps in the tutorial you linked to re-create an empty EFS partition.
By the way /efs is an EXT4 partition so neither Windows nor Mac (or any other BSD-derivate) are natively capable of reading it, only Linux computers (read: Ubuntu, ...) or specialized tools that simulate filesystem drivers are able to do so.
so i tried that and wasnt able to boot past the i9300 screen. any other suggestions?
d4fseeker said:
If your EFS dump is a full partition dump (it being .img suggests that), you can simply write it back in recovery with:
Code:
umount /efs
dd if=/sdcard/yourefs.iso of=/dev/block/mmcblk0p3
reboot
If that fails or throws errors, repeat the steps in the tutorial you linked to re-create an empty EFS partition.
By the way /efs is an EXT4 partition so neither Windows nor Mac (or any other BSD-derivate) are natively capable of reading it, only Linux computers (read: Ubuntu, ...) or specialized tools that simulate filesystem drivers are able to do so.
Click to expand...
Click to collapse
ugh
Ok so i havent updated this in awhile but here it goes...
First i installed ubuntu on my mac and converted my corrupted EFS partition to .iso and opened it in linux. Anyway no files in there.
Second the samsung service center here in alaska is only for TVs...
Third ill call samsung on monday but dunno what i can do besides save up for another phone or a octopus box or what you call it.
I wanted to try the encrypt feature of android in my phone but now when I try to flash a new version on my rom can't mount my sdcard as it is encrypted. When I did it I imagined that it may was possible to decrypt within recovery and then flash a new rom but that's not possible.
What's the best way to decrypt my phone/flash a new rom on top, by losing as few as possible??
I googled and found a thread in the galaxy nexus forums that mentioned that the only way is via fastboot, is this possible with s2? any pointers to the s2 method?
I managed to flash another rom (miui specifically) by using adb and the commands below
./adb shell mount -t tmpfs none /sdcard
./adb push update.zip /sdcard
Click to expand...
Click to collapse
but now its not possible to decrypt the sdcard despite the fact i know the password, it doesn't even prompt me at boot
edit:
By doing factory reset I might have deleted the encryption keys rendering my sdcard inaccessible that's why I don't get prompted for password at boot. Is there anyway to fix this or create the certificates again as I know the password???
This has bin spoke about before with no results mate. Sorry. Seems its lost now. People I spoke to tried every thing with no success.
I9100/I9300
Hey flash gb firmware. A user did this and it has no encryption on it then flashed jb firmware and it was sorted :thumbup::thumbup: pls try it and see.
I9100/I9300