Moving SMS messages to a memory card Android is a task that users face when the internal memory of their smartphone is full and they donโt want to delete important messages. Despite the fact that modern instant messengers have replaced classic SMS, many still store important information in them: confirmation codes, order data, correspondence with banks or support services. Unfortunately Android by default does not provide a direct function for transferring SMS to an SD card, but you can get around this limitation in several ways.
In this article we will look at all the current methods - from built-in tools (available on some firmware) to third-party applications with advanced backup functions. We will pay special attention Compatibility with different versions of Android (from 8.0 Oreo to 14), as well as the nuances of working with encrypted memory cards and devices without an SD slot. If you want to not only free up space, but also ensure reliable storage of messages, read on.
Why Android does not allow you to transfer SMS to an SD card directly
Starting with Android 4.4 KitKat, Google has tightened its security policy by prohibiting applications (including system ones) from writing data to external drives without the userโs explicit permission. This was done to protect against malware, but had the side effect of restricting SMS transfers. Here are the key reasons:
- ๐ Data security: SMS often contain confidential information (2FA codes, bank data), and storing them on removable media increases the risk of leakage.
- ๐ฑ Android architecture: Messages are stored in a secure database
/data/data/com.android.providers.telephony/databases/mmssms.db, access to which limited. - ๐ Synchronization: Many manufacturers (for example, Samsung or Xiaomi) integrate cloud services for backup, making transferring to SD less popular.
It is interesting that on some custom firmware (for example, LineageOS or MIUI up to version 12), the function of exporting SMS to a file on a memory card was available by default. However, in โpureโ Android (for example, on Pixel or Nokia) it is not there. This does not mean that the task is impossible - it just requires additional tools.
โ ๏ธ Attention: On devices with Android 11+ access to the SD card through the file manager may be limited due to the function Scoped Storage. In this case, you will need to use applications with support MANAGE_EXTERNAL_STORAGE or root access.
Method 1: Built-in SMS export function (for custom firmwares)
Some manufacturers leave in their shells the ability to export messages to a file. For example, on smartphones Samsung (up to One UI 5.0) or Huawei (up to EMUI 10), you can save SMS in the format .xml or .smb directly to a memory card. Here's how to do it:
- Open the application "Messages" (standard, not third-party!).
- Tap on the three dots (โฎ) in the upper right corner and select
Settings โ Advanced โ Export messages(item names may vary). - Specify a date range or select specific conversations.
- Select "SD card" (if the option is available) or
"Device memory"as the save location, and then manually move the file through the file manager.
The finished file can later be imported back or opened on a PC using apps like SMS Backup & Restore. Please note that exported messages are not deleted from the device - they are simply duplicated.
| Firmware | Supports export? | File format | Notes |
|---|---|---|---|
| Samsung One UI (up to 5.0) | Yes | .smb |
The file is saved in /SDCard/SmsBackup |
| Xiaomi MIUI (up to 12.5) | Yes | .xml |
Requires confirmation of recording rights |
| Huawei EMUI (up to 10.1) | Yes | .backup |
Only for messages, not MMS |
| Pure Android (Pixel, Nokia) | No | โ | Requires third-party applications |
โ ๏ธ Attention: On devices with Android 10+ built-in export can only save files to internal memory. To transfer them to SD, use a file manager (for example Files by Google) and manually copy the file to a folder on the card.
Method 2: SMS backup applications
If there is no built-in function, third-party utilities will come to the rescue. The best of them not only save messages to a memory card, but also allow you to restore them, filter them by date or contact, and encrypt backups. We tested 5 popular applications and selected the top 3:
1. SMS Backup & Restore (SyncTech Pty Ltd)
The most reliable open source solution. Supports export to XMLwhich can be read on any device, as well as downloading to Google Drive or Dropbox. Features: Export to XML schedule.
- ๐ Save to SD card in
.xmlor.ab(compressed archive). - ๐ Automatic scheduled backup.
- ๐ Encryption of backup copies with a password.
- ๐ฑ Works on Android 5.0โ14 without root.
2. Super Backup & Restore (MobileIdea Studio)
Universal application for backing up not only SMS, but also call logs, contacts, applications. Advantages:
- ๐พ Saving to an SD card in
.bakformat (can be converted to.xml). - โ๏ธ Integration with Google Disk i Gmail.
- ๐ View backups directly in the application.
3. SMS Backup+ (Jan Berkel)
Minimalist application with an emphasis on privacy. Suitable for users who want to save SMS in Gmail (each message becomes a letter with a tag SMSAlso supports export). to SD format .json.
To save SMS to a memory card using SMS Backup & Restore, follow the instructions:
โ๏ธ Step-by-step export of SMS to SD card
After export, the file can be found along the path /SDCard/Backup/SMS/ (the folder may differ). To restore, use the option Restore in the same application.
If the application does not see the SD card, check the permissions in Settings โ Applications โ SMS Backup & Restore โ Rights โ Memory and enable access to all files.
Method 3: Transfer SMS to SD via ADB (for advanced users)
If you have access to USB debugging (USB Debugging, you can copy the SMS database to the memory card using commands ADB. This method does not require root access, but will require a computer and minimal knowledge of working with the command line.
Here are step-by-step guide:
- Enable
USB Debuggingin the developer settings (Settings โ About phone โ Build number(tap 7 times) โFor developers โ USB debugging). - Connect your phone to the PC and confirm access to debugging.
- Open the command line (Windows) or terminal (macOS/Linux) and enter:
adb shellcp /data/data/com.android.providers.telephony/databases/mmssms.db /sdcard/Download/sms_backup.db
exit - Copy the file to your PC for backup:
adb pull /sdcard/Download/sms_backup.db C:\Backup\
File mmssms.db contains all your SMS and MMS in format SQLite. To read it, use apps like DB Browser for SQLite or online converters to .xml.
โ ๏ธ Attention: The Android 11+ path to the database may differ, and access to /data/data/ is limited even through ADB. In this case, a temporary one will be required. root access or using alternative methods.
What to do if ADB does not see the device?
Make sure that the drivers for your smartphone are installed (download them from the manufacturerโs website). Try using a different USB cable (preferably the original one). Enable the option in the developer settings USB debugging (security settings) and reboot the device.
Method 4: Manual copy through a file manager (with root access)
If your smartphone has root access, you can manually copy the SMS database to the SD card. This method gives complete control over the process, but requires caution - incorrect actions can lead to data loss.
Instructions:
- Install a file manager with root support (for example, Root Explorer or FX File Explorer).
- Go to the path:
/data/data/com.android.providers.telephony/databases/Here you will find files
mmssms.db(SMS and MMS) andtelephony.db(call log). - Copy
mmssms.dbto any folder on the SD card (for example,/sdcard/Backup/). - To restore, return the file back and restart the device.
The advantage of this method is full control over the backup. For example, you can edit the database in SQLite Editor, deleting unnecessary messages before restoring. However, there are also risks:
- ๐จ Damage to the database file can lead to the loss of all messages.
- ๐ง On some firmware (for example, MIUI) files are protected by additional permissions.
Root access allows you to transfer SMS without restrictions, but requires care. Always create a backup copy of the database before editing!
Method 5: Transfer SMS to SD via the cloud and then save
If direct transfer to a memory card is not possible (for example, due to restrictions Scoped Storage in Android 11+), you can use cloud services as an intermediate link. The algorithm is simple:
- Using the application (for example, SMS Backup & Restore), download the backup copy to Google Drive or Dropbox.
- On your PC, download the file from the cloud.
- Connect your smartphone to the computer in mode
File transferand copy the backup to the SD card manually.
This method is universal and works on any version of Android, but requires a cloud account and access to a PC. Advantage - double redundancy: a copy remains both in the cloud and on the memory card.
To automate the process, you can use Tasker or MacroDroidby setting up a task for regular SMS export to the cloud with subsequent notification about the need to transfer to SD.
Frequent problems and their solutions
When transferring SMS to a memory card, users encounter common errors. We have collected the most common ones and ways to solve them:
| Problem | Cause | Solution |
|---|---|---|
| The application does not see the SD card | No write permissions | In the application settings, enable Manage all files (Android 11+) |
| Exported SMS are not restored | Mismatch of Android or firmware versions | Use a universal format .xml instead .ab |
File mmssms.db damaged |
Incorrect copying or process interruption | Restore the backup from the cloud or repeat the export |
| SMS take up space despite the transfer | Messages are not deleted from the internal memory | After checking the backup, clear the SMS manually or through the app |
If none of the methods worked, check:
- ๐ Is the SD card formatted in
FAT32orexFAT(NTFS is not supported most smartphones). - ๐ Is there enough space on the card (an SMS backup copy can weigh up to 100 MB with a large number of messages).
- ๐ Are there restrictions on recording on the firmware side (for example, on Samsung Knox).
FAQ: Answers to popular questions
Is it possible to transfer SMS to an SD card without root and a computer?
Yes, using applications like SMS Backup & Restore or Super Backup. They allow you to save messages directly to a memory card without additional tools. The main thing is to give the application permissions to access the memory and SD card.
Why do photos in MMS disappear after restoring an SMS from a backup?
This happens because MMS are stored separately from the message text. When exporting, some applications save only text data. To transfer the entire MMS, use ADB or root access to copy the folder /data/data/com.android.providers.telephony/app_parts/.
How to transfer SMS to SD card if the smartphone does not support it (for example, Google Pixel)?
In this case, use the cloud service:
- Export SMS to Google Drive via SMS Backup & Restore.
- Connect an OTG drive (flash drive) to the phone and download a backup copy to it.
- Or transfer the file to another smartphone with SD support and save it to the card.
Is it possible to automatically transfer new SMS to an SD card?
Yes, using Tasker or Automate you can set up a task that will run SMS backup on a schedule (for example, once a week) and save the file to SD. To do this:
- Create a task with an action
Execute shell(Shell). - Specify the export command (for example, for SMS Backup & Restore this
am start -n com.riteshsahu.SMSBackupRestore/.activities.ScheduledBackupActivity). - Add a time or event condition (for example, connecting to Wi-Fi).
Is it safe to store SMS on SD card?
Storing SMS on an SD card has risks:
- ๐ The memory card can be lost or stolen (data is not encrypted by default).
- ๐ฅ If the card is formatted or damaged, messages will be lost.
- ๐ต On some devices, the SD card is disabled when connected to a PC in
Charging mode.
Recommendations:
- Use applications that encrypt backup copies (for example, SMS Backup & Restore s password).
- Store a duplicate copy in the cloud or on your PC.
- Periodically check the integrity of the files on the card.