I am in the process of changing a device to a different ROM. This of course requires wiping system/data/cache and thus I must restore apps from a backup somehow.
I am using "adb backup", and found that a few apps were empty, including k-9. That's because android:allowBackup is set to false. I realize this may be due to paranoia, but it seems that in general apps have private data and backups need to be protected. I searched around and didn't find a rationale in the code or the commit message (below), or in the wiki. Related notes, not really on point: I realize there is export settings, so I can do that, change ROM, install, and import settings. That's manual compared to restoring my apps en masse. I've built from source, so I can just change this line and update. TWRP's backup (from recovery) does work, unsurprisingly, but you can't restore /data to a different ROM, in general. So while it's good to do an exact restore from a full backup, it isn't useful for migration. syncthing and OsmAnd are also like this. Oddly, so is firefox. commit 390b42412f7a6722b9a9fe2a4c6598bb17f4757c Author: cketti <[email protected]> Date: Sun Jan 24 05:42:44 2016 +0100 Set allowBackup attribute in the manifest -- You received this message because you are subscribed to the Google Groups "K-9 Mail" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
