[Q] Nandroid did not restore the previous state, all apps missing - Galaxy S II Q&A, Help & Troubleshooting

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

Related

[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

Help, Apps on cm7 keep force closing

Hi,
I accidently posted this question in the general section, but i think it is more appropriate here. I am running the 07/18 cm7 rom, and after a seemingly random amount of time (anywhere from instantly to 24 hours) after a reflash, or nandroid restore all my apps begin to force close, generally starting with gapps. once the apps start FC there is really no recourse but to restore the phone or try to reflash. i have tried wiping the cache and dalvik, both individually and together, as well as fixing permissions, but none of these options resolves the problem. I have also tried installing all my apps via the market to see if it was titanium backup corrupting backups, but again the phone started crashing. For the life of me i cannot figure this out and i was hoping that someone smarter than i could lend some insight.
Thanks
Same here
I'm actually getting the same problem! I have no idea what the problem is. At first it started with Gapps FC-ing, and now pretty much no apps I have work. Even my Gizmodo app, which is really just a link to the Gizmodo website.
Any ideas?
I tried rebooting .. It works for a little while then the problem continues.
Not sure if your cases are similar to mine.
I made nandroid backup for CM7 and flashed Vanilla GB with wiping dalvik/cache, but without wiping data.
Without wiping data, VGB showed continuous error messages related to foce closing...
Again wiping all three fixed that issue. So wiping data may be necessary.
After restoring my old data with nandroid (data only), it happened again.
I reallized that nandroid restoring was really painful with CM7 or VGB.
My final solution which worked fine was Titanium Backup for restoring old data rather than nandroid.
Nandroid backup is working fine when converting all system, for instance, from CM7 to VGB or vice versa, with wiping data.
Even in this case, you have to restore contacts and calendar separately to SD card using export option.
Nandroid or even Titanium Backup didn't recover my contacts under CM7 or VGB environments.
Hope to help you.
You should always, always wipe data, cache, and dalvik vm cache between flashes, especially if going between roms that utilize different file systems. Otherwise it will be fc city. To fix yours, back up your apps with Titanium, boot into CWM and wipe data/cache/dalvik, reflash ROM and gapps, then boot up and restore only user apps
(not system apps).

[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

Getting important data (call logs, whatsapp messages etc) from CWM backup?

I'm having an issue right now. Somehow made my device go into constant bootloops [edit: not bootloop, but rather the boot animation plays forever] (I was on temasek rom, and kernel, flashed boefffla, came back, somehow after a few various flashes). Now I get bootloop even when all I do is install the rom, without a custom kernel. Made a CWM backup from that, and restored to an old backup.
Now is it possible for me to extract the relevant data from my newly made CWM backup? I only need stuff like call logs, whatsapp messages, messages and etc.
PS. Currently making the CWM backup. I tried to resolve the bootloop by wiping cache, dalvik cache but to no avail. Gonna factory reset and restore to an old CWM backup soon.
Hey
( I havent tried this but) u can use philz recovery..it has an option for custom restore..
Sent from my Amazing Galaxy S III...!
trein91 said:
I'm having an issue right now. Somehow made my device go into constant bootloops [edit: not bootloop, but rather the boot animation plays forever] (I was on temasek rom, and kernel, flashed boefffla, came back, somehow after a few various flashes). Now I get bootloop even when all I do is install the rom, without a custom kernel. Made a CWM backup from that, and restored to an old backup.
Now is it possible for me to extract the relevant data from my newly made CWM backup? I only need stuff like call logs, whatsapp messages, messages and etc.
PS. Currently making the CWM backup. I tried to resolve the bootloop by wiping cache, dalvik cache but to no avail. Gonna factory reset and restore to an old CWM backup soon.
Click to expand...
Click to collapse
Philz recovery you can use advanced restore to restore data from a backup but I don't think you can restore single app data (I maybe wrong on that) I have used it a few times without any problems.Also the paid version of Titanium Backup you can restore individual apps from a backup:good:As for the individual data not sure but I presume if you restore the apk it will restore the data for these apps..Maybe somebody knows a little more
Have a look for "Nandroid Manager" in the play store.
I haven't used it so can't comment on how well it works...
Sent from my GT-I9300 using xda app-developers app
Any data in a backup can be extracted so long as that data isn't corrupt. Multiple "nandroid explorers" available
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Thanks guys. Used nandroid manager, and got my smses from it. Well, second time I'm facing this issue on Temasek rom. Reinstall of the rom, kernel, resetting kernel settings does nothing.
Looks like I have to reset my device to factory AGAIN for the second time in 2 days.
This is crazy. I gotten this issue no less than 10 times on CM10.2 Maybe I should go up to CM11 again, but 4.4 has so many incompatible apps (easy voice recorder for me).
Nandroid manager doesn't work properly. It says "success" on restroring whatsapp, but doesn'tactually work right, since when I test it by uninstalling whatsapp first, and then restoring using the nandroid manager, it asks me to reverify my number when I open the app. (if it restore properly, it should not ask you to reverify number, like in TitaniumBackup)
why dont u try to do it with titanium? i guess it should be easier

[Q] CWM Recovery did not restore previous state, apps missing

Been having some issues with my SGS3 and charging, using JellyBam (v7, fairly old, so thought I would start fresh on latest version).
Using CWM5, I did a backup. Factory reset + wipe cache + wipe dalvik cache, then flashed the new ROM. Figured out what I needed to for the charging issues, but forgot I didn't to a titanium backup with all my apps, and more importantly the app data.
I can confirm looking in the CWM data.ext4.tar that the data I want is in there.
So I backed up my new flash setup, restored the previous backup, thinking I would do a titanium backup and get everything setup in my newly flashed ROM. After restore (I did another factory reset + cache + dalvik wipe first), it presents me with the google login wizard, and it seems to have remembered some of my apps but not others. So the restore seems to not have worked.
If I try reinstalling the app it gives me the 'Unknown error code during application install: "-24"' error
Any ideas how I can get the restore to work correctly?
OR some way from the fresh install (providing that restore works too) to grab the app data from my data.ext4.tar and move it into my working install? I tried just copying the file into /data/data but that didnt seem to do the trick
Old CWM
Flash the firmware you made a cwm backup of restore via CWM .
Flash Philz recovery and make a new backup .
Now get 'error while restoring /data'. Seems to be an issue on CWM5 for >2GB backups.
Going to try flashing Philz recovery and try again
Nope no joy. Is there any way I can extract data from a nandroid backup?
As I'm only really fussed about a handful of apps so could do it manually
5 355586
poppahorse said:
Nope no joy. Is there any way I can extract data from a nandroid backup?
As I'm only really fussed about a handful of apps so could do it manually
Click to expand...
Click to collapse
maybe there is the way, but is better if you make a update of your CWM,... 6.0.3 or 0.4 touch... by the way I always use two mores apps for backing up data from my SIII ... one for sms, contacts ecc.. to extSDcard "Super backup pro" and the other app for backup data apps "Ultimate backup pro"

Categories

Resources