FORUMS

Extract/Restore SMS/MMS, Contacts/Call Log, and Launcher Config. From Nandroid Backup

2 posts
Thanks Meter: 62
 
By bQfQZDEJznX5Y8XiFdhy, Junior Member on 30th November 2011, 09:58 PM
Post Reply Email Thread
7th March 2012, 02:15 PM |#11  
Senior Member
Flag Austin
Thanks Meter: 30
 
More
I did this yesterday using Titanium Backup for my SMS/MMS

You need to go into Preferences and check the *Migrate system data [Experimental] option

Then you go to More - Extract from nandroid backup

There it is listed as Dialer Storage

You can probably do the Phone log this way to but I did look for it.

I would recommend you do a current backup of [SMS/MMS/APN] Dialer Storage before you attempt this.
The Following 7 Users Say Thank You to RichAP For This Useful Post: [ View ] Gift RichAP Ad-Free
10th March 2012, 10:36 PM |#12  
Lafenear's Avatar
Senior Member
Flag Stuttgart
Thanks Meter: 36
 
More
Does this restore the whole smsmms database like with the sms.db file on the iPhone? I hate it when MyBackupPro has to restore my texts and the dates are all messed up and i've lost all my MMS'. And it restores them one by one, instead of just putting it in there all at once. Took me like an hour to restore everything.
11th March 2012, 04:54 PM |#14  
I'd much rather save myself from all this tedious long-winded work and just use apk extractor to restore everything.
11th March 2012, 07:18 PM |#15  
Lafenear's Avatar
Senior Member
Flag Stuttgart
Thanks Meter: 36
 
More
Quote:
Originally Posted by HAKA

I have an app for you.

Thanks! Wish i've learned about this sooner. Would have saved me a lot of time.
2nd June 2012, 10:07 AM |#16  
Member
Thanks Meter: 4
 
More
This method doesn't work for me :/
I followed it exactly step by step but when I'm done and go to the Messages app, it's empty.
The same happens if I try it with appextractor or titanium backup.

I made the nandroid backup on CM7, and want to restore the messages to CM9+AOKP on ZTE Blade.
17th June 2012, 08:02 PM |#17  
Junior Member
Thanks Meter: 0
 
More
Thumbs up Thanks :)
THANK YOU !!!!
That was so helpful. I was migrating from GB to Nyx ICS RC5.0 yesterday and the application I used (super backup) failed to restore the Contacts.
Another app I used did that but missed allot of details (and also was damn slow).
I used your technique and it did the trick!!!
All data is there the same as I left it on CM7.2

You're the king

Thanks

[EDIT] just a correction Super Backup was able to restore the contacts but with missing details
It failed to restore the SMS
The other APP (forgot the name) restored the SMS (after ages) but contact associated with the SMS were completely messed up.
29th June 2012, 08:46 PM |#18  
Junior Member
Flag St. Petersburg, FL
Thanks Meter: 3
 
More
perfect
Quote:
Originally Posted by RichAP

I did this yesterday using Titanium Backup for my SMS/MMS

You need to go into Preferences and check the *Migrate system data [Experimental] option

Then you go to More - Extract from nandroid backup

There it is listed as Dialer Storage

You can probably do the Phone log this way to but I did look for it.

I would recommend you do a current backup of [SMS/MMS/APN] Dialer Storage before you attempt this.

This worked perfectly for me, got all my sms messages back from my nandroid backup.
Thanks!
12th August 2012, 06:55 PM |#19  
Junior Member
Flag Las Pinas City
Thanks Meter: 0
 
More
Thumbs up thanks!
Quote:
Originally Posted by RichAP

I did this yesterday using Titanium Backup for my SMS/MMS

You need to go into Preferences and check the *Migrate system data [Experimental] option

Then you go to More - Extract from nandroid backup

There it is listed as Dialer Storage

You can probably do the Phone log this way to but I did look for it.

I would recommend you do a current backup of [SMS/MMS/APN] Dialer Storage before you attempt this.

I did this today when I had to reformat my phone because of a bootloop. I'm using an HTC Desire on MildWild. Worked perfectly for me and was able to restore my messages. Loads of thanks to you!
13th August 2012, 05:41 PM |#20  
hummer010's Avatar
Member
Flag Vermilion
Thanks Meter: 29
 
More
Thank you! This worked perfectly for me!
19th August 2012, 07:45 PM |#21  
maqninou's Avatar
Senior Member
Flag Algiers
Thanks Meter: 19
 
More
Quote:
Originally Posted by bQfQZDEJznX5Y8XiFdhy

I was using Nexus S i9020T, CM7 nightly (a few weeks old) and for some reason I wake up this morning and couldn't get past the CM7 "blue circle" screen booting. I had about a month old backup but I didn't want to lose any recent data so I made a Nandroid backup.

Normally, to restore SMS or MMS from an old backup, one can just restore the nandroid backup, use a third party SMS backup program to backup the data to sdcard or gmail, restore or install new rom, then restore the SMS from the third party backup software.

However, in my case, I had a nandroid with data on it that I wanted to keep but that wouldn't boot.

So I did some searching and others have had this problem before but I figured I'd put it here for others that may have the same problem. I am not taking credit for this I just found various pieces of info around the web.

The solution is to use a utility called unyaffs. Unyaffs will need cygwin.dll. Yaffs is the file system that CWM recovery nandroid backups are stored in. Windows cannot read or mount this file system AFAIK.

Instead of compiling unyaffs for windows and installing all of cygwin, just use the attached pre-compiled unyaffs.exe and cygwin.dll.

Here's the process:

To restore SMS/MMS from a nandroid backup using MS Windows:

  1. place unyaffs.exe + cygwin.dll + data.img in a folder
  2. open command prompt in this directory (shift+right click -> open comand window here)
  3. type: unyaffs data.img
  4. the contents of the data.img will be extracted to this folder. wait for extraction to complete
  5. browse to \data\com.android.providers.telephony\databases in the extracted folders
  6. copy mmssms.db, mmssms.db-shm, mmssms.db-wal to sdcard
  7. use root explorer to copy these three files to \data\data\com.android.providers.telephony\databas es

To restore contacts/call log from a nandroid backup:
  • repeat above process for \data\com.android.providers.contacts\databases

To restore launcher configuration (only for stock Gingerbread launcher):
  • repeat above process for \data\com.android.launcher\databases

Note: Be aware that replacing the existing files with those extracted from the backup will remove the existing data so if you're not 100% sure what you're doing, change the names to mmssms_OLD.db or otherwise back them up before pasting the files from the backup.

Edit: Just thought I'd add, I also came across an app called AppExtractor but, despite the good reviews, the SMS/MMS restore didn't work for me.

Many many thanks!
Post Reply Subscribe to Thread

Tags
backup, call log, nandroid, sms, yaffs

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes