After updating my Fairphone to version 1.6 and reformating flash memory (and thus factory resetting the phone) backup and restore of app data and settings to and from Google Cloud is not possible anymore (Settings > Backup & reset > Back up my data).
This has been the case in earlier versions of Fairphone already but could be solved by running
adb shell bmgr transport com.google.android.backup/.BackupTransportService. Unfortunately this is not possible anymore because there is only local transport available:
$ adb shell bmgr transport com.google.android.backup/.BackupTransportService
Unknown transport 'com.google.android.backup/.BackupTransportService' specified; no changes made.
$ adb shell bmgr list transports
How to reproduce
This bug appeared after updating to Fairphone OS 1.6 and reformatting internal storage. Before I used the latest stable version of Fairphone OS (I think it was 1.3 or 1.4). I've never flashed development previews.
I've updated the phone using the Fairphone Updater app and also repartitioned using this app as described in this support article.
Directly after running these two updates, I installed Google Apps using the provided widget.
How does this bug show?
- Backup and restore to Google Cloud does not work.
- The field where one is supposed to select a Google Account for backups (Settings > Backup & restore > Backup account) is grayed out stating "Backing up to debug only cache".
adb shell bmgr list transports list only one transport (android/com.android.internal.backup.LocalTransport)
adb shell bmgr transport com.google.android.backup/.BackupTransportService fails with error message "Unknown transport".
Stuff I've tried and found out
I don't know which of the following information helps fixing this bug. Since it might help anyway, I include what I learned so far.
- Reinstalling the update did not help. Neither did manually flashing Fairphone OS and Google Apps help.
- A fellow Fairphone user also updated to version 1.6 but didn't reformat storage. In his case
com.google.android.backup/.BackupTransportService is still available and working.
- The archive which is downloaded in order to install Google Apps is called
gapps_1.5.zip. Does the number refer to the Fairphone OS version? Maybe this archive is meant for version 1.5 and thus doesn't work with 1.6.
- The archive for installing Google Apps includes
adb shell pm list packages doesn't include com.google.android.backup
Apparently the backup transport is supposed to be installed with all other Google Apps but somehow it doesn't end up being installed.
Trying to install the package from the ZIP archive fails:
$ adb install GoogleBackupTransport.apk
4896 KB/s (113038 bytes in 0.022s)
At this point I give up. It would be really great, if this could be fixed.