seedvault icon indicating copy to clipboard operation
seedvault copied to clipboard

Pretend to be a device to device transfer - fake-d2d

Open Uldiniad opened this issue 3 years ago • 5 comments

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

Uldiniad avatar May 18 '22 08:05 Uldiniad

The ticket that this is resolving is https://github.com/seedvault-app/seedvault/issues/165 which has a more appropriate title as we are not actually doing d2d transfers here, but faking to be one.

grote avatar May 18 '22 12:05 grote

When testing this, please pay special attention to the backup notification progress bar and success message with the app total.

grote avatar May 18 '22 13:05 grote

Have done. Everything looks like I would expect. Apps that do not support D2D still show under the "could not backup app" section

Uldiniad avatar May 18 '22 13:05 Uldiniad

[EDIT: Still some issues to address related to the backup/restore provider app. I just started testing a large restore with DAVx5 and everything imploded after it restored the apk for DAVx5. (issue #374)]

With some changes to fix app exclusions, this seems to work well! It is able to back up and restore Bromite, for example, allowing the user to keep their bookmarks, homepage, and other settings around. (It would probably fail due to quota if I actually browsed very much in Bromite, first, but I'm not sure.)

One interesting thing is that it tries to back up Android System Webview, but it never succeeds at that (possibly due to Cancel full backup of com.android.webview because of NO_DATA?), instead having an exclamation point in an orange circle. As mentioned earlier, users may find it useful to have their bookmarks and browser settings backed up, so it would be nice if this could affect Chromium, but that might be far out of scope.

t-m-w avatar Jun 30 '22 20:06 t-m-w

Friendly bump :)

@grote @Uldiniad where are we on this? ~~Needs rebasing for 13.~~

Edit: It rebased cleanly, untested.

chirayudesai avatar Oct 06 '22 13:10 chirayudesai