Restore individual apps from nandroid backup - Android Software/Hacking General [Developers Only]

Is there a way to restore individual apps/data from a nandroid backup? I forgot to run titanium backup before reflashing. I suppose I could flash the full backup, run titanium and then reflash, but hoping there's a shortcut...
Sent from my SGH-T959 using XDA App

Hello,
If anyone has any insight to this, I could use the help also. I have a Vibrant, running cyanogenmod. Yesterday my phone did a random reboot and never made it past the cyanogenmod splash screen. The only thing that gets the phone to boot back up normally is a factory reset/data wipe. The only problem is that I use an app called Andicar to track mileage on my car for work so that my company can pay me for my mileage. I have a Titanium backup from 10/3, but that means I lost all my mileage from between then and today, being 10/9. While I was trying to troubleshoot this, I did make a backup from the clockworkmod based recovery that I'm running. If I restore the data from that backup, it creates the same issue again, but I can still wipe and get back in.
Is there a way to restore data to a selective app from this "nandroid" backup?
Thanks for any insight, guys. I'm going to continue searching the forums, but I saw this gentlemen's question and thought it was very close to my own.

Related

[Q] Best method for backing up?

So my stock Infuse 4G is now Infused 2.1 and I LOVE it. So happy with the change. With that said, what is the number one BEST option to backup the phone in case I do anything stupid? I'm usually very thorough but sometimes I act too quickly.
I'm assuming booting in Recovery and doing the backup there is a good step, is there anything better? Never used Titanium but I see it mentioned a good deal but it seems that you can use it for some things yet not others. I just want a verified safe and secure method.
Also, another question if I may. Since I didn't do any type of backup to begin with, is it safe to assume I can't get back to Froyo at this point? Not that I really want to but I'd like to know either way.
Thanks!
Kadin said:
So my stock Infuse 4G is now Infused 2.1 and I LOVE it. So happy with the change. With that said, what is the number one BEST option to backup the phone in case I do anything stupid? I'm usually very thorough but sometimes I act too quickly.
I'm assuming booting in Recovery and doing the backup there is a good step, is there anything better? Never used Titanium but I see it mentioned a good deal but it seems that you can use it for some things yet not others. I just want a verified safe and secure method.
Also, another question if I may. Since I didn't do any type of backup to begin with, is it safe to assume I can't get back to Froyo at this point? Not that I really want to but I'd like to know either way.
Thanks!
Click to expand...
Click to collapse
You can get back to Froyo but not without wiping your data.
Nandroid backups (from Recovery) can restore your phone to an EXACT state - apps, data, and ROM.
TiBu is fairly flexible and, for example, can take all of your installed apps, back them up along with their data, and restore the missing apps when you switch ROMs. (Be EXTREMELY careful restoring system data or data for non-missing apps - 90% of the time it will break.)
I use Call Logs Backup and Restore and SMS Backup and Restore to back up what TiBu can't
Ok so if I simply want to make one big global backup, the Nandroid backup is a good way to go? I'm not too concerned with backing up stuff individually, more of a 'once a month' type of backup so if something disastrous happens, I can get back to a working state.
Also, if I were to do something that maybe caused a boot loop or some other type of bricked scenario, what is the process for restoring the backup? As in, how do you get back into the Recovery option if you can't boot into the OS to begin with?
Kadin said:
Ok so if I simply want to make one big global backup, the Nandroid backup is a good way to go? I'm not too concerned with backing up stuff individually, more of a 'once a month' type of backup so if something disastrous happens, I can get back to a working state.
Also, if I were to do something that maybe caused a boot loop or some other type of bricked scenario, what is the process for restoring the backup? As in, how do you get back into the Recovery option if you can't boot into the OS to begin with?
Click to expand...
Click to collapse
For that, you have the Ultimate brick solution though I've never had the need to try it.
I've been switching roms quite a bit lately. For each and everytime I :
(1) Do a Tibu backup of all system and apps
(2) Do a Nandroid backup (either from red cwm or from ROM mgr)
The Tibu is the logical backup while the Nandroid is the physical image backup.
So far, I've gone to Serendipity (too many issues) back to my trusted 1.6 without much effort. The Nandroid restore is initially not 100%, some of my shortcuts like gosms and my unlocker setup was messed up. But then I'll go into Tibu, check to see what apps are missing and just restore those. In my case, after restoring gosms and reboot, all is good. I think the apps that have a system equivalent, will need to be restored individually.
However, that said, I haven't been too successful with Tibu on restoring *all* apps installed under Froyo (Infused 1.6) to GB (S7). This is even with the pro's automated method. This is likely so because those apps don't work well with GB and nothing to do with Tibu.
I've been using Titanium Backup for over a year. Third different phone, and maybe 30 different ROM's. I've never had a problem what so ever. Just remember rule #1, when switching ROM's with TitBU... restore "missing apps and data" ONLY! And you'll be fine.
Jep56 said:
I've been using Titanium Backup for over a year. Third different phone, and maybe 30 different ROM's. I've never had a problem what so ever. Just remember rule #1, when switching ROM's with TitBU... restore "missing apps and data" ONLY! And you'll be fine.
Click to expand...
Click to collapse
+1
I second this. Moved between multiple phones, and hard-to-count number of roms, and TiBu was always there to help me out

[Q] Complete Backup and Restore?

I recently added a data plan on my SGS4G and can't get a data connection. I asked about this in another Q thread
http://forum.xda-developers.com/showthread.php?p=19353990#post19353990
but so far nothing has worked. I suspect that ultimately I will need to revert to out of the box virgin state to verify if its a software or hardware problem. However, after that test I want to be able to go back to my current state.
I've done both a CWM backup and a Titanium backup.
What are the steps I need to go back to vanilla state and then to the backed up state? Do I need both types of backups?
Well if you did a nandroid backup from CWM, everything is backed up, meaning your rom, modem, and all important files for your phone to operate. Titanium backup backs up all of your apps plus data for those apps, letting you restore them after a reset or a rom flash. Those two backups should cover your current phone state, nandroid restoring phone sensitive files and titanium restoring apps and user data. Be careful when restoring of different firmwares and such, that could cause a brick.
And to "reset" your device you can factory reset in CWM or in settings.
I'm not responsible for anything that happens, just providing some info.
Sent from my rockin' Galaxy S 4G using XDA Premium App

[Q] "FULL" system backup and restore for android?

Is there a good solution yet for this for android?
this is the "ONLY" thing I miss from my Touch Pro 2 windows mobile phone.
I get all my software installed all my tweaks settings the way I want them cookies home tab widgets etc.. etc..
I make my image.
when the phone get wonky I zap it factory reset and once I am booted up 2-3 minutes later I restore my backup and its like nothing every happened. EVERYTHING is restored without exception.
How do I do this with android?
android is FAR more stable but now I have a pretty nasty problem with dogg catcher and its looking like the only way to fix it will be a reset and I am highly reluctant to spend the literally hours and hours and hours its going to take to do that.
THEIR HAS to be a viable solution to this nightmare. a way to backup "EVERYTHING" and I mean EVERYTHING without exception.
I am using a galaxy SII (sprint variety) and I am rooted running Calukins 2.8 rom.
suggestions?
You Have CWM or Xrecovery, becouse with this you can make a full back Up, Or tried With Titanium Back Up regards.
what do you mean by full backup? yes I have recovery mode how do I use it? I am going to tr logging into that and see if maybe its obvious.
Yup, boot into clockworkmod, however u do it on your phone, go to backups and restore > backup, once u have configured everything. If something goes wrong, simply use cwm, format system and data under mounta and storage, and restore your backup and away u go. This in combination with an app called titanium are golden
nerys71 said:
what do you mean by full backup? yes I have recovery mode how do I use it? I am going to tr logging into that and see if maybe its obvious.
Click to expand...
Click to collapse
I mean. Whit xrecovery o CWM you can Back Upp All The things that you'r Phone Have,
With xrecovery Go to:
-->Back Up And Restore Then Select Backup And When you Want to Restore this Backup just select Restore.
Is The Same Process For CWM
regards

[Q] Clockworkmod recovery not recovering PLEASE HELP!!

I have a Verizon Galaxy Nexus (rooted stock 4.0.4). I decided I would test out Clockworkmod touch recovery before doing anything too serious with it. So, I made a backup, rebooted, deleted an app, went back to recovery, and restored my backup. But, while it was restoring my data, it suddenly stopped and said "Error while restoring /data!" I rebooted and, after waiting through a really long boot, it booted into a semi-reset version of my phone. All of the apps claim to be installed but will not start.
So, thinking it could be a touch recovery issue, I flashed an older version of clockworkmod recovery and tried restoring after clearing my data, cache, factory reset, and Dalvik cache. Still, the exact same thing happened. I also tried restoring older backups, but the exact same thing happened.
What is going on, and what should I do? Thank you for your time.
Eric_Eric_Eric said:
I have a Verizon Galaxy Nexus (rooted stock 4.0.4). I decided I would test out Clockworkmod touch recovery before doing anything too serious with it. So, I made a backup, rebooted, deleted an app, went back to recovery, and restored my backup. But, while it was restoring my data, it suddenly stopped and said "Error while restoring /data!" I rebooted and, after waiting through a really long boot, it booted into a semi-reset version of my phone. All of the apps claim to be installed but will not start.
So, thinking it could be a touch recovery issue, I flashed an older version of clockworkmod recovery and tried restoring after clearing my data, cache, factory reset, and Dalvik cache. Still, the exact same thing happened. I also tried restoring older backups, but the exact same thing happened.
What is going on, and what should I do? Thank you for your time.
Click to expand...
Click to collapse
There may have been a corruption in your data backup. Just delete that backup and make a new one.
Nope, I tried all three of my backups and had the same problem with all three. Plus, I can't simply make a new backup. I tried restoring to the backup and lost my stuff because it didn't finish restoring my data.
I'm having some issues with cwm too. Sometimes when I'm trying toi recover, it says "md5 mismatch", maybe its a linked problem?
Sent from my GT-S5830 using XDA
rommanager
Install rommanager.apk premium and, to me is to solve the problem
So, I think I figured it out. Apparently, I only get this error when my backup contains more than a certain number of apps (or possibly the /data is over a certain size). Granted, I do have over 350 apps, but why is CWM Recovery messing up while trying to restore a big backup? It really should not affect it, but it seems to. So, I will be backing up with Titanium for my apps, and making nandroid backups only when I have under about 350 apps installed. If anybody else has any insight, please share it with me. Thanks.
The Answer (I am pretty sure...)
Okay, I think I finally figured it out. The reason it was not restoring properly was because I had about 350 user apps installed. My guess is that, while restoring, the recovery (CWM recovery in my case) puts the /data onto the RAM, and the RAM is not large enough to hold that much at once. I deleted a lot of apps, backed up in CWM recovery, and restored back to the backup, and everything worked flawlessly. I am surprised that no one has ever had this problem. So, in the future, I am making Titanium backups of all my apps, batch uninstalling a bunch of them from within Titanium (so that I have under 300 at the most), and then making a backup. Then, I can flash a new ROM, recover, or whatever and finally use Titanium to put all my apps and data back. I just thought I would post this in case anyone else ever finds this problem. It was really frustrating for me, but the insufficient RAM theory seems to explain it. Post your thoughts on the matter.
Eric_Eric_Eric said:
I have a Verizon Galaxy Nexus (rooted stock 4.0.4). I decided I would test out Clockworkmod touch recovery before doing anything too serious with it. So, I made a backup, rebooted, deleted an app, went back to recovery, and restored my backup. But, while it was restoring my data, it suddenly stopped and said "Error while restoring /data!" I rebooted and, after waiting through a really long boot, it booted into a semi-reset version of my phone. All of the apps claim to be installed but will not start.
So, thinking it could be a touch recovery issue, I flashed an older version of clockworkmod recovery and tried restoring after clearing my data, cache, factory reset, and Dalvik cache. Still, the exact same thing happened. I also tried restoring older backups, but the exact same thing happened.
What is going on, and what should I do? Thank you for your time.
Click to expand...
Click to collapse
its better to use titanium backup application for you.user friendly and worthy..

[Q] Bootloop After Using Titanium Backup

Hi Guys, my friend recently rooted my RAZR HD via TeamViewer but didn't install a custom ROM or a recovery. Before I did a factory reset to clean things up, I backed up everything to my SD card using Titanium. After finishing the backup, Titanium said I should reboot to finish the restoration. Every since then I've been bootlooped. Do any of you know of a solution to fix this?
Thanks,
Carter
I don't think Titanium asks for a reboot when doing any sort of back up. It will ask for a reboot when doing certain restorations. It doesn't ask you to reboot when restoring user apks but it does on system apk.
If I'm understanding your question right, you backed everything up but then you decided to restore everything. If you never installed a ROM then it is strange for it to boot loop. If hyou did install a ROM then it could have started to boot loop if you restored a system file that isn't compatible with the ROM.
What I would do is start from scratch. Factory reset the phone, re-root, re-install Titanium, and restore only the user apps and your SMS messages if you save them. It's a slight hassle but only about 1 hour worth of your time. By the time you begin trying debug everything to find the culprit you would have lost hours.
CMSchuld said:
Hi Guys, my friend recently rooted my RAZR HD via TeamViewer but didn't install a custom ROM or a recovery. Before I did a factory reset to clean things up, I backed up everything to my SD card using Titanium. After finishing the backup, Titanium said I should reboot to finish the restoration. Every since then I've been bootlooped. Do any of you know of a solution to fix this?
Thanks,
Carter
Click to expand...
Click to collapse
I don't know if it will work in this situation but you might try wiping cache/dalvik cache in the recovery. That way you aren't starting from scratch. If this doesn't work, try the above suggestion instead.
Sorry for the late response. Did another factory reset and didn't use Titanium this time. Anyone know how to get my texts back though?
CMSchuld said:
Sorry for the late response. Did another factory reset and didn't use Titanium this time. Anyone know how to get my texts back though?
Click to expand...
Click to collapse
If you saved everything in titanium backup... then you have a backup of your messages. Open Titanium, click the batch tab, scroll to the restore section, and then restore and only restore the message thing. It should be a green color and on the right it should say xml. It will restore all your texts and mms. Just don't get confused and restore the messenger app.
If you have a lot, then be patient and make a sandwich, it's a little slow.

Categories

Resources