Help me to restore efs folder!!! - Samsung Galaxy Player 4.0, 5.0

Since I had flashed cm9 for the 4.0,my efs folder is empty.Now I want to flash back to stock.Although I have a backup,I have no idea to restore it.
I tried heimdall with windows 7 x64,it can't work. I also tried heimdall with ubuntu,but I don't know how to install it.
Please help me to restore! If there have another method to restore it,post here and tell me how to do(step by step)! Thx!

error01671 said:
Since I had flashed cm9 for the 4.0,my efs folder is empty.Now I want to flash back to stock.Although I have a backup,I have no idea to restore it.
I tried heimdall with windows 7 x64,it can't work. I also tried heimdall with ubuntu,but I don't know how to install it.
Please help me to restore! If there have another method to restore it,post here and tell me how to do(step by step)! Thx!
Click to expand...
Click to collapse
download heimdall here:
http://www.glassechidna.com.au/products/heimdall/
when you have installed heimdall, in the terminal use heimdall-frontend and use it as you would normally. I think I should make a tar
EDIT: have you installed the c++ 2010 redistribuables package here?
https://www.microsoft.com/en-us/download/details.aspx?id=5555

zaclimon said:
download heimdall here:
http://www.glassechidna.com.au/products/heimdall/
when you have installed heimdall, in the terminal use heimdall-frontend and use it as you would normally. I think I should make a tar
EDIT: have you installed the c++ 2010 redistribuables package here?
https://www.microsoft.com/en-us/download/details.aspx?id=5555
Click to expand...
Click to collapse
Yes,I installed it. By the way,my efs was backed up,the file is "efs.rfs.tar" Can it be restore by CWM?

error01671 said:
Yes,I installed it. By the way,my efs was backed up,the file is "efs.rfs.tar" Can it be restore by CWM?
Click to expand...
Click to collapse
Nope, you would need either heimdall or odin to flash it. Also I've made the odin package, it's uploading right now.
EDIT: upload finished download here :
Odin tar US download
But do you have a US or intl? because by reading your signature, it's a Intl one?

zaclimon said:
Nope, you would need either heimdall or odin to flash it. Also I've made the odin package, it's uploading right now.
EDIT: upload finished download here :
Odin tar US download
But do you have a US or intl? because by reading your signature, it's a Intl one?
Click to expand...
Click to collapse
Yeah it's INTL!!

error01671 said:
Yeah it's INTL!!
Click to expand...
Click to collapse
Well then download the restore pack for intl lool... oh well I will include this on the recovery thread.

zaclimon said:
Well then download the restore pack for intl lool... oh well I will include this on the recovery thread.
Click to expand...
Click to collapse
I just looked at your recovery thread and you said the file ''efs.tar'' can be restore by using odin. Is this method right?
EDIT:I tried it with odin and it give me a fail,so my device is bricked.(I am already made a full recovery) I attached my efs.tar file below. Just help me restore it with odin,Thx!
P.S:The efs.tar was automatic backed up when I flash to cm7,so it should be the correct one.

error01671 said:
I just looked at your recovery thread and you said the file ''efs.tar'' can be restore by using odin. Is this method right?
EDIT:I tried it with odin and it give me a fail,so my device is bricked.(I am already made a full recovery) I attached my efs.tar file below. Just help me restore it with odin,Thx!
P.S:The efs.tar was automatic backed up when I flash to cm7,so it should be the correct one.
Click to expand...
Click to collapse
if you have a copy of the files of the efs folder than just copy those files to your efs directory it should work
I always do this in this way

error01671 said:
I just looked at your recovery thread and you said the file ''efs.tar'' can be restore by using odin. Is this method right?
EDIT:I tried it with odin and it give me a fail,so my device is bricked.(I am already made a full recovery) I attached my efs.tar file below. Just help me restore it with odin,Thx!
P.S:The efs.tar was automatic backed up when I flash to cm7,so it should be the correct one.
Click to expand...
Click to collapse
If you have an efs.tar like this, I meant to paste it using an adb push. (the odin method is only if you had an efs.rfs)

dheeraj (dhlalit11) said:
if you have a copy of the files of the efs folder than just copy those files to your efs directory it should work
I always do this in this way
Click to expand...
Click to collapse
Should I set permission to files?

I never set permissions
but if it do not work try setting it

zaclimon said:
If you have an efs.tar like this, I meant to paste it using an adb push. (the odin method is only if you had an efs.rfs)
Click to expand...
Click to collapse
Can you teach me how to push files with adb? I saw the efs folder has a lot of files and also includes a folder(or more).
How do I push so many files with adb?

error01671 said:
Can you teach me how to push files with adb? I saw the efs folder has a lot of files and also includes a folder(or more).
How do I push so many files with adb?
Click to expand...
Click to collapse
it is in my recovery thread on how to adb push it.

zaclimon said:
it is in my recovery thread on how to adb push it.
Click to expand...
Click to collapse
Can I use the "EFS Pro" to restore it? (with your .img file on your recovery thread)

dheeraj (dhlalit11) said:
I never set permissions
but if it do not work try setting it
Click to expand...
Click to collapse
I tried but it didn't work,and I tried fix permission in CWM also failed. Is the permission "rw-r-r" right(I have not set yet)?

Wrong post sorry!

suzhipack said:
Wrong post sorry!
Click to expand...
Click to collapse
What's that mean?

Related

How are we supposed to restore efs.img?

I have included a script in a initd script segment to create a file called efs.autobackup.img
The forum is filled withon how to creating the .img file but i couldnt find about how to restore.Ktool doesnt work on this.
I am asking this in behalf of a fellow xda member.He got a factory efs files in some old Indian firmware, flashed it by using clear phone efs in odin and now he has some generic IMEI.How to extract the files inside the .img file atleast??
Atleast he can use the files to change his IMEI using nv_data.bin and nv_data.bin.md5
If it's a raw .img (20MB in size) kTool should work fine.
Just rename the file to "efs.img" and put it to /sdcard (root of the internal storage when mounted to the PC).
Then run a restore via kTool (be sure to use latest version).
HellcatDroid said:
If it's a raw .img (20MB in size) kTool should work fine.
Just rename the file to "efs.img" and put it to /sdcard (root of the internal storage when mounted to the PC).
Then run a restore via kTool (be sure to use latest version).
Click to expand...
Click to collapse
Yes its 20MB size!!Ohk hellcat.Am PMing him.he is a new user and he his too terified
Thank god he had flashed my ROM,The wickedrom v1.1 which had auto efs script.
I will ask him to report here.
One thing he has fake IMEI now.This should work right?
Doing a search uncovers a ton of threads/posts about restoring efs
chetan_mohanty said:
I have included a script in a initd script segment to create a file called efs.autobackup.img
The forum is filled withon how to creating the .img file but i couldnt find about how to restore.Ktool doesnt work on this.
I am asking this in behalf of a fellow xda member.He got a factory efs files in some old Indian firmware, flashed it by using clear phone efs in odin and now he has some generic IMEI.How to extract the files inside the .img file atleast??
Atleast he can use the files to change his IMEI using nv_data.bin and nv_data.bin.md5
Click to expand...
Click to collapse
MistahBungle said:
Doing a search uncovers a ton of threads/posts about restoring efs
Click to expand...
Click to collapse
I have been trying to help him with zillions of links from xda.Nothing has worked.I am not a noob man
I do the homework before posting
chetan_mohanty said:
I have been trying to help him with zillions of links from xda.Nothing has worked.I am not a noob man
I do the homework before posting
Click to expand...
Click to collapse
If the .img is OK and not already of a broken EFS, or the image itself is corrupted (all these things can happen, sadly) then it can surely be restored.
HellcatDroid said:
If the .img is OK and not already of a broken EFS, or the image itself is corrupted (all these things can happen, sadly) then it can surely be restored.
Click to expand...
Click to collapse
He is saying that restoring with efs.img makes his phone go to unknown baseband and IMEI.
I have asked him again to post it in this thread
Is there any way to extract that .img file???
chetan_mohanty said:
Is there any way to extract that .img file???
Click to expand...
Click to collapse
In a shell, type:
Code:
su
mkdir /sdcard/mnt
mount -t ext4 /sdcard/efs.img /sdcard/mnt
Then use your fav. filemanager to go to "mnt" on the internal storage.
If the mount command gives you an error, it's likely the .img is corrupted.

[Q] recovery not working and some files missing may be ?????

i am using cynogenmod 7 on my sgs2 i backed up my rom via cwm recovery
i need to recover because all of my contacts were wipped and my pc crashed and had to format it so i lost the backup of my all contacts
so now i have this files in my backup folder
1- ".android_secure.vfat.tar " it is 605mb
2- "boot.img" it is 8mb
3- "data.ext4.tar" 887mb
4- "system.ext4.tar" 482mb
and wen i try to restore it shows md5 file missing and i have seen the posts which are there so i also tried it in terminal emulater i used the given commands but it did not work it said not found i tried adb shell it said not found
then at first su
it worked it gave me"#" this sign then again i did adb shell it showed again not found then i did the cd given codes in that also it said not found please help me
ps: i am new to all this so please help and please be as simple as u can
thank you in advance
CWM recovery should work if you have the exact same CWM recovery you used to backup with .
jje
Thanks but i already did that i used the same version of cwm recovery it is showing the missing files error
ralphrss said:
Thanks but i already did that i used the same version of cwm recovery it is showing the missing files error
Click to expand...
Click to collapse
Try creating a blank nandroid.md5 file with notepad and then place the same in the backup folder and then try restoring backup.
hope this helps!
ksantoshh said:
Try creating a blank nandroid.md5 file with notepad and then place the same in the backup folder and then try restoring backup.
hope this helps!
Click to expand...
Click to collapse
how do i do that exactly please give me some pointers and my note pad does not have the option of md5 files if u have it can u make me a copy of blank nandroid or tell me how to make it please and thankyou
Try Copy MD5 to desktop open with notepad delete contents and close and save . jje
JJEgan said:
Try Copy MD5 to desktop open with notepad delete contents and close and save . jje
Click to expand...
Click to collapse
i am missing the md5 file
i only have the four files which are given above which is in the first post
so can you please tell me how to make the new md5 file
ralphrss said:
how do i do that exactly please give me some pointers and my note pad does not have the option of md5 files if u have it can u make me a copy of blank nandroid or tell me how to make it please and thankyou
Click to expand...
Click to collapse
just save as .txt then change the extension to md5 using file explorer or similar.
if you long press on a file in file explorer it should popup with some options. Select rename and change the extension from txt to md5
ozzy lion said:
just save as .txt then change the extension to md5 using file explorer or similar.
if you long press on a file in file explorer it should popup with some options. Select rename and change the extension from txt to md5
Click to expand...
Click to collapse
i will try it will let you know if it worked or not
worked like a charm
For future, you realize your contacts auto sync to gmail.....
Sent from my GT-I9100 using Tapatalk 2

[script] MD5sum mismatch fix for CWM backups

What is md5sum??
http://154.ca/otr/iso/md5sum.shtml
Md5mismatch occurs when md5sum of files does not match the value stored in nandroid.md5.
I created this script because my backups gets corrupted often..
Instructions
Rename md5fix.sh.txt to md5fix.sh
Place md5fix.sh in root of your sdcard
Run it using script manger
Done
Disclaimer
Do it at your own risk
MD5 mismatch means the file has been altered. You have been warned.
greetings lj
Or you can make a blank text document and rename to nandroid.md5 (0 byte)
This way CWM bypasses md5 check and restore your backups immediately
how do you run scrip manager if you phone doesnt boot up and you need to do a restore
XperiaNeoLHelp said:
how do you run scrip manager if you phone doesnt boot up and you need to do a restore
Click to expand...
Click to collapse
hahaha thats a script not a Tweak that run while phone is off...
XperiaNeoLHelp said:
how do you run scrip manager if you phone doesnt boot up and you need to do a restore
Click to expand...
Click to collapse
use adb then type that script...
mrworldwide092 said:
Rename md5fix.sh.txt to md5fix.sh
Click to expand...
Click to collapse
Where to do this?
On the PC? On the Android device?
Can you please give the full path of this file?
Mazarin07 said:
Where to do this?
On the PC? On the Android device?
Can you please give the full path of this file?
Click to expand...
Click to collapse
Rename it...
Move it to the sd-card of your phone...
Still getting a MD5 mismatch :/
dont use that script it will deform your phone sdcard...
R3v3nGe said:
dont use that script it will deform your phone sdcard...
Click to expand...
Click to collapse
...what?
DustArma said:
...what?
Click to expand...
Click to collapse
i open the root explorer app then all system folders are renamed to Blahblah.cache so i reflash MiniCM7 because of that script thats my warning to all users, "test it before using"

[Q] Can I flash camera.apk

My stupid friend has deleted me the camera.apk through titanium
Can I just flash this apk or I have to flash a rom?
Either re-flash or use root explorer to move the apk to system/apps folder and fix permissions.
gastonw said:
Either re-flash or use root explorer to move the apk to system/apps folder and fix permissions.
Click to expand...
Click to collapse
I have downloaded CameraGalaxyS2.zip inside theres only
META-INF
system
files.. I tried flash it through CWM but it doesnt work.. can I flash it with odin? if yes where do I place it
or what the other way? what file exactly I move where
rosti93 said:
I have downloaded CameraGalaxyS2.zip inside theres only
META-INF
system
files.. I tried flash it through CWM but it doesnt work.. can I flash it with odin? if yes where do I place it
or what the other way? what file exactly I move where
Click to expand...
Click to collapse
Flash it then fix permissions in cwm. Also try clearing dalvik cache.
rosti93 said:
I have downloaded CameraGalaxyS2.zip inside theres only
META-INF
system
files.. I tried flash it through CWM but it doesnt work.. can I flash it with odin? if yes where do I place it
or what the other way? what file exactly I move where
Click to expand...
Click to collapse
what ROM are you on?
you can't flash an app, you need to move the apk to the system folder with root explorer.
when i said re-flash i meant re-flash the whole ROM.
google it, i'm sure you are not the first one.
gastonw said:
what ROM are you on?
you can't flash an app, you need to move the apk to the system folder with root explorer.
when i said re-flash i meant re-flash the whole ROM.
google it, i'm sure you are not the first one.
Click to expand...
Click to collapse
Yes you can flash an app aslong as its in a flashable zip like the user mentioned in the reply you quoted.
Didn't know that. Cool
TheATHEiST said:
Yes you can flash an app aslong as its in a flashable zip like the user mentioned in the reply you quoted.
Click to expand...
Click to collapse
Do you have a working one? because I tried this one in recovery and it failed. idk if I can with odin, if yes where do I place it?

[SOLVED] Can't restore EFS from backup

Problem solved!​
**********************
I think my problem happened because a flashed a ROM with MG4 baseband, and then flashed UltimaROM with another baseband which caused my baneband to corrupt.
I tried to flash Stock ROM and install different baseband but non of this worked.
finally I flashed BTU stock ROM (Which comes with MG4) but the problem still here.
Then I installed root, deleted the efs folder and replaced all the files with the files in the backup - restart and everything is working! my IMEI returned to normal.
**********************​
Original question
Hello devs,
I have Siyah kernel which auto backup my EFS, i have backup named "efs_28Aug2013-1852.tar.gz"
I want to restore from this backup because I lost my IMEI when I flashed UltimaROM
I renamed it to "efsbackup.tar.gz" and put it in the root of the sdcard
then I started adb shell & run the code
Code:
su
umount /efs
mke2fs /dev/block/mmcblk0p1
mount -w -t ext4 /dev/block/mmcblk0p1 /efs
busybox tar zxvf /sdcard/ efsbackup.tar.gz -C /
I granted ADB shell root access
then i went to recovery and run the command (because I can't run umount /efs while device's running it gives resource busy message)
However when I run the first command "su" in gives me this message
Code:
/sbin/sh: su: not found
so I skipped to the next command
but I get the message
Code:
umount: can't umount /efs: Invalid argument
Please guys any help appreciated
Click to expand...
Click to collapse
Unzip it with a file manager and use a root explorer to replace manually
Sent from my GT-I9300 using Tapatalk 4
.
I've backup my efs with adb but how do you have a file on tar format, i've got a file on .img, it's normal ?
There's about nine different ways to backup the efs, .img is fine but a little on the large side at 20mb. A .tar of the same is only 5mb.
rootSU said:
Unzip it with a file manager and use a root explorer to replace manually
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
Thank you for your reply, I did as you said but this only changed my IMEI from "Unknown" to the generic IMEI "004999..."
Is there something wrong in the method or my backup may be corrupt
Sent from my Nexus 7 using Tapatalk 2
Read the imei / efs thread in general.
Sent from my GT-I9300 using Tapatalk 4
Thank you again, I read the thread in the past but it looks like it has been updated recently.
I think my problem happened because a flashed a ROM with MG4 baseband, and then flashed UltimaROM with another baseband which caused my baneband to corrupt.
I tried to flash Stock ROM and install different baseband but non of this worked.
finally I flashed BTU stock ROM (Which comes with MG4) but the problem still here.
Then I installed root, deleted the efs folder and replaced all the files with the files in the backup - restart and everything is working! my IMEI returned to normal.
Thank you RootSU for your help.
hey bro,
i am stuck
help me out
- my efs(folder) is blank
- i installed stock with pit file but no help!
- right now my cell is in bootloop!
- it goes to recovery, download mode.
i have efs.tar.gz file and a folder named efs in my ext sd
how do i copy that to int memory?
can't even create a cwm flashable zip file of the same?????
help me bro.....
You are posting in a thread that tells you how to restore an efs backup, how much more could you possibly need?
Go to recovery, factory reset.
Get the phone to boot, unpack the .tar file and follow the instructions in the OP.
boomboomer said:
You are posting in a thread that tells you how to restore an efs backup, how much more could you possibly need?
Go to recovery, factory reset.
Get the phone to boot, unpack the .tar file and follow the instructions in the OP.
Click to expand...
Click to collapse
Dear boomboomer,
i am sorry, but my phone is in "bootloop" how am i suppose to delete the "EFS" ? that s what i am asking!!!!!
i have both efs.tar.gz and extracted folder ready in my ext-sd......
i wonder if somebody can help me with creating a cwm.zip from the .tar file
thanks ....
try to install stock again via odin but this time install a diffrent version (for example if you installed INU this time try INS).. before that factory reset your phone and wipe cache via recovery mode.. don't lose your efs backup it's very important copy it to your PC in case something wrong happens
i already did so
almousawi said:
try to install stock again via odin but this time install a diffrent version (for example if you installed INU this time try INS).. before that factory reset your phone and wipe cache via recovery mode.. don't lose your efs backup it's very important copy it to your PC in case something wrong happens
Click to expand...
Click to collapse
bro, thanks for your help recently i tried cm 10 also but nothing happened.
believe me i tried everything now the only option is left that is
to restore efs backup from efs.tar.gz (which is about 12 MB)
OR
create a cwm flashable zip from the efs folder which is about 22 MB)
OR
take my phone to download mode and try to push whole "efs" folder to the location with help of "ADB"
hello
mikks said:
bro, thanks for your help recently i tried cm 10 also but nothing happened.
believe me i tried everything now the only option is left that is
to restore efs backup from efs.tar.gz (which is about 12 MB)
OR
create a cwm flashable zip from the efs folder which is about 22 MB)
OR
take my phone to download mode and try to push whole "efs" folder to the location with help of "ADB"
Click to expand...
Click to collapse
hello nobody is here to help......??????
mikks said:
hello nobody is here to help......??????
Click to expand...
Click to collapse
Correct this is not a paid for service .
Suggest you take it to a service centre .
know that i did that already....
JJEgan said:
Correct this is not a paid for service .
Suggest you take it to a service centre .
Click to expand...
Click to collapse
thanks for the reply, respect to your reply and interest no disrespect ...
i took that to the center but they failed and by the way they come to me in some cases... so they give me free service...
my phone is in boot loop, i have efs.tar.... can i use phills recovery ????? or can i use someone elses backup... just to boot up my device ...then i'll be good .... i just need to get my device booted up.....

Categories

Resources