[Q] Help! EFS Folder screwed. I have a backup - Galaxy S II Q&A, Help & Troubleshooting

I used the EFS Backup tool to create a backup. Now I need it, but can't restore.
It won't find the backup. Anyone have any suggestions?

Resolved. Not sure how, but back to normal.
All I was doing was making a nandroid backup via CWM and when I rebooted my IMEI was unkown and I had no radio function.
Reboot. Shut down. Start. Nothing.
Tried to restore, but the EFS Backup Pro tool could not see my backup (not sure why).
Saw no progress in the restore other than the notice that the restore wasn't found.
Rebooted, radio working. IMEI restored.
Made a new backup, just in case.

Okay, so I've had it happen again.
Should I use EFS Backup Pro to reformat and restore my EFS?

Sorry, I don't have your solution.
I just want to say: Hope you can solve it fast and definity!

Seems to only happen when the device is rebooted while connected to the charger.

If you can get your phone back up and running again like before then Id go to the link below and backup your EFS folder.Do both types of backup,save to SD and PC and then might be a good idea to follow the instructions as to doing a wipe and then restore.But do both types of backup incase one of them gives you problems when you try to restore.better safe than sorry.
http://forum.xda-developers.com/showthread.php?t=1308546

I made both backups after I was able to get it running with my IMEI and modem functioning.
Cleared cache and Dalvik and reflashed the kernel also.
If I have the problem again, I'll do a wipe and manually restore everything.
I'll keep the thread update, just in case this happens to anyone else.

Are you using a Custom ROM?

No. Stock KK5. Have not had the problem since.

Mate thats not good from a stock firmware.maybe you it would be a good idea to flash back to a previous one to see if it still happens if this has happened since you changed to KK5.Possible bug,and a big one too.Id flash back to your previous FW then root and do a full system/cache /data format to clean up the device just in case and see is it still happens.

When you get it working again try Hellcta's kTool.
Among other things, it can backup and restore EFS folder.
2 backups .tar.gz & .img saved directly to sdcard & can verify the backups too.

Related

Can't do a nandroid restore

Just put my old SD into a new Eris and I'm trying to nandroid (I've rooted)
error: run 'nandroid-mobile.sh restore' via adb !
is the error I get.
Can someone help? I've tried a lot of things. The phone's fully charged and plugged in.
EDIT: I fixed this by deleting my nandroid folder after backing up my backups, doing a nandroid backup, deleting that backup, putting my old backup there and then restoring.
Thanks anyway.
I just tried to do this as well. Same thing happened to me. I'm guessing the backups are only good for the specific phone they were backed up on. If anyone knows a way around this, could you share? I have a few backups from my old phone and would hate to have to start over.
read the Edit: portion of the OP above
I've had this happen a couple times. Usually, I get it when the battery is low. Perhaps an internal protection? The other times, for some reason it won't create an MD5 file. The only way around that is to manually create one. I'm not sure what caused the initial problem here, but it's nice to see you got it fixed.
To clear this up, this can happen when the battery is low or possibly when trying to nand on a new phone/ newly flashed recovery.
I solved it by
-- saving everything inside the nand folder I wanted to restore.
-- Deleting the nandroid folder from my sd card
-- Booting into recovery and doing a nandroid backup
-- Deleting the contents of that nandroid backup and replacing them with my nandroid from the first step

[Q] Nandroid backup/restore on rooted Streak...

I'm curious about this. Maybe someone can enlighten me.
Lets say that I'm on stock 2.2, rooted. I do a nandroid backup. Then I allow the upgrade for 2.2.2. Of course I lose root.
Will a nandroid restore, restore root, or will I have to root again?
A full nandroid restore will restore everything - the system and data - and you will be right back where you were, on 2.2 and rooted.
maltloaf said:
A full nandroid restore will restore everything - the system and data - and you will be right back where you were, on 2.2 and rooted.
Click to expand...
Click to collapse
Ahh, okay.
So to confirm that I understand you correctly...
...the 2.2.2 update won't hold after the nandroid restore? I'll be back to 2.2, as it was before the (2.2.2) update?
If you just wanna backup and restore your apps, use Titanium Backup (it's free on the Market).
Nandroid backs up your entire phone. When you restore a nandroid backup your phone will be exactly like it was when you made the backup. Restoring a nandroid backup is used to recover from a crash or to revert to a previous ROM.
After a ROM change I will set up my accounts, root if needed and do any other basic setup stuff and then, before installing any apps, do a nandroid backup. I can then go back to a "fresh install" if I want to. I also do a nandroid each weekly to capture the state of my phone.
Backing up apps and restoring them across different ROMs may or may not work for you. When I have tried this with Titanium Backup I had many force closes and ended up reinstalling everything from the market. Others have had success. I have read the MyBackup pro does better, but most suggest that you just backup and restore data not the app itself.
I have not tried backing up my apps to Google, which you can do in later versions of Android. Go to Privacy in the setting menu and then to Backup and restore. There are boxes for data backup and automatic restore you can check. maybe someone who has used this can comment on how well it works.
If your nandroid backups hang up at "backing up firstboot" get the latest version of StreakMod Recovery.
marvin02 said:
Backing up apps and restoring them across different ROMs may or may not work for you. When I have tried this with Titanium Backup I had many force closes and ended up reinstalling everything from the market. Others have had success. I have read the MyBackup pro does better, but most suggest that you just backup and restore data not the app itself.
Click to expand...
Click to collapse
After installing a fresh ROM and rooting my device, the first thing I do is install Busybox. Then, with Titanium Backup I do Restore Apps Only, then reboot my device. I never get any FC's with this restore process.
Thanks!
Thank you everyone. I appreciate the info.
I've used Titanium BU, and have busybox installed too.
It was just a matter of if after an update (OTA), and restore with Nandroid, would root still be in place.
I totally understand what you guys are saying now.
I've also been using MyBackup to see how it compares to Titanium. So far so good.
~X
I prefer mybackup root to titanium. It's far more user friendly and more automated (in the free version). As for nandroids, I always take a backup before doing any system changes (hacks or rom updates) so I can roll back to a known good system if needs be.
BTW - it is a good idea to copy your ROM backups to another device, just in case your SD card dies. I copy mine to one of my desktop computers and to a USB drive. I usually back up my entire SD card, except my music folders, every couple of weeks.
Where does Nandroid put the backups so I can rename them and save off phone?
mine (from Streakmod recovery) are in /sdcard/rom_backup
StreakMod recovery puts the backups on the SD Card in a folder named rom_backup.
Each backup is in a sub-folder of it's own and uses a date-time format for the folder name. I rename the folders with a meaningful name by just pre-pending to the name. So my last backup is named BB351-2011-06-18-02.41.04. The following files are created:
.android_secure.img
boot.img
cache.img
data.img
firstboot.img
recovery.img
system.img
nandroid.md5
the md5 file is a text file that contains the md5 sums for the other files. This file is used to verify the other files when they are restored.

[Q] Does CWM backup the /efs folder?

So I was reading about backing up your /efs folder and I was wondering if backing up your device with CWM through recovery, will that also back up /efs folder?
Thanks!
i dont now this but you can just copy the efs folder and paste it at your computer.its so easy
If you want you can download nitrality apply from market, which can automatically do a backup for ya
Sent from my GT-I9100 using XDA App
just copy the files might not be enough, permissions and ownershiop etc is lost. Look in this thread for info how to backup /efs
http://forum.xda-developers.com/showthread.php?t=1068193
I'm wondering the same thing... Does CWM backup the /efs folder?
No. There are apps that can do same (Hellcat's kTool being one), and some kernels automatically make an EFS backup by default (Siyah for example).
Edit to add - For clarity, CWM will not make a separate backup of the EFS. As it essentially makes an image of the phone, obviously the EFS details will be included (everything is included), but I doubt you can extract the EFS folders/files on their own from a CWM backup. If there is a way, I'd certainly like to know how to do it Would be handy to know, even if I do backup EFS whenever I do a backup as a matter of course.
So as long as I've made backups using CWM and then suddenly my efs folder gets corrupted, a simple CWM restore would repair the efs?
On the other hand... in theory (I would never try this) wouldn't that mean that if I did a CWM restore on a different SII that phone's IMEI would change?
Brgds... /Tubgirl
Hmmmmm....Basically when you restore a CWM backup, you go back to whatever state your phone was in at the time you made the backup.
Now, if you borked your EFS, and if you restored a CWM backup, would this fix this EFS issue. In theory & based on the CWM backup being an 'image', you'd reckon yes it would.
In practice, I'm not about to delete my efs folders & try it out tho
So far as the IMEI is concerned, no, I don't believe it would. Reason I say this is because I know people who have taken a CWM backup of a phone they've had to return for replacement. Got the replacement phone, and restored the CWM backup on the new phone; essentially cloned the old one. And that hasn't messed with the new phone's IMEI.
At the end of the day, people who don't make EFS backups are insane IMHO (you probably guessed that from my sig). Given it takes literally 20 seconds to make an EFS backup with kTool, and another minute to transfer a copy over to a PC, there's no excuse for not making a backup.
Edit to add - Interesting questions/thread BTW I know who could answer these questions definitively for us. Odia. He's the EFS king on here. Can sometimes (often ?) recover IMEI's when there are no EFS folders/files to work with. How ? Who knows. Voodoo maybe ?
Ok, I'm no expert by any means and please correct me if I'm wrong, but wouldn't a complete efs backup include imei?
The reason I'm asking is because suddenly my phone can't make/receive phone calls with my current carrier (other carriers still work). I restored a previously made CWM backup but it didn't help. Today I read about efs and what it contains so I started to wonder if maybe that's where the problem lie. I've only made CWM and Titanium backups so far because I had no knowledge about efs.
Brgds... /Tubgirl
Easiest way to tell if it's an IMEI issue is to check the IMEI. If you have your actual IMEI in settings/about phone, that obviously isn't the problem (whatever you do, don't post your IMEI on XDA. Ever), if you have the generic IMEI 004999010640000, then you've got a problem.
If you do have the generic IMEI, then we can look at options to possibly rectify it (sometimes possible, sometimes not).
If your IMEI is fine, the problem lies elsewhere & you're worrying about nothing There are a million things that could cause the problem you described.
However, no excuse for not making an EFS backup nowish if your IMEI is OK & keeping one copy on your external SD card & another copy on your PC (and even another copy on a external drive if you're really paranoid).
I just used the IMEI example to question whether efs is included in CWM backups or not. My IMEI is just fine but since I'm so reluctant to send my phone in for repair I'm just grasping for straws here Thought maybe my problem was related to efs since I suspect it's not included in CWM backups. Anyway... since I never made a "real" efs backup my question is pure academic. I'm afraid my phone needs to be sent to a service center. System restore didn't resolve my problems either but I'm pretty sure that wouldn't resolve efs problems either.
Brgds... Tubgirl
Did a bit of digging & found this. It would appear EFS is not backed up in a Nandroid backup after all despite it being somewhat of an 'image'. So I guess that answers both our question.
No, system restore more than likely won't solve EFS issues. Normally the only way to fix it short of having Samsung do it is Odia/whatever method he uses (which he won't divulge; and fair enough. I'm sure it's highly technical).
If you need to send your phone in for warranty service, do a format cache, data, system, & sd card in CWM. Then flash a stock rom in Odin, then use a jig to reset the flash counter.
Obviously once you root a phone and/or run non-stock firmware on it you void your warranty and should have no expectation of warranty service, but many people have been able to get same by doing the above. But in saying that, there have been people on here who have followed these steps & been 'found out' in any event.
Unless it's a case of actual damage to the phone caused by use or whatever, if it's a hardware fault, you might be able to get away with it.
WHich method do you use to backup your efs?
I use Siyah kernel which automatically makes an EFS backup & dumps it in the /data/.Siyah folder. There are also apps which enable you to make a backup, I've used kTool in the past & there are others (names of which escape me; search on here/Google Play).
I'd recommend kTool (search for it on here/Google Play) as it isn't kernel or rom dependent, it backs up EFS to /sdcard/efs.img & also allows you to verify the backup. You can then transfer a copy onto PC, external drive or whatever in case the worst ever happens. Quick, easy & no fuss.
Thanks a bunch... I'll search for it.
No probs
Tubgirl said:
Thanks a bunch... I'll search for it.
Click to expand...
Click to collapse
I saw this thread was about CMWbackups, and have a quetion about it. decided it's better to ash here than start a whole new thread
The CMW backups; does it backup EVERYTING?
So if i forexample have some movies on my external SD card, and then takes an CMW backup..... Next i delete everyting on this SDcard, and then flash the CMW image,,,,, will my movies then be back at my SD card? Will they be back at any other place at the phone? or will they be totally gone?
Nikolaiim said:
I saw this thread was about CMWbackups, and have a quetion about it. decided it's better to ash here than start a whole new thread
The CMW backups; does it backup EVERYTING?
No as said it does not back up EFS .
It takes an image of the firmware OS and applications on the internal sd card .
So if i forexample have some movies on my external SD card, and then takes an CMW backup..... Next i delete everyting on this SDcard, and then flash the CMW image,,,,, will my movies then be back at my SD card? Will they be back at any other place at the phone? or will they be totally gone
Gone Gone Gone .
jje
Click to expand...
Click to collapse
If i have a siyah backup of my esf (a tar.gz and a img.gz) what do i have to do to restore my esf folder?
Search for/read the kTool thread on here.

[Q] Nandroid did not restore the previous state, all apps missing

Hi guys, I'm in awkward situation. I'd appreciate any tip what to do.
Intro: I might have got some (small) amount of water into the phone, so I removed the battery, dried it for some time and then started it. Everything was OK, but anyway I decided to get it cleaned in service to be sure no corrosion appears later. I wanted to give them phone without any private data, so I decided to root, backup, wipe, give it to them and restore afterwards.
So I rooted with Odin and cf-root-sgs2_xw_clk_kf3-v4-0-cwm4 (I have XWKI4 firmware and this was mentioned as the right one for KI4), everything went fine. The phone was working afterwards. So I booted into recovery and backed it up with nandroid, copied the backups and the content of external storage to the computer, wiped the phone in recovery mode and gave it to the service. They cleaned it.
Today, I wanted to restore the backup, but here came the problem. Everything seems to be running, the backup restore took up to 10 minutes, it showed restoring system, data, displayed file names looked real, etc. No error, so I restarted.
However, after restart, the Android intro wizard was shown, I was asked to enter google login and only standard applications were shown. But wifi got connected, flight-mode was restored upon first launch (I used it for backup), wallpaper was restored. In Titanium Backup, I can see the list of all previously installed applications, but in grey and crossed. I reinstalled some of them, but most of them were crashing. For some of them, backing them up, uninstalling, reinstalling them back and restoring only the data (in Titanium) helps. The rest is not crashing at least, but the data are gone. I also tried Titanium to open the CWM backup, but that works for CWM v5 AFAIK, so no luck here either.
What could have happened? Is there any way how to solve this or is it simply lost?
Some background: Bad things happen together as you might know, one of my SoDIMM modules in laptop failed during this operation. system.img was damaged as a consequence (MD5 hash showed this). I found this when I tried to restore the backup for the first time. So I made a wipe, then made another backup, compared the system.img. I saw the MD5 hash for the new system.img is the same as for the old backup so I took the system.img from there. I was lucky this was not data.img. I'm certain I'm restoring with the correct files now - MD5 hash check runs just fine in total commander and nandroid before restore.
I also remember that my first try was without restored external storage, I did put there only the clockworkmod backup. But I believe this would not cause such situation. To have as much information as possible, I did this - wipe data, restore backup, wipe cache, wipe dalvik cache - start. Problem - wizard appearing. Restore the external storage, get into recovery, wipe data, wipe cache, wipe dalvik, restore, reboot. Wizard again
Thanks for any tip. I'm slowly getting accustomed to installing and setting up everything from scratch. I might install custom ROM finally. But lost data and settings are painful.
Aleq
Did you use CWM to backup and restore? I've had problems restoring when I backed up on CWM5 and tried to restore on CWM4. It looks like it copies fine but doesn't. Even if you're sure you have the same version, if you use CWM5 app and click restore in there, it reverts to CWM4 for restore (for some reason...) so you have to reboot into CWM mode from the app to get CWM5 to 'work'.
For both backup and restore I rebooted to CWM Recovery and navigated using volume up/down to "backup and restore". By the way ClockworkMod Recovery is v.4.0.0.2
Anybody, no ideas?
Is it common that nandroid is unreliable?
Aleq said:
Anybody, no ideas?
Is it common that nandroid is unreliable?
Click to expand...
Click to collapse
No, I had to use nandroid backup several times and every time everything worked fine for me.
First I thought that you forgot to wipe cache partition, but you wrote that you have done it.
Did you tried to wipe cache (and Dalvik cache) before restoring the CWM backup?
If that does not help, try to fix permissions.
If that does not help either, try to flash a stock ROM, then flash CF-Root kernel (or similar with CWM included), then try again to restore your system backup.
As all your apps are still in Titanium Backup, you can uninstall all corrupt apps after restoring your system backup and restore all user apps (+app data) using Titanium Backup.
Maybe you have to reboot your phone twice after restoring the system backup.
And only after the second boot, you will see all your restored apps.
It is just a guess.
Good luck !
Thanks all. I have no idea what was wrong, of course I tried everything - multiple restores, reboots, wiping cache/Dalvik cache, etc. CF kernel failed on me. Luckily not completely, as the data were there, only the apps did not restore. So I installed the apps using Market. They crashed upon start, but I found that if I back them up with Titanium, uninstall them and then restore, it works. Using these steps, I was able to recovery almost everything.
I have used other Kernels since then and never had that issue anymore.
Did you try using advanced restore from within CWM?
If I am not mistaken and that's that functionality that allows you to restore only particular part of backup, then I believe I tried (even though I'm not 100 % sure). I did try fix permissions also.
I'm blaming incorrect / faulty CWM recovery. It just puts some uncertainty into the process in my eyes.
You are the seccond person I've come across with that problem. It's a really strange issue you are facing.
When you tried to restore, did you have the same firmware and cf-root on your phone as when you made the backup?
Yes. I did backup, then wipe/factory reset and gave the phone to service shop (for cleaning after some possible moisture exposure). I have received it in the same state, so I restored - but the apps were missing. I should have tried a different kernel with slightly different CWM recovery.
in my case, this was caused by nandroid getting out of free space when restoring .android_secure...you know what to do

[Q]Nandroid Backup...

On my stock rooted ROM, after wiping data, cache and dalvik cache, I've created a Nandroid Backup.
My question is, if someone restores this backup to there phone, which is the same as mine, will it have any of my information, or could it possibly cause any problems?
I was simply going to upload it, so that if anybody has any problems installing the latest OTA or hasn't got a working Nandroid backup, they can use it.
Just Me said:
On my stock rooted ROM, after wiping data, cache and dalvik cache, I've created a Nandroid Backup.
My question is, if someone restores this backup to there phone, which is the same as mine, will it have any of my information, or could it possibly cause any problems?
I was simply going to upload it, so that if anybody has any problems installing the latest OTA or hasn't got a working Nandroid backup, they can use it.
Click to expand...
Click to collapse
Em well first off, if you done the wipe data ect first then you will not have a NANDROID Backup as there is nothing there to back up,
Second i wouldn't recommend anyone but yourself use the back up but if its between friends ect from with in the phone in settings go to factory reset and that way your data will be clear for the most part and safe to share with friends you trust in-case anything is left behind but i would not release to public in any capacity and then proceed to create your NANDROID backup from within your recovery app.
If you really had to do it that way, you would want to create a NANDROID backup for yourself, reboot your phone go to settings factory reset, then boot back to recovery make another NANDROID Backup (This one for Friends clear of your data)
dstylazz said:
Em well first off, if you done the wipe data ect first then you will not have a NANDROID Backup as there is nothing there to back up,
Second i wouldn't recommend anyone but yourself use the back up but if its between friends ect from with in the phone in settings go to factory reset and that way your data will be clear for the most part and safe to share with friends you trust in-case anything is left behind but i would not release to public in any capacity and then proceed to create your NANDROID backup from within your recovery app.
If you really had to do it that way, you would want to create a NANDROID backup for yourself, reboot your phone go to settings factory reset, then boot back to recovery make another NANDROID Backup (This one for Friends clear of your data)
Click to expand...
Click to collapse
The whole point of me doing the wipe data etc first, was to clear any personal data from the phone.
The Nandroid backup was so that there was a working stock rooted rom.
My question should have been does it keep any data that cannot be manually deleted. e.g. Serial numbers etc....But I think I found the answer. Apparently it does and it can cause problems when restoring.
The only reason I was going to do it was because, I have seen a couple of people using the HTC One X, that are trying to get from stock rooted 1.26, to stock rooted 1.28 and this backup would get them there.
Backup
If you take the boot.img and system.img from your backup and then use dsixda's kitchen to create a flashable rom.
dsixda's Kitchen Here - h t t p ://forum.xda-developers.com/showthread.php?t=1227549
(remove the spaces, can't post links yet lol) its the download and tutorial
There should be no information or data in your output rom so anyone can use it etc

Categories

Resources