[Q] Can't Restore /data in CWM - AT&T LG Optimus G

Using sk8's cwm I can't restore nandroids anymore. It always errors out saying that there was an error restoring /data. I'm about to go try TWRP, but I really prefer CWM and was wondering if anyone has encountered this before.
Thanks for the help!
Sorry to double post, but after trying twrp, my backups still don't work. They appear to be created fine, but when they are restoring they completely skip the data partition. I've already done the camera fix, so I'm not sure what else to do...

Related

[Q] Anyone have issues with nandroid restores?

I tried out the CM7 ROM, then went to restore my nandroid backup of VirusRom, it finished, and then i rebooted. It stays on the HTC logo. Went back to recovery, restored a nandroid of the debloat ROM, same thing.
Re-flashed the zip for VirusRom and all is well, but of course i lost all my data. Anyone else have any issues with restoring? Any ideas? I even tried wiping data and cache after the restore and still got stuck on the HTC logo.
I've only restored to a stock rom backup w/ root - and that worked perfectly fine.
Not sure if this matters, but did you have spaces in your backup name?
Nope i keep them simple like: "debloated" and "virusrom"
Ok it seems i have found the issue, but not the source. It is popping up an error message when i try to restore, "Error while formatting /system!" Does this on all of my backups. Tried mounting system and then doing a restore, no go. Any ideas?
When i try to manually format /system it shows the same error.
Tried just doing a restore of the data, then it throws up an error formatting /data. Tried to manually format /data, same error. Choose Factory Reset and it formats data and cache just fine.
Should i try redownloading CWM? I'm currently running 3.0.2.4
Its a known issue...go to rom manager, clear download cache, click on erase recovery in the settings menu, then reflash the newest recovery.
That did the trick! Thanks. I had searched but hadn't found that.
It is best practice to clear data/cache when switching ROMs. Boot into recovery and take care of that and you should be fine!

[Q] CWM fails to restore backup

Hello all.
I had Litening ROM 4.2 installed on my SGS2, then I wanted to try Cyanogen Mod, and first made backup with CWM. Now when I try to restore backup, it restores it, but when I boot phone, everything is messed up, apps that I installed dont work, etc... It even shows me that first-time screen, to set up connections, time etc. Can anyone give me some hints what am I doing wrong please ? Thanks.
I even tried to install Litening ROM from scratch, deleted cache & davlik cache, and installed it with Odin, but when I try to install any application, after install it works fine for couple seconds then it shows me error and that "force close" dialog... And it happens with every app I try to install.
I have also tried to install Frankesteins Stock ROM that I found here, then install Litening ROM, but got same errors again...
Same problem here. After a restore, I get the first time screen. No apps, no data, default settings. Please help!
This just happened to me as well.....
Version of can? There's deffo something odd with some of the cwm versions going about. Also I notice that v5 doesn't like yo restore v4 backups. And vice versa
Sent from my GT-I9100 using Tapatalk
Backup created with ver 4.x.
Both ver 5.x & 4.x failed to restore system data. Tried installing ROM and wiping everything, reflashing CWM, but still the same problem.....
CWM4 and CWM5 use different formats for the backups. That's why backups of those are not interchangable, you have to restore with the CWM you made the backup with.
Also, don't change the dir names of the backups, I did it once and the backup woudln't restore anymore, changed name back to original one and it worked again.
The OP also sounds like only the /system partition was restored for some reason.
Try a clean format of /system, /data and /cache before the restore.
Were apps installed to sdcard?
Just to be sure, you can try advanced restore, and restore *.img one by one.
Just posting to point out that it seems to have affected me too. I made a backup, but restoring just restores the ROM without my data.
HellcatDroid said:
Also, don't change the dir names of the backups, I did it once and the backup woudln't restore anymore, changed name back to original one and it worked again.
Click to expand...
Click to collapse
thanx man thats my problem
CWM is great for restoring the actual rom. But I have found with a large app load (I have 3-400 at any given point) it struggles.
Reconfiguring is common place, personally I use CWM for roms and titanium for apps these days.
You can coax CWM by restoring bits at a time rebooting then doing the next piece.
Sent from my GT-I9100 using XDA App

[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

Nandroid backup problem

Today I decided to upgrade the cyanogenmod software of my girlfriend's phone. I did a android backup before doing it and I have it both on my SD card and on the phone. The upgrade went wrong (dont'know why i was having many crashes of some apps) so i decided to restore the android backup. I have tarp recovery and i'm having two problems. The first one is when I select MD5 check: it's written MD5 failed to match on... maybe because I followed the guide about creating an MD5 blank file ( I was having problems in matching MD5). When I uncheck the MD5 check box, the backup starts and it seems it works, but when I press reboot the system it says NO OS INSTALLED. I need some help please I've tried for two hours fixing it.
What partitions did you backup and try to restore? Sounds like /system or /boot didn't backup or restore properly. You could try to reinstall the original rom she was on and then do just a /data restore and see if that works. Other than that, either another rom or back to stock are the main options. What was going wrong on the new rom? Did you try to upgrade by dirty flashing - as in not wiping /data? Sometimes it also helps to format /system too when upgrading the rom to make sure there's nothing leftover. Also, getting the correct Gapps are important for everything to run correctly.
PS: I've been having some issues with backups in TWRP on my phone as well and wasn't able to restore /data and if I just choose to restore just boot and /system then it would at least boot backup and be usable. I'm not sure if this is a similar issue to yours or just phone specific.

[Q] Error while restoring data CVM 5.5.0.4 - Temasek CM 10.2

Hi all !
I need your help because I'm really desperate.
My phone was working fine but I had some error with Handcent application.
I decided to restore a previous nandroid backup (that I had previously successfully restored) but now I've got an "error while restoring data" after a long time working.
Tried to do 3 wipes (data factory, cache, Dalivk), but same issue.
Tried with some other backups, same issue.
I'm really lost....
Is there any way to get me out of this ? :crying:
My phone is now unusable.
When I run the phone after restoring faultly, it asked me my google account, as if it was the first time I was running the phone, and not all applications are installed.
When I try to install missing applications with Google Play, I've got an error, and no way to restore from Titanium Backup, no error but freezes.
Please HELP !
Flash your firmware using Odin or recovery, if the backup is corrupt then it can't be fixed.
Thanks, but this backup was OK last time I've restored it, and I had the same issue with some other recent backups.
It appears that the size was too big, over 2,5GB.
I've restored from a 2,41GB backup and it has worked.
The mistery is why I was able to restore from this backup one time, and now does not work anymore...
This thread can be closed now

Categories

Resources