Restore backup of smartphone with TWRP
Jump to navigation
Jump to search
Summary
If you have previously done a backup of a smartphone using the recovery TWRP, this documentation shows you how to restore it.
Requirements
- Operating system: Ubuntu 18.04 bionic amd64
- Packages: adb
In the documentation Unlock_Nexus_5X the creation of a usable backup is described.
Description
Upload backup
The downloaded backup should look like this
$ tree BACKUPS BACKUPS └── ZY223WRD2C └── 2016-07-09--03-01-28 ├── boot.emmc.win ├── boot.emmc.win.sha2 ├── data.f2fs.win ├── data.f2fs.win.sha2 ├── data.info ├── recovery.log ├── system.ext4.win000 ├── system.ext4.win000.sha2 ├── system.ext4.win001 ├── system.ext4.win001.sha2 └── system.info
Upload it to the smartphone
$ adb push BACKUPS /data/media/TWRP/BACKUPS/ BACKUPS/: 11 files pushed. 5.5 MB/s (2047191826 bytes in 355.858s)
Restore
Boot the smartphone into recovery and select Restore. It should show the folder with the date of the backup and beneath it a list of partitions. Select all of them and start the restore
Used Hardware
- Motorola_Moto_G4_Play_Smartphone_16_GB,_Android,_Dual-SIM,_black
- LG_Nexus_5X_Google_Smartphone_32_GB,_Android_6.0_Marshmallow,_Carbon
Courses
- -
References
- -