I tried to delete nv_data.bin and nv_data.bin.md5 in order to recover original version from .nv_data.bak and .nv_data.bak.md5 after reboot but failed.
Firstly I remounted efs partition with -w flag:
Code:
mount -w -t ext4 /dev/block/mmcblk0p1 /efs
First file've been deleted but for second message 'read-only system' shows up. And when i unmount and then mount again first file appears again.
I tried to do these from terminal emulator, adb shell from booted phone and in recovery mode (with CF4 installed).
My firmware version XWKE7. I bought phone as sim free at clove.co.uk
Can anyone suggest what can i do?
From what I have read from the SGS forum if your efs folder is missing your imei your stuck, only thing to do is flash some stock FW from odin and return it, hope you can return it under warranty mate.
Sent from my GT-I9100 using XDA Premium App
wow, seriously unlucky try pushing it through adb?
EDIT: nevermind
try restoring & wiping everything, then rooting, then try and push it through adb ?
You could try the backup and restore efs post from dev section if you have not already .
jje
JJEgan said:
You could try the backup and restore efs post from dev section if you have not already .
jje
Click to expand...
Click to collapse
Yes, but it only works if he backed up his efs folder before he lost his imei.
Sent from my GT-I9100 using XDA Premium App
Kstarz said:
Yes, but it only works if he backed up his efs folder before he lost his imei.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
I know but may be more help their than elsewhere .
Restore IMEI post on SGS1 forum from memory as well .
Lost mine on SGS1 but a simple stock rom install restored it .
jje
Related
I have root my S4 and will make a backup from efs/imei but EFS Professional not working with the S4. How can i backup efs?
is it so hard to get a copy of ur EFS folder to safe place ?
You can use TWRP recovery to get a EFS backup
Gesendet von meinem GT-I9505 mit Tapatalk 2
You can back up a whole partition with Terminal Emulator from Play Store.
This is example made for I9505 ONLY!!!!
For I9500 use mmcblk0p3 and efs.img instead!!!
Download it , and run it, then type:
Code:
su
dd if=/dev/block/mmcblk0p10 of=/mnt/sdcard/efs.img.ext4
and it will dump whole partition into one file efs.img.ext4 on your internal SD card
or
Code:
su
dd if=/dev/block/mmcblk0p10 of=/mnt/extSdCard/efs.img.ext4
to save it on external SD.
If something goes wrong and you need to restore it:
Code:
su
dd if=/mnt/sdcard/efs.img.ext4 of=/dev/block/mmcblk0p10
or
Code:
su
dd if=/mnt/extSdCard/efs.img.ext4 of=/dev/block/mmcblk0p10
Keep it safe and enjoy
djembey said:
You can back up a whole partition with Terminal Emulator from Play Store.
Download it , and run it, then type:
Code:
su
dd if=/dev/block/mmcblk0p10 of=/mnt/sdcard/efs.img
and it will dump whole partition into one file efs.img on your internal SD card
or
Code:
su
dd if=/dev/block/mmcblk0p10 of=/mnt/extSdCard/efs.img
to save it on external SD.
If something goes wrong and you need to restore it:
Code:
su
dd if=/mnt/sdcard/efs.img of=/dev/block/mmcblk0p10
or
Code:
su
dd if=/mnt/extSdCard/efs.img of=/dev/block/mmcblk0p10
Keep it safe and enjoy
Click to expand...
Click to collapse
With all respect to your post, I would like to warn people that this is not working for all the models/devices. Although it might look fine when executing the commands, it might not have made a backup of EFS, but of something else... What I know for sure is that it will not work for atleast the international i9505-model of the S4, as the partition layout is different.
In my post below, more details are given on this partition id.
http://forum.xda-developers.com/showthread.php?t=2276599
While executing your commands does not affect the device, it does not always give the people a backup they expect it to be, depending on their device/model. In my case you are able to verify which 'mmcblk' is actually efs on your device. It also gives a TAR backup as option.
Mr_Q said:
With all respect to your post, I would like to warn people that this is not working for all the models/devices. Although it might look fine when executing the commands, it might not have made a backup of EFS, but of something else... What I know for sure is that it will not work for atleast the international i9505-model of the S4, as the partition layout is different.
In my post below, more details are given on this partition id.
http://forum.xda-developers.com/showthread.php?t=2276599
While executing your commands does not affect the device, it does not always give the people a backup they expect it to be, depending on their device/model. In my case you are able to verify which 'mmcblk' is actually efs on your device. It also gives a TAR backup as option.
Click to expand...
Click to collapse
Mate... I've added that it is for I9505!!!!
I9500 have EFS located @ mmcblk0p3...........
thanks
I used GS2 repair from play store. It went through the usual process and I can see the back up file on the sd card. Can anybody more qualified confirm if this app works on S4?
Sent from my GT-I9505 using xda premium
djembey said:
Mate... I've added that it is for I9505!!!!
I9500 have EFS located @ mmcblk0p3...........
thanks
Click to expand...
Click to collapse
Great. You are right, in my case it's mmcblk0p10 as well, as mentioned correctly in my guide already.
Thank you for updating.
HANDSY said:
I used GS2 repair from play store. It went through the usual process and I can see the back up file on the sd card. Can anybody more qualified confirm if this app works on S4?
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
The best thing is to check it with the developer. I do not know what file has been created, although I expect it to be a raw copy using dd. The best thing is to do it manually. Or by the instructions given by djembey, or by the more detailed step-by-step instructions in the thread of my previous post here.
Hey, I managed to backup the EFS folder. Is there any way to modify the backup file and restore it after the modification? I want to change the IMEI number but unfortunately I have no box / cables available to do so. There must be a solution?! I am currently living in Turkey and they restrict western mobile phone usage for foreign people.
thanks a lot
cheers,
ralf
,
ralfa1234 said:
Hey, I managed to backup the EFS folder. Is there any way to modify the backup file and restore it after the modification? I want to change the IMEI number but unfortunately I have no box / cables available to do so. There must be a solution?! I am currently living in Turkey and they restrict western mobile phone usage for foreign people.
thanks a lot
cheers,
ralf
Click to expand...
Click to collapse
Same here with me
i9505 imei null
please can somebody help me,what ever I try not working.Unfortynately everything working,but always show imei null and not have baseband,of course and network too.I am install with Odin few different fabrics roms or how you call that.Last is this one with 4 files inside
I9505XXUGNG8_I9505OXXGNG2_I9505XXUGNG8_HOME.tar.Everything going fine,but havent imei like on start.I am also try few different things with EFS_Professional.but cannot fix my problem.Also I am try to erase EFS,but folder cannot erase,just files inside,and trying other one downloaded from net,but not going.Every time after reboot,EFS be back automatics,Can you help me ,please
If I am write inside EFS folder must be a file nv_data.bin ,I dot have that.Have lots of,but dont see that.I have inside few folders,like imei and etc.. And inside imei folder I have mps_code.dat.I am hope somebody can understand my problem.Can somebody sent to me that file,and can I take from other phone.Is that my solution,or what.HELP PLEASE
this is in function to my i9505,but not help me to solve problem.Somehow I not have file nv_data.bin on my phone in efs folder,and backup and restore not help me.Please do you no some solutions?
<RESOLVED> [HELP]N7100_IMEI 0049xx_SN 0000.._Service State "out of service"
Hi Guys. I got this issue after upgrading my Note II to the latest OMEGA ROM v17. After doing the upgrade I was able to use it for a couple of hours and then I realized though there is a signal I am not receiving any internet data (internet icon was gone). I restarted the phone, switch to flight mode back and forth, switch on/off data, but still no luck. I soon realized also that I am not receiving any SMS or call. I thought it was just my carrier so I called them and made a complaint like hell. They said that my line should be fine. From there I started reading for all possible reasons why I am getting this issue. I then found out that my IMEI that is showing on the phone is different on the sticker attached on the battery compartment. Serial number on the phone is 000000000. Service state is "Out of service" though it detects from which network my SIM is. I have tried to flash different custom ROMs and several stock ROMs, but with no go. Tried also different methods on restoring EFS and still no luck. Stupid me, I don't have any backup EFS file or a copy of a nand backup. I was able to get out of the factory mode, wifi and everything else are working except for not receiving any call or SMS because of the bad IMEI, SN, and the Service state "Out of service". I have read some fixes on other threads from a different android phones, but with no avail in fixing mine. I know there's a lot of thread of the same issue, but I want to create my own so I can make sure that people who got ideas on how to fix this is just referring to my "own" issue which will be easier for me to monitor the thread.
So I have tried the following:
- flashed different custom ROMs - no good
- flashed several stock ROMs - no good
- tried EFS Professional.exe - no good
- tried N7100_EFS_Backup_Restore_WIN - no good
- tried ARIZAPatch.apk - no good
- tried SGS tools - no good
- tried com.helroz.GSII_Repair_102.apk - no good
- tried NV-items_reader_writer.exe - I don't know how to make it work
- restored old EFS Backup - no good
- able to find an old NANDroid backup (when it was still working before), flashed it - no good
They say helps the modem from the topic http://forum.xda-developers.com/showthread.php?t=2333216
### --- XXDME4 modem --- ### fix IMEI - -unknown modem
on the XXDME6 base - you can not install old modems,
because it will cause for unknown modem & imei status.
Solution flash - XXDME4 modem
XXDME4 modem
flash via TWRP / CWM
ATTACHED FILES
modem XXDME4 .zip - [Click for QR Code] (4.84 MB, 1209 views)
Click to expand...
Click to collapse
tried that still no go
red_hanks said:
...
Click to expand...
Click to collapse
Read this
victorator said:
Read this
Click to expand...
Click to collapse
Tried that mate but no luck.
in /efs folder contains files *.bak?
aaleo said:
in /efs folder contains files *.bak?
Click to expand...
Click to collapse
yup
move the following files in a backup folder somewhere to your internal SD card
.nv_core.bak,
.nv_core.bak.md5,
.nv_data.bak,
.nv_data.bak.md5,
nv_data.bin,
nv_data.bin.md5
moving them they will be deleted from the efs folder
Reboot.
Now you will have the generic IMEI.
aaleo said:
move the following files in a backup folder somewhere to your internal SD card
.nv_core.bak,
.nv_core.bak.md5,
.nv_data.bak,
.nv_data.bak.md5,
nv_data.bin,
nv_data.bin.md5
moving them they will be deleted from the efs folder
Reboot.
Now you will have the generic IMEI.
Click to expand...
Click to collapse
I have tried that method but it just made my note2 switch to factory mode. Sorry to ask but have you tried that method on your own or you just copy pasted that from somewhere showing that you're willing to help but no certainty if that really works or will just mess up something?
I did it. I did not have IMEI (0000000000) I think you can help it. The last thing that comes to mind to flash the original firmware from sammobile.com through odin.
---------- Post added at 04:39 PM ---------- Previous post was at 04:23 PM ----------
You can restore files via adb
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p3 /efs
cp /mnt/sdcard/.nv_core.bak /efs/.nv_core.bak
cp /mnt/sdcard/.nv_core.bak.md5 /efs/.nv_core.bak.md5
cp /mnt/sdcard/.nv_data.bak /efs/.nv_data.bak
cp /mnt/sdcard/.nv_data.bak.md5 /efs/.nv_data.bak.md5
cp /mnt/sdcard/nv_data.bin /efs/nv_data.bin
cp /mnt/sdcard/nv_data.bin.md5 /efs/nv_data.bin.md5
aaleo said:
I did it. I did not have IMEI (0000000000) I think you can help it. The last thing that comes to mind to flash the original firmware from sammobile.com through odin.
---------- Post added at 04:39 PM ---------- Previous post was at 04:23 PM ----------
You can restore files via adb
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p3 /efs
cp /mnt/sdcard/.nv_core.bak /efs/.nv_core.bak
cp /mnt/sdcard/.nv_core.bak.md5 /efs/.nv_core.bak.md5
cp /mnt/sdcard/.nv_data.bak /efs/.nv_data.bak
cp /mnt/sdcard/.nv_data.bak.md5 /efs/.nv_data.bak.md5
cp /mnt/sdcard/nv_data.bin /efs/nv_data.bin
cp /mnt/sdcard/nv_data.bin.md5 /efs/nv_data.bin.md5
Click to expand...
Click to collapse
Just tried original firmware but same thing. I am getting frustrated now..
Stupid idea. Maybe it's in the sim card is broken. There is another test for?
aaleo said:
Stupid idea. Maybe it's in the sim card is broken. There is another test for?
Click to expand...
Click to collapse
SIM card is ok. Read my explanation on post #1.
Was able to find an old EFS backup of mine dated January 2013. Tried to restore it but still same issues.
red_hanks said:
Was able to find an old EFS backup of mine dated January 2013. Tried to restore it but still same issues.
Click to expand...
Click to collapse
Read this: http://forum.xda-developers.com/showthread.php?t=2332913
The Stability update on which is based the rom has some changes in the kernel and the efs folder. Maybe that thread can help you out....hope it does....:good:
red_hanks said:
Tried that mate but no luck.
Click to expand...
Click to collapse
Just wondering, did you tried Kies Emergency restore???
Sent from my GT-N7100 using xda premium
find someone who has a SGN2 ,back up the image of efs partition 20mb , open it with a compiler on your pc, change the IMEI to same as yours on the box , recompile and restore.
hagba said:
find someone who has a SGN2 ,back up the image of efs partition 20mb , open it with a compiler on your pc, change the IMEI to same as yours on the box , recompile and restore.
Click to expand...
Click to collapse
Wow sounds complicated lol hope this don't happen to me!
Sent from my GT-N7100 using xda app-developers app
glevitan said:
Read this: http://forum.xda-developers.com/showthread.php?t=2332913
The Stability update on which is based the rom has some changes in the kernel and the efs folder. Maybe that thread can help you out....hope it does....:good:
Click to expand...
Click to collapse
Done with this with no luck.
aspot72 said:
Just wondering, did you tried Kies Emergency restore???
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Not sure how to do that, never use Kies before
hagba said:
find someone who has a SGN2 ,back up the image of efs partition 20mb , open it with a compiler on your pc, change the IMEI to same as yours on the box , recompile and restore.
Click to expand...
Click to collapse
Like what I have said, found an old backup of mine and it doesn't work. So it's pointless to try this.
I was sleepless (haha) trying to find solution for this. I came across this site and tried the app there. But as you can see on the image below, the button to change the IMEI is grayed out. There is not clear instructions on the site so it is kinda hard what to do in times like that. The app might be for a specific device but if it recognized the IMEI on my phone then it should be able to change it.
So I think I lost the efs files while flashing cm10.2. I do have it backed up in my stock rom,but I can't restore it because of a 'E: unable to mount /efs' error in twrp. I still have my IMEI, can make calls and sms, but the efs folder is empty according to root browser, es file manager and twrp. What can I do to fix the unable to mount /efs thing? Thanks!
EDIT: I'm using a GT-i9505
If you don't succeed otherwise flash full stock rom with PIT and restore your backup. Backup internal sd first.
Sent from my GT-I9505 using xda app-developers app
Try to remount it in t w r p there's an option for that
Sent from my GT-I9505 using Tapatalk 4
laststandingdroid said:
try to remount it in t w r p there's an option for that
sent from my gt-i9505 using tapatalk 4
Click to expand...
Click to collapse
i did but i failed miserably
I wonder if you can take your backed up efs folder and push it back onto the phone with adb??
Or, download EFS12.tar file then flash it, you done.
thatsupnow said:
I wonder if you can take your backed up efs folder and push it back onto the phone with adb??
Click to expand...
Click to collapse
HOW
exprxp said:
Or, download EFS12.tar file then flash it, you done.
Click to expand...
Click to collapse
Honestly, too complicated for me... I've never even touched adb command before
Cheremy said:
Honestly, too complicated for me... I've never even touched adb command before
Click to expand...
Click to collapse
Open Odin3 v4 program then choose efs12.tar file then click Start. Phone must be set into Download Mode.
exprxp said:
Open Odin3 v4 program then choose efs12.tar file then click Start. Phone must be set into Download Mode.
Click to expand...
Click to collapse
So... you just flash it and everything's back to normal? No risks? According to this thread it seems more complicated than what you described...
Cheremy said:
So... you just flash it and everything's back to normal? No risks? According to this thread it seems more complicated than what you described...
Click to expand...
Click to collapse
That is not for I9505, for I9505 u can clear EFS without risk. The problem is you already have a couupted EFS file, so no point to backup it.
exprxp said:
That is not for I9505, for I9505 u can clear EFS without risk. The problem is you already have a couupted EFS file, so no point to backup it.
Click to expand...
Click to collapse
huh clear efs without risks?
guys ii have a i9505 and efs folder empy,, suggest me what do please
How do I take esf backup?
Thank you for your kind answers.
Sent from my Nexus 4 using xda app-developers app
pwned_me said:
How do I take esf backup?
Thank you for your kind answers.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
AFAIK this partition is an exclusive partition on Samsung devices...
Isn't it efs on Samsung?
audit13 said:
Isn't it efs on Samsung?
Click to expand...
Click to collapse
Yeah you're right! Is it a spelling error? Never heard of esf...
Nexus 4 doesn't have a efs partition.
[DEVICE : N⁴][ROM : crDROID][KERNEL : AK]
[LAUNCHER : NOVA][CARRIER : T-MOBILE][CASE : NONE]
Well my friend lost his emi and stuff when he tried to flash a ROM on Gnex , when i googled about it, he mentioned about esf thing.
Sent from my Galaxy Note II using xda app-developers app
pwned_me said:
Well my friend lost his emi and stuff when he tried to flash a ROM on Gnex , when i googled about it, he mentioned about esf thing.
Sent from my Galaxy Note II using xda app-developers app
Click to expand...
Click to collapse
If your friend is lucky few ROMs will take EFS backup in SDCard and there are tools which can restore IMEI number. If you do flash other roms then better take a backup of efs folder. using root explorer you can archive and store efs folder.
imapk said:
If your friend is lucky few ROMs will take EFS backup in SDCard and there are tools which can restore IMEI number. If you do flash other roms then better take a backup of efs folder. using root explorer you can archive and store efs folder.
Click to expand...
Click to collapse
How do I take that?
Sent from my Nexus 4 using xda app-developers app
pwned_me said:
How do I take that?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
check this post: LINK
There isn't an efs partition on nexus 4. It's a samsung thing. Galaxy nexus had it because it was made by SAMSUNG
Backing up ur ESF Partition
U need Root,Android Terminal Emulator and busy box to successfully backup your ESF Partition. Type the following codes to backup/restore the ESF partition.There is another block mmcblk0p10 which contains the m9kefs3.img however the same is blank(So backup not mandatory). The m9kefs2.img contains the IMEI information. Also kindly backup the same to ur PC / Email or Drive
Also these codes remain the Same for Android 4.4(Kitkat) & 4.2(JB). However for Android 4.3(JB) change the storage path to storage/emulated/legacy
Code:
su
dd if=/dev/block/mmcblk0p8 of=/storage/emulated/0/m9kefs1.img
dd if=/dev/block/mmcblk0p9 of=/storage/emulated/0/m9kefs2.img
Restore.
su
dd if=/storage/emulated/0/m9kefs1.img of=/dev/block/mmcblk0p8
dd if=/storage/emulated/0/m9kefs2.img of=/dev/block/mmcblk0p9
Hit the Thanks Button as a Token of Appreciation
ERROR AFTER INSTALLATION CM11 on g360h
Remove IMEI. As Lost ? HELP!
dou u have backup of efs ?
Dreamstar said:
dou u have backup of efs ?
Click to expand...
Click to collapse
no..but i can use efs backup from my brother phone its g360h too..how restore my original efs..my efs folder is empty.. pls help me :crying:
hmm Follow these steps :
1.Go to Cwm recovery
2.Then Mount System and Data
3.Then Type Adb Device ( if device showing in list ).
4.Then Type Adb Shell
5.Type mke2fs /dev/block/mmcblk0p17
6.Then mount -w -t ext4 /dev/block/mmcblk0p17
7.Then Reboot !!
Now efs will fixed.
Dreamstar said:
hmm Follow these steps :
1.Go to Cwm recovery
2.Then Mount System and Data
3.Then Type Adb Device ( if device showing in list ).
4.Then Type Adb Shell
5.Type mke2fs /dev/block/mmcblk0p17
6.Then mount -w -t ext4 /dev/block/mmcblk0p17
7.Then Reboot !!
Now efs will fixed.
Click to expand...
Click to collapse
Type Adb Device ??? where i can Type in Cwm recovery
when u connect to pc
then go to command prompt
then type adb devices
Dreamstar said:
when u connect to pc
then go to command prompt
then type adb devices
Click to expand...
Click to collapse
hmm floder is back.. efs is fix..but imei ist 000000000000000 and still no network?? and now ?
just copy efs folder
Dreamstar said:
just copy efs folder
Click to expand...
Click to collapse
i dont understand you brother... It already exists ..
@mv2007
any cm rom works with your g360h???
adamh.ayyad said:
@mv2007
any cm rom works with your g360h???
Click to expand...
Click to collapse
no one
mv2007 said:
ERROR AFTER INSTALLATION CM11 on g360h
Remove IMEI. As Lost ? HELP!
Click to expand...
Click to collapse
Where you got the CM11?Is it of @Dreamstar?
dRbXDA said:
Where you got the CM11?Is it of @Dreamstar?
Click to expand...
Click to collapse
yes its cm 11 by dreamstar. and its not working
@mv2007
have u repaired ur imei
need help here... my imei is lost
$!n$ter said:
@mv2007
have u repaired ur imei
need help here... my imei is lost
Click to expand...
Click to collapse
You should backup your efs before installing custom rom. Mines has been repaired. Thanks to my friend who give his efs folder.
JustFrame said:
You should backup your efs before installing custom rom. Mines has been repaired. Thanks to my friend who give his efs folder.
Click to expand...
Click to collapse
i hav my efs copied
i tried but cannot restore
how did u restore the imei
$!n$ter said:
i hav my efs copied
i tried but cannot restore
how did u restore the imei
Click to expand...
Click to collapse
My friend backed-up his efs folder by TWRP and send to me and I restore by TWRP also.
JustFrame said:
My friend backed-up his efs folder by TWRP and send to me and I restore by TWRP also.
Click to expand...
Click to collapse
thanks dude...:good:
$!n$ter said:
thanks dude...:good:
Click to expand...
Click to collapse
No problem dude.
do the efs need to be backuped from core prime varient to install in my phone