[Q]Nandroid Backup... - Android Q&A, Help & Troubleshooting

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

Related

Quick questions before I flash a rom

Hey all! I'm new to android and am ready to flash a rom. However, I am concerned that i will lose some gamesave/App data.. I have used titanium backup to backup all system and app data with the batch feature.. Can I just run the restore all feature to get everything back the way it was? Will i have to replace all my widgets?? It just seems to simple! Thanks!
Titanium backup will restore your apps and data.....and system data. It is very important that when you restore, if you have backed up any system data, do not restore that. The rom you flash will have its own system data, so you don't wan't to load your old data over that. Force close city. Just restore "user apps" and it will be just like you left it. As far as your widgets, yes, you will have to restore them. All your wifi access, wallpaper, etc is linked to your google account (if you have it checked under settings>privacy.)
another approach, slightly different, but can accomplish the same end goal is using nandroid provided in the custom recovery. i personally prefer nandroid as the source code is available online (i.e. everybody can view exactly what operations it is performing) where as titantium backup does not publish its source code.
before flashing a rom, i'd do a full nandroid backup. after you've flashed the rom, your data *should* still be intact as most ROM's are not scripted to wipe your personal data when you flash them. if for some odd reason your personal data is erased from a ROM flash, which it shouldnt, you can chose to nandroid restore just the /data partition, which is where all custom settings and user data are kept, other than a few which store on the /sdcard.
hope that makes sense and good luck!

[Q] How do I restore my data / cache after wiping and flashing villainrom?

This might be a stupid question, but is there any way to get my backup restored? I just tried to restore a backup through CWM but it wiped my villainrom flash and went back to what I had before.
Bmmaximus said:
This might be a stupid question, but is there any way to get my backup restored? I just tried to restore a backup through CWM but it wiped my villainrom flash and went back to what I had before.
Click to expand...
Click to collapse
Is that not the whole point you backup XX try ZZZ decide you dont like it and restore the backup of XX which wipes ZZZ .
jje
yes I realized that eventually, I thought the point was to save your data like apps, themes, etc. so you can load them in the new rom. my apologies
You should not restore cache. When you boot up to a new rom, it will just redo the cache anyways.
As for Clockwork Recovery backup and restore, it does a full backup of the rom, including cache and user settings and apps. It restores back to the original rom as well.
I think you want to restore your settings and applications of your old rom into villainrom. I wouldn't recommend it as it settings for stock and custom might be different and can cause weird issues.
on that note, is there any way to access that information after flashing the new rom (to see what apps i'm missing and download them all again so I don't have to just redownload each one as I realize i need it?) without restoring the backup
nevermind I ended up just going back to my old rom, thanks for the replies guys
There is this wonderful app called Titanium Backup, it backup all your wonderful apps. This way, when you switch ROMs, you can just restore all those wonderful apps that you have been stockpiling.

[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

Easiest way to backup data to survive super wipe?

Hello,
This has been discussed in the past but a) it a long time time ago, so maybe newer tools are out and b) no definite conclusion was drawn, so please can I ask again, what's the easiest way to back up all apps, data and settings (idealy including home screen settings, ringtones, everything) to survive a superwipe (i.e. restore it after a super wipe and new ROM version installation)?
Thanks in advance.
Use CWM Recovery to do a complete backup. Very easy to backup and restore.
saheb117 said:
Use CWM Recovery to do a complete backup. Very easy to backup and restore.
Click to expand...
Click to collapse
But restoring a CWM backup will overwrite the new system with the old one. What I want is backup all data, apps and settings but not the system data. And then restore them after I install the new ROM.

[Q] Are Nandroid backups obsolete after ROM update?

Hi,
4.2 of Jelly Bean update could be imminent for my Nexus 7, and I'm wondering about what and how to backup before the update. The question I think is a general android one though... which is why I'm posting it here.
This was going to be a question about factory reset... but reading other posts I think I now understand that factory reset just deletes data/cache, so I think any time you do that it's just gonna return the device to a clean ROM state without changing the ROM. (whatever flavour/version ROM is)
When a ROM update is applied (either official or manually flashed), I guess it wipes everything, is it like a disk format or something like that? I have installed CWM recovery and rooted my device, I think the update will unroot it, but will the CWM recovery still be loaded?
And then, what backup should I take before the update... I think a Titanium Backup is a must, I understand how that works. But a Nandroid backup too? Or is that more like taking a disk image, would that be useless to restore after the ROM has been updated? And if so, does that mean any old Nandroid backups should be discarded?
Once the new update to 4.2 is installed, is it advisable to take a Nandroid backup immediately, or better to download the stock 4.2 image and keeping it as a starting point? (does this amount to the same thing?) I guess this is where a factory reset would return it to stock (providing I haven't moved anything to the system apps)?
Or is it possible/better to use a Nandroid backup as a point in time image of everything that's been installed on the device after adding back all the apps etc? I guess that leads me to wonder if the Nandroid backup is needed at all if I'm going with the Titanium Backups...
Thanks a lot and sorry for the lengthy question, I've seen many posts touching on this
stillchimp said:
Hi,
4.2 of Jelly Bean update could be imminent for my Nexus 7, and I'm wondering about what and how to backup before the update. The question I think is a general android one though... which is why I'm posting it here.
This was going to be a question about factory reset... but reading other posts I think I now understand that factory reset just deletes data/cache, so I think any time you do that it's just gonna return the device to a clean ROM state without changing the ROM. (whatever flavour/version ROM is)
When a ROM update is applied (either official or manually flashed), I guess it wipes everything, is it like a disk format or something like that? I have installed CWM recovery and rooted my device, I think the update will unroot it, but will the CWM recovery still be loaded?
And then, what backup should I take before the update... I think a Titanium Backup is a must, I understand how that works. But a Nandroid backup too? Or is that more like taking a disk image, would that be useless to restore after the ROM has been updated? And if so, does that mean any old Nandroid backups should be discarded?
Once the new update to 4.2 is installed, is it advisable to take a Nandroid backup immediately, or better to download the stock 4.2 image and keeping it as a starting point? (does this amount to the same thing?) I guess this is where a factory reset would return it to stock (providing I haven't moved anything to the system apps)?
Or is it possible/better to use a Nandroid backup as a point in time image of everything that's been installed on the device after adding back all the apps etc? I guess that leads me to wonder if the Nandroid backup is needed at all if I'm going with the Titanium Backups...
Thanks a lot and sorry for the lengthy question, I've seen many posts touching on this
Click to expand...
Click to collapse
1. OTA updates should let you retain your apps.
2. Clockworkmod will still be installed following the update.
3. Nandroid backups are like a system image it makes a backup of everything on your phone (Minus sd card external) at the exact point in time when you make the backup. If you restore the backup it will restore your phone to the exact state it was in when you made the backup. You only need to keep a couple of your recent nandroid backups on your phone.
4. After the 4.2 update you can either make a backup or use a factory restore image it will make no difference. Factory reset would return it to stock.
5. You can use nandroid to make a backup after you install your apps in fact I would recommend this that way you have a convient restore point. You can also backup your apps with titanium backup.
Hope this answers some of your questions .
Sent from my SCH-I535 using xda premium
shimp208 said:
1. OTA updates should let you retain your apps.
2. Clockworkmod will still be installed following the update.
3. Nandroid backups are like a system image it makes a backup of everything on your phone (Minus sd card external) at the exact point in time when you make the backup. If you restore the backup it will restore your phone to the exact state it was in when you made the backup. You only need to keep a couple of your recent nandroid backups on your phone.
4. After the 4.2 update you can either make a backup or use a factory restore image it will make no difference. Factory reset would return it to stock.
5. You can use nandroid to make a backup after you install your apps in fact I would recommend this that way you have a convient restore point. You can also backup your apps with titanium backup.
Hope this answers some of your questions .
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Excellent, thanks for the fast reply, you did answer my questions!
I was misunderstanding then about the 4.2 update, thinking it was equivalent to flashing a new ROM... you clarified it for me, seems it's less severe than that.
I think I'll go with your point 5 to use a Nandroid image for a convenient restore point after the OTA happens

Categories

Resources