[Q] Apps are force closing after data restore - Titanium Backup - Android Q&A, Help & Troubleshooting

Hello, I've a problem that is recurrent in the Galaxy S forum... and maybe somewhere else!
When I do a backup with TB, it goes fine.
Then I flash a new rom, restore with TB. When app is restored, everything's fine, but when I restore data, every app is force closing... This is really annoying if I want to get back my apps settings...
If someone has a fix, I'd appreciate a lot !
Thanks a lot guys !

Are you restoring system data? That can cause major issues. Just click restore missing apps when restoring.
Your settings are saved in misc. Data, and back that up, then restore that, and you can flash to your heart's content.
Sent from my LG-E739 running CM9 Nightlies

I'm not restoring system data, just app data.
APK backup is just fine, but when i'm restoring my data, it's totally messed up !

Same issue with me
Sounds like I'm in the same boat. The TI data restores don't work. I have not backed up or tried to restore system data. If I wipe data for an app, it runs fine. If I restore data, it force closes.
I've tried clearing cache and fixing permissions, but no luck.
I just upgraded from ASKP Milestone 5 to build 38 (VZ Fascinate).

Just Restore Apps, instead of together
Hi, Perhaps app's data somehow related to previous ROM thingy. New ROM might comes with different features which makes apps shown in different layouts and data presentation. That might have been the cause. So just reinstall ONLY WITH APPS ONLY. Data typically like saved memory/cookies in your phone. So data can be remade by reopen apps Hope helps
whitefang
If this helps or convinces you, pls kindly hit thanks button.

Will try rollback to Milestone 5
whitefang3456 said:
Hi, Perhaps app's data somehow related to previous ROM thingy. New ROM might comes with different features which makes apps shown in different layouts and data presentation. That might have been the cause. So just reinstall ONLY WITH APPS ONLY. Data typically like saved memory/cookies in your phone. So data can be remade by reopen apps Hope helps
Click to expand...
Click to collapse
Thanks for the reply. I don't see how in incremental release of the same ROM would be the issue. Yes, I couild install the apps only, but that would defeat the purpose of using TI in the first place. (And, I have nearly 200 apps.)
Tonight, I'll roll back to AOKP Milestone 5 and see if it works. If not, I'm wondering if the update to TI this week may have had anything to do with it.

Method for solving FC (make sure ya know what you doing)
LinkinParkmetre said:
Hello, I've a problem that is recurrent in the Galaxy S forum... and maybe somewhere else!
When I do a backup with TB, it goes fine.
Then I flash a new rom, restore with TB. When app is restored, everything's fine, but when I restore data, every app is force closing... This is really annoying if I want to get back my apps settings...
If someone has a fix, I'd appreciate a lot !
Thanks a lot guys !
Click to expand...
Click to collapse
semibru said:
Thanks for the reply. I don't see how in incremental release of the same ROM would be the issue. Yes, I couild install the apps only, but that would defeat the purpose of using TI in the first place. (And, I have nearly 200 apps.)
Tonight, I'll roll back to AOKP Milestone 5 and see if it works. If not, I'm wondering if the update to TI this week may have had anything to do with it.
Click to expand...
Click to collapse
Oh, if thats the case, are you restoring data including some system data into different rom? Perhaps you can give a try:
1.Wipe the data for that app
2.Launch the app again. It should run normally but without any data (eg: zero MMS/SMS messages).
3.Enable the "System data migration" option in Titanium Backup
4.Restore the data with Titanium Backup
5.Reboot.
Source of method:http://www.titaniumtrack.com/kb/tit...ystem-app-FC-when-launch-restored-system-data
Hope this helps. Pls kindly hit ''Thanks'' button if you can
sincerely,
whitefang

If someone could say if this works?
I'll give it a try when i'll flash again a rom, but for now i reverted back to mine

I went back to M5 and had the same issue. I had not backed up or restored and system data. Same problem whether restoring via batch or individual app.
If I create a new backup, I can restore it ok. So, seems that the last full restore I did was corrupt.
Sent from my SCH-I500 using Tapatalk 2

I didn't understand what you did to avoid the problem...
May you explain it again?
Also, i contacted titanium backup team, they asked for a logcat of my phone doing restore, flashing and backup... Can someone help me with that?

I didn't actualy fix the problem. I just proved that my previous backup was corrupt or something. I know this because I cannot restore the backups I made before wiping the phone. However, if I make a new backup, I'm able to clear data/restore it with no issues.
I've never pulled logcat files for TB, so can't help you there.

Related

Titanium Backup - why not restore data?

I have read that when going to a different rom to do a full wipe.
So clearly if you want to keep your apps you back them up and recover them with titanium backup, but why is it advised to not restore the Data of the apps?
How else would I keep game scores and settings and such?
Thanks
restoring the data for the user apps is fine, don't restore the system data...
Wond3r said:
I have read that when going to a different rom to do a full wipe.
So clearly if you want to keep your apps you back them up and recover them with titanium backup, but why is it advised to not restore the Data of the apps?
How else would I keep game scores and settings and such?
Thanks
Click to expand...
Click to collapse
that would be a bit of misinformation that gets spread around.....
its fine to restore user apps+data. i have been doing it for a long time with every device i have. swapping between devices and all.
do a batch restore MISSING apps+data
unselect anything that might be blur/sense/touchwiz specific (based on the phone you are using)
run the batch and reboot
verify you are not having any FCs on your apps
if you do a batch restore of just user apps+data (and not the MISSING option) you will get tons of issues.
it is not advised to use Titanium Backup for things like text messages, contacts, phone logs, etc. (while possible it will work just fine, i have seen lots more issues trying to restore those from rom to rom rather than just user apps.)
again. use the MISSING APPS option in the batch restore of Titanium Backup
i have been doing it for over a year on many different devices and i even share my titanium backup folder between different phones, with NO issues at all. and i typically flash several times a week on several different devices.
Wond3r said:
I have read that when going to a different rom to do a full wipe.
So clearly if you want to keep your apps you back them up and recover them with titanium backup, but why is it advised to not restore the Data of the apps?
How else would I keep game scores and settings and such?
Thanks
Click to expand...
Click to collapse
It is advised to do full wipe, if you install a rom.
And if you want to keep your settings, games scores etc, you use Titanium Backup.
Titanium Backup is your friend in those cases..
What is not adviced, is installing a Rom, without wiping your data.. In that way, you keep for example data of apps and games, of a froyo rom, to a gingerbread rom..
Rom to Rom differs(even in same android version), thats why you full wipe, and then TiBu saves you by restoring them, to the new rom's enviroment..
Edit: Agree with others.. I was typing on atrix, and since i wrote this, they already answered!
Also in atrix, NEVER restore FINGERPRINTS backup..
Sent from my MB860 using XDA App
Pirateghost said:
that would be a bit of misinformation that gets spread around.....
its fine to restore user apps+data. i have been doing it for a long time with every device i have. swapping between devices and all.
do a batch restore MISSING apps+data
unselect anything that might be blur/sense/touchwiz specific (based on the phone you are using)
run the batch and reboot
verify you are not having any FCs on your apps
if you do a batch restore of just user apps+data (and not the MISSING option) you will get tons of issues.
it is not advised to use Titanium Backup for things like text messages, contacts, phone logs, etc. (while possible it will work just fine, i have seen lots more issues trying to restore those from rom to rom rather than just user apps.)
again. use the MISSING APPS option in the batch restore of Titanium Backup
i have been doing it for over a year on many different devices and i even share my titanium backup folder between different phones, with NO issues at all. and i typically flash several times a week on several different devices.
Click to expand...
Click to collapse
That explains it. Ive seen MANY posts where users tell other users to restore apps but not restore data but dont specify they mean system data and not app data!
Also, when people talk of a full wipe, do they mean even deleting the contents of the internal storage (like photos and such?)
This would be for going from one ROM to another ROM, both GB
No they are talking about doing a "wipe data/factory reset" in CMW and not physically deleting your internal sdcard. if you delete your sdcard then you will wipe out data that you need including your titanium backups
morepower71 said:
No they are talking about doing a "wipe data/factory reset" in CMW and not physically deleting your internal sdcard. if you delete your sdcard then you will wipe out data that you need including your titanium backups
Click to expand...
Click to collapse
Thanks ! I always feared that the wipe data/factory reset pretty much deletes all the files on your device like photos and music
The short answer is force closes. Which also can happen from restoring app data, altho it is less likely to happen, it can and it will. But yea def dont restore system data.
Is there any other way of saving game saves?
Wond3r said:
Is there any other way of saving game saves?
Click to expand...
Click to collapse
You can use SyncIt or GameOn, you can even back it up manualy with Root Explorer. You should be fine with TiBU, just if you do get a force close you will know why and what to do (delete data and/or uninstall/reinstall).
I am having an issue restoring my app data from titanium backup. The issue first occurred when i switched from a stock ROM to CM7 ICS ROM. When i restored my missing apps+data all of my app data had disappeared. I just started over and didn't worry about it. Then when i switched from CM7 back to a stock rom I received my old apps+data from before i switched to CM7. I read around on the forums that this might be a compatibility issue. So i started to use the setting in the batch menu "Manipulate data and converted my backups to roll back journal mode which says this works with all roms, and started uploading to Dropbox. I recently just switched my Rom from a stock ROM to CM9 ICS. I lost all of my apps again!! and got back all of the app data from when i was using CM7. Could someone please shed some light on what is going on here cause i have no idea. Please let me know if there is anything i can do to get my app data into CM9 from my last stock rom. The stock rom i was using was an old ROM called wet dream.
JonnyCazoid said:
I am having an issue restoring my app data from titanium backup. The issue first occurred when i switched from a stock ROM to CM7 ICS ROM. When i restored my missing apps+data all of my app data had disappeared. I just started over and didn't worry about it. Then when i switched from CM7 back to a stock rom I received my old apps+data from before i switched to CM7. I read around on the forums that this might be a compatibility issue. So i started to use the setting in the batch menu "Manipulate data and converted my backups to roll back journal mode which says this works with all roms, and started uploading to Dropbox. I recently just switched my Rom from a stock ROM to CM9 ICS. I lost all of my apps again!! and got back all of the app data from when i was using CM7. Could someone please shed some light on what is going on here cause i have no idea. Please let me know if there is anything i can do to get my app data into CM9 from my last stock rom. The stock rom i was using was an old ROM called wet dream.
Click to expand...
Click to collapse
The stock rom uses a different back up location than cm roms. You will have to manually go find the data backups in tibu. Don't bother having it auto detect, wont work. For example, all my backups were at mnt/emmc/titaniumbackup instead of the stock roms location of mnt/sdcard/titaniumbackup
pre4speed said:
The stock rom uses a different back up location than cm roms. You will have to manually go find the data backups in tibu. Don't bother having it auto detect, wont work. For example, all my backups were at mnt/emmc/titaniumbackup instead of the stock roms location of mnt/sdcard/titaniumbackup
Click to expand...
Click to collapse
Looks like that was the the problem. I saved my backup on drop box so i just dropped what was on dropbox in my titanium folder and restored it. I now have all of my app data back.

[Solved] Titanium Backup, restores APKs but not App Data (Application Data)

Hey guys,
it really seems that i'm the only one too stupid to solve this problem.
I have a Desire HD and bought the Atrix
So far no problem ->
I backuped all my apps + application data on the Desire HD ->
-> inserted the SD Card into my Atrix,
-> tried it both ways,
- set the titanium backup backup folder to SD-EXT
- and / or copied the SD-EXT Titanium Backup folder to the internal SD Card Memory, and used the default Titanium Backup settings,
-> in both ways, the applications are being restored but NO application data.
please can anyone help me with this?
I really go no idea, and i really need my app-data back, now trying for about 1 week...
any assistance / help is really appriciated,
thanks a lot guys,
cheers,
mike
When you restored/backed them, did you choose the restore/backup app+data option in titanium backup?
thanks for your reply
yes, i chose:
menu- batch - restore section - restore all applications and data.
i use titanium backup for years now and really dont know what the problem might be.
the desire HD runs a miui rom? can there be a problem?
thanks mike
Ps.: is it possible thatcher the busybox version causes such ne problem?
add: can anyone help me with this?
:=)
1. how do you do it?
2. Can Busybox be the origin of this problem
:=) thanks any comment appreciated
Me too
Im in the same boat buddy. I flash maybe 2 rom Bs a day and lose my SHADOWGUN data. Its a pain because I don't have wifi or high speed and I drive to Burger King to redownload my large files. Titanium Backup hasn't ever restored my data. What can I do??
Motorola atrix 4g with Tmobile
sim card and unlocked bootloader
Running wetdream 1.3.0
nice to hear :=( *sry* that i'm not alone..
so,
what i tried today:
- check if on both mobiles is the same version of busybox installed (check)
- deleted all old backups...
(i read something, that busybox just restores data if its from the same backup as the application... so maybe..)
- restored all apps on my new atrix ..
DIDN'T WORK - WTF
I dont have a clue, what's going on, i never had such problem either with android nor with titanium backup...
-> can someone -where this procedure works- please explain what he does... if there have been any problems, and how he /she managed to restore all settings...
please please please :=) give us some advice! :=)
that can't be it...
I'll also check the Titanium Backup Forum today, so maybe they can help us...
cheers,
:edit: TB Backup Developer contacted... no idea *thumbsUp* :=)
Well I don't really know but I'm just going to throw this out there in case you haven't tried it already.
Is TB being given su by superuser?
Are the apps being installed on external or internal? Have you tried changing the install options?
/mnt/sdcard/ or /mnt/sdcard_ext/
Have you tried previous versions on TB? Just in case.
so, today i really tested every setting
in titanium backup.... unfortunately without luck.
the only this i didn't tested yet, was to try previous version of TB.
thanks for your response and your advice,
maybe someone else knows.
today i also wrote another mail to the titanium backup support mail within the app.
maybe this problem is also related to the MIUI Rom i use on my old DHD.. :=(
thank you!
One more thing you might try.
This worked for me in a slightly different situation.
Install the program from scratch. Uninstall previous version if necessary.
Restore Data only from TB.
Good luck!
hey, at first thanks for the fast reply, second
, you mean, delete the app from my new phone,
-> re-install them from the market
-> restore app data from TB-Backup?
thanks, as soon as u confirm, ill test it.
all the best,
mike
addon: hey, just tested it with one single app. deleted it, reinstalled it from market, just restored data.
without luck unfortunately
Hey guys, to bring this post up again,.. i havent solved my problem so far..
Are you all using custom roms or are you 'also' using the stock rooted roms to restore old apps.
Please give me some system information ..
I dont want to lose my App data..
(((
Thanks
Any help appreciated ..
sent from my DHD using XDA Android App
[SOLVED]
SOLVED
SOLUTION: Flash Custom ROM -> afterwards restore apps ;=)
It really was the problem I thought of:
Motorola Atrix 4G "standard" ROM, calls
-> internal memory "SD-Card" and
-> External Memory "SD-Card-Ext" ...
it looks like this confuses TB which leads to my described problem.
Finally I flashed a CM7 rom, my SD-Card is called "sd-card" again, and my internal memory :=) ;D "internal" ;=),
and titanium backup restored all my apps incl. app-data without any problems.
I tried to contact TB-Devs, but no-one ever replied. its a pitty
hope this helps anyone :=)
all the best,
cheers
crazyVII said:
SOLVED
SOLUTION: Flash Custom ROM -> afterwards restore apps ;=)
It really was the problem I thought of:
Motorola Atrix 4G "standard" ROM, calls
-> internal memory "SD-Card" and
-> External Memory "SD-Card-Ext" ...
it looks like this confuses TB which leads to my described problem.
Finally I flashed a CM7 rom, my SD-Card is called "sd-card" again, and my internal memory :=) ;D "internal" ;=),
and titanium backup restored all my apps incl. app-data without any problems.
I tried to contact TB-Devs, but no-one ever replied. its a pitty
hope this helps anyone :=)
all the best,
cheers
Click to expand...
Click to collapse
Out of curiousiy, did this new custom ROM have Titanium installed on it or you did this after flashing to the ROM.
I ask this as there is another bug when restoring backups from GB to ICS. usually it will fail to restore the app and data but if you go to menu / preferences and scroll down about half way to "app processing mode", it will normally default to auto direct. if you select interactive, it takes longer and you have to reinstall each app (vs batch) one by one but it will restore your app. you then restore it again but this time select data only and this time your app and data will be restored.
Dont know why, i just know it works.
rexboy said:
Out of curiousiy, did this new custom ROM have Titanium installed on it or you did this after flashing to the ROM.
I ask this as there is another bug when restoring backups from GB to ICS. usually it will fail to restore the app and data but if you go to menu / preferences and scroll down about half way to "app processing mode", it will normally default to auto direct. if you select interactive, it takes longer and you have to reinstall each app (vs batch) one by one but it will restore your app. you then restore it again but this time select data only and this time your app and data will be restored.
Dont know why, i just know it works.
Click to expand...
Click to collapse
HEy,
no, this new rom had no TB installed, i just loaded it from the market.
And yes, i know this other processing mode.. but it didn't work in my case either.. :=(
unfortunately...
cheers,
me
can someone lend a hand. Ti backup shows only one application to backup/restore - setcpu. where did the other applications go to?
thank you in advance.
which version have u installed (rom) cheers
the rom is the stock gs2 sprint rom. additionally, when i go to the market many applications do not show up, especially the ones that i purchased. i have attempted to use various android market enablers, but to no avail. i would be extremely grateful for a fix.
eric
i would suggest
switch to another rom.
solved all my problems
all the beste
the point is that i don't want to change the rom, as the one that i am using is adequate. just would like to understand why/how this happened. if someone can lend a hand, i would greatly appreciate it.
eric
TiBu has no problems restoring app data on my stock ROM

problems

I just flashed euphoria rc1 comming from stock JFD, and I am having problems with some gmail account from my own domain with gapps and also with whats app. Today I opened the XDA app, wich I always restore the same way with titanium backup and I have a problems singing in and it ask me to re enter my username and pass.
I think the are all related, whatapps is the one that gives me the most helpfull indication. It says conection failure, if you have whatapp installed on another phone, please delete it and then reinstall etc etc, something like that.
what can I do?
Hey groggycl,
I noticed my titanium backups caused issues with a lot of apps (including XDA) when backed up 2.x and restored to ICS 4.x. My first recommendation is to reinstall the rom and try again, but if you continue to have issues, restore all apps manually from the market, and then selectively restore data through titanium backup to each app one at a time, then test the app. This helped me narrow down which apps were ok with restoring the data, and which apps ceased to work.
Hope this helps.
johnny12times said:
... restore all apps manually from the market, and then selectively restore data through titanium backup to each app one at a time, then test the app. This helped me narrow down which apps were ok with restoring the data, and which apps ceased to work.
Hope this helps.
Click to expand...
Click to collapse
I suggest doing this first before restoring the ROM altogether. It has worked for me too. Also the XDA has had 2 updates in 24 hours that both have required a re-log-in.
Woodrube said:
I suggest doing this first before restoring the ROM altogether. It has worked for me too. Also the XDA has had 2 updates in 24 hours that both have required a re-log-in.
Click to expand...
Click to collapse
Great point! For me, I usually restore the rom first just because it's faster than going through each of my apps one by one, but it really comes down to how many apps you have/what works best for you.
Great tip on the XDA app as well!
The back up was made on passion rc1... and I went through every passion release doing the same procedure so I don't expect this to be a back up problem, but anyways, I am going to try it and tell you if it worked out or not..
thanks averyone!

Apps crashing after restore

Hi - tried searching for this particular issue but no luck. I sent my i9100 away for repair but prior to that it was rooted. I didn't flash to any fancy firmware though - i just kept the stock one. I backed up my apps using titanium backup.
I have performed a restore of my apps using titanium backup but some apps like boat browser, dropbox, google+ etc force close repeatedly immediately after opening. I had the same firmware as before so I can't see what the problem could be?
Did you restore app data ? If you did, that is probably the reason. Don't do it for those/any apps you're having problems with. If you restored apps only, I'd do a clean install of these apps from Google Play rather than restoring them.
MistahBungle said:
Did you restore app data ? If you did, that is probably the reason. Don't do it for those/any apps you're having problems with. If you restored apps only, I'd do a clean install of these apps from Google Play rather than restoring them.
Click to expand...
Click to collapse
thanks for the reply. I'll do the clean install from google play.
Out of curiousity - why would the data cause these crashes?
I *think* (not absolutely positively certain) it's got something to do with the restore putting the data back into a different place to what the firmware is expecting/the 'symbolic' links to the data being messed up. So basically when you open the app & it goes to use the restored data, the system processes needed go 'nope' & you get a FC.
Not exactly a technical answer, I know But that's my rudimentary understanding of it. There are posts on here which explain it technically in more detail if you're interested enough to do a Google search to find them (I'm not, they are hard to find ).
I always do clean installs when I'm flashing a new rom or a new major version/revision of a rom & rarely have problems.
5aq1b said:
thanks for the reply. I'll do the clean install from google play.
Out of curiousity - why would the data cause these crashes?
Click to expand...
Click to collapse

Difference between dirty flash and full Titanium Backup restore?

The ROM that I use on my phone pretty much discourages dirty flashing updates [CM10.1 based]. So for the last 10 or so updates, I have clean wiped my HTC Rezound, then restored from a TitaniumBackup.
Except I do it a little different than most people, I think.
First I disabled compression of backups.
Then to restore I go to /sdcard/TitaniumBackup/
and run a bash command:
# for i in *.apk; do pm install "$i"; done
Then I go to TitaniumBackup, and every app is installed but doesn't have my data. So then I batch restore my data for my apps [Pretty much only user apps, except a few system things like SMS, WiFi networks]. But the problem is, recently, TitaniumBackup will quit halfway through a batch restore of "Data only." So I've been manually restoring data 1 by 1 for the apps that I need data to be saved across rom updates.
But then I thought, "Hey, why can't I just backup my /data/data/ folder?" but then I also thought that would probably be like a dirty flash, and I am just wondering if anyone can shed some light on this subject.
Thanks.
mvmacd said:
But then I thought, "Hey, why can't I just backup my /data/data/ folder?" but then I also thought that would probably be like a dirty flash, and I am just wondering if anyone can shed some light on this subject.
Thanks.
Click to expand...
Click to collapse
+1
VERY EAGER to learn this as a flash-a-holic.
sigh well I tried restoring the /data/data/ folder from a tar backup, and the apps didn't have my data. [Both my launcher and 1 random game did not have my data, even after rebooting.]
Then I went to install TitaniumBackup from Play to restore my apps the way I do it usually, and then it had an error. It wouldn't install. So I tried wiping data in recovery, and then the setup wizard kept crashing after I completed it. It wouldn't let me launch anything, even Settings would crash.
So now I'm starting all over again. Currently doing a clean flash in recovery. Ugh.
I think the problem might be file permissions.
sifat3d said:
I think the problem might be file permissions.
Click to expand...
Click to collapse
Well I checked and they seemed to be 751. I checked the other folders in /data and it looked the same.
Swiped from my Nexus 10 using xda-developers app
Restoring those setting from system apps will lead to issues. This is due to the way those settings are restored when changes are made to the programs for those settings.
Restoring with titianium backup is only advised for user apps and data
Wayne Tech Nexus

Categories

Resources