Remove All Ads from XDA

[Tutorial] How to restore SMS and Contacts from old CWM backup.

68 posts
Thanks Meter: 24
By amit4patil, Member on 1st March 2014, 06:23 AM
Post Reply Subscribe to Thread Email Thread
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 and xda.


1. Winrar.
2. CWM backup
3. Windows
4. Brain

Here's the process:

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

1. Install Winrar on your system
2. Open CWM backup folder
3. Now extract data.ext4 on your system
4. The contents of the data.img will be extracted to this folder. Wait for extraction to complete
5. Browse to data\data\\database s in the extracted folders
6. copy mmssms.db, mmssms.db-journal, to sdcard
7. use root explorer to copy these three files to \data\data\\databas es

To restore contacts/call log from a CWM backup:

Repeat above process for \data\\databases
contacts2.db, contacts2.db-journal

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.

NOTE : You can also use Nandroid Browser , Nandroid Manager
The Following 6 Users Say Thank You to amit4patil For This Useful Post: [ View ] Gift amit4patil Ad-Free
9th April 2014, 05:30 PM |#2  
Junior Member
Flag India
Thanks Meter: 27
Sorry to say.....not worked for me....
30th April 2014, 07:03 PM |#3  
Junior Member
Thanks Meter: 1
good work
16th February 2015, 06:21 PM |#4  
Junior Member
Thanks Meter: 0
Thumbs up
Thank you, it works on my Samsung Galaxy S2 Gt-I9100,
you are my Hero.
11th March 2015, 11:13 AM |#5  
Junior Member
Thanks Meter: 2
I had no luck with this as the app versions seemed to differ. But there's this awesome python tool on github -- - t413 - SMS-Tools -- which let's you export the db file's content into an xml file which can then be restored with "SMS Backup & Restore". That worked!
The Following User Says Thank You to df_1975 For This Useful Post: [ View ] Gift df_1975 Ad-Free
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes