Nandroid backup problem - Android Q&A, Help & Troubleshooting

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.

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

[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] Help! EFS Folder screwed. I have a backup

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.

Unable to restore my nandroid backup - No space left

I am unable to restore my nandroids on the Atrix.
I tried at least 2 out of the 3 recoveries (ClockWorkMod fails, RomRacer fails, I don't remember if I tried the other one)
The backup is created and it is about 800mb however when I go to restore the backup it errors out restoring /system partition, in the logs I see:
DE_ta.binde-DE_gl0_sg.binfr-FR_nk0_sg.bines-ES_ta.binit-IT_cm0_sg.binit-IT_ta.binen-GB_kh0_sg.bintar: write error: No space left on device
es-ES_zl0_sg.binen-US_lh0_sg.binen-US_ta.binfr-FR_ta.binen-GB_ta.binhostsvsuite_config.xmlhdmiSolDefLg.gifecryptfs.tab12m_files_copy.shlocation.cfgfmc_init_6450.2.btscom.nvidia.display.xmlcom.google.android.maps.xmlplatform.xmlhandheld_core_hardware.xmlcom.scalado.caps.xmlcom.motorola.android.tcmd.xmlcom.blockbuster.lib.moto.xmljcifs-krb5-1.3.12.xmlandroid.hardware.wifi.xmltouchpad.cfgtouchpad.cfgtouchpad.cfgexcluded-input-devices.xmlapns-conf.xmlgoogle_generic_update.txtblacklist.confauto_pairing.confinput.confaudio.confmain.confevent-log-tagshdmiSolDefSm.gifam2server.pubkeymve.inibt_init.configpvplayer.cfgde_DE_frami.affpt_BR.dicpt_BR.affen_US.dicen_US.affit_IT.dicError while restoring /system!
Which is surprising since it's a nandroid...Does anyone know how to recover from this problem? The only way I know to get my phone to work is a rather lengthy process:
Flash 141 sbf
Flash the unlockable bootloader
Flash preinstall and re-root
Restore from TitaniumBackup
This takes a good hour to do, and naturally i'd like to be able to make snapshots of my phone for backups. I think I need to resize/repartition but I am not sure if that will delete my internal files.
NOTE, I did try 2 different roms on the phone, CM7.2 RC1 and Jokersax CM9 build which worked great (but I want this phone on stock right now)

How to clean my SGS II ?

hello
how can I clean my SGSII ,phone SD, and external SD card from old installation files, folders,. Bla bla bla
now I have my ideal settings , ROM , everything ,
is there any way to format everything then restore CWM backup ?
thx
Backup everything (Ti, Nandroid, calls, sms, etc). Format cache, data, system & internal sd card in CWM. Flash stock rom in Odin, CFRoot to get CWM, flash rom/kernel of your choice. Then clean install your apps from Google Play/wherever you got them from (preferable) & restore calendar/contacts from Google, & restore call/sms log with whatever app you used to back them up (provided this app only backs up/restores the logs/sms themselves & not the apk like some of these apps do). You could also restore your apps with Ti (not system apps) but if you do, don't restore data.
That will give you a clean start.
MistahBungle said:
Backup everything (Ti, Nandroid, calls, sms, etc). Format cache, data, system & internal sd card in CWM. Flash stock rom in Odin, CFRoot to get CWM, flash rom/kernel of your choice. Then clean install your apps from Google Play/wherever you got them from (preferable) & restore calendar/contacts from Google, & restore call/sms log with whatever app you used to back them up (provided this app only backs up/restores the logs/sms themselves & not the apk like some of these apps do). You could also restore your apps with Ti (not system apps) but if you do, don't restore data.
That will give you a clean start.
Click to expand...
Click to collapse
can I transfer the CWM backup to PC , then transfer it again to SD card after installing ROM, and restore the CWM backup ?
btw I have two CWM backups and I'm unable to restore one of them ,.it stock on " checking MD5 sums" for a while then phone boots without restoring anything
Of course you can. But what's the point of doing a clean install if you're going to restore a Nandroid which is a copy of your setup at the time you took the backup ? Kinda defeats the purpose. If you're having problems which you think are as a result of having a lot of crap on your phone; easy to happen if you haven't done a wipe for a while/have flashed a lot, if you restore a Nandroid you're going to have the same problems.
Personally, I do the steps I suggested every 4-6 weeks (instead of flashing stock after I wipe everything I normally flash CM9 Resurrection via Odin & go from there). I find it's an hour or two well spent. Phone runs much better after.
Up to you which way you want to go tho.
gitan_reel said:
can I transfer the CWM backup to PC , then transfer it again to SD card after installing ROM, and restore the CWM backup ?
btw I have two CWM backups and I'm unable to restore one of them ,.it stock on " checking MD5 sums" for a while then phone boots without restoring anything
Click to expand...
Click to collapse
MistahBungle said:
Of course you can. But what's the point of doing a clean install if you're going to restore a Nandroid which is a copy of your setup at the time you took the backup ? Kinda defeats the purpose. If you're having problems which you think are as a result of having a lot of crap on your phone; easy to happen if you haven't done a wipe for a while/have flashed a lot, if you restore a Nandroid you're going to have the same problems.
Personally, I do the steps I suggested every 4-6 weeks (instead of flashing stock after I wipe everything I normally flash CM9 Resurrection via Odin & go from there). I find it's an hour or two well spent. Phone runs much better after.
Up to you which way you want to go tho.
Click to expand...
Click to collapse
Thx , any idea why CWM gives this message" MD5 mismatch ! "
Lots of threads on here about that (understatement); search.
gitan_reel said:
Thx , any idea why CWM gives this message" MD5 mismatch ! "
Click to expand...
Click to collapse

Categories

Resources