[Q] Restore data from XML (Titanium Backup, SMS/MMS) - General Questions and Answers

HI,
I recently flashed from Trickdriod to ADHD back to Trickdroid on my HTC One (Rogers). I used Titanium Backup to backup all my apps, HTC Sense (desktop), messages, call log, wifi.. etc. I copied the backup to my desktop prior to doing a full SD format and flashing Trickdroid.
Now for the problem, during the restore back to Trickdroid I used Titanium Backup's "restore data from XML" feature, the call log came back fine, but the wifi/MMS does not. Each time I try is force closes the app and a pop up window with "Unfortunately, Titanium Backup has stopped" displays.
I've tried using SMS Backup & Restore to open the XML file as well. Does not work.
Is there any way to get the information from the XML file? Am I doing it wrong?
Thanks,
K.

kluless said:
HI,
I recently flashed from Trickdriod to ADHD back to Trickdroid on my HTC One (Rogers). I used Titanium Backup to backup all my apps, HTC Sense (desktop), messages, call log, wifi.. etc. I copied the backup to my desktop prior to doing a full SD format and flashing Trickdroid.
Now for the problem, during the restore back to Trickdroid I used Titanium Backup's "restore data from XML" feature, the call log came back fine, but the wifi/MMS does not. Each time I try is force closes the app and a pop up window with "Unfortunately, Titanium Backup has stopped" displays.
I've tried using SMS Backup & Restore to open the XML file as well. Does not work.
Is there any way to get the information from the XML file? Am I doing it wrong?
Thanks,
K.
Click to expand...
Click to collapse
I have the same problem! Anyone who can help?
---------- Post added at 06:44 PM ---------- Previous post was at 06:23 PM ----------
android_2013 said:
I have the same problem! Anyone who can help?
Click to expand...
Click to collapse
I upgraded Titanium Backup and was able to restore at least 70% of my messages....

Well first of restoring this type of data is asking for trouble. You should never restore system data as it can cause issues including bootloops and unstable roms. Second no app I know of can backup mms messages properly. This is one of the prices you pay for running custom roms. You will have to put all the Wi-Fi settings back each time.
The reason for this is that with each update the system changes so where the DB files were before may not be where they are in the update. This is why the DB get corrupted when people try this.
Wayne Tech Nexus

zelendel said:
Well first of restoring this type of data is asking for trouble. You should never restore system data as it can cause issues including bootloops and unstable roms. Second no app I know of can backup mms messages properly. This is one of the prices you pay for running custom roms. You will have to put all the Wi-Fi settings back each time.
The reason for this is that with each update the system changes so where the DB files were before may not be where they are in the update. This is why the DB get corrupted when people try this.
Wayne Tech Nexus
Click to expand...
Click to collapse
I have never had that problem before, it just came up when I went back from 4.2.2 custom rom to 4.2.1. I do allways restore wifi, bluetooth and messages without any problem.
For me it worked when I upgraded TB...I didn`t get 100 % om SMS/MMS back but the most important one

android_2013 said:
I have never had that problem before, it just came up when I went back from 4.2.2 custom rom to 4.2.1. I do allways restore wifi, bluetooth and messages without any problem.
For me it worked when I upgraded TB...I didn`t get 100 % om SMS/MMS back but the most important one
Click to expand...
Click to collapse
I've been trying to restore my SMS/MMS messages from the XML file I backed up, but I believe some images embedded in the code have corrupted the XML format. I've been trying to clean it up but since it's an 81mb XML file, every editor I use craps out and chugs.
Any suggestions?

rogueFive said:
I've been trying to restore my SMS/MMS messages from the XML file I backed up, but I believe some images embedded in the code have corrupted the XML format. I've been trying to clean it up but since it's an 81mb XML file, every editor I use craps out and chugs.
Any suggestions?
Click to expand...
Click to collapse
You can try but it most likely won't work as each messaging app is starting to use their own sms databases so restoring it won't work completely and no app does mms

zelendel said:
You can try but it most likely won't work as each messaging app is starting to use their own sms databases so restoring it won't work completely and no app does mms
Click to expand...
Click to collapse
I would agree to that - I've switched between messaging apps in the past, and have had issues with restoring data with TiBu, but I realized as long as I stick to the same messaging app, and same TiBu version, it works fine.

I successfully recovered the xml backup (sms & call log) using the older version of Titanium Backup - 7.5.0.1.
I had problem restoring xml backup with new version..

TB hasn't been updated in the Playstore for quite a while!

Related

Titanium Backup help

Hey guys i need some help, i want to install a fresh rom and just want to restore my Texts(sms) and contacts, any idea how to ? i try restoring SMS but it never comes back, but if i do the whole restore, i get my texts back
Thanks, BTW i got the pro Version
The trick is to find the CORRECT file(s) to restore. For example, I use Handcent for SMS. So I restore the Handcent app & data and then all of my SMS comes back.
Note: in order for you to see your contacts after restoring them, you need to reboot. (At least I do!)
rfarrah said:
The trick is to find the CORRECT file(s) to restore. For example, I use Handcent for SMS. So I restore the Handcent app & data and then all of my SMS comes back.
Note: in order for you to see your contacts after restoring them, you need to reboot. (At least I do!)
Click to expand...
Click to collapse
I found soothing related to SMS but after restoring it and rebooting. It doesn't come back
Diamond_dawg said:
I found soothing related to SMS but after restoring it and rebooting. It doesn't come back
Click to expand...
Click to collapse
Keep looking. You haven't found the correct file.
Diamond_dawg said:
I found soothing related to SMS but after restoring it and rebooting. It doesn't come back
Click to expand...
Click to collapse
Have you tried restoring the mms.apk data? I know you need that file to send sms so maybe they are stored there. If you type contacts into the edit field it should bring it 3 or 4 .com options restore data in the first or second one and reboot and your contacts should be there,j just did on my girlfriends transform but cant remember which one I restored get contacts with.
For the future it is easier to export your contacts to your sd card and download gosms to backup your sms
Sent From My Epic Bonsai Tree
jaronow said:
Have you tried restoring the mms.apk data? I know you need that file to send sms so maybe they are stored there. If you type contacts into the edit field it should bring it 3 or 4 .com options restore data in the first or second one and reboot and your contacts should be there,j just did on my girlfriends transform but cant remember which one I restored get contacts with.
For the future it is easier to export your contacts to your sd card and download gosms to backup your sms
Sent From My Epic Bonsai Tree
Click to expand...
Click to collapse
I'll try that and let's hope it's the right file.

[Q] Flashing ROMs & Titanium Backup

Hey guys
I've recently rooted my 9023i Nexus S and am currently running Codename Android 1.4.0 with the included Kernel.
I did flash and test Matr1x kernel and one other which I can't remember the name of but in both cases I went ahead and reflashed the ROM to get the original kernel back as I felt the phone became unstable and sluggish after a while on the custom kernels.
I use Titanium Backup to backup and restore my apps and system settings which worked beautifully when I was just flashing the same ROM again, but I am wondering if I would like to try a different ROM (would be based on ICS 4.0.3 or 4.0.4) if I could restore my apps AND my system settings with Titanium Backup?
I have seen around here that I should only restore apps and not system settings when going to a different rom which I totally understand, but I would love to be able to keep my call logs, sms, contacts and especially Email (Exchange) settings between ROM flashes.
Is this possible?
Thanks!
I never really liked Titanium Backup, but you shouldn't have an issue, I believe. You should never lose your contacts as long as you are signed into Google. After you flash a new rom, sign back in and your contacts should be there. As for system settings, I have no idea. Wifi settings, etc shouldn't be a problem. Go ahead and try it. Thats what Clockwork Recovery and Titanium Backup are for. If it doesn't work, then restore back to what you had. Its best to learn from trial and error.
mabry said:
I never really liked Titanium Backup, but you shouldn't have an issue, I believe. You should never lose your contacts as long as you are signed into Google. After you flash a new rom, sign back in and your contacts should be there. As for system settings, I have no idea. Wifi settings, etc shouldn't be a problem. Go ahead and try it. Thats what Clockwork Recovery and Titanium Backup are for. If it doesn't work, then restore back to what you had. Its best to learn from trial and error.
Click to expand...
Click to collapse
Thanks, I did do it like that the first couple of times when I flashed a rom, but I really like not having to redo the exchange settings and resync all my email and exchange contacts (all of my contacts come from exchange, none from Google) and also not having to resign into all of my services (Facebook etc.)
I guess I'll just do some tests and see how it goes
Restore apps. Leave the system stuff alone.
albundy2010 said:
Restore apps. Leave the system stuff alone.
Click to expand...
Click to collapse
That's the answer I was expecting
But do you think it's ok to manually restore some settings, for example email settings, rather than doing a batch restore on all settings?
I see a backup in Titanium Backup for Email 4.1 and Exchange Services 4.1 which I assume would include all my emails and settings, right?
You could try restore data only on those. If you get a bunch of force closes .....
The emails are stored on the email server. You log into Gmail/Hotmail/work .. the emails will sync.
If you want to screw with it. Make a current Nandroid of your system. Restore what you want. Screw up ...restore Nandroid. Works... smile
Thanks guys
Tried it yesterday, didn't work
One other question... When restoring apps+data after a flash do you sign into Google and then restore or do you restore and then sign into Google?
Sent from my Nexus S using XDA App
bjornvil said:
Thanks guys
Tried it yesterday, didn't work
One other question... When restoring apps+data after a flash do you sign into Google and then restore or do you restore and then sign into Google?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Correct me if i'm wrong but with CNA you need to flash Gapps manually. If you don't flash it, you wont have market or anything, so you wont be able to sign in will you?
What i do is just leave google apps alone and flash my user apps. Then when you flash a rom, flash gaps, sign in, then restore user apps.
Yes it's a bit of a pain to reconfigure gmail etc, but most of the data is synced online so it shouldnt be too bad.

[Q] Restore sms with Titanium Backup

Hi,
i switched from my good old SGS1 to SGS3.
I did a backup of my call log and sms with Titanium Backup Pro (Key) "Save to xml"... sms/mms and call log
Moved the xml files to the new phone and tried to restore xml backups.
But... TB opens only an empty text file - no restore no nothing
Did i something wrong?
TIA
Christian
Found a solution myself.
I had to choose auto indirect (2nd option) at the last point at options menu. Something like "problems with backup / restore".
Thanks anyway
Christian
Sent from my GT-I9300 using xda app-developers app
First of all Congrats for ur new SGSIII
Can you tell me how to backup and restore sms and call log in a xml file through titanium backup.
I love Titanium Backup - paid for the full version - but ...
... you are better off using SMS Backup & Restore for your messages. You can set it to auto-backup every day, hour or whatever and even dump the backup onto DropBox.
SimonTS said:
I love Titanium Backup - paid for the full version - but ...
... you are better off using SMS Backup & Restore for your messages. You can set it to auto-backup every day, hour or whatever and even dump the backup onto DropBox.
Click to expand...
Click to collapse
Yes, Simon is right, for your messages you are better off using SMS backup & restore from the playstore. It is very easy to use.
Gesendet von meinem GT-I9000 mit Tapatalk
SimonTS said:
I love Titanium Backup - paid for the full version - but ...
... you are better off using SMS Backup & Restore for your messages. You can set it to auto-backup every day, hour or whatever and even dump the backup onto DropBox.
Click to expand...
Click to collapse
I think you can do it also with TB on the menu 'Schedule', and then in 'Add schedule'.
But I also use SMS Backup & Restore, I think it's more simple. This to SMS and TB to Apps :silly:
I would rather use SMS backup pro
viva-yo said:
I would rather use SMS backup pro
Click to expand...
Click to collapse
All well and good for SMS, but how would you backup and restore MMS?
Titanium backup does both. The only other app I found that does both
is "MMS Backup and Restore", but it's full of bugs and I haven't had
much success with it.
I would rather use SMS backup pro
emko7 said:
All well and good for SMS, but how would you backup and restore MMS?
Titanium backup does both. The only other app I found that does both
is "MMS Backup and Restore", but it's full of bugs and I haven't had
much success with it.
Click to expand...
Click to collapse
I've used the TiBackup SMS/MMS restore and it works great. I don't really need the scheduled backups though, I would just backup before installing a new ROM or something. You could even backup straight to Dropbox and have a backup in case you lose your phone.
Do you mind elaborating how?
funnyperson1 said:
I've used the TiBackup SMS/MMS restore and it works great. I don't really need the scheduled backups though, I would just backup before installing a new ROM or something. You could even backup straight to Dropbox and have a backup in case you lose your phone.
Click to expand...
Click to collapse
I know that I've successfully backed up my sms/mms in Titanium Backup because when I went to restore everything (moving from evo 3d to evo 4g lte so that was a big no-no in itself) all of the sms/mms came over to the new phone. Of course, restoring everything caused problems so I had to undo the operation via factory reset. Now, I'm manually restoring only the elements that I need, but cannot for the life of me figure out where the sms/mms information would be stored. Any insight you can provide would be much appreciated.

[Resolved] Titanium backup extract SMS/MMS from nandroid

Device info (just in case it is needed):
Samsung Galaxy Nexus (toroplus)
ROM - Slim Bean
Kernel - Lean Kernel
App - Titanium Backup Pro (purchased key)
My problem:
I have A LOT of SMS/MMS messages on my phone. I like to restore ALL of them between ROM flashes. I usually use Appextractor, but now it is NOT working and does not restore my SMS/MMS. (I am not flashing from MIUI/CM to MIUI/CM so that isn't the issue.) I want to use Titanium backup as my go-to backup and restore app. The only problem is, restoring my SMS/MMS the traditional way (backing up the "app" icon with the sms // backing up to XML) takes WAY too long. Appextractor did this in seconds. Now, I would like to restore my SMS from my nandroid backup from within Titanium backup. I have tried enabling migrate system data, and restoring "Messaging" from the nandroid backup but it does not restore my SMS/MMS.
My question is: How can I successfully restore my SMS/MMS from a nandroid using titanium backup? I have emailed their support and have not gotten a reply in a few days. OR if you know why Appextractor (not the beta) has suddenly stopped working, that would be appreciated too.
PLEASE DO NOT:
I don't mean to sound like a ****, but I am not interested in hearing replies/comments like this:
Why do you have so much SMS/MMS?
Use "this app" to do it, it works! (UNLESS it can restore tens of thousands of SMS quickly, as Appextractor did)
Or suggest not keeping them. I am going to keep them, and would like to find a solution to this problem.
Thanks!
RESOLVED: (thanks to nobody on XDA)
Needed to restore Messaging data in Titanium and NOT messaging. Did not see the actual SMS/MMS before.
DRatJr said:
Device info (just in case it is needed):
Samsung Galaxy Nexus (toroplus)
ROM - Slim Bean
Kernel - Lean Kernel
App - Titanium Backup Pro (purchased key)
My problem:
I have A LOT of SMS/MMS messages on my phone. I like to restore ALL of them between ROM flashes. I usually use Appextractor, but now it is NOT working and does not restore my SMS/MMS. (I am not flashing from MIUI/CM to MIUI/CM so that isn't the issue.) I want to use Titanium backup as my go-to backup and restore app. The only problem is, restoring my SMS/MMS the traditional way (backing up the "app" icon with the sms // backing up to XML) takes WAY too long. Appextractor did this in seconds. Now, I would like to restore my SMS from my nandroid backup from within Titanium backup. I have tried enabling migrate system data, and restoring "Messaging" from the nandroid backup but it does not restore my SMS/MMS.
My question is: How can I successfully restore my SMS/MMS from a nandroid using titanium backup? I have emailed their support and have not gotten a reply in a few days. OR if you know why Appextractor (not the beta) has suddenly stopped working, that would be appreciated too.
PLEASE DO NOT:
I don't mean to sound like a ****, but I am not interested in hearing replies/comments like this:
Why do you have so much SMS/MMS?
Use "this app" to do it, it works! (UNLESS it can restore tens of thousands of SMS quickly, as Appextractor did)
Or suggest not keeping them. I am going to keep them, and would like to find a solution to this problem.
Thanks!
RESOLVED: (thanks to nobody on XDA)
Needed to restore Messaging data in Titanium and NOT messaging. Did not see the actual SMS/MMS before.
Click to expand...
Click to collapse
how do I get this done? can you help me please
bajanbullet said:
how do I get this done? can you help me please
Click to expand...
Click to collapse
Restore "Phone/Messaging Storage" with DATA only in Titanium backup. And make sure migrate system data is checked in preferences.
DRatJr said:
Restore "Phone/Messaging Storage" with DATA only in Titanium backup. And make sure migrate system data is checked in preferences.
Click to expand...
Click to collapse
I found through trial and error why all the apk and nandroid extractors only work on certain parts of image,if you are trying to for example extract your text messages, only the application the phone has registered as the default application for texting is able to make mods. if you switch whatever extracting program you are using in settings to default sms program it will work as it did before kitkat. hope this helps......
P.S
make sure you remember to switch the default back to normal as soon as you are done and reboot your phone before you text anyone,
haydy1234 said:
I found through trial and error why all the apk and nandroid extractors only work on certain parts of image,if you are trying to for example extract your text messages, only the application the phone has registered as the default application for texting is able to make mods. if you switch whatever extracting program you are using in settings to default sms program it will work as it did before kitkat. hope this helps......
P.S
make sure you remember to switch the default back to normal as soon as you are done and reboot your phone before you text anyone,
Click to expand...
Click to collapse
I made a nandroid using TWRP on my Moto X running 4.4.2. Now I am updated to 4.4.4 and want to extract my texts messages from my 4.4.2 nandroid. I selected the Phone/Messanging Storage for extraction, data only. Titanium B/U extracts the texts fine and the messanging app works fine UNTIL I reboot - after rebooting I can send texts but not receive them anymore.
Any thoughts on why Titanium B/U is messing with my 4.4.4 messanging app?
Wansanta said:
I made a nandroid using TWRP on my Moto X running 4.4.2. Now I am updated to 4.4.4 and want to extract my texts messages from my 4.4.2 nandroid. I selected the Phone/Messanging Storage for extraction, data only. Titanium B/U extracts the texts fine and the messanging app works fine UNTIL I reboot - after rebooting I can send texts but not receive them anymore.
Any thoughts on why Titanium B/U is messing with my 4.4.4 messanging app?
Click to expand...
Click to collapse
They're in the format for whatever you exported them for. Soooo 4.4.2 in your case.
For example, restore the 4.4.2 Nandroid, export with https://play.google.com/store/apps/details?id=com.zegoggles.smssync&hl=en , install 4.4.4, reimport with that too. Or restore 4.4.2 Nandroid, update to 4.4.4 'normally', then you got them in 4.4.4 format.
Luckz said:
They're in the format for whatever you exported them for. Soooo 4.4.2 in your case.
Click to expand...
Click to collapse
The text restore fine, it is just that after I restore them I can't receive texts. I can send texts, just not receive them. So Titanium B/U is doing more than just restoring my texts, it is messing with the messanging app somehow. I suspect it may have something to do with the APN.
I have seen others post on other forums about having this problem.
Luckz said:
For example, restore the 4.4.2 Nandroid, export with https://play.google.com/store/apps/details?id=com.zegoggles.smssync&hl=en , install 4.4.4, reimport with that too.
Click to expand...
Click to collapse
FYI - when I used SMS B/U and Restore I could send and receive texts but it couldn't restore all of my texts, either.
Luckz said:
Or restore 4.4.2 Nandroid, update to 4.4.4 'normally', then you got them in 4.4.4 format.
Click to expand...
Click to collapse
You mean return to 4.4.2, unroot and then take the 4.4.4 OTA? I am likely going to try that. Since my Bootloader is already 4.4.4 it should be fine. From what I recall being posted here in the past, the OTA installer will recognize that my bootloader is up to date and move on to the next item and not try to patch a 4.4.2 bootloader.
I will search the thread to make sure I am remembering this correctly, but IIRC the poster who first posted this was very knowledgeable.
I also could try doing it through the Motorola Device Manager.
Wansanta said:
You mean return to 4.4.2, unroot and then take the 4.4.4 OTA? I am likely going to try that. Since my Bootloader is already 4.4.4 it should be fine. From what I recall being posted here in the past, the OTA installer will recognize that my bootloader is up to date and move on to the next item and not try to patch a 4.4.2 bootloader..
Click to expand...
Click to collapse
Did this, ended up with the same problem.
Noob/idiot alert.....
I've just tried to restore my SMS's by TiBu, but I think I've f'd up a bit.
I ticked 'data only' in TiBu and restored 'phone/messaging storage', but it seems restoring from a HTC M7 Sense backup to an M7 5.1 GPE rom doesn't quite work. (I stupidly thought data would be compatible)
Now the phone just keeps popping up com.android.phone has stopped. no matter how many times I click it keeps popping up.
Unfortunately I didn't make a backup in TiBu before trying this out.
I'm sure I can fix it with a factory reset, or at worst a re-flash, but I'm away from my computer and wifi for a few more hours yet.
Is there a way I can un-do what I did, or fix this in some way, in the mean time?
** IGNORE **
I remembered I had a backup of the original rom, so I've just restored that for the mean time.

Titanium backup - SMS/MMS XML backup & restore - MMS causes restore to fail

I created an XML backup of my messages (SMS & MMS) in titanium backup. However, when I try to restore the file, I get an error, "Data restore failed for "Messages (SMS & MMS)"."
Interestingly, if I delete all my MMS messages and do another backup and then try to restore, it works. It seems that the MMS messages are somehow corrupting the data restore.
Does anyone have any ideas around this? I'm utilizing auto/indirect app processing mode, for the record. It seems like titanium is just having trouble reading it's own files if they contain MMS... not sure why that would be though.
Also for the record, I can't use SMS backup & restore (sorry!), I'm limited to titanium for what I'm trying to do.
[FWIW I'm trying to migrate from hangouts/project fi to native sms - see https://www.reddit.com/r/ProjectFi/comments/5s53vf/tool_export_and_convert_hangouts_smsmms_to/ which outputs a titanium compatible XML file. This file was what was originally giving me trouble restoring in titanium. However, I tried backup & restoring my own sms/mms messages to troubleshoot, which led me to the situation above, completely unrelated to this tool I'm using].
Sorry for the text blob, but I figured I'd give some more info in case anyone cared... Thanks in advance!!
I just started facing a similar issue. SMS/MMS backuped by "SMS Back up and Restore app" on one phone. Restoring on another phone fails. If I do not restore MMS, it works with no issue.
Did you find a solution?
Thanks,
Kyral said:
I created an XML backup of my messages (SMS & MMS) in titanium backup. However, when I try to restore the file, I get an error, "Data restore failed for "Messages (SMS & MMS)"."
Interestingly, if I delete all my MMS messages and do another backup and then try to restore, it works. It seems that the MMS messages are somehow corrupting the data restore.
Does anyone have any ideas around this? I'm utilizing auto/indirect app processing mode, for the record. It seems like titanium is just having trouble reading it's own files if they contain MMS... not sure why that would be though.
Also for the record, I can't use SMS backup & restore (sorry!), I'm limited to titanium for what I'm trying to do.
[FWIW I'm trying to migrate from hangouts/project fi to native sms - see https://www.reddit.com/r/ProjectFi/comments/5s53vf/tool_export_and_convert_hangouts_smsmms_to/ which outputs a titanium compatible XML file. This file was what was originally giving me trouble restoring in titanium. However, I tried backup & restoring my own sms/mms messages to troubleshoot, which led me to the situation above, completely unrelated to this tool I'm using].
Sorry for the text blob, but I figured I'd give some more info in case anyone cared... Thanks in advance!!
Click to expand...
Click to collapse
It's been a while, but I managed to figure this out at least: For some reason if I long press on the xml file to restore in titanium, it works. If I just tap it, it doesn't. Trying long pressing... it worked for me. Can't guarantee it will still work this far in the future though, but worth a shot.
joseph230 said:
I just started facing a similar issue. SMS/MMS backuped by "SMS Back up and Restore app" on one phone. Restoring on another phone fails. If I do not restore MMS, it works with no issue.
Did you find a solution?
Thanks,
Click to expand...
Click to collapse

Categories

Resources