[TOOL][EFS][LINUX][ROOT]Simple efs backup S3 Mini - Galaxy S III Mini Android Development

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

Related

[Q] EFS Backup Question

I've noticed that one of the steps in flashing CM7 for the Vibrant is to flash "vibrant-efsbackup.zip".
See link-http://forum.xda-developers.com/showthread.php?t=968291
The question I have is: Does the vibrant-efsbackup.zip file backup of your efs for you (as the name suggests)? If so, can it be used as a standalone way of backing up the efs partition, without having to use adb or terminal emulator? I'm not using CM7 so this would be used with Darkys 9.3 vibrant edition.
Thanks in advance!
pegasus912 said:
I've noticed that one of the steps in flashing CM7 for the Vibrant is to flash "vibrant-efsbackup.zip".
See link-http://forum.xda-developers.com/showthread.php?t=968291
The question I have is: Does the vibrant-efsbackup.zip file backup of your efs for you (as the name suggests)? If so, can it be used as a standalone way of backing up the efs partition, without having to use adb or terminal emulator? I'm not using CM7 so this would be used with Darkys 9.3 vibrant edition.
Thanks in advance!
Click to expand...
Click to collapse
Good question. Can the same zip be used to backup EFS if running deodexed/rooted stock Kb5?
pegasus912 said:
I've noticed that one of the steps in flashing CM7 for the Vibrant is to flash "vibrant-efsbackup.zip".
See link-http://forum.xda-developers.com/showthread.php?t=968291
The question I have is: Does the vibrant-efsbackup.zip file backup of your efs for you (as the name suggests)? If so, can it be used as a standalone way of backing up the efs partition, without having to use adb or terminal emulator? I'm not using CM7 so this would be used with Darkys 9.3 vibrant edition.
Thanks in advance!
Click to expand...
Click to collapse
Yes that will create a folder on your /sdcard called /sdcard/backup/efs and it can be used with this post:
http://forum.xda-developers.com/showthread.php?t=1089039
philow said:
Yes that will create a folder on your /sdcard called /sdcard/backup/efs and it can be used with this post:
http://forum.xda-developers.com/showthread.php?t=1089039
Click to expand...
Click to collapse
What about doing what I just did.
I used root explorer. Went to /efs. Copied the entire folder. Then pasted to my internal sd card root.
Then to have a copy on my computer, I just copied onto my computers dekstop.
I have an entire copy of /efs folder.
Good enough?
perfect! i also just have a complete backup of my internal on my pc desktop for emergencies.
I think you have to mount the folder before copying.
caldran said:
I think you have to mount the folder before copying.
Click to expand...
Click to collapse
Yes you have to be rooted I think, and you have to mount it to see it, you also can't see it unless you use a root explorer type app.
movieaddict said:
perfect! i also just have a complete backup of my internal on my pc desktop for emergencies.
Click to expand...
Click to collapse
Can you share your efs backup folder?

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

[Q] How can I backup efs folder ?

I know this question is common but I read this thread
http://forum.xda-developers.com/showthread.php?t=1068193
and he asked me to learn busybox commands then I read this thread which offers an app to backup this folder
http://forum.xda-developers.com/showthread.php?t=1138873
My question :Is there anyone who tried this app to backup efs folder on GSII ?
and does this app need rooted phone ?
Thanks
The commands are in the first link you posted, and yes you need a rooted phone.
I know but I need a way without busybox as It's very long
and I wanted to know anyone used the app which I posted on GSII
Just install the cf-root kernel, it has busybox built in.
Never used the app since it isn't needed, typing out a command isn't that trivial.
http://www.appbrain.com/app/nitrality/com.nfye.insanity.toolbox
jje
peachpuff said:
Just install the cf-root kernel, it has busybox built in.
Never used the app since it isn't needed, typing out a command isn't that trivial.
Click to expand...
Click to collapse
I know but the dev said " you should learn busybox commands otherwise you will lose your phone "
Im just going to step away from this thread...
JJEgan said:
jje
Click to expand...
Click to collapse
Thanks but did you try this app on GSII
mohamdyoon said:
I know this question is common but I read this thread
http://forum.xda-developers.com/showthread.php?t=1068193
and he asked me to learn busybox commands then I read this thread which offers an app to backup this folder
http://forum.xda-developers.com/showthread.php?t=1138873
My question :Is there anyone who tried this app to backup efs folder on GSII ?
and does this app need rooted phone ?
Thanks
Click to expand...
Click to collapse
It's not hard, i just copy/pasted the commands from the first thread, but i know a bit about linux command line commands.
If you typo you could break stuff, that's life.
Or just try the app, maybe read the thread to see if other people have had it work for them.
The only risk free thing you can do with your phone is turn it off and put it back in the box
Sent from my GT-I9100 using XDA Premium App
veyka said:
It's not hard, i just copy/pasted the commands from the first thread, but i know a bit about linux command line commands.
If you typo you could break stuff, that's life.
Or just try the app, maybe read the thread to see if other people have had it work for them.
The only risk free thing you can do with your phone is turn it off and put it back in the box
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
thanks for your help I really want to know a bit about these commands but I can't know how ? the topic give url to learn all commands not a bit of them
If you can tell me how I will be grateful
but as you know a bit about linux command you need to change anything in the commands or you just copied it ?
Thanks again for trying help me
If you are rooted you can just install galaxy s unlock by helroz and it has an option to just back up for /efs folder before you unlock. just select the backup option and don't do the unlock. No command line stuff required. The efs will be backed up to your phone storage.
mohamdyoon said:
thanks for your help I really want to know a bit about these commands but I can't know how ? the topic give url to learn all commands not a bit of them
If you can tell me how I will be grateful
but as you know a bit about linux command you need to change anything in the commands or you just copied it ?
Thanks again for trying help me
Click to expand...
Click to collapse
Code:
su
busybox tar zcvf /sdcard/efs/efs-backup.tar.gz /efs
The tar command with zcvf takes the input, in this case the efs folder and compresses it into a file in the output location, in this case on the internal sd card, while maintaining unix permissions, important for if you need to restore, this will make a small file.
Code:
su
cat /dev/block/mmcblk0p1 > /sdcard/efs/efs_dev-block-mmcblk0p1.img
Su gains root
Cat means catalog aka copy contents of what you point it at, in this case you are copying the whole partition where the efs folder sits.
In unix terms a folder can sit on any partition and be mounted into any point in the file system, just because a folder sits under "/" which is the root directory doesn't mean it's on the same partition, hard drive, or bit of flash memory.
We dump the whole partition so that if something goes wrong you can flash it back, i know heimdall which is an alternative flashing program can flash back different parts of the rom.
It's best to have both these backups to make sure and to give you different recovery options, flash via a program for the img or copying over the contents in the case of the tar file.
I hope this helps
Sent from my GT-I9100 using XDA Premium App
mohamdyoon said:
thanks for your help I really want to know a bit about these commands but I can't know how ? the topic give url to learn all commands not a bit of them
If you can tell me how I will be grateful
but as you know a bit about linux command you need to change anything in the commands or you just copied it ?
Thanks again for trying help me
Click to expand...
Click to collapse
Just download an app called nitrality in the market.
Sent from my GT-I9003 using XDA Premium App
veyka, are you even sure that he knows what ADB is?
LiFE1688 said:
veyka, are you even sure that he knows what ADB is?
Click to expand...
Click to collapse
Nope, but you can do it via a terminal editor on the phone.
It's just a copy/paste or you can just use the apps mentioned.
Sent from my GT-I9100 using XDA Premium App
veyka said:
Nope, but you can do it via a terminal editor on the phone.
It's just a copy/paste or you can just use the apps mentioned.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
Thanks guys and special thank for veyka
first: I will root my phone via cf-root
second : I will try the app mentioned
Or
I will make it by busybox commands
For LiFE1688 : I read about ADB but I prefer to do it via a teminal editor
Thanks for all I will try and tell you
I'm going to ask now what should I do to restore efs folder?
In the case of changing my IMEI
mohamdyoon said:
I'm going to ask now what should I do to restore efs folder?
In the case of changing my IMEI
Click to expand...
Click to collapse
To restore you can copy the contents of the tar file you made over the EFS folder, or if you ended up with an img flash it via Heimdall
ps dont share your EFS folder backup, as someone could use it to clone your phone
Thanks guys

[Q]How do we backup our efs ?

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

[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

Categories

Resources