Data loss on a smartphone is one of the most unpleasant situations for user. Photos, contacts, messages and application settings can disappear overnight due to a system crash, unsuccessful update or physical breakdown of the device. Unlike standard backup methods via Google Account or third-party applications, backup via recovery allows you to save a full copy data sections, including system files that are inaccessible in the usual way.
This The method is especially relevant for owners of devices with root access or custom firmware, where standard backup tools often do not work correctly. However, the process requires caution: incorrect actions in recovery mode can lead to complete data loss or "bricking" the device. In this article, we will look at how to properly prepare a smartphone, choose the appropriate type of recovery, create a backup and restore it if necessary - taking into account all the nuances and potential risks.
What is recovery and why backup through it more reliable
Mode recovery (recovery) is a separate Android boot environment that runs independently of the underlying operating system. It allows you to perform critical operations: resetting to factory settings, installing firmware, or - what interests us - creating backup copies. Unlike standard recovery from the manufacturer (for example, Stock Recovery on Samsung or Xiaomi), custom recovery (TWRP, OrangeFox, CWM) they provide advanced functions, including a full backup.
Advantages of backup via recovery:
- ๐ฑ Full copy of the partition: not only user data is saved, but also system files, application settings, cache data.
- ๐ง Independence from OS: a backup is created even if Android does not load (for example, after an unsuccessful update).
- ๐ก๏ธ Failure protection: the backup copy is stored in a separate partition or on an external memory card, which prevents its loss if the main system is damaged.
- โก Fast recovery: if necessary, you can roll back the device to the state at the time the backup was created in 10-15 minutes.
However, there are limitations. For example, backup via recovery does not save data from the section /sdcard (internal memory), if you did not enable it manually. Also, some custom recovery may not work correctly with encrypted partitions on new versions of Android (starting from Android 10).
โ ๏ธ Attention: If your device uses dynamic partitions (for example Pixel 3/4, OnePlus 7/8), standard backup methods via recovery may not work. In this case, you will need specialized software like Fastboot Enhanced.
Which recovery to choose: TWRP, OrangeFox or CWM
Not only the functionality of the backup, but also the compatibility with your device depends on the type of recovery installed. option:
| Recovery | Supported devices | Advantages | Disadvantages |
|---|---|---|---|
| TWRP (TeamWin Recovery) | Most devices (from Samsung Galaxy S5 to Xiaomi Redmi Note 12) |
|
There may be problems with some Mediatekdevices |
| OrangeFox | Devices on Qualcomm i Mediatek (especially popular for Xiaomi) |
|
Less documentation than TWRP |
| CWM (ClockworkMod) | Old devices (up to Android 7.0) |
|
No touch control, limited support for new firmware |
For most modern devices (2018 and newer), the optimal choice would be TWRP or OrangeFoxBefore installation, be sure to check compatibility with your model on official resources:
- ๐ For TWRP: website
twrp.me(select device model in the list). - ๐ For OrangeFox: group in Telegram or forum XDA-Developers.
โ ๏ธ Attention: Installing unofficial recovery may lead to operation KNOX (on Samsung) or void the warranty. On some devices (for example, Huawei s Kirin 990) this may block the bootloader.
Preparing the device for creating a backup
Before you start making a backup, you need to complete several critical steps. Neglecting them can lead to incomplete backup or even data corruption.
1. Checking the battery charge
Make sure the battery charge level is at least 70%. The process of creating a backup can take from 10 to 40 minutes, depending on the amount of data and the speed of the drive. If the device turns off during operation, it may cause damage to the backup or file system.
2. Unlocking the bootloader (if necessary)
On most modern devices, installing a custom recovery requires an unlocked bootloader (bootloader). The unlocking procedure varies depending on the manufacturer:
- ๐ Xiaomi: use the utility
Mi Unlock Tool(requires account linking and waiting 7 days). - ๐ Samsung: enable
OEM UnlockinSettings โ Developer options. - ๐ Google Pixel: command
fastboot flashing unlock.
3. Connecting an external drive (optional)
If the internal memory is not enough (or you want to save the backup on a separate drive), connect microSD card or OTG flash drive. Make sure that the drive is formatted as FAT32 or exFAT โsome recoveries do not support NTFS.
4. Disabling encryption (for older devices)
On devices with Android 9.0 and older, encryption of the data section (/data) may prevent the creation of a backup. If your recovery does not support working with encrypted partitions, you will have to temporarily disable encryption via Settings โ Security โ Encryption (this will lead to data reset!).
Charge the battery to 70%+
Unlock the bootloader (if required)
Install a compatible recovery (TWRP/OrangeFox)
Connect an external drive (optional)
Disable screen lock (PIN/pattern)-->
Step-by-step guide: how to make a backup via TWRP
Let's look at the process using the example of TWRP the most popular custom recovery. The instructions are suitable for most devices, but the interface may differ slightly.
Step 1: Boot into recovery mode
Turn off the device. To enter recovery, use a combination of buttons (depending on the model):
- ๐ฑ Samsung:
Power + Volume Up + Bixby(hold for 10 seconds). - ๐ฑ Xiaomi/Redmi:
Power + Volume Up. - ๐ฑ Google Pixel:
Power + Volume Down, then selectRecovery Mode.
If the device vibrates and the logo appears, but the recovery does not start, try again or check the installation is correct. TWRP.
Step 2: Selecting a partition for backup
In the main menu TWRP select item Backup. Check the following sections (minimum):
- ๐
Bootโ boot partition (necessary for system recovery). - ๐
Systemโ Android system files. - ๐
Dataโ user data and application settings. - ๐
EFS(for Samsung) - contains IMEI and serial numbers.
Optionally you can add Cache i Vendor, but this will increase the size of the backup.
Step 3: Configuring backup parameters
Click on the button Select Storage and select where to save the backup:
- ๐พ
Internal Storageโ internal memory (not recommended if you plan to reset). - ๐พ
Micro SDCardโ external memory card. - ๐พ
USB-OTGโ flash drive via adapter.
In the field Backup Name enter the name of the backup (for example, Full_Backup_2026). This will help identify it later. It is also recommended to enable Compression (compression) to reduce the file size.
Step 4: Start the process and check
Swipe right to confirm (Swipe to Back Up). The process can take from 5 to 30 minutes depending on the amount of data. Upon completion, check:
- ๐ No errors in the log (item
Login TWRP). - ๐ Availability of backup files in the selected storage (folder
TWRP/BACKUPS).
If the backup is interrupted at the partition backup stage Data, try disabling encryption or use an alternative recovery (for example, OrangeFox for devices Xiaomi).
Restoring data from a backup
If you need to return the device to the state at the time the backup was created (for example, after an unsuccessful update or reset), follow these instructions. Important: recovery will delete all current data on selected partitions!
Step 1: Go to recovery
Boot the device into TWRP (button combination the same as for backup). If Android does not boot, use fastboot:
fastboot boot twrp.img
This will temporarily download the recovery without installing it in the device memory.
Step 2: Selecting a backup file
In the main menu, select Restore. A list of available ones will open. backups. If the files are stored on an external drive, click Select Storage and specify the desired source.
Step 3: Setting up recovery
Tick the sections that need to be restored Be sure to select:
- ๐
Boot- otherwise the device will not work. will boot. - ๐
Systemโ to restore the OS. - ๐
Dataโ if you need to return user data.
If you are restoring a backup to another device (even the same model), do not restore partitions Modem and EFS โthis may lead to network loss!
Step 4: Launch and check
Swipe to confirm (Swipe to Restore). Once the process is complete, reboot your device normally. The first boot may take up to 10 minutes - this is normal.
โ ๏ธ Attention: If after recovery the device boots into bootloop (cyclic reboot), re-enter recovery and perform Wipe โ Format Data (this will delete all data, but may solve the problem).
Recovery from backup via recovery is the only way to bring the device back to life if Android does not boot and standard methods (for example, adb sideload) do not work.
Common errors and their solutions
Even when strictly following the instructions, users often encounter problems. Let's look at typical errors and ways to eliminate them.
| Error | Cause | Solution |
|---|---|---|
E: Unable to mount /data |
Partition is encrypted or damaged |
|
Error 255 when restoring |
Mismatch of Android versions or device model | Make sure that the backup is created for the same firmware and model. |
| Backup takes 0 bytes | Insufficient storage space or file system error | Check the free space and format the memory card in FAT32. |
| The device does not boot after recovery | Damaged Bootpartition or incompatible firmware |
Restore only Boot or reflash the device. |
If none of the solutions helped, try:
- ๐ง Download another version of recovery (for example, instead of TWRP 3.7.0 use 3.6.2).
- ๐ง Create a backup on another device of the same model and transfer it to yours.
- ๐ง Seek help on the forum XDA-Developers or 4PDA, indicating the device model and the exact error.
What to do if the recovery does not see the external memory card?
If TWRP does not display Micro SDCard in the list of storages:
- Reboot the device and check if the card is recognized in Android.
- Format the card in
FAT32via a PC (use the utility SD Formatter). - Try another adapter or memory card (some recovery does not support
exFAT). - If the card is recognized, but the backup is not saved, check it for errors via
chkdskin Windows.
Alternative backup methods for devices without recovery
If it is impossible to install a custom recovery on your device (for example, due to a locked bootloader or lack of support), consider alternative backup methods.
1. Backup via ADB (without root)
Tool Android Debug Bridge (ADB) allows you to backup most data without superuser rights. Connect the device to the PC and run:
adb backup -apk -obb -shared -all -f backup.ab
This command will save:
- ๐ฆ Installed applications (
-apk). - ๐ฎ Game data (
-obb). - ๐ Common files (
-shared).
Disadvantage: system settings and data of some applications are not saved (for example, WhatsApp or Telegram).
2. Titanium backup (requires root)
Application Titanium Backup (or its equivalent Swift Backup) allows you to create complete backups of applications and their data. Advantages:
- ๐ Saving data WhatsApp, Viber, games.
- ๐ Possibility of selective recovery.
- ๐ Automatic backup on a schedule.
However, for work are required root access, and on new devices (with Android 11+) there may be problems with access to some sections.
3. Cloud services (for user data)
If you need to save only personal files (photos, contacts, messages), use:
- โ๏ธ Google Photos โ for photos and videos.
- โ๏ธ Google Contacts โ for the phone book.
- โ๏ธ SMS Backup & Restore โfor SMS and call history.
These methods will not replace a full backup through recovery, but will help save the most important things.
FAQ: Frequently asked questions about backup through recovery
Is it possible to make a backup using standard recovery (for example, on Samsung or Xiaomi)?
No, standard recovery (Stock Recovery) does not support creating full backups. It is intended only for resetting settings and installing official updates. To perform a backup, you need to install a custom recovery (TWRP, OrangeFox).
How much space does a backup via TWRP take?
The size of the backup depends on the selected partitions and the amount of data:
Boot: ~10โ50 MB.System: ~1โ3 GB (depending on the firmware).Data: from 500 MB to 20+ GB (depending on the number of applications and media files).
With compression enabled, the size is reduced by 20โ40%. For example, a full backup Xiaomi Redmi Note 10 Pro with 64 GB of data. ~12โ15 GB.
Is it possible to restore a backup to another device?
Technically it is possible, but highly not recommended. Restoring a backup to another device (even the same model) can lead to:
- ๐ซ Loss of IMEI and network functions (if restored
EFSorModem). - ๐ซ Bootloop or boot errors due to differences in hardware.
- ๐ซ Conflicts with drivers (for example, cameras or sensors).
Exception: if both devices are identical (same model, firmware and Android version), you can try to restore only Data (without Boot and System).
How often should you make a backup through recovery?
The frequency depends on the activity of using the device:
- ๐ Once a month โ if you rarely install new applications or change settings.
- ๐ Before each firmware update โrequired!
- ๐ Once a week โif you actively work with important data (for example, photographs for work).
It is also recommended to create a backup before:
- ๐ง Receiving root access.
- ๐ง Installing a custom kernel or mods.
- ๐ง Selling/transferring the device (so that later you can restore your data).
What to do if the backup via recovery is interrupted?
If the backup process was interrupted (for example, due to low battery),:
- Check the integrity of the created files in the folder
TWRP/BACKUPS. If the files are zero in size or missing, the backup is unsuccessful. - Delete the damaged backup and repeat. procedure.
- If the recovery gives an error when you repeat the backup, format the partition
/dataand try again (the data will be deleted!).
If the device does not boot after an interrupted backup, try:
- ๐ Restore only
Boot-partition from another backup. - ๐ Reflash the device via
fastboot.