Android Backup

With TWRP: Nandroid Backup

https://www.getdroidtips.com/create-restore-nandroid-backup-any-twrp/

Boot device to recovery:

adb reboot recovery

TWRP -> Backup -> Select all relevant partitions -> Backup

With Root

Neo Backup

Neo Backup (formerly OAndBackupX) is a fork of the famous OAndBackup with the aim to bring OAndBackup to 202X and part of Neo Applications suite. For now the app is already fully rewritten, coming up would be making it robust and adding some lengthily planned features which could ease the backup/restore workflow with any device. Therefore all types of contribution are always welcome.

https://github.com/NeoApplications/Neo-Backup

https://f-droid.org/en/packages/com.machiav3lli.backup/

Swift Backup

Swift Backup can backup your important data in minutes! Its quick, efficient and boasts an elegant design for a refreshing backup experience.

Swift Backup is a one-stop destination to backup your

Onย Rooted devicesย Swift Backup can also backup & restore

https://swiftapps.org/

Without Root

Adebar

Adebar stands for Android Device Backup and Report. It is mainly based on Bash and Adb. It reportedly works on Linux, Mac and Windows (Cygwin).

https://codeberg.org/izzy/Adebar

Seedvault

Integrated in AOSP. It uses the same internal APIs as adb backup which is deprecated and thus needs a replacement.

https://github.com/seedvault-app/seedvault

How to sync via Syncthing: Syncthing as a backup location ยท Issue #176 ยท seedvault-app/seedvault ยท GitHub

adb

Apps

https://gist.github.com/AnatomicJC/e773dd55ae60ab0b2d6dd2351eb977c1

Backup apks:

#!/usr/bin/zsh

#set -x
cd /c/Tools/adb_platform_tools/
alias adb=adb.exe

for APP in $(adb shell pm list packages -3 -f)
do
  adb pull $(  echo ${APP} | sed "s/^package://" | sed "s/base.apk=/base.apk /" | sed 's/\r//g').apk
done

Backup data:

#!/usr/bin/zsh

#set -x
cd /c/Tools/adb_platform_tools/
alias adb=adb.exe

for APP in $(adb shell pm list packages -3)
do
  APP=$(  echo ${APP} | sed "s/^package://" | sed "s/base.apk=/base.apk /" | sed 's/\r//g')
  adb backup -f ${APP}.backup ${APP}
done

Restore:

#!/usr/bin/zsh
alias adb=adb.exe

for APP in $(find . -type f -name '*.apk')
do
  adb install $APP
done

Backup all

Backup:

adb backup -all

Restore:

adb restore backup.ab

Helium Backup

Helium Desktop Installer and Android App ยท koush/support-wiki Wiki ยท GitHub

How to backup and restore app data with or without root | NextPit