J'ai acheté un deuxième Asus ZS570KL comme téléphone de secours car mon ancien téléphone commence à faire... des choses bizarres. J'ai créé une sauvegarde complète en utilisant :
./adb backup -apk -all -obb -shared -v -f /backups/phone8.ab
Et plus tard, il a joué
./adb restore /backups/phone8.ab
Mais il n'a restauré que des fichiers. Quand j'ai extrait adb logcat -b system
J'ai remarqué :
04-06 22:29:45.596 10100 10256 W DefContainer: Failed to parse package at /data/cache/backup_stage/pl.m4x.sphinx_customer_android_mobile_app_v2: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/cache/backup_stage/pl.m4x.sphinx_customer_android_mobile_app_v2
04-06 22:29:45.617 2214 10078 D BackupManagerService: [discarding file content]
04-06 22:29:45.624 2214 10078 I chatty : uid=1000(system) adb-restore identical 52 lines
04-06 22:29:45.624 2214 10078 D BackupManagerService: [discarding file content]
04-06 22:29:45.625 2214 10078 I BackupManagerService: Package pl.neptis.yanosik.mobi.android not installed; requiring apk in dataset
04-06 22:29:45.625 2214 10078 D BackupManagerService: APK file; installing
04-06 22:29:45.625 2214 10078 D BackupManagerService: Installing from backup: pl.neptis.yanosik.mobi.android
04-06 22:29:49.671 10100 10256 W DefContainer: Failed to parse package at /data/cache/backup_stage/pl.neptis.yanosik.mobi.android: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/cache/backup_stage/pl.neptis.yanosik.mobi.android
04-06 22:29:49.699 2214 10078 D BackupManagerService: [discarding file content]
04-06 22:29:49.805 2214 10078 I chatty : uid=1000(system) adb-restore identical 100 lines
04-06 22:29:49.805 2214 10078 D BackupManagerService: [discarding file content]
04-06 22:29:49.805 2214 10078 I BackupManagerService: Package ru.dront78.pulsedroid not installed; requiring apk in dataset
04-06 22:29:49.805 2214 10078 D BackupManagerService: APK file; installing
04-06 22:29:49.805 2214 10078 D BackupManagerService: Installing from backup: ru.dront78.pulsedroid
04-06 22:29:49.811 10100 10256 W DefContainer: Failed to parse package at /data/cache/backup_stage/ru.dront78.pulsedroid: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/cache/backup_stage/ru.dront78.pulsedroid
04-06 22:29:49.812 2214 10078 I BackupManagerService: Package ru.zdevs.zarchiver not installed; requiring apk in dataset
04-06 22:29:49.813 2214 10078 D BackupManagerService: APK file; installing
04-06 22:29:49.813 2214 10078 D BackupManagerService: Installing from backup: ru.zdevs.zarchiver
04-06 22:29:50.296 10100 10256 W DefContainer: Failed to parse package at /data/cache/backup_stage/ru.zdevs.zarchiver: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/cache/backup_stage/ru.zdevs.zarchiver
04-06 22:29:50.304 2214 10078 D BackupManagerService: [discarding file content]
04-06 22:29:50.305 2214 10078 I BackupManagerService: Package simple.hexadecimal.color not installed; requiring apk in dataset
04-06 22:29:50.305 2214 10078 D BackupManagerService: APK file; installing
04-06 22:29:50.305 2214 10078 D BackupManagerService: Installing from backup: simple.hexadecimal.color
04-06 22:29:50.470 10100 10256 W DefContainer: Failed to parse package at /data/cache/backup_stage/simple.hexadecimal.color: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/cache/backup_stage/simple.hexadecimal.color
04-06 22:29:50.473 2214 10078 D BackupManagerService: [discarding file content]
Il semble donc se planter. Google Backup ne semble sauvegarder que 80 de mes 380 applications et ne sauvegarde certainement pas les plus importantes. Quelles sont mes autres options pour effectuer complet miroir des appareils incluant toutes les données des applications, les paramètres, les informations d'identification et tout le reste ? J'aimerais avoir exactement 2 appareils en miroir.