Android backup sms mms

How To Manually Backup Your SMS / MMS Messages On Android?

Updated Feb 3, 2017

If you’re switching a device or upgrading your system, making a backup of your data might be of crucial importance.

One of the places where our important data may lie, is in our SMS / MMS messages, be it of sentimental or utilizable value, backing it up might prove quite useful.

However, unlike our photos, videos or song files which can be transferred and backed up with relative ease, backing our SMS / MMS usually proves to be a bit more complicated task that commonly require involving a third party-app or service.

Why Do It Manually?

Although there currently exist quite a bit of different apps that might take care of backing SMS and MMS for you, you may want to consider doing it manually for the following reasons:

  1. Apps may not work on different devices or different Android versions.
  2. Apps may backup your data by uploading it to the Internet cloud therefore requiring you to jeopardize the safety of your content.
  3. By backing up manually, you have complete control over where your data goes and what it goes through, thus limiting the risk of spyware in the process.
  4. Doing it manually can be overall less time consuming, easier and more straightforward than any other way.

How To Backup SMS / MMS Manually?

To backup your SMS / MMS messages manually you’ll need to have an Android tool called adb installed on your computer.

Now, the important thing to know regarding SMS / MMS is that Android stores them in a database commonly named mmssms.db.

Since the location of that database may differ between one device to another and also because other SMS apps can create databases of their own, such as, gommssms.db created by GO SMS app, the first thing you’d want to do is to search for these databases.

So, open up your CLI tool (I use Linux Terminal, you may use Windows CMD or PowerShell) and issue the following commands:

Note: below is a series of commands needed for the task and later is the explanation of what each command does.

Edit: as mentioned by a commenter, it’s necessary to enable USB debugging mode via “Developer options” settings of your device in order to issue the following commands successfully.

adb root
adb shell

find / -name “*mmssms*”




We start with adb root command in order to start adb in root mode – so that we’ll have permissions to reach system protected files as well.

“adb shell” is used to get inside the device shell.

Next, the “find” command is used to search for the databases. (in my case it’s found in: /data/data/

* Tip: if your Terminal prints too many irrelevant results, try refining your “find” parameters (google it).

Android SMS&MMS databases

Android SMS&MMS databases

Then we use exit command in order to exit back to our local system directory.

Lastly, adb pull is used to copy the database files into a folder on our computer.


Now, once you’re ready to restore your SMS / MMS messages, whether it’s on a new device or a new system version, simply search again for the location of mmssms on the new system and replace it with the one you’ve backed.

Use adb push to replace it, e.g: adb push ~/Downloads/mmssms.db /data/data/


Add your comment here...
Nope 15 days ago
I assume this only works on rooted phones?
Liron 14 days ago Nope
Probably, though I hear some devices are being rooted by the manufacturers from the beginning, so you'll never know until you try...
Sherpa 26 days ago
It might have been wise to inform that you needed to enable USB debugging on your device before everything..
Liron 26 days ago Sherpa
Since always on on my part, it's a detail I tend to unintentionally overlook.
Sorry for the extra trouble you may have gone through.