Around the time of the FP3 release I stumbled over a Tweet by someone working on a convenient backup solution for Android that would work similar to the Google Cloud backup
I wanted to try, but building LOS 17 myself always fails with an OutOfMemory error towards the end (several long running java processes and one of them always crashes).
Edit: happens in “//frameworks/base:hiddenapi-lists-docs Metalava” with Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Wow, great, Chris! It will take a little while to test it,though, currently concentrating on the Android 9 beta.
But then, maybe other people can check it out, too.
Installed your image, Chris, and so far it seems to be working. The backup functionality is now usable (in Settings > System) and I was able to create a backup on a USB stick.
But I guess I have to let the FP2 cool down a bit before testing to restore the backup after a clean install with wipe.
Edit: too bad that so many apps don’t allow a backup
Edit2: I’ve done a factory reset to test the restore, but I don’t find a way where to start the restore process. Looking at this issue it seems it’s supposed to be part of the setup wizard of the OS, but I didn’t notice any…
Since the time my first try to build LOS failed due to not enough RAM I got a new PC that should be able to handle it, so I might have a try myself soon-ish
Edit: for the moment, to start the restore process, one can do
adb shell am start -n com.stevesoltys.seedvault/.restore.RestoreActivity
With that I was able to restore my installed apps. And even the homescreen was restored (which app icons and where they are placed).
Edit2: I was able to extend the SetupWizard by doing most of the changes from the calyxos repository in the LOS sources. And then I tried the restore after a factory reset and I was asked if I wanted to restore my backup (on USB stick). And after a short while I got my apps back (only 4 were installed when I created the backup), the homescreen looked like it was before, and the handful of settings I checked were also restored.
Amazing!
The patch is here: https://pastebin.com/UfpX4wLh
BTW, it seems that /e/ is going to incorporate this solution in their OS, see
Now that I have a second FP2, I will probably try it out when I have time and tell you (for the moment I use this FP2 as my main since mine has problems). But I’m also planning to try all possible alternatives for FP2, so I have a long list