Update backup and restore authored by Roland Alton's avatar Roland Alton
### how to backup your Android device
When using a smartphone _without_ Google account, you need to take care of backups yourself. For data like calendar, contacts or pictures this works nice with a nextcloud and is even built into the [e.foundation](https://e.foundation) operating system. However, when it comes to migrating all apps from one smartphone to another, then you either install them from scratch or perform a backup and restore.
To do so, your phone needs to be unlocked and requires a recovery (TWRP or OrangeFox). You root it with `Magisk`, then you install OAndBackupX and select apps (including all data) you would like to save.
1. download Magisk to Laptop https://github.com/topjohnwu/Magisk/
1. rename apk to zip
1. copy via USB to external SD
1. boot into recovery (PowerOn+VolumeUp)
1. install magisk_nnn.zip
1. reboot
1. install Magisk App
1. allow in setting root for apps
1. install OABX (OAndBackupX) from [f-droid app store](https://f-droid.org/)
1. select folder (use e.g. nextcloud Devices/backup or SD card)
1. set password (put that e.g. in your keepass to remember)
1. put android internal apps in blacklist
1. start saving a backup
### restoring
Now we can restore all apps and settings to another device. Just perform the same steps as above so that `OAndBackupX` can start with root privileges. Then configure the storage folder (same nextcloud or SD card folder) and wait for a minute or so. Apply filters and restore.
Titanium backup seems too old and does not work properly.