How to manually backup your SMS/MMS on Android?

How to manually backup your SMS/MMS on Android?

If you are going to change a phone or upgrade your system, it is vital to back up your data. One of the places where we store important data is our SMS/MMS, whether it is sentimental value or practical value, it is useful to back them up.

However, unlike photos, videos or audio files which can be transferred and backed up relatively easily, backing up SMS/MMS messages is more complicated and usually requires the use of a third-party app or service.

[[179684]]

Why do you need manual backup?

Although there are many different apps that can help you back up SMS/MMS, you may consider backing them up yourself for the following reasons:

  1. The app may not work on all devices and Android versions.
  2. The app may upload your backup data to the cloud, which may compromise the security of your content.
  3. By manually backing up, you can fully understand where your data goes and where it goes, reducing the risk of spyware snooping during the backup process.
  4. Manual backup is more time-saving, labor-saving and direct than other methods.

How to manually back up SMS/MMS?

To manually back up your SMS/MMS messages, you need to install an Android tool called adb on your computer.

Now, it's important to know that Android usually stores SMS/MMS messages in a database called mmssms.db.

Because the location of this database may be different on different devices, and other SMS apps will create their own databases, such as GO SMS will create the gommssms.db database, so the first thing you need to do is search for these databases.

Open a command line tool (I used Linux Terminal, you can also use Windows CMD or PowerShell) and run the following command:

NOTE: Below is a series of commands to accomplish this task, followed by an explanation of what each command does.

  1. adb root
  2. adb shell
  3. find / - name   "*mmssms*"  
  4. exit
  5. adb pull /PATH/ TO /mmssms.db /PATH/ TO /DESTINATION/FOLDER

explain

We start by using the adb root command to start adb in root mode - this gives us permission to read system protected files.

adb shell is used to enter the device's shell.

Then, find command is used to search the database. (In my case, I found the database at /data/data/com.android.providers.telephony/databases/mmssms.db)

Suggestion: If your terminal outputs too many irrelevant results, try using find parameters to streamline the results. (You can check the specific parameters on the search engine)

Android SMS/MMS Database

We then use the exit command to exit back to our local system directory.

***, use adb pull to copy the database file to a folder on our computer.

Now, when you want to restore SMS/MMS, whether it is to a new device or a new system version, just search for the specific location of SMS/MMS in the new system again and replace it with our backed up database.

Use adb push to replace it, for example:

  1. adb push ~/Downloads/mmssms.db /data/data/com.android.providers.telephony/databases/mmssms.db

<<:  Android Chronicles (14): Android 2.3 Gingerbread — The first major UI change

>>:  Essential for lazy people: multiple pull-down refresh, pull-up to load more, and configure custom header ad space library

Recommend

Google Pixel C: Probably the best Android tablet yet

Google released its first 2-in-1 tablet computer, ...

Experience sharing: How do we promote APP?

How to sell your product? Good promotion is the k...

With limited resources, how can entrepreneurs make a good App?

[[153097]] Today, the cost of acquiring users for...

The latest practical skills to make money through Tik Tok live streaming!

In fact, it is very simple to judge whether a per...

The origin of the dreaded HIV virus turns out to be like this!

Cherish life and stay away from AIDS!...

This deafening behavior is probably something we use every day!

When riding the subway, put on headphones and wat...

At the critical moment, it can save your life!

Source: Dr. Curious (haoqi238) The cover image of...

Building a data-based operation system from scratch

Before understanding data-driven operations , hav...

Invoca: 85% of customer interactions are handled without a human

Brands are betting on AI and digital communicatio...