3

Is there a reliable way to identify all the installed apps that do (not) support adb backup?

I am running a LinageOS and seem to be forced to reinstall to upgrade. I would like to check which apps I need to manually back up or where I need to be prepared to lose data.


I found this script, but it does not properly identify Signal as not supporting backups... https://sourceforge.net/projects/no-adb-backup-app-lister/files/

criztovyl
  • 131
  • 2
  • Is your device rooted? If yes may be an app like OAndBackupX or NeoBackup would be helpful, even if such apps can not backup all apps because cryptographic keys in AndroidKeyStore are protected as far as I know. – Robert Jul 09 '22 at 17:02
  • No, my device is not rooted, but boot loader is unlocked, so it might be possible to root it. Still intrigued how one might identify apps refusing adb backup. – criztovyl Jul 09 '22 at 17:17
  • Note that a backup created with root requires restore with rot. So this would also affect the new installation. – Robert Jul 09 '22 at 17:28
  • Turns out upgrading only requires adb sideload, without erasing any data. – criztovyl Jul 09 '22 at 18:28
  • Should you need it again: my little tool Adebar creates device documentation including listing installed apps (examples here). Apps having the ALLOW_BACKUP flag should allow backups, the others obviously not. As around Android 11/12 this got more granular, I'm not sure if the missing flag would mean no backups allowed at all, or how else the "partly backups" are marked (have neither Android 12 here not the time to investigate). – Izzy Jul 09 '22 at 23:44

0 Answers0