[Q]How do we backup our efs ? - Galaxy S III Q&A, Help & Troubleshooting

This is important I think we should figure out a way asap
Sent from my GT-I9305 using xda app-developers app

install android terminal to your device
and try the command below
Code:
su
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/efs.img

Great I did it now I have efs.img which is 20mb is this my backup ? Jus curios how come with k-tool and i9300 it saves 2 files and much smaller. What's the difference
Sent from my GT-I9305 using xda app-developers app

compression level... if u wan a smaller file , u can download kzn or my rom and u can just backup efs with it without flashing rom..

nah 20 mb is fine thanks dude, I am just wondering why there was 2 files with the K-tool but one with this way

I am out of thanks I have been thanking the I9305 Devs all day, Dont worry another load coming your ways tomo lool

nv_data.bin not in efs folder
Hi guys,
I used Total Commander to copy my /efs directory to a backup folder within the internal sd card, so it is likely that all file permissions are retained in the efs backup. However, I did notice that my /efs directory did not contain nv_data.bin, even though my IMEI is intact. Can anyone also check whether you have nv_data.bin inside your /efs please?

No i dont have that file in that directory......Prodigiez way is excellent a nice neat Img file has been created with all the efs valuable info/data..... My Rom Is now De-Bloated, Zip_aigned/Deodexed, Rooted, Unbranded and Nandroided thanks to all these devs and my motivation

My god what rock have you lot been living under for the last year or so?
Download the POPULAR and VERY WELL KNOWN EFS Pro application from my sig.
Sent from my GT-I9305 using Tapatalk 2

there you have it, I have used your windows tool and it created the exact same EFS.img as does this command line
Code:
su
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/efs.img
But your software way is much easier and even has a way to restore it. thank you very much yeh i must of been living under a rock cause all i ever knew about was K-tool with my previous phone i9300, but K-tool does not work with the I9305

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A

Maybe its just me but I prefer the old style copy and paste method. Using root explorer or similar I simply copy the efs and factory folders and save in multiple places (external sd, PC etc).
Sent from my GT-I9300 using xda premium

sxi200 said:
Maybe its just me but I prefer the old style copy and paste method. Using root explorer or similar I simply copy the efs and factory folders and save in multiple places (external sd, PC etc).
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Not a good idea as you're also losing the permission bits (I take it your external SD is a variety of the FAT file system and your PC NTFS). For example, nv_data.bin has a mode of 0700 and is owned by radio:radio. Say your /efs folder gets wiped and you then copy back your efs folder from your backup. The file (since the umask seems to be 077) will now have the mode as 0600 and be owned by root (because you'd be using Root Explorer/Terminal Emulator to copy back the files which runs as root and not radio). Whatever process (presumably running under the user radio) that looks at that file now may not be able to do so now it's owned by root.
With a tar backup, you're still preserving the permissions which are just as important as the files themselves (though you could look at another GS3 to figure out the correct permissions, granted). With a backup to an image using dd, well, it's the raw partition so I imagine everything on /efs gets backed up.

qwerty12 said:
Not a good idea as you're also losing the permission bits (I take it your external SD is a variety of the FAT file system and your PC NTFS). For example, nv_data.bin has a mode of 0700 and is owned by radio:radio. Say your /efs folder gets wiped and you then copy back your efs folder from your backup. The file (since the umask seems to be 077) will now have the mode as 0600 and be owned by root (because you'd be using Root Explorer/Terminal Emulator to copy back the files which runs as root and not radio). Whatever process (presumably running under the user radio) that looks at that file now may not be able to do so now it's owned by root.
With a tar backup, you're still preserving the permissions which are just as important as the files themselves. With a backup to an image using dd, well, it's the raw partition so I imagine everything on /efs gets backed up.
Click to expand...
Click to collapse
Thanks for that useful post, answered a couple of queries I had :thumbup:

qwerty12 said:
Not a good idea as you're also losing the permission bits (I take it your external SD is a variety of the FAT file system and your PC NTFS). For example, nv_data.bin has a mode of 0700 and is owned by radio:radio. Say your /efs folder gets wiped and you then copy back your efs folder from your backup. The file (since the umask seems to be 077) will now have the mode as 0600 and be owned by root (because you'd be using Root Explorer/Terminal Emulator to copy back the files which runs as root and not radio). Whatever process (presumably running under the user radio) that looks at that file now may not be able to do so now it's owned by root.
With a tar backup, you're still preserving the permissions which are just as important as the files themselves (though you could look at another GS3 to figure out the correct permissions, granted). With a backup to an image using dd, well, it's the raw partition so I imagine everything on /efs gets backed up.
Click to expand...
Click to collapse
I've used the copy / paste method on S1, S2 and S3 and copying the folders / files back manually with root explorer works all the time. Haven't had any issues with permissions.
I test by purposely corrupting my imei (yes I'm crazy) and copying the backup back and all is good. Mind you I also have the auto generated tar backup as well but still prefer the copy / paste method.
Sent from my GT-I9300 using xda premium

Fair enough, I'd just rather restore from a tar backup since I believe there's a reason why nv_data.bin for example is owned by radio, but good to know it works.
Sent from my GT-I9300 using Tapatalk 2

qwerty12 said:
Fair enough, I'd just rather restore from a tar backup since I believe there's a reason why nv_data.bin for example is owned by radio, but good to know it works.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Well I just checked 2 phones:
S1: I have previously restored the efs folder via copy / paste and the current owner is 'system'.
S3: It's my second S3. Unlike my first unit I haven't repasted the efs folder. Owner is 'radio'.
Conclusion is that you are correct about permissions not copying over correctly with the copy / paste method. It's an easy fix via root explorer to change if required, but not ideal especially for noobs.
Fortunately the change in owner didn't cause any issues but still probably best to use the tar method as you suggest just in case.
Thanks for the info.
Sent from my GT-I9300 using xda premium

Read this....very useful
http://forum.xda-developers.com/showthread.php?p=30682712

btemtd said:
This is important I think we should figure out a way asap
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
Well, obviously, you copy the contents of the efs partition
Code:
/efs
and zip it into a tar ball.
Then you put it safely onto your dropbox and voilà.
Hope I could help!
LG familyguy59/Beatsleigher

does nandroid backup saves EFS as well?
in my backup folder I have these two files:
efsbackup.tar.gz
efsdev-mmcblk0p3.img.gz
but I dont remember backing them up

Related

Issues: new rom, back up?

Hi everyone. I've just rooted my galaxy s 2, running on gingerbread XWKE8. I'm planning to install a new rom.have heard about various rom available.
1. Is villain 2.0 rom okay? The main purpose for installing a custom rom for me is to save battery as I'm outdoor most of the time. as of now my gingerbread is working well except for this battery issue. Is it worth changing the rom?
2.Was reading about titanium backup
I've done back up of my custom apps + system data on phone' s external sd card. I don't have paid version of titanium. Can't buy it either. (no credit card).anyway, shall i be get nandroid backup too, just in case? when i install new rom n use TB for restore, since it*
Has system data as well, won't it overwrite the old data on the new rom? it sounds un believable coz it thwarts the whole purpose of installing a new rom. So will there be an option of ticking individual files to restore as per my choice? (no pro version of . titanium). If so, how do i know which one to be restored?
3. If clockworkmode has a back up option why do we need a titanium backup? cos it gives a nandroid type backup?
4. Can clockworkmode be used to upgrade to a new firmware (custom our stock) or odin should be used as in rooting with a little modification (depending on if firmware has one file or 3 files)?
Please enlighten.
Thank you very much
Sent from my GT-I9100 using XDA App
1) See for yourself if it's worth it.
2) Yes do a nandroid and check this before changing rom.
3) Nandroid is a exact copy of your current set-up, restoring it would undo the custom rom flash.Titanium backs up your apps so you can restore them after changing rom.
4) Depends on how the files are provided. Both should be possible.
For a credit card alternative I use this.
Hi.thanks a lot for replying. How do I get nandroid backup? Do I've to use rom manager in order to do nandroid backup? Cos when I search for nandroid in market, it doesn't return any nandroid app as such.
Sent from my GT-I9100 using XDA App
No boot in to recovery, go to backup and restore and backup.
TheGhost1233 said:
3) Nandroid is a exact copy of your current set-up, restoring it would undo the custom rom flash.Titanium backs up your apps so you can restore them after changing rom.
Click to expand...
Click to collapse
So if I happen to dislike or have problems with a custom rom, I just restore the backup of my rooted stock rom and all is back to the way it was (all, data/boot/apps/settings ...)? I think it will be, but I just want to be sure.
Hi.thanks again. I've read that recovery mode back up or titanium backup doesn't backup efs folder . One needs adb our terminal emulater or root explorer to do so.is there any link that explains efs folder backup using terminal emulater step by step?
Regards
Sent from my GT-I9100 using XDA App
dav pahwa said:
Hi.thanks again. I've read that recovery mode back up or titanium backup doesn't backup efs folder . One needs adb our terminal emulater or root explorer to do so.is there any link that explains efs folder backup using terminal emulater step by step?
Regards
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
EFS post in Dev section probably .
jje
I already linked to the right thread, in the thread there are different commands. All you have to do is pick a method, create the efs folder, copy the command to the terminal emulator and hit enter.
Sent from my Transformer TF101 using XDA Premium App
VillianRom is nice I've been using VR since release and tried many roms en route and keep coming back to VR for some reason!
Best to do a nandroid via CWM Recovery so if any of your new installs have problems you can always wipe and go back to a working config.
I only use TB to backup app data, I don't like backing up system data as when moving from one rom to another if you restore you may encounter issues so always best to start from scratch to save any hassles.
Default [REF] Backup /efs folder. IMPORTANT.
This guide is based on a guide by Candanga on the i9000 forums, and some commands from supercurio
Please hit thanks on their posts and show them some love for the write up.
-----------------------------------------------------------------------------------------------------------------------
I’ve compiled a quick guide to instruct how to make a copy of the /efs folder. I’ve found in many threads suggestions about backing up this folder but the methods itself are very general. Most of the times they suggest to “root and copy the folder” with Root Explorer or similar, but usually it’s not that easy or it just doesn't work for everyone.
This guide ASUMES you have read this Excellent Guide by Darkstrikerfirst:
H E R E <-- Make sure to read the ADB Guide.
I recommend doing this with a Mobile just taken out of the box or with any Official ROM of its Service Provider. If you have already Flashed your phone with another ROM but its working fine, then you can use that /efs also.
Why the /efs folder?
This is a very sensitive system folder that contains Phone-specific information such as the IMEI (encrypted in the nv_data.bin), wireless devices MAC addresses, product code (also in the nv_data.bin), and much more. Often users trying to change product codes or trying to unlock the mobile will end up corrupting data in this location.
Why back it up?
Well, let’s resume it saying that backing-up this little folder will keep you away from Samsung service centres.
***WARNING: I take no responsibility to any damage caused by the methods cited and/or written here. Their sole purpose is to back-up data and not to alter in any way the integrity of the original files of the mobile***
What you will need:
* Rooted SGS II to get permissions as a SU (Super User) and perform the backup
* I would suggest learning a little about the terminal commands used (in case you are not familiar with them), as it’s better to know what you are doing rather than typing strings like a little chimp without knowing what they are; if you are a little lazy, then you have a good chance bricking your mobile. <- Busybox Commands(or Google them)
* Terminal Emulator by Jack Palevich (available from the market) <-Terminal Emulator or use ADB which is included in the SDK Development Tools
The standard prompt of terminal (adb) is a $ sign. Once you enter “SU” it will become a # Sign.
***NOTE: Make sure to keep an eye on the screen of your SGS II during this process, because it may request SU permissions [currently doesn't on CF-root]; else, you will get an error (just if it’s the first time). In Terminal Emulator you will need to reset the app after granting permissions cause it usually freezes***
*Remember: to use ADB you need to enable USB DEBUGGING under Applications/Development in your SGS II.
Here are 3 methods, I recommend that you do both Clean and RAW.
Basic, unix permissions lost :
Code:
su
busybox cp -a /efs /sdcard/efs/
Clean :
Code:
su
busybox tar zcvf /sdcard/efs/efs-backup.tar.gz /efs
After this, you will end up with the file efs-backup.tar.gz in your INTERNAL SDCARD in sdcard/efs/, which is a “tarball” or a ZIP of the /efs folder. That file is your backup. You can expand it with Winrar.
You can also back up the mmcblk0p1 (where /efs is stored) under /dev/block which can greatly support in recovering your IMEI in case of a screw-up:
RAW :
Code:
su
cat /dev/block/mmcblk0p1 > /sdcard/efs/efs_dev-block-mmcblk0p1.img
Same thing, the target is the INTERNAL SDCARD in sdcard/efs/, so go ahead and copy the file.
Hi theghost & thanks for replying. Yes, i had read that link . But being a starter in androids, i had some doubts n thought if someone else knows a more simplified thread. Eventually i followed the same thread only.
As the author said, there r two methods - clean & raw n he advises to use both. when u used raw , in the end comes- no such file directory exists. When i checked my files->sdcard , i could see efs folder n some files inside it (which wasn`t happening even with astro file manger) I copied the efs folder N pasted it into Externalsd folder (default Ext. sd card folder ?)
R my efs folder files safe now ?
Is there any other precaution to be taken , any files to be saved before i embark on installing New villain rom 2.0 as per instructions given here http://forum.xda-developers.com/showthread.php?t=1081368 .
Strangely efs folder saving point isn`t mentioned here , even though its so important. (But then may be its very basic) Is there any other basic that i should know ?
Thanks a lot again.
with regards.
Create the efs folder with astro, then use the raw method and copy the .img to your pc.
Sent from my Transformer TF101 using XDA Premium App
How n where to create ef folder using astro? When i click on app
The home page shows
(folder icon)/mnt
(Home icon)(search icon) etc.
Folder-ifs
Asec
Obb
Sdcard
Secure
Usb
On this home page I should crate folder-efs ?
Sent from my GT-I9100 using XDA App
No in sdcard
Sent from my GT-I9100 using XDA Premium App
But sdcard already has efs folder with some files in it . This was created when I used the emulator. But the RAW step had failed as I told u earlier.
Sent from my GT-I9100 using XDA App
nikzDHD said:
VillianRom is nice I've been using VR since release and tried many roms en route and keep coming back to VR for some reason!
Best to do a nandroid via CWM Recovery so if any of your new installs have problems you can always wipe and go back to a working config.
I only use TB to backup app data, I don't like backing up system data as when moving from one rom to another if you restore you may encounter issues so always best to start from scratch to save any hassles.
Click to expand...
Click to collapse
Thanks mate. I'm backing up only custom apps, not custom apps.
Sent from my GT-I9100 using XDA App
Mist that you already had the efs folder. If you already have something there your probably good. If you still want the raw method to work make sure you type su first and hit enter and than exactly copy the cat command (ChromeToPhone is great for this) it should work.
Didn't work out mate .
Sent from my GT-I9100 using XDA App
I'm comfortable with it. Thanks for yo support mate
Sent from my GT-I9100 using XDA App

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.

Lost my phone IMEI

Hi,
I'm using GT-I9300, and now I lost the IMEI. It is showing 00499010640000 / 01
I have a backup of efs folder copied using esfile explorer, dont know is it a full backup or not. Tried to copy paste back but doesnt help. Flashed different stock ROMs single file and 3 part file with pit + re-partition but those methods deosnt help me.
Some one please advice...
Regards..
Anu
anukilimanoor said:
Hi,
I'm using GT-I9300, and now I lost the IMEI. It is showing 00499010640000 / 01
I have a backup of efs folder copied using esfile explorer, dont know is it a full backup or not. Tried to copy paste back but doesnt help. Flashed different stock ROMs single file and 3 part file with pit + re-partition but those methods deosnt help me.
Some one please advice...
Regards..
Anu
Click to expand...
Click to collapse
You can restore the efs file with kTool by Hellcat, it`is in the Playstore. First place your backedup efs file in /sdcard/efs.image and then restore. Haven`t done it myself yet, and you better google it or wait for other advices by people who actualy did it. Good luck
gee2012 said:
You can restore the efs file with kTool by Hellcat, it`is in the Playstore. First place your backedup efs file in /sdcard/efs.image and then restore. Haven`t done it myself yet, and you better google it or wait for other advices by people who actualy did it. Good luck
Click to expand...
Click to collapse
Thanks for your reply.. I dont have efs.image file i have a copy of efs that I took using esfile explorer.
anukilimanoor said:
Thanks for your reply.. I dont have efs.image file i have a copy of efs that I took using esfile explorer.
Click to expand...
Click to collapse
I haven`t restored my efs ever, so i`am not 100 % sure it will work. The esfile explorer file should be an .img file i think. Betterwait for someone who knows more about this stuff. Don`t you have a working backup in cwm that you can restore and have your imei number back?
gee2012 said:
I haven`t restored my efs ever, so i`am not 100 % sure it will work. The esfile explorer file should be an .img file i think. Betterwait for someone who knows more about this stuff. Don`t you have a working backup in cwm that you can restore and have your imei number back?
Click to expand...
Click to collapse
CWM Recovery doesnt restore the IMEI. I tried that...
anukilimanoor said:
Thanks for your reply.. I dont have efs.image file i have a copy of efs that I took using esfile explorer.
Click to expand...
Click to collapse
Using es file explorer or root explorer mount system as rw and delete the current efs folder. Then copy / past the copy you saved and reboot. Original imei will show again.
Sent from my GT-I9300 using xda premium
sxi200 said:
Using es file explorer or root explorer mount system as rw and delete the current efs folder. Then copy / past the copy you saved and reboot. Original imei will show again.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I did that but that doesnt help me...
anukilimanoor said:
I did that but that doesnt help me...
Click to expand...
Click to collapse
Did you first delete the current efs folder? Maybe try again and delete the factory folder as well and confirm the remaining efs folder has nothing in it. Then past the copy efs folder and reboot. If that doesn't work then possible you don't have a full copy.
My backup of those 2 folders have have 19 items in each when viewing in My Files. How many does yours have?
Sent from my GT-I9300 using xda premium
anukilimanoor said:
I did that but that doesnt help me...
Click to expand...
Click to collapse
What format does you backuped efs file have, tar or zip or something else.
It's easiest to do it in Recovery mode, make sure /efs and sdcard are mounted in Mounts&Storage.
Connect to the phone over ADB, then copy the contents of the backed up folder to /efs and restore permissions
Code:
cp /sdcard/YOUR/EFS/Folder/* /efs/
chown -R radio:radio /efs/
chmod -R 755 /efs
Then reboot the phone, hopefully it will work. If not, please attach the logfile from the /efs folder to the post so we can see what goes wrong.
sxi200 said:
Did you first delete the current efs folder? Maybe try again and delete the factory folder as well and confirm the remaining efs folder has nothing in it. Then past the copy efs folder and reboot. If that doesn't work then possible you don't have a full copy.
My backup of those 2 folders have have 19 items in each when viewing in My Files. How many does yours have?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I deleted the efs and nothing on it and did the copy paste... No luck...
maybe work maybe not...you can try to change csc code..it will totally format your phone..backup 1st to your pc..
ascariz said:
maybe work maybe not...you can try to change csc code..it will totally format your phone..backup 1st to your pc..
Click to expand...
Click to collapse
Tried that but it is not working...
d4fseeker said:
It's easiest to do it in Recovery mode, make sure /efs and sdcard are mounted in Mounts&Storage.
Connect to the phone over ADB, then copy the contents of the backed up folder to /efs and restore permissions
Code:
cp /sdcard/YOUR/EFS/Folder/* /efs/
chown -R radio:radio /efs/
chmod -R 755 /efs
Then reboot the phone, hopefully it will work. If not, please attach the logfile from the /efs folder to the post so we can see what goes wrong.
Click to expand...
Click to collapse
Log file from efs?

[Q] Bizarre hidden files / partitions

I am having issues with TWRP and partition on the device. I downloaded a new rom, which is in /SDCARD/Download directory. I can see it just fine using Root Explorer.
When I boot recovery, my /SDCARD/Download shows files that didn't exist before. Not only is the newly downloaded rom file (with .zip extension) not there, an OLD rom file is, one that existed before I wiped it and started over from a TWRP backup.
Its almost like there are 2 entire partition living on the device. Oh and one other thing: I just started from scratch again (not a recovery) and already have 8GB of space taken. Its under the "OTHER" tab in Phone Storage.
Is there anyway I can just delete everything and start from scratch? Will installing a stock T Mobile RUU do this? If I go that route, do I need to unlock the bootloader again / root again?
Have you flashed to and from 4.2 roms? You can find the other files in twrp by going up to the root folder and then data/media. You could ruu to get rid of it but it'll pop up again if you flash from 4.1.2 to 4.2.2 and back.
Sent from my HTC One using Tapatalk 4
Had this happen to me when I tried a 4.3 Rom and went back to stock T-mo Rom. Used a file explorer to find file O(I think) and transferred all my files back to original sdcard folder.
Sent from my HTC One using XDA Premium 4 mobile app
Well I think I found the problem. I was browsing my sd card using root browser looking for a Rom file (trickdroid.zip). I saw it before in the sdcard/download folder when using the file browser in twrp. But now it's not there.
So I start to pry through other folders and I notice a new folder: "0" zero. A folder called 0 with and entire sdcard folder structure within it. I look in the new download folder and there is.my missing file.
I'm curious how this new zero folder came to be. I have a theory, I did reinstall a Rom without wiping and I think that did it. I usually always wipe but specifically didn't this time because I have a twrp backup that I need to save.
I.take it the OS is now using the regular sdcard path? How can I tell twrp to look in that path for the backup (if I move it there)? When you hit restore in twrp I don't think it lets you browse for the backup. It assumes it's in the "default" spot...
Sent from my HTC One using xda app-developers app

[TOOL][EFS][LINUX][ROOT]Simple efs backup S3 Mini

Hello XDA,
I wanted to share a simple script for Linux, that is backing up your efs-partition.
Instructions
1. Download the .zip file
2. Extract it
3. Open terminal and "cd" to the directory, where you extracted it.
4. type
Code:
./efs_backup.sh
if you got "rm failed for /sdcard/efs_tmp.img, No such file or directory", just ignore it
5. You can now find a file named "efs_backup_cwm.zip", you can flash it with cwm to restore your efs-partition
Why should I do that?
That's a simple question: Every Rom you flash and every root-app you use could have a simple bug and override/delete your efs-partition
What is the efs-partition?
It's a partition, wich is needed for any device-specific number like IMEI, Wlan-MAC-adress and so on. If it gets deleted/damaged, your mobile
will nothing more than a Mp3-player, unless you can flash back your old efs-partition.
Can you release it for Windows?
No, because I think every android-user should have linux installed on their pc and it doesn't cost anything. I have a dual-boot, too. If you want it on Windows, feel free to port it, it
won't be hard. If you want to install linux, I suggest you a debian-based distribution, because there will be the best support for android.
I WILL NOT ANSWER TO STUPID QUESTIONS!
I AM NOT RESPONSIBLE FOR ANY DAMAGE ON YOUR DEVICE!
THIS IS UNTESTED!
TWRP has efs as a backup option. But thanks for the alternative! I'll keep this one in case TWRP fails for some reason
Sent from my TF300T using Tapatalk
i think you could always just copy the EFS folder with a root explorer, correct me if im wrong
AssToast said:
i think you could always just copy the EFS folder with a root explorer, correct me if im wrong
Click to expand...
Click to collapse
But it's not recommended to restore it with root explorer
Sent from my GT-I9105P using XDA Premium 4 mobile app

Categories

Resources