Conversation

Replying to
It restores a decent amount of stuff but not everything. It's going to be getting substantially better in Android 11. The stock OS has slightly better integration of AOSP backup / restore because Play services has some extra bits and pieces to get more into app-based backups.
1
2
Replying to and
They're gradually moving it into AOSP though, which seems to be what's happening in Android 11 to some extent. github.com/stevesoltys/se Every Android distribution does have LocalTransport as a sample / testing backup service implementation but it's just meant for the CTS to use.
1
1
Replying to and
So, I don't think there's really anything else that knows how to use LocalTransport and there wouldn't be any guarantees of it not changing in the future. Essentially all these things back up the same data via the same AOSP API. adb backup does NOT use a backup service though.
2
Replying to
You'd need to set it as the active backup service but then I'm not sure how you would actually use it. I'm only familiar with it from running the CTS and watching it do stuff. No idea how to actually make it do a backup or where it puts it. Not sure how CTS fetches it either.
1
1
Replying to
LineageOS is currently integrating Seedvault but they aren't already done. I can't quite use it but I also don't feel like redoing the work they're doing more or less right now
1
Replying to
The general issue with system data is that the backup service is an app-based implementation, and there's important data outside of what's stored in apps. So, privileged system apps like Settings actually have to set up hooks that know how to backup / restore the information.
1
Replying to and
That's been slowly trickling into AOSP so it has been getting more complete. I'm not entirely sure how much stuff stored outside of app data is still missing backup hooks in AOSP. It's not actually very hard to implement at all, it's just hooks to load and save the data.
1
1
Replying to and
So, apps have to go out of the way to disable it for themselves, but privileged system apps need to go out of the way to do backup/restore for the non-app-based data storage, like Wi-Fi networks and other things like that stored 'somewhere' outside of the system apps themselves.
2
1
Show replies