seedvault icon indicating copy to clipboard operation
seedvault copied to clipboard

List of apps that always show backup errors (use for inherently broken apps only)

Open grote opened this issue 5 years ago • 10 comments

In the app status screen, some apps have been reported to always produce errors (red circle icon).

K/V Backup without any data

These apps claim to support backups (old style key-value), but when the system tries to back them up, their backup agent is not giving any data, so the OS won't even call our transport again.

  • WhatsApp
  • Twidere
  • Waze
  • Google Pay
  • Vanadium Browser

Example Logcat:

system_process D/KeyValueBackupTask: Starting key-value backup of com.waze
system_process D/BackupManagerService: [UserID:0] awaiting agent for ApplicationInfo{5647c82 com.waze}
com.stevesoltys.seedvault I/BackupNotificationManager: 30/130 - 23% - Clash of Clans
system_process I/ActivityManager: Start proc 7677:com.waze/u0a119 for backup {com.waze/com.waze.WazeBackupAgent}
system_process I/ActivityManager: Start proc 7730:com.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0/u0i6 for  {com.waze/org.chromium.content.app.SandboxedProcessService0:0}
system_process D/BackupManagerService: [UserID:0] agentConnected pkg=com.waze agent=android.os.BinderProxy@7a0b79b
system_process I/BackupManagerService: [UserID:0] got agent android.app.IBackupAgent$Stub$Proxy@4419738
system_process D/KeyValueBackupTask: Invoking agent on com.waze
system_process D/KeyValueBackupTask: Data file: /data/cache/backup_stage/com.waze.data
com.stevesoltys.seedvault D/ApkBackup: Backed up new APK of com.waze with version 1022127.
com.stevesoltys.seedvault I/BackupCoordinator: Get backup quota for com.waze. Is full backup: false.
com.stevesoltys.seedvault I/BackupCoordinator: Reported quota of 10485760 bytes.
system_process V/KeyValueBackupTask: Agent call doBackup() returned RemoteResult{0}
system_process I/KeyValueBackupTask: No backup data written, not calling transport
com.stevesoltys.seedvault I/NotificationBackupObserver: Completed. Target: com.waze, status: 0

Backup agent in Play Services

  • Google Maps
system_process D/KeyValueBackupTask: Starting key-value backup of com.google.android.apps.maps
system_process D/BackupManagerService: [UserID:0] awaiting agent for ApplicationInfo{292c908 com.google.android.apps.maps}
com.stevesoltys.seedvault I/BackupNotificationManager: 27/130 - 21% - System UI
system_process W/NotificationHistory: Attempted to add notif for locked/gone/disabled user 0
system_process I/ActivityManager: Start proc 7558:com.google.android.apps.maps/u0a120 for backup {com.google.android.apps.maps/com.google.android.apps.gmm.backup.GmmPersistentBackupAgentHelper}
system_process D/BackupManagerService: [UserID:0] agentConnected pkg=com.google.android.apps.maps agent=android.os.BinderProxy@a43abe4
system_process I/BackupManagerService: [UserID:0] got agent android.app.IBackupAgent$Stub$Proxy@387d84d
system_process D/KeyValueBackupTask: Invoking agent on com.google.android.apps.maps
system_process D/KeyValueBackupTask: Data file: /data/cache/backup_stage/com.google.android.apps.maps.data
com.stevesoltys.seedvault D/ApkBackup: Backed up new APK of com.google.android.apps.maps with version 1052201240.
com.stevesoltys.seedvault I/BackupCoordinator: Get backup quota for com.google.android.apps.maps. Is full backup: false.
com.stevesoltys.seedvault I/BackupCoordinator: Reported quota of 10485760 bytes.
system_process V/KeyValueBackupTask: Agent call doBackup() returned RemoteResult{-1}
system_process W/KeyValueBackupTask: Agent com.google.android.apps.maps error in onBackup()
com.stevesoltys.seedvault I/NotificationBackupObserver: Completed. Target: com.google.android.apps.maps, status: -1003

To investigate

  • ...

Old ticket: https://github.com/stevesoltys/seedvault/issues/68

grote avatar Oct 16 '20 12:10 grote

  • Google Maps is an old issue, it has a backup agent set that's in Play Services which we miss and thus the failure.
  • Waze might be similar
  • Google Pay being a payment app, could be anything.

chirayudesai avatar Oct 16 '20 13:10 chirayudesai

I think WhatsApp doesn't use the allowBackup flag which actually allows Android's native implementation for backup to go in and grab all the data from /data/ and convert it to the .ab file. I mean atleast adb backup works that way. And there are many projects which as a workaround install the older version of WhatsApp which has the allowBackup set to true in the manifest which technically does allow backups and returns some data rather than blank. Just thought I should add in my two cents on the matter here

ForceGT avatar Oct 13 '21 09:10 ForceGT