Making a long story short. I have had fun this past week playing with KaosFroyo v39, adding new apps from market, new themes, etc. Before making any significant change I would create a new Nandroid backup.
Before I flashed KaosFroyo, I did both a NAND backup and restore of KaosFroyo v35-1. Everything was ok after the restore. Today, I was able to restore KaosFroyo v35-1. Everything was again ok.
Today, I wanted to flash a different ROM, so I again did a current NAND backup and restore of KaosFroyo v39. Everything appears to work, but unexpected things were different after the restore.
I "lost" the right most home screen, and the left most home screen is now empty. All the screens shifted one position to the right.
The Home Screen Menu Option no longer lists ADW Settings. I also appear to be missing themes.
I use Titanium Backup Pro, so I have all my user applications and application data backed up. I didn't lose any user apps.
I am trying to decide what to do next. I have lost confidence in my ability to use Anon-RA Recovery to NAND backup and restore. I don't know if it is me, NAND or KaosFroyo v39.
Has anyone flashed KaosFroyo v39, then NAND backup/restore and had everything restore ok? I am going to label all my NAND backups. Reflash KaosFroyo v39 then NAND backup/restore.
Your thoughts and suggestions are appreciated.
Don't lose confidence in NAND, unless you play with the files, you really can't screw it up. Issues with restoring custom launchers are not uncommon, just set your settings again as you like them.
My ability to Amon_RA NAND backup and restore appears random
Today, I made at least 10 new NAND backups, but only one of them successfully restores correctly. I originally thought flashing a bad rom or installing a bad app might be the problem, but this no longer appears true.
I googled the web and found that low battery charge often results in a bad backup. I hoped this was the root cause of my problems. Unfortunately, this was not the case. I also found info suggesting low SD space might be a problem (my SD card has 7.0+ GB free).
I made two different NAND backups (battery > 80%) and each backup failed to correctly restore to its original expected state.
The only consistent behavior occurs when the NAND restore does not correctly restore. In all cases, the home screens are shifted to the right and the ADWSettings are missing from the Home Screen Menu.
No errors are displayed during either the backup or the restore. I have examined the Recovery.log file after the restore and found nothing unusual. I have not yet checked the recovery.log after the backup (because it got overwritten by the restore.)
Random success has become frustrating. Any suggestions on what I might be doing wrong? Thanks.
Acton_Minuteman said:
I "lost" the right most home screen, and the left most home screen is now empty. All the screens shifted one position to the right.
The Home Screen Menu Option no longer lists ADW Settings. I also appear to be missing themes.
Click to expand...
Click to collapse
USSENTERNCC1701E said:
Issues with restoring custom launchers are not uncommon
Click to expand...
Click to collapse
Acton_Minuteman said:
In all cases, the home screens are shifted to the right and the ADWSettings are missing from the Home Screen Menu.
Click to expand...
Click to collapse
Okay... so your custom launcher isn't restoring correctly, that issue is not uncommon...
Acton_Minuteman said:
Random success has become frustrating. Any suggestions on what I might be doing wrong? Thanks.
Click to expand...
Click to collapse
Are you doing a data wipe before the Nand Restore? I once thought it was unnecessary, because I thought that part of the Nandroid Restore process was to format /data and /cache, but I had a failed restore happen once that was fixed by a data wipe and then restore.
doogald said:
Are you doing a data wipe before the Nand Restore? I once thought it was unnecessary, because I thought that part of the Nandroid Restore process was to format /data and /cache, but I had a failed restore happen once that was fixed by a data wipe and then restore.
Click to expand...
Click to collapse
doogald,
I noticed when I was building the trackball-option Amon_RA recovery version that the 1.7.1 version of the recovery.c source invoked the nandroid-mobile.sh script with parameters such that the Nandroid backups get created with a "BCDS" prefix instead of the "BDS" prefix we all know and love .
Didn't understand what the deal was until I looked in the nandroid-mobile.sh script and realized that each letter corresponded to the partition being backed-up: B = boot, C = cache, D = data, S = system (others not relevant but just to be thorough: E = ext2, M = misc, R = recovery, 1 = splash1, 2 = splash2).
So, the Amon_RA custom recovery that most folks use does not backup or restore the /cache filesystem. If this filesystem needs to be cleaned in between ROM flashes, then this would certainly account for some folk's issues.
Cheers!
edit: Oh, and I don't see any format commands anywhere in the nandroid-mobile.sh script either (i.e., the script doesn't invoke do this and I think Amon_RA recovery simply invokes the script for a restore...I'm checking...I'll update in a sec...).
edit: Yep...recovery.c simply invokes the nandroid-mobile.sh script when a restore is requested.
Set up everything on your launcher how you like it, go to your home screen, press menu -> more -> ADW Settings -> backup and restore -> backup. After a NAND restore go to the same place choose restore.
scary alien said:
edit: Oh, and I don't see any format commands anywhere in the nandroid-mobile.sh script either (i.e., the script doesn't invoke do this and I think Amon_RA recovery simply invokes the script for a restore...I'm checking...I'll update in a sec...).
edit: Yep...recovery.c simply invokes the nandroid-mobile.sh script when a restore is requested.
Click to expand...
Click to collapse
There is a "rm -rf *" performed for both /data and /system in nandroid-mobile.sh, no?
Just speculating here, but maybe cache2cache could be part of the problem? - if so, you would see the behavior only on making (nandroid recovery) transitions between certain pairs of ROMs.
Update
Since I installed ADW Launcher from the Market, I have had fewer problems with NAND restore. NAND restore is not always 100% successful, but often it is.
If the ADW Launcher is not 100% successful, then the ADW Settings Backup/Restore functionality helps greatly.
I think the "inconsistency" may be with the ADW Laucher. Googling ADW Settings Problems produces a variety of similar messages. Unfortunately, in some cases the ADW Desktop Restore does not correctly restore widgets only applications.
My most recent NAND backup and restore works perfectly. I am going to relabel it and make sure it gets backed up offline.
Thanks for all the help.
I've been running one of tazz's roms for a long time. Decided to play with kaos's gingerbread v6. Nandroid, wipe, flash. When i tried to nan restore i got "fail nandroid restore through ADB." That happened with all nandroid backups.
theGross1 said:
I've been running one of tazz's roms for a long time. Decided to play with kaos's gingerbread v6. Nandroid, wipe, flash. When i tried to nan restore i got "fail nandroid restore through ADB." That happened with all nandroid backups.
Click to expand...
Click to collapse
There is a built-in command in the Amon_RA menu system which allows you to copy the recovery log from its' usual location ( /cache/recovery/log) to the root folder of the SD card. When one of the operations fails (that the Nandroid script "nandroid-mobile.sh" performs), the exact error appears in that log file, whereas you only get a generic error message on-screen.
Because the recovery log file is volatile, you need to perform the copy operation in Amon_RA in the same session that the nandroid operation failed in.
Obviously, if you thought that a nandroid restore was going to fail, you would be reluctant to jump right in and start debugging your difficulty, as you might lose your ability to restore your current ROM setup - but you might want to go through this next time you are going to flash a new ROM.
I would wager that 99.5% of Eris rooters experience no problems with nandroid backup/restore operations that are attributable to a fault in its' design - the only remaining problems are due to user error or flash memory "bad page" issues.
bftb0
Related
He guys , I never did grasp exactly the concept of backing up so whenever I switched from ROM to ROM I would manually install my apps and make a manual back-up of my SD card .
So is there a way to back up my apps and config when switching to other ROMS?
Doing this , will it generate a lot of FC's?
What exactly does Nandroid do or Titanium Back-up . And how do you guys use it efficiently .
Cheers .
As far as I know reinstalling the apps tht fc will fix it.
So practically what you're saying is that: I can Titanium back-up my apps right? And if any apps malfunction I can just reinstall . a.k.a uninstall and reinstall right?
I just had EVERYTHING restored by Titanium backup three days ago, when I switched from void #alpha to #echo. I'm not talking just about the apps, but their settings too; the system apps settings also - provided you choose "Back-up all user apps + system data" batch process. Truth to be told, not all of them were restored with the batch restore on the new ROM, but it worked with the one-by-one approach
Was I lucky or Titanium simply did its job right, I don't know, but all the applications worked and I didn't have to reinstall anything from the market.
So yes, I'd trust Titanium for a complete backup.
@masteryx: hi, i used Ti to backup apps, but it didn't restore the saved games from Dungeon Hunter... Any ideea?
Plus, Void Echo gives me a lot of problems... shutdowns, if i reboot it goes into emergency mode....
My previous post was somehow incomplete, but editing it seems too complicated; instead I'll be adding info here.
So, based on my experience so far:
1) Nandroid backup.
This backs up your entire OS, apps and settings. It's basically a system image - if you're familiar with Acronis or Norton Ghost concept. Now, there are more options here:
- Nandroid backup simply backs up the OS (data, cache, boot, system);
- Nandroid + .android_secure = OS + applications you installed or moved to sdcard using the OS (not a2sd);
- Nandroid + .android_secure + ext = OS + native apps on sd + a2sd apps = everything
This is good to bring back your phone to life if something went wrong with flashing a different kernel, or ROM, or theme, or anything that sends your phone in an infinite boot loop. The ultimate life saver.
2) Titanium backup.
This one is good to port your apps and their settings from one OS to another. It "reinstalls" them, along with their settings, so that you don't have to painstakingly do it yourself, one by one, installation and configuration. It is able to re-apply the system apps settings too (the so called gapps and sapps in void).
Any input or correction to the above is welcome. Thank you.
master- Forget it , thx for you very detailed explanation. Cheers
Ruwin said:
@masteryx: hi, i used Ti to backup apps, but it didn't restore the saved games from Dungeon Hunter... Any ideea?
Plus, Void Echo gives me a lot of problems... shutdowns, if i reboot it goes into emergency mode....
Click to expand...
Click to collapse
It's just a guess, but I think you lost your game saves because they were on the ext partiton, which you had to wipe. A possible workaround would have been to "move [the game] to SD card", which would move the data from the ext partition to the fat32 partiton and make it visible for Titanium. If you were using a2sd, I may be right...
Void #echo stable so far for me. I'm only using a2sd along the main module, though. No overcloking or hardware acceleration.
Hi there,
About a month ago I bought an HTC Thunderbolt and somebody helped me root the phone. Since then I have had some family emergency/issues that have caused me to put programming the phone on hold. Now that they have cleared up I am trying to now learn a little bit more about upgrading Rom/Kernel/Radio.
I am running the following:
Android 2.2.1
Baseband version 1.16.00.0223r
Kernel 2.6.32.21_bamf4.4.2....
Build 1.13.605.7Das Bamf 1.5 Remix
Software 1.13.605.7
Can somebody tell me how to backup my phone entirely?
I would like to back it up with the intent:
* Install different kernel/radio/rom and keep the same android apps without reinstalling
each one individually.
or
* Restore the phone to its current state (if I should drop the phone and get a
replacement).
I do have titanium backup pro installed but it has never been used. Is this all I need?
I seem to recall that there is a backup feature on this phone that was discouraged....
Thanks in advance...
Anthony
The key for me is to
Use Nandroid (the backup feature in recovery) for a full image backup. Use Titanium to backup individual applications.
Before restoring nandroid backups, be sure to wipe cache and Dalvik (under advanced in recovery).
Nandroid takes nearly the entire phone back to the point of backup (houses everything you have on your phone's internal memory). Titanium allows backups to be restored on different roms. Some apps and many system apps don't play nicely with Titanium, but most from the market do play nicely with it.
Installing new kernels doesn't require wiping your data. Installing new/updated roms does. Installing themes usually does not, but there are exceptions.
Sent from my ADR6400L using XDA App
Thank you for the explanation.
When you refer to Nandroid & recovery feature, you are referring to Clockworkmod?
Per your input I updated to Rom Manager PRO and then simply selected "Backup Current ROM". I assume that this covers everything on the phone including radio/kernel/apps....
If there is anything else I need to do, please let me know.
Thanks again...
Yes, CWM is how you want to backup your phone entirely. I would recommend going into recovery and making a backup on your own instead of hitting the "backup my current rom" button in rom manager. The backup you make will be saved in a folder on your SD card named clockworkmod/backup. I always think its a good idea to move your backups to your computer and keep your two or three most recent backups on your sdcard.
As for backing up your apps, you can do a batch backup in titanium and when you load a new rom you will be able restore the app and any data associated with it. As a general rule I would only backup apps that require a lot of setup. Otherwise when you load a new ROM the apps you had previously installed will automatically restore (depending on the ROM). Just a tip, dont backup system apps. Doing so and switching versions, for example froyo to gingerbread, could cause many issues down the road even if they aren't immediately seen.
Lastly, when installing a new ROM you always want to wipe data/factory reset at least twice and wipe cache and dalvik cache twice each as well. If you have any issues dont hesitate to ask there are many people who are willing to help.
Go to ROM Manager, scroll down and select Backup Current ROM.
I use two apps for backing up and restoring installed apps; Titanium Pro and MyBackup Pro. For some reason MBP successfully restores the apps + data that fail using TP. For example, apps installed from the Amazon android market.
I create full backups with both TP and MBP, but when I need to restore ( after a complete data wipe and new Rom flash) I do the following:
1) skip setting up my Google account during the initial setup process that starts after user data has been wiped.
2) Uncheck the box that allows backups to Google's servers
3) After setup is finished, go into settings, privacy and deselect the automated backup options
( If I don't do the previous two steps, then Google starts pushing apps that may have been backed up and/ or apps that I have purchased. I don't want this to happen since I am going to do my own restore with data.)
4) I use TP to restore MBP only
5) I then use MBP to restore the rest of my user apps and data.
Some may disagree with my two backup app process, but it has been more successful for me than using either TP or MBP by themselves.
If something doesn't go right with MBP, I still have the full TP backup to pull from.
I do not bother backing up systems apps just because it seems to cause me too many issues when i attempt the restore. This means i have to redo any system settings, but that isn't a big deal to me.
Some of my favorite apps have backup features of their own. Folder Organizer and Circle Launcher are two of my all time favorites. Both restore nicely when i move to a new Rom.
Occasionally, i copy the TP, MBP, and Clockwork folders from my sdcard to a folder on my laptop just in case.
The above may sound like alot, but it goes pretty quick for me and I flash quite a bit ( at least once or twice a week when the device is new and the Rom cookers are really active).
Another thought, I have used MBP to successfully restore my android home screen settings for sense ( part of MBP's data bu ). My preferred launcher is LauncherPro, which has its own backup and restore function.
Finally, i always do a nandroid backup before wiping and flashing to a new Rom. I also always do the backup right from clockwork mod recovery. I love the Rom Manager app and paid for the premium version quite a while ago, but i prefer to backup, wipe and flash from the recovery screen. Even if i download something that needs to be flashed using Rom Manager, I still reboot into recovery to perform the needed steps.
Hope this helps and if someone has another app backup/ restore routine they use successfully i would love to know the steps. I am open to learning something new.
Sent from my ADR6400L using XDA Premium App
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
Last night, I installed TW 4.5/TW Manager. I did a ClockworkMod backup first. I decided to restore it.
However, after restoration, the phone is in a factory state. Save for my lock pattern, which it remembered, the phone is in first-run setup mode, all my home screen layouts are gone, all my apps are not in the aop drawer except those the G2 ships with. Contents of the virtual SD card like photos are still there.
I tried restoring my only other CWM backup (a November backup that previously *restored ok* to undo a MIUI test, for example), but this, too, now boots in to the same state.
What has gone wrong here?
And is there any way of getting back the system that I assume/d is/was in the CWM backup files?
If I can't guarantee I can restore a CWM backup, it makes the world a very scary place to be.
Hi guys,
Firstly I'll say that the boot loop isn't directly the issue. All I had to do was reset the user data and it fired straight up, but I don't want to lose my data so I'll explain what has happened and hopefully you can help me.
The boot loop was actually triggered by simply selecting a theme in MIUI, and because of this I had not backed up in CWM. I didn't think something I'd done so many times before would actually do this, and it caught me off guard.
After trying a few other things like clearing cache etc., it became clear that a user data reset was my only option. However, I decided to do a backup in CWM before performing this, on the possibility that I may be able to retrieve this data somehow afterwards.
So what I have now is a working phone and broken backup that when restored results in a boot loop. What I would like to know is if there is anything I can do with this backup to restore my settings, texts, app data etc. or if it's simply taking up space.
I have ADB installed and working, and out of interest I used shell to find out what was running whilst the system was caught in the boot loop. I forget the name now, but I recall there was a process that was using most of CPU. Killing it did nothing unfortunately and it fired straight up again. I must warn you that this is pretty much the extent of my knowledge with shell aside from navigating the file system.
With Titanium Backup Pro (paid version) you can restore your apps using an option in that to extract from CWM backup...
If you are back to the same version of the MIUI rom you can try restoring system apps too one by one monitoring the issue....
Wow, thanks for that; very useful to know! I do actually have the paid version of Titanium Backup so I'll give it a go.
Flash the rom same rom that the nandroid has and advanced restore nandroids data
Sent from my sgs2 running cm9
Makrilli said:
Flash the rom same rom that the nandroid has and advanced restore nandroids data
Sent from my sgs2 running cm9
Click to expand...
Click to collapse
I like the sound of that, unfortunately when I try "Advanced Restore" it tells me no files are found.
cds80 said:
I like the sound of that, unfortunately when I try "Advanced Restore" it tells me no files are found.
Click to expand...
Click to collapse
that means your CWM backup was unsuccessfull,
did you watch the process, it reach the end till creating MD5 checksum? and completed successfully?
ZACQ8 said:
that means your CWM backup was unsuccessfull,
did you watch the process, it reach the end till creating MD5 checksum? and completed successfully?
Click to expand...
Click to collapse
I did, yes. I also have many other backups in there that restore correctly but do not show up under "Advanced Restore" for some reason.
then try Titanium backup, you may sometimes need to copy the backup to externel SD clockworkmode folder to detect from TB...
goodluck