I'm having trouble restoring some backed-up SMS and MMS on my new LG G3. I have tried several methods with varying results and I'm starting to think it's an issue with the G3 because I have not had these problems with the myriad of other devices I have been doing this on.
Titanium backup pro: restore messages from snapshot causes messaging to force close (not surprising). restoring from XML works fine with SMS, but the MMS are all timestamped with the date/time they were restored (today).
Mybackup pro: restoring SMS causes them to have a timestamp of today but it fixes itself when you open the thread (not a big deal, have had this happen in the past). restoring MMS causes only the MMS that were sent by me to be timestamped with today.
now I've just started testing any app that let you restore MMS to see if there'll be any luck. just finished trying Easy Backup and it has the same results as Titanium.
any ideas?? anyone have any luck restoring MMS? what app did you use?
Sorry to resurrect a dead thread, but I'm running into this issue now and can't find another thread discussing a solution.
It seems to occur with two different G3 stock-based ROMs when I tried to restore MMS messages that were backed up on a CM-based ROM. Titanium Backup and SMS Backup & Restore both have the same issue: a bunch of MMS messages get the current timestamp (time of restore). Doesn't seem to be a problem restoring to AOSP ROMS, just LG-based ones.
Any ideas? Anyone else see this?
Same problem here on LG-based roms running on my G2. This seems to be the problem of some manufacturer-based ROMs, not just LG but at least also Motorola.
Preparing the mmssms.db file using https://github.com/t413/SMS-Tools on your Linux desktop rather than directly on the phone (using restore programs) seems to be the working workaround. But I do not envy those who still use Windows as their main system.
For anyone having the same problem, i finally found the solution...
the lg g3 has a custom com.android.provider.telephony service : when the restore app send the mms to restore, the "date" field is not read properly, and the current timestamp is store in the "date" field of the "pdu" table in the database "mmssms.db"
But... there is another field in that table, "insert_time" which contains the good timestamp... almost cause it's a microtimestamp.
So, for the solution :
1/ you need to download and open your "mmssms.db" file using you're favorite sqlite editor
2/ apply that sql query to set a good content for the "date" field based on the "insert_time" field :
Code:
update pdu set date = substr(insert_time, 0, 11);
3/ you send the mmssms.db back to your phone and reboot
That's it !
You're welcome
A finally happy LG G3 owner
patoulich said:
For anyone having the same problem, i finally found the solution...
the lg g3 has a custom com.android.provider.telephony service : when the restore app send the mms to restore, the "date" field is not read properly, and the current timestamp is store in the "date" field of the "pdu" table in the database "mmssms.db"
But... there is another field in that table, "insert_time" which contains the good timestamp... almost cause it's a microtimestamp.
So, for the solution :
1/ you need to download and open your "mmssms.db" file using you're favorite sqlite editor
2/ apply that sql query to set a good content for the "date" field based on the "insert_time" field :
Code:
update pdu set date = substr(insert_time, 0, 11);
3/ you send the mmssms.db back to your phone and reboot
That's it !
You're welcome
A finally happy LG G3 owner
Click to expand...
Click to collapse
Thank you for the explanation!
Although your solution didn't work for me (no insert_time column on my new Axon 7) I ended up joining my old table with my new table and fixing the date, date_sent (and creator...) columns. That worked, and helped me not looking for another 20 apps on playstore that wouldn't work anyway.
Now one major hassle I didn't realized for long hours, google messenger had some sort of cache issues and was not showing me my new data.. so I kept trying stuff with no result... till I tried the stock messaging app and realized it worked.
Anyway, I've been looking at this for 2 days now, so thank you so much, I can finally move on
Related
help me please!
I have Qtek 9090 & install last version WM5 from XDA.
I have some problems like this:
Every time if battery replace (change the SIM for example) i lost e-mail account in messaging list, but in tooday screen i can see, that in ny inbox folder in my e-mail account (pop3) some unreaded messages! I can't access to this messages because no account in list!
If a try to make mail account with same name - it is not possible, because account name like this is persist allready!
Same problem wint my WiFi & GPRS settings:
I lost all settings in Wifi and lost user name and password in GPRS settings.
1. how i do to restore my email account in list in the Messaging (maybe in Registry change something?)
2. how i can solve the problem for the future?
(ssory for my english)
Solving the problem....
Maby some kind of backup will solve those problems....
Re: Solving the problem....
Surgical said:
Maby some kind of backup will solve those problems....
Click to expand...
Click to collapse
No Data lost, i lost only account in messanger list. All data i recive on my notebook, but after replase the battery each time i need make new mail account. Hard reboot and reinstall all programs every time or full backup every time - not a good solving.
i have same problem as you?. does anyone know the solution...
No one help me yet
If you find some solution - say me please
i have a same problem. does any one sole it???
Ditto
My today screen now has 8 accounts on it all showing unread messages although i can only open one of them. I don't know how to get rid of them besides a hard rest which i dont want to do.
Surely there must be some solution as I will run out or screen if it happens any more
Hi,
Had exactly the same issue.
The problem for me was restoring the backup file created by Sprite.
I resolved my issue by not restoring the messaging dB's - and everything was OK - The reverse is make a backup but not the messaging dB's then restore.
Hope this helps somewhat.
Matt
Hi After doing some googling I found a tool that might help for some people but it didnt for me. someone else might ba able to shed some light
1) use the DBViewSP editor to go to cemail.vol
2) under that go to 'pmailNamedProps' and select it to edit the values
3) scroll down to the very last 2 values, which should be called 'UnreadCou...'
4) delete them
5) restart
Please if you do do this make a backup of your .vol file 'just in case'!
The full thread is here
http://www.modaco.com/index.php?showtopic=234264
Hello all!
Yesterday I made a backup of my call logs and SMS/MMS messages with PPCPimBackup, and today I reinstalled my phone using the official T-Mobile ROM, and i used PPCPimBackup to restore the backup.
Too bad, it didn't work. The call log was restored, but with the text messages it gave the following error: "ERROR_CSV_BAD_RECORD at line 936"
So I opened the backup with winrar, opened the .csm file containing the messages, and deleted line 936, compressed the .csm file back in the backup file, but it still would work. It said the file was corrupt, so I probably haven't compressed it right or something like that. Any way to still restore my backup, or is it permanently lost?
I can still read the messages from the .csm file, so maybe there's another program that can make a new backup from this file?
Thaan.nl said:
Hello all!
Yesterday I made a backup of my call logs and SMS/MMS messages with PPCPimBackup, and today I reinstalled my phone using the official T-Mobile ROM, and i used PPCPimBackup to restore the backup.
Too bad, it didn't work. The call log was restored, but with the text messages it gave the following error: "ERROR_CSV_BAD_RECORD at line 936"
So I opened the backup with winrar, opened the .csm file containing the messages, and deleted line 936, compressed the .csm file back in the backup file, but it still would work. It said the file was corrupt, so I probably haven't compressed it right or something like that. Any way to still restore my backup, or is it permanently lost?
I can still read the messages from the .csm file, so maybe there's another program that can make a new backup from this file?
Click to expand...
Click to collapse
Hi Thaan.nl,
You shouldn't have done that. Compression is nothing to do with the file corruption. Deleting line 936 has mentioned by the error is not enough.
Your backup was fine, I can assure you, the problem resides in the csv parser, I know it is not perfect, and I already mentioned it.
Don't worry, nothing is lost (except line 936).
BTW, get the .csm file out of the .pib, open it with an editor like ultraedit which can show each individual record and showing line numbers.
Try to remove the whole text message that couldn't be parsed by the parser and do the restore. You don't need to put the .csm back in .pib, you can restore it directly.
Did you use PIM Backup 1.5?
If you need any help to restore your backup, don't hesitate to ask...
Cheers,
.Fred
Beware of this product. I restored backup messages to my mail account. After that I will no longer be able to send out any mail. The system says that my outgoing smtp server is incorrect, although it is correct. I tried deleting the account and recreate it but it does not help. The only way so far was to do a hard reset. It happened to me and caused me to do about 10 hard resets before I finally pinned it down to this being the culprit. I am able to recreate the problem very reliably. The addresses and appointment parts are okay. It's just the messages part that you should not use.
I have gone through too much pain with this, so I thought I should share it with all of you and be warned.
Cheers
PPCPim BACKUP IS KING!!
eaglesteve said:
Beware of this product. I restored backup messages to my mail account. After that I will no longer be able to send out any mail. The system says that my outgoing smtp server is incorrect, although it is correct. I tried deleting the account and recreate it but it does not help. The only way so far was to do a hard reset. It happened to me and caused me to do about 10 hard resets before I finally pinned it down to this being the culprit. I am able to recreate the problem very reliably. The addresses and appointment parts are okay. It's just the messages part that you should not use.
I have gone through too much pain with this, so I thought I should share it with all of you and be warned.
Cheers
Click to expand...
Click to collapse
Are u insane man!!
this program is the greatest thing since sliced bread!!!
One corrupt backup doesnt make the program suck
And if you search there is a fix for that
i do believe you need to delete the mailbox folders on ya SD card
Hi There!
I'm using PPCPimBackup (Version 2.8) to get all my contacts from my K850i to my new Xperia X1.
I created a whole phonebook-backup from the K850i in different formats:
contacts.csc, contacts.pib, pb.ldif, pb.vcf, pb.xml.
PPCPimBackup could only use contacts.csc or contacts.pib. When i try to restore one of them i use the field delimiter "," and map the values.
When i start the restore, i get the following error-message:
Error (ERROR_CSV_BAD_RECORD) : Bad record found at line 128.Nothing done.
Does someone know why this problem does occur?
EDIT: I solved the problem by reading other threads... Because the "corrupt Line" was the last line in the contacts.csc i added a "RETURN" to last line and now the program works great!
I solved the problem by reading other threads... Because the "corrupt Line" was the last line in the contacts.csc i added a "RETURN" to last line and now the program works great!
Hello Folks!
About 10 days ago, I got myself the brand new HTC Touch Pro 2 as - as a birthday present and to replace my old P3300 (Artemis) which was becoming more and more defective.
Some of you probably share the opinion that the Touch Pro 2 is a great piece of technical art - both the hardware and the software. I think HTC made a terrific job by inventing the appealing and intuitive TouchFlo 3D surface (TF3D) and knitting it so deeply into the Operating System (OS) of Windows Mobile (WM) that you will hardly get in touch with WM itself anymore.
As I eagerly startet to play with the device and to migrate my data from the old P3300, I got into deeeeeeep trouble: SMS were there and threaded, but only visible in the Messaging application of WM (Pocket Outlook) - no SMS visible neither in the Messages tab of a contact nor when tapping on the SMS in the basic Messages tab of TF3D. MMS not visible at all. As I wanted my MMS back and my messages to show up in the contacts, I started to investigate and looking for a solution.
I can assure you that I spent a lot of hours looking for solutions, in this forum as well as on the whole Web. I tried and learned a lot (I'm not a developer), but couldn't find a working approach. I called HTC, wrote to HTC and wrote to Arcsoft (the manufacturer of the MMS Composer on HTC devices) about a solution to correctly migrate all kind of messages to higher versions of WM. HTC replied pretty quickly, but did not have a solution for the issue: "[...] We have indeed been asking Microsoft for this for quite some time, and as far as we know, they are working on it. Indeed, there appear to be rumours that they have been working on adding SMS to PC backup to the next version of their Activesync/WMDC software for WIndows Mobile 6.5. [...]"
Therefore, I had to figure out how I could help myself. I found a way, and because it took me sooooooooo much time (!!!!), I would like to share this with you and possibly help to save your time. If you don't want all the background information, you can skip the sections "Starting position" and "Findings" in the next message and go to message 3.
Part 2: Starting Position and Findings
Starting position:
I had a Sprite backup of my messages (SMS, MMS, emails) from my old P3300 which was running on WM 6.0. As the P3300 was not working anymore, I had no other option than using this backup on my new Touch Pro 2. So, I tried to restore all mail-related items from this backup using Sprite - which created the above and below mentioned problems.
Until and including WM 6.0, MMS were saved in a separate account called "MMS". In WM 6.1, MMS are stored in the same account as the SMS ("SMS/MMS"). An existing MMS account in a cemail.vol file from WM 6.0 or earlier that is restored on WM 6.1 is not visible.
WM 6.1 introduces the new "Messages Threading" feature. Threading organizes received and sent text messages (and MMS because they're in the same account now) into threaded conversations.
Findings:
I have no clue why my SMS did not show up in the contacts of TF3D. I tried some approaches that I found on the Web and that might have been able to solve my problem, e.g. clearing all SMS/MMS and restore the messages with PIM Backup (link to proposal), or renaming cemail.vol resp. deleting it by placing a shortcut in the startup folder (link to proposal). None of these worked.
The cemail.vol file (container of all messages of all types) cannot be renamed or copied or moved. The only possibility I found is MortScript that can copy/backup the file during startup of the device before WM gets hold of the file. You can find the script itsself below.
In Pocket Outlook (Messaging), the MMS folder was gone. However, the folder showed up as an account in the email-tab of TF3D with sender, date and headline, but tapping on the message had no effect. PIM Backup (with action "Backup") also showed the MMS folder with all the subfolders and the correct number of MMS.
I could not find a solution or registry tweak to make the MMS account show up in Outlook.
The hidden WM6-MMS-account might look like corrupt to WM 6.1. If so, there could be a relation between the MMS issue and the problem of not having messages in a contact's messages tab because of old, "corrupt" data in the cemail.vol file. I have no proof that this assumption is true.
It is also possible that restoring an entire cemail.vol file somehow confuses the threading process in WM 6.1. I have no proof that this assumption is true.
PIM Backup is currently (V 2.8) not able to backup and restore MMS due to proprietary binary saving by Arcsoft's MMS Composer.
If you try to restore MMS with PIM Backup, the MMS shows up as MMS, but has no content when you open it. It seems as using PIM Backup on MMS makes the reference to the MMS content (each MMS has a dat-file in \My Documents\UAContents\MMS UA\) being lost. Backing up and restoring cemail.vol as a whole keeps these references.
As far as I understand, PIM Backup backs up/restores messaging by reading/writing them via Outlook interface. This is a different approach to just copying/replacing the entire cemail.vol and might be the reason for the above mentioned loss of MMS reference: Using the Outlook interface, each restored MMS might look like a new incoming MMS to MMS Composer, so it creates a new reference number for the dat-file.
I found that the binary Arcsoft-MMS data in cemail.vol could be considered as irrelevant: If you rename an existing dat-file with the new reference number that is created for a MMS restored with PIM Backup, the content of the MMS is shown as it should. This even works with text-mode based PIM Backups where there is no binary data included at all.
The binary backup mode of PIM Backup is faster than the text mode, but the text mode has 2 advantages: 1) The backup file is a zip-file containing csv-text-files which you can extract, read and edit. 2) From my point of view, the text mode is more reliable, particularly in backing up and restoring emails' contents.
Using Pocket dbExplorer, I tried to have a look into the cemail.vol file and extracted some content. I judged it as not feasible to figure out the layouts and contents of the various databases and records in order to alter cemail.vol directly.
Part 3: The solution and tools
Solution:
Based on my investigations and the findings above, I tried the following steps which finally worked and solved all my problems regarding the migration of messaging data. However, especially the MMS part is quite some work, so maybe someone has ideas on how to speed this up.
If you can't access your old device anymore, goto step 2. If you still can use your old device, you're luckier than I was and have a much easier process: Install PIM Backup on both your old and new device and create a text-mode based (deselect the 'Binary backup' option) backup of all your messages on the old device. Copy the following files to your storage card and goto step 5 after:
PIM Backup file
Folder "\My Documents\UAContents\" (dat-files with MMS content)
Folder "\Windows\Messaging\" (text and attachments of emails)
If you can't use your old device anymore, but you have a text-mode based PIM Backup file as well as the 2 folders mentioned in step 1 on your storage card, then you can skip the next steps and goto step 5.
If you have a backup of a backup software (like Sprite Backup), including the cemail.vol as well as the 2 folders mentioned in step 1, then do restore this backup on your new device now.
(Note: If you don't have access to your old device and no backup file, there's nothing to restore and you can start your life with your new device free of history . If you have a binary PIM Backup file, you can restore your SMS, but you won't be able to restore your MMS as described in this approach.)
Only if you have executed step 3: Install/start PIM Backup on your new device and create a text-mode based (deselect the 'Binary backup' option) backup of all your messages on your new device.
In WM 6.1 MMS are stored in the same account as SMS, so we need to alter the PIM Backup file a little to make sure that PIM Backup does not restore the MMS into a hidden account again:
Open the PIM Backup file like a ZIP file and extract the msgs_<date>.csm.
Open the csm file with any text editor.
To redirect your MMS in the MMS-Inbox to the Inbox of the SMS, replace all occurrences of the string "\\%MDF1";"MMS";"IPM.MMS1" by "\\MMS\\in";"SMS";"IPM.MMS".
To redirect your MMS in the MMS-Sent Items to the Sent Items of the SMS, replace all occurrences of the string "\\%MDF3";"MMS";"IPM.MMS1" by "\\MMS\\out";"SMS";"IPM.MMS".
(Note: If there are no occurrences of the above search strings, you can delete the "1" from "IPM.MMS1" and try again.)
Save the csm-file, place it back into the PIM Backup-ZIP-file and copy the backup-file to your storage card.
If your new device is not "fresh" and contains messages, then you need to delete the existing cemail.vol file in order to start with a fresh messaging-file that has no "legacy pollution" on your new device. As the file is locked during operation of the PPC, MortScript helps you to perform the deletion on startup:
Install MortScript on your new device.
Copy and extract the attached script (cemail.vol_backup-restore-delete.mscr in ZIP-file) to your computer. This script is based on hercule18's work (Thank you!). It didn't work on my device, so I fixed it and added two more options that we need for our purpose here.
The script backs up to and restores from the storage card. In the script, you find 3 occurrences of the word "Speicherkarte" which is the german translation of storage card. Open the script with any text editor and replace these 3 occurrences with the name of your storage card exactly as it shows up in the explorer on your new device.
Save the altered script, copy it to your new device and run it. Choose "Backup & Delete" or "Delete" (we won't need the old cemail.vol anymore, but maybe you feel better with a backup) and Reset Yes. When your device restarts, MortScript deletes the messaging file and WM replaces it with a fresh, empty one.
If you've manually copied the necessary directories with the MMS- and email-content (unlike step 3), you can copy these folders from your storage card to your device now:
Folder "\My Documents\UAContents\"
Folder "\Windows\Messaging\"
Now you are ready to start restoring all the messages. First you only restore the Inbox and Sent Items of SMS (text messages) in order to allow WM 6.1 the threading process (organizing received and sent items into conversation threads). Start PIM Backup, choose action "Restore" and load the text-mode based PIM Backup file that you've created before. Choose ONLY messages, and in the messages' options, only Inbox and Sent Items of the SMS/MMS-account. Go!
On completion of the restore, open Messaging (Start --> Messaging) and choose your SMS/MMS account. In the Inbox, you can watch WM now threading the messages. Give WM the time to complete this process until you feel that it's done and your device is reacting at normal speed again.
Check if TF3D shows the threaded messages if you click on a text message in the Messages tab or if you choose the Messages tab in a contact.
Start PIM Backup again, choose "Restore" and load your PIM Backup file again. Select ONLY messages, and in the messages' options, select all other folders of the SMS/MMS-account, EXCEPT Inbox and Sent Items. In the last dialogue, choose "Add messages..." Go!
If you want to restore email-accounts, you have to create this accounts in Messaging/Outlook first, because PIM Backup does not restore to accounts that don't exist. After creating the corresponding accounts, you can restart PIM Backup, "Restore", load your PIM Backup file and select all the folders of the email-accounts you want. Make sure you choose "Add..." instead of "Delete..." in the last dialogue!
Finally, we need to recreate the reference between the restored MMS and the MMS-dat-files in "\My Documents\UAContents\". This is how I did it:
Create a list of your dat-files with name, date and size, using the attached Excel-Sheet (MMS-Renaming.xls in ZIP-file). To populate the sheet with your data, you can access your storage card (where you have a copy of the above mentioned directory) with your computer and create a text-file by --> Start --> Execute --> "cmd" --> navigate to the drive and directory with your dat-files (e.g. E:\My Documents\UAContents\MMS UA\) --> "dir >list.txt". Copy the content of the list.txt into the xls-sheet and put the data into the right columns (yellow columns). Order by date (descending).
Connect your device to your computer via ActiveSync and open an explorer window showing the content of \My Documents\UAContents\MMS UA\ on your device (not on the storage card!).
Now you have to find out the new reference number that MMS Composer is looking for when you open an MMS. If you did the above steps (altering and restoring the PIM Backup file) correctly, you can find your MMS in the subfolders MMS\in and MMS\out in your SMS/MMS account. Navigate into these folders in Messaging/Outlook, order by date (descending) and do the following steps for each MMS:
Open the MMS (it doesn't show any content).
While leaving the MMS open, refresh the explorer window on your pc, showing the content of the MMS UA folder.
Now you will see that a new folder appeared - the name of this folder is the new reference number we are looking for.
Find the right row in the xls-sheet (same date and size as the open MMS) and note the new reference number in the green column (only number, no ".dat"-suffix).
When your xls-sheet is complete, you have a list of MortScript-commands in column F. These commands will rename your dat-files with the correct number so that MMS Composer will find its targets. Put the content of column F (without the title in row 1) into a normal text file and save it as "mms-renaming.mscr".
Close Messaging/Outlook.
Copy the mms-renaming.mscr to your device and start it. The script runs only a few milliseconds and does not inform you about completion.
You're DONE! When you open an MMS now, you should see its content as it used to be.
Mentioned tools for the solution:
PIM Backup (Freeware)
MortScript (Freeware)
Other tools mentioned:
Sprite Backup (Commercial)
Pocket dbExplorer (Commercial)
Part 4: A looot of questionmarks!
Open Questions:
Maybe someone has an idea on how to speed up this process, particularly step 13?
Could Arcsoft save the reference number as a normal field in cemail.vol instead of in binary blobs? This would allow PIM Backup to backup and restore this reference and would save us all the renaming hassle.
Why the heck do I have to do this? I pay to buy a working phone, I'm not paid to make the phone working!!! My job is in IT, too, and I learned so far that migration is a very important part of producing software. Why does migration apparently not count for upgrades in PPC-software/-OS? Why do I as a customer have to spent so much time to find a workaround for this bloody problem? In this case, 3 companies are involved: HTC, Microsoft and Arcsoft. It would be fairly easy for these people to implement a migration mechanism that stores the customer's important data in a file format of the current OS's/software's specification and restores the data on the new version considering the changes in the new version. So, why don't they do it??? I have no understanding at all for this!!!
As a loyal customer who buys products from the same manufacturer again (HTC in this case), can I expect to have support and solutions that help me to migrate my data when buying a new device? Or is that a completely weird expectation?
Remark:
I really have already lost a lot of time on this issue. I've created this thread to maybe save you some time in case you have the same problems, but for me, the issue is now closed. I won't spend more time and ask you for your understanding that I will not be able to give any support or answer questions. In case of further questions, please search the forum and the Web. All I can say is that the manufacturers should take the bait and do their homework. Migration counts - life (and life is a lot about communication and interaction) is not a game that restarts from scratch only because I buy a new PPC or upgrade my software!
Thanks
This post was really helpfull. I was not migrating from wm5 to wm 6, but was just looking for a solution to restore my MMSs after a rom upgrade.
What a neglected Problem
Thanks Vivalis !!! I stopped looking for a "quick fix" once your post was read.
I could not believe HTC, MicroSoft and/or ArcSoft didn't provide for backing up/restoring important user data when migrating or performing an OS upgrade or firmware update, etc.
Not only is MMS not restored, but all the MicroSoft One-Note files are lost (not backed up by ActiveSync - my wife nearly beat me to death - and I got the phone to make her happy). I later found these are saved in the Windows directory on the mobile device (HTC XV6900) and not with other MicroSoft documents for some reason.
MicroSoft/ActiveSync needs to get up to speed with these mobile phones. Messaging is what it is all about! People like to have their messages!
Dear Vivalis,
I can not describe how I thank you for your thread. I was seeking for days to find a solution to move my MMS from my ORBIT to the DIAMOND. I succesfully moved them with your "guide". But it was a bit complicated to me to understand all steps because English is not my native language. I spent some hours (every day a few) and today I finished with success. Now my memories which are very important to me are on my DIAMOND.
THANK YOU SO MUCH!
Best regards from Bremen (Germany)!
Reason why MortScript probably didn't restore and the fix
I was migrating from a failed HTC Touch Pro (Mobile 6.1) to a second one (keyboard when out on the first) and wanted to get the cemail.vol to the new phone. The MortScript backed up my 5meg cemail.vol from the old phone with no problem. BUT when I went to restore it on the second phone, I got xcopy errors. Looking at the script I noticed there "Restore" / Case 2 scripting the second line did not have double quotes around the root directory back slash. I edited it to read:
rest = "XCopy (""Storage Card\cemail.vol"" , ""\"" , 1)"
Storage Card being the part that needs to match the name of your flash disk name.
I ran this script and all my sms and mms messages now show up on my new phone.
I had previously copied the folders
Folder "\My Documents\UAContents\" (dat-files with MMS content)
Folder "\Windows\Messaging\" (text and attachments of emails)
to this device, so I"m sure that is why the MMS messages still have their photos attached to those messages.
I hope this helps people out!
Cheers!
Cool trick!
V useful post. Thanks a bunch for the info.
I was looking for a way to get the images out of the .dat files from a backup when I found this post. After reading this I was able to recover some images I wanted from just the back up of UA Contents\MMS UA .dat files with no MMS/PIM backup or folders available.
Step 1 Send yourself an MMS with an image attached. (This is because you can only save the image from an MMS you have received, not from a draft copy!)
Step 2 Open up the MMS you've just received from yourself!
Step 3 Peek at the MMS UA folder on your device - look for the folder made of numbers that matches that of a .dat file. (Neat trick that helped me find the dat file I needed out of all the files in that folder! Cheers Vivalis.)
Step 4 Close the MMS
Step 5 Rename the .dat file you want to recover to the numbers of the magic folder you just spotted and copy it over the top of the .dat file of the same name.
Step 6 Open the MMS with hey presto your recovered image.
Step 7 Save your image from the MMS.
Repeat steps 4 to 7 for as many .dat files you need to get your precious pics from and viola! Now I no longer use MMS to store my pics - I always save the attachment to the Storage Card as soon as I get them and delete the mms. Ya never know when that phone is gonna crash next..
Vivalis said:
Solution:
If you can't access your old device anymore, goto step 2. If you still can use your old device, you're luckier than I was and have a much easier process: Install PIM Backup on both your old and new device and create a text-mode based (deselect the 'Binary backup' option) backup of all your messages on the old device. Copy the following files to your storage card and goto step 5 after:
PIM Backup file
Folder "\My Documents\UAContents\" (dat-files with MMS content)
Folder "\Windows\Messaging\" (text and attachments of emails)
Click to expand...
Click to collapse
hello i need to migrate sms and mms from windows mobile 6 to 6.1, the same problem you describe in your guide, but i have a great problem, i can't find the dir UAContents with the data of my mms. I have a lot of mms but My Documents folder does not contain a folder UAContents... Why ? Thanks in advance for your help....
I'm in deep doudou, I backed up my phone using PIM backup (binary) then gave the phone to somebody. Then I restored my stuff into my new phone, the sms were there and so were the emails (that's what I thought) but then later during the day I tried opening my email and to my surprise the emails were there but when I opened them they were blank. Every single email that was restored was blank so I'm stressing I got the phone back and copied the folders specified here but the person I gave the phone to had already deleted a lot of the emails. What are my options?... I tried doing the instructions above and couldn't get it to work. plzz help!
Folder "\My Documents\UAContents\" (dat-files with MMS content)
Folder "\Windows\Messaging\" (text and attachments of emails)
THanks for the good tips in the thread really useful
I have another qn, currently am trying to migrate a HTC Tytn2 on WM6 to HTC HD2 - WM6.5
i find the phone cannot complete the copying of sms and typically dies halfway..
i have about 6000 sms in the inbox and 1800sms in the sent box and about 10 mms
will this consitute any problem for WM6.5? Anyone with experience of handling such large number of sms ?
will the threaded sms feature impact my transfer?
thanks!
I wish I've looked around and found this thread sooner ..M$ is such a capitalist.. why don't they let people make free stuff to take care of problems that people went through everyday because of their lack of customer service?
how can transfer Windows Mobile SMS - MMS from windows mobile 6.1 to iPhone iOS 6?
[XAP] SMSBackup V0.9, Backup & Export SMS/MSN/Facebook Messages [Updated 2012-05-19]
[Introduction]
Thunder_ in XDA have found that windows phone itself has a backup mechanism, it may backup messages on a regular basis, and store it at "\Application Data\Microsoft\Outlook\BackupVols\CommsBackup.xml" (see this link), so we can take the file, extract it and then we get our messages. Before version 0.7, the app automatically copy the "CommsBackup.xml" to IsolateStorage and extract them to readable sms.
Since CommsBackup.xml is generated by the system, we can't controll it. We often get only part of our messages because CommsBackup.xml doesn't contain newest ones.
The sms/msn(also many other datas) in Windows Phone actually stored at "\Application Data\Microsoft\Outlook\Stores\DeviceStore\store.vol". It is an EDB database. We can use native EDB API to explore and extract it. From Version 0.7, the app use this way to extract our messages and will never rely on CommsBackup.xml anymore
[Compatibility]
The app should be compatible with devices supported by WP7 Root Tools(need to mark the app as Trusted)
Also support fully-unlocked phones
[Features]
1. Automatically extract messages in store.vol, can sort messages by conversation or by sending time, can filter messages by contact, start/end date and keyword.
2. Export messages in txt/xml/csv format to IsolateStorage or SkyDrive.
If you export messages to IsolateStorage, you can use any IsolateStorage tool to download them to your computer.(The ID of this app is 09125ea9-95de-469a-aedc-22e35389ab0a);
If you export messages to SkyDrive, they will be uploaded to your SMS folder in SkyDrive(The folder is private, thus "just me")
3. Backup and restore "store.vol" and "PimIndex.vol", you can backup these two files before you flashing ROM and restore it later. This will keep your messages and contacts remain the same.(This feature is for professional users only)
[Versions History]
V0.9
1. Reduce memory usage(tested with 100,000 messages)
2. Speed up message importing process(faster than previous versions)
3. Add csv export option
4. Facebook messages will show Facebook friend's name(not the ID number in v0.8)
5. Switch backup mode(SMS or MSN) in Setting page.
V0.8
1. Add feature to backup MSN messages. You can switch backup mode(SMS or MSN) in the menu bar
2. Change UI of message list, looks more Metro now.
3. Improve contact identify algorithm.
4. Optimize the compatibility with WP7 Root Tools.
V0.7
1. Extract sms from store.vol directly, now you can backup and export all short messages and will never rely on CommsBackup.xml.
2. Optimize for fully-unlocked ROMs. If your phone is fully-unlocked, the app read store.vol directly; If your phone is interop-unlocked but not fully-unlocked, the app will copy store.vol to IsolateStorage and then read store.vol(because directly mount store.vol will cause Access Denied exception)
3. Add more setting options and remove exit confirm.
V0.6
1. Add support to backup and restore both store.vol and PimIndex.vol.
2. Increase max waiting time for file operation to 15 seconds(older version is 6 seconds). This may help those who have very big CommsBackup.xml or store.vol(>10MB)
3. In order to find how WP store contact's index in PimIndex.vol, I add a test feature(Click "test" in the menu bar) and need your feedbacks. Thanks!
V0.5
1. Add feature to export filtered messages. You can enable this in setting page.
2. Simplify setting page, no "save" button now.
3. Fix a bug in V0.4 which may show "import error: Value Does not fall within the expected range" when the app starts.
V0.4
1. Integrated with phone's contacts. For each message, the app will show contact's name if the phone number exists in any of the contacts, otherwise it will show pure number as before.
2. Add feature to filter sms. You can filter messages by contact, begin/end date and keyword. This will allow you search sms more quickly.
3. Add feature to restore system sms database store.vol, you can restore all sms and contacts after you flashing rom
4. Fix a bug when uploading txt to SkyDrive, the text document sometimes become incomplete or even blank.
Known bugs: Under certain conditions, it may show "import error: Value Does not fall within the expected range"
V0.3
1. Add double-language support(both en-US and zh-CN)
2. Fix the bug in V0.2 that the app may crash when uploading sms to SkyDrive
Known bugs: When uploading txt to SkyDrive, the text document sometimes become incomplete or even blank
V0.2
1. Add feature to export txt format
2. Add feature to upload sms to SkyDrive(some guys think IsolateStorage is not convenient)
3. Add feature to Backup system database "store.vol"
4. Fix some bugs that do not automatically update sms
Known bugs: the app may crash when uploading sms to SkyDrive
[Tutorial - How to backup and restore your sms]
The sms and contacts information(also many other datas) actually stored at "\Application Data\Microsoft\Outlook\Stores\DeviceStore\store.vol". To backup and restore this file will keep our text messages remain the same. Also, there is a file in the same folder named PimIndex.vol which contains contacts' indexes. WP use it to search contacts. So you must also backup and restore this file.
Below is the methods:
1. Open SMSBackup app(version>=0.6), go to "Export & Backup" page, navigate to "Backup", there are two buttons for backup and two buttons for restore.
2. Click "Backup store.vol" button to backup "store.vol", then the file will be copied to "BackupVols/store.vol" in IsolateStorage, you can use any IsolateStorage tool to download it to your computer(the same with PimIndex.vol).
3. When you need to restore sms and contacts(for example, after flashing a new ROM), you find the store.vol and PimIndex.vol you have already backup in your computer, use IsolateStorage tool to upload the two files to BackupVols folder.
4. Open SMSBackup app and navigate to the same page in step 1. Click "Restore store.vol" button, then click "Restore PimIndex.vol". When both have executed. Restart your phone immediately.
Important Note(Updated 25/2/2012): If you flash a new ROM, please add/sync live account first and then restore store.vol and PimIndex.vol; After restoring, sync again. If you failed in this way, you can restore store.vol and PimIndex.vol first and then add/sync live account. Since we do not know how WP manage accounts and other infos, so different problems may happen after restoring. Feedbacks and suggestions on restoring feature are welcome.
Important Note: the restore feature in version 0.5 is not perfect. It can restore all text messages and contacts successfully. But you may encounter the problem with searching contacts or wrong profile pictures in the People Hub. Thanks to the feedbacks by kahiro, 2new, AshleyT. The reason is that we haven't backup and restore PimIndex.vol. Now I'm researching on how WP store contact's index. I think we can modify this file to add indexes by ourselves. every contact is a 12 bytes in PimIndex.vol. I don't know what it means. If you can help me, please open SMSBackup V0.6, Click "test" in the menu bar to navigate to a new page, then click "Get Contact Index Format" button and reply the format string it shows(for example 01-00-00-00-02-00-07-00-8E-00-00-00). Thanks!
There are some users say the app may crash when login or upload to SkyDrive while some others do not have this problem. I use Microsoft Live SDK to connect to SkyDrive, I do not know if the SDK have some compatibility issues. I'll continue to find if there is anything wrong. Thanks for your feedbacks.
At last, thanks to Thunder__ who find the CommsBackup.xml file and endeffekt who find the store.vol file (see http://forum.xda-developers.com/showthread.php?t=1072796); Thanks to the DiagProvXML app, I use the COM libraries to copy native files in early versions. Thanks Heathcliff74's wonderful guide on native code. Thanks to GoodDayToDie, he gave me good suggestions and idea.
Early versions download stats
V0.3 - 1897 views
V0.4 - 830 views
V0.5 - 1922 views
V0.6 - 1322 views
hi shinichi, be thankfull for that backup app, more backup tools are always welcomed with wp7 devices!!
A little question, how do i manage to have it in english? it installs in chinese by default on my french hd7...
Edit: the attached thumbnails is the solution...wasn't able to find "settings"...
Thanks again!
The app attatched in this thread should be installed in English by default(also with English Title). If not, you can change the language to English through attached thumbnails and restart the app
ok...i had this xap yesterday from another thread, it wasn't re-worked again...looks better with english title :]
Isn't there any way to make this app working without interop unlock?
Necroman_AI said:
Isn't there any way to make this app working without interop unlock?
Click to expand...
Click to collapse
The app will copy the system file "\Application Data\Microsoft\Outlook\BackupVols\CommsBackup.xml", I think we can not do it without interop unlock
Short version: No, not on Mango or later.
Longer version: why would you expect that? Sandboxed apps can only read three locations on the phone: their install location, the Windows folder, and their data location (also writable). They can't read "\Application Data\Microsoft\Outlook\BackupVols\CommsBackup.xml" or any other path outside of their sandboxes.
ID_CAP_INTEROPSERVICES allows an app to call into a high-privilege component, such as a driver. The driver can then do things for the app without the restriction of the sandbox. However, since Mango, homebrew apps with ID_CAP_INTEROPSERVICES can't be installed or run unless you are interop-unlocked.
Thank you very much!
I have shared this with the community... with credit to you and XDA, maybe also drum up some votes to stop the closure of XDA...
Great features.
how to restore it back ?
Nowaynoway said:
how to restore it back ?
Click to expand...
Click to collapse
not allow for moment...
Thankx for this tools man
Installs fine on Samsung Focus Flash and uploads to Skydrive but I get an empty text file once opened from Skydrive
Import failed
As soon as the app launches i get a "Import failed. The specified network resource or device is no longer available"
Im on a Samsung Focus Flash/Omnia W - and im 99% sure its INTEROP-unlocked. Any good way to confirm this?
Thornton
Thornton said:
As soon as the app launches i get a "Import failed. The specified network resource or device is no longer available"
Im on a Samsung Focus Flash/Omnia W - and im 99% sure its INTEROP-unlocked. Any good way to confirm this?
Thornton
Click to expand...
Click to collapse
99% Why ?? ... If you can instal WP7 Root Tools or DiagProvXML, your device is 100% InterOP-Unlocked lol
If not... only Dev-Unlocked !
Working fine on NextGen+ ROM, HD7.
I'm wipping together a small tool to read the exported txt files.
Should be finished soon
LG E900 Import failed
Hi.
On LG E900, interop unlock. Import failed. Can not copy sms from system.
Please advice.
Cheers
JosipoGo said:
Hi.
On LG E900, interop unlock. Import failed. Can not copy sms from system.
Please advice.
Cheers
Click to expand...
Click to collapse
Same here, with LG Optimus 7.
LG E900 (Optimus 7) error:
"Import failed, Can not copy sms from system"........
poloche said:
99% Why ?? ... If you can instal WP7 Root Tools or DiagProvXML, your device is 100% InterOP-Unlocked lol
If not... only Dev-Unlocked !
Click to expand...
Click to collapse
Because WP7 Root tools installs and starts. But can't actually do anything because it don't support 2. gen Samsung devices yet.
JosipoGo said:
Hi.
On LG E900, interop unlock. Import failed. Can not copy sms from system.
Please advice.
Cheers
Click to expand...
Click to collapse
It seems not working on LG phones currently, I'll take a look if there is anything wrong.
Also, if Anyone knows how to provision xml(copy system files) in LG please tell me, thanks
Samsung Focus 1.3 v8107 Interop Unlocked: Works like a Charm! thanks
I used backup, upload to skydrive, evrything forks fine, I can read me txt sms backup on PC
nice job
now I need isostorage tool to get contacts
Hi all -
I'm running Winner's pre-CM9 ROM (now on latest build) with Franco's milestone 2 kernel. The latest builds of the ROM are 4.0.4-based.
I had no problems on the previous versions, which were 4.0.3-based. A few days after upgrading to the 4.0.4-based versions (yes, I did do a full data/cache wipe first) and the 4.0.4 versions of the Google apps, someone tried to send me an MMS message. I have it set to auto-retrieve, but in this case it didn't. Tried to manually download it, and it failed. This has happened since with messages from other people from different carriers. If I try to SEND a pic via MMS, the app (stock Messaging app) just crashes. I can still receive regular text messages, but trying to delete some message threads causes the app to crash; some delete OK.
I'm assuming that I'm having problems with the database (/data/data/com.android.providers.telephony/databases/mmssms.db). I tried flipping the permission bits with Root Explorer, but that didn't change anything. Short of deleting and somehow recreating it (don't know if just "touching" the file will work) and losing all the data - is there anything else I can do to solve this?
Thanks!
Everything else is working fine.
Finally just deleted the database file (actually, just renamed and moved it) and it's working again, though I "lost" about 400K of data...the database file was somehow corrupted.