App regularly stopped during Android backups
Opened this issue · 1 comments
Problem
During our long-time experiments with the app (see #44), we noticed that Android backups regularly lead to crashes of the app.
One solution is to deactivate Android backups.
However, we wanted to provide you with the Android logs as you might be able to derive possible improvements for the app:
Complete Logs
...
10-05 14:21:20.455 1730 3559 D BackupManagerService: [UserID:0] agentConnected pkg=com.kelvin.sensorapp agent=android.os.BinderProxy@3ccef62
10-05 14:21:20.455 1730 16172 I BackupManagerService: [UserID:0] got agent android.app.IBackupAgent$Stub$Proxy@6fdf8f3
10-05 14:21:20.467 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp] at 0
10-05 14:21:20.467 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/app_textures] at 512
10-05 14:21:20.468 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/app_webview] at 512
10-05 14:21:20.468 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/app_webview/variations_seed] at 15360
10-05 14:21:20.468 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/app_webview/Default] at 512
10-05 14:21:20.469 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/app_webview/Default/Cookies-journal] at 512
10-05 14:21:20.469 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/app_webview/Default/Cookies] at 25088
10-05 14:21:20.469 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/app_webview/variations_stamp] at 512
10-05 14:21:20.469 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/app_webview/variations_seed_new] at 14336
10-05 14:21:20.470 16767 16776 I FullBackup_native: measured [/data/user_de/0/com.kelvin.sensorapp] at 0
10-05 14:21:20.471 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files] at 0
10-05 14:21:20.472 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/wvdisabled] at 512
10-05 14:21:20.472 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-27_08-30-18] at 512
10-05 14:21:20.472 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-27_08-30-18/AccelerometerUncalibrated.csv] at 662691328
10-05 14:21:20.472 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-27_08-30-18/TotalAcceleration.csv] at 662689280
10-05 14:21:20.472 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-27_08-30-18/Metadata.csv] at 1024
10-05 14:21:20.472 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-27_08-30-18/Annotation.csv] at 512
10-05 14:21:20.472 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-27_08-30-18/Accelerometer.csv] at 721524736
10-05 14:21:20.473 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-22_11-18-12] at 512
10-05 14:21:20.473 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-22_11-18-12/AccelerometerUncalibrated.csv] at 18421248
10-05 14:21:20.473 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-22_11-18-12/TotalAcceleration.csv] at 18915840
10-05 14:21:20.473 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-22_11-18-12/Annotation.csv] at 512
10-05 14:21:20.473 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-22_11-18-12/Metadata.csv] at 1024
10-05 14:21:20.473 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-22_11-18-12/Accelerometer.csv] at 19861504
10-05 14:21:20.474 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-05-31_13-56-39] at 512
10-05 14:21:20.474 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-05-31_13-56-39/AccelerometerUncalibrated.csv] at 2388992
10-05 14:21:20.474 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-05-31_13-56-39/TotalAcceleration.csv] at 2388992
10-05 14:21:20.474 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-05-31_13-56-39/Annotation.csv] at 512
10-05 14:21:20.474 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-05-31_13-56-39/Metadata.csv] at 1024
10-05 14:21:20.474 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-05-31_13-56-39/Accelerometer.csv] at 2375680
10-05 14:21:20.475 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-23_13-48-08] at 512
10-05 14:21:20.475 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-23_13-48-08/AccelerometerUncalibrated.csv] at 250725376
10-05 14:21:20.475 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-23_13-48-08/TotalAcceleration.csv] at 255913472
10-05 14:21:20.475 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-23_13-48-08/Annotation.csv] at 512
10-05 14:21:20.475 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-23_13-48-08/Metadata.csv] at 1024
10-05 14:21:20.475 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-09-23_13-48-08/Accelerometer.csv] at 269560320
10-05 14:21:20.476 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-19_12-48-17] at 512
10-05 14:21:20.477 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-19_12-48-17/AccelerometerUncalibrated.csv] at 242994176
10-05 14:21:20.477 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-19_12-48-17/TotalAcceleration.csv] at 242994176
10-05 14:21:20.477 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-19_12-48-17/Annotation.csv] at 512
10-05 14:21:20.477 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-19_12-48-17/Accelerometer.csv] at 261371904
10-05 14:21:20.477 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-19_12-48-17/Metadata.csv] at 1024
10-05 14:21:20.477 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-15_14-35-56] at 512
10-05 14:21:20.478 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-15_14-35-56/AccelerometerUncalibrated.csv] at 326551552
10-05 14:21:20.478 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-15_14-35-56/TotalAcceleration.csv] at 326551552
10-05 14:21:20.478 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-15_14-35-56/Annotation.csv] at 512
10-05 14:21:20.478 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-15_14-35-56/Accelerometer.csv] at 348585472
10-05 14:21:20.478 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-15_14-35-56/Metadata.csv] at 1024
10-05 14:21:20.478 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-05_07-54-06] at 512
10-05 14:21:20.479 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-05_07-54-06/AccelerometerUncalibrated.csv] at 844206080
10-05 14:21:20.479 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-05_07-54-06/TotalAcceleration.csv] at 844166144
10-05 14:21:20.479 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-05_07-54-06/Annotation.csv] at 512
10-05 14:21:20.479 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-05_07-54-06/Accelerometer.csv] at 905607680
10-05 14:21:20.479 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-08-05_07-54-06/Metadata.csv] at 1024
10-05 14:21:20.480 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-07-26_10-34-23] at 512
10-05 14:21:20.481 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-07-26_10-34-23/AccelerometerUncalibrated.csv] at 539134464
10-05 14:21:20.481 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-07-26_10-34-23/TotalAcceleration.csv] at 539131392
10-05 14:21:20.481 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-07-26_10-34-23/Annotation.csv] at 512
10-05 14:21:20.481 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-07-26_10-34-23/Accelerometer.csv] at 581304832
10-05 14:21:20.482 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/2024-07-26_10-34-23/Metadata.csv] at 1024
10-05 14:21:20.482 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/profileInstalled] at 1024
10-05 14:21:20.482 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/profileinstaller_profileWrittenFor_lastUpdateTime.dat] at 1024
10-05 14:21:20.482 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/files/INSTALLATION] at 1024
10-05 14:21:20.482 16767 16776 I FullBackup_native: measured [/data/user_de/0/com.kelvin.sensorapp/files] at 0
10-05 14:21:20.483 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/databases] at 0
10-05 14:21:20.484 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/databases/com.google.android.datatransport.events-journal] at 512
10-05 14:21:20.484 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/databases/com.google.android.datatransport.events] at 57856
10-05 14:21:20.484 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/databases/RKStorage-journal] at 512
10-05 14:21:20.484 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/databases/RKStorage] at 20992
10-05 14:21:20.484 16767 16776 I FullBackup_native: measured [/data/user_de/0/com.kelvin.sensorapp/databases] at 0
10-05 14:21:20.485 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/shared_prefs] at 0
10-05 14:21:20.486 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/shared_prefs/WebViewChromiumPrefs.xml] at 1024
10-05 14:21:20.486 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/shared_prefs/com.kelvin.sensorapp_preferences_etags.xml] at 7168
10-05 14:21:20.486 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/shared_prefs/com.kelvin.sensorapp_preferences.xml] at 6144
10-05 14:21:20.486 16767 16776 I FullBackup_native: measured [/data/data/com.kelvin.sensorapp/shared_prefs/expo.modules.kotlin.PersistentDataManager.xml] at 1024
10-05 14:21:20.486 16767 16776 I FullBackup_native: measured [/data/user_de/0/com.kelvin.sensorapp/shared_prefs] at 0
10-05 14:21:20.488 16767 16776 I FullBackup_native: measured [/storage/emulated/0/Android/data/com.kelvin.sensorapp/files] at 0
10-05 14:21:20.488 16767 16776 I FullBackup_native: measured [/storage/emulated/0/Android/data/com.kelvin.sensorapp/files/Ringtones] at 512
10-05 14:21:20.489 16767 16776 I FullBackup_native: measured [/storage/emulated/0/Android/data/com.kelvin.sensorapp/files/Movies] at 512
10-05 14:21:20.489 16767 16776 I FullBackup_native: measured [/storage/emulated/0/Android/data/com.kelvin.sensorapp/files/Download] at 512
10-05 14:21:20.489 16767 16776 I FullBackup_native: measured [/storage/emulated/0/Android/data/com.kelvin.sensorapp/files/Music] at 512
10-05 14:21:20.490 16767 16776 I FullBackup_native: measured [/storage/emulated/0/Android/data/com.kelvin.sensorapp/files/Pictures] at 512
10-05 14:21:20.490 16767 16776 I FullBackup_native: measured [/storage/emulated/0/Android/data/com.kelvin.sensorapp/files/DCIM] at 512
10-05 14:21:20.491 13837 13850 I Backup : [FullBackupSession] Package com.kelvin.sensorapp failed pre-flight size check at 8890231808 bytes
10-05 14:21:20.493 13837 13850 I Backup : [GmsBackupTransport] Arbitrarily cancel full backup transfer.
10-05 14:21:20.497 13837 16170 W Backup : [FullBackupPackageWrapper] Scotty transfer exception. ftwv
10-05 14:21:20.498 1730 16118 W PFTBT : Error -1005 backing up com.kelvin.sensorapp
10-05 14:21:20.499 13837 13850 I Backup : [CryptoEnableCheck] Should not encrypt backups: device has no lock screen.
10-05 14:21:20.499 1730 16118 I PFTBT : Transport suggested backoff=0
10-05 14:21:20.499 1730 16118 I PFTBT : Transport quota exceeded for package: com.kelvin.sensorapp
10-05 14:21:20.500 13849 13849 I Backup : [BackupNowBackupAgentsRunner] Backup done for com.kelvin.sensorapp, success: -1005
10-05 14:21:20.500 1730 16118 I PFTBT : Unbinding agent in com.kelvin.sensorapp
10-05 14:21:20.500 1730 16118 W ActivityManager: Unbinding backup agent with no active backup
10-05 14:21:20.500 1730 16118 I PFTBT : Initiating full-data transport backup of com.android.settings.auto_generated_rro_product__ token: 1411120500
10-05 14:21:20.501 16767 16767 I Process : Sending signal. PID: 16767 SIG: 9
10-05 14:21:20.504 13837 13850 I Backup : [CryptoEnableCheck] Should not encrypt backups: device has no lock screen.
10-05 14:21:20.504 13837 13850 I Backup : [GmsBackupTransport] Attempt to do full backup on com.android.settings.auto_generated_rro_product__
10-05 14:21:20.515 13837 13850 I Backup : [CryptoEnableCheck] Should not encrypt backups: device has no lock screen.
10-05 14:21:20.516 13837 13850 I Backup : [FullBackupSession] Using unencrypted processor for com.android.settings.auto_generated_rro_product__
10-05 14:21:20.521 13837 13850 I Backup : [EligibilityFilter] Rejecting com.android.settings.auto_generated_rro_product__, it's a first party app.
10-05 14:21:20.521 13837 13850 W Backup : [FullBackupSession] Rejecting package com.android.settings.auto_generated_rro_product__ for full backup because ineligible (INELIGIBLE_FIRST_PARTY).
10-05 14:21:20.523 1730 16118 I PFTBT : Transport rejected backup of com.android.settings.auto_generated_rro_product__, skipping
10-05 14:21:20.523 1730 16118 I PFTBT : Unbinding agent in com.android.settings.auto_generated_rro_product__
10-05 14:21:20.524 1730 16118 W ActivityManager: Unbinding backup agent with no active backup
10-05 14:21:20.524 1730 16118 I PFTBT : Initiating full-data transport backup of com.google.android.apps.internal.betterbug token: 1411120500
10-05 14:21:20.525 13849 13849 I Backup : [BackupNowBackupAgentsRunner] Backup done for com.android.settings.auto_generated_rro_product__, success: -1002
10-05 14:21:20.526 13837 13850 I Backup : [CryptoEnableCheck] Should not encrypt backups: device has no lock screen.
10-05 14:21:20.526 13837 13850 I Backup : [GmsBackupTransport] Attempt to do full backup on com.google.android.apps.internal.betterbug
10-05 14:21:20.535 13837 13850 I Backup : [CryptoEnableCheck] Should not encrypt backups: device has no lock screen.
10-05 14:21:20.535 13837 13850 I Backup : [FullBackupSession] Using unencrypted processor for com.google.android.apps.internal.betterbug
10-05 14:21:20.545 13837 13850 I Backup : [EligibilityFilter] Rejecting com.google.android.apps.internal.betterbug, it's a first party app.
10-05 14:21:20.546 13837 13850 W Backup : [FullBackupSession] Rejecting package com.google.android.apps.internal.betterbug for full backup because ineligible (INELIGIBLE_FIRST_PARTY).
10-05 14:21:20.547 1730 16118 I PFTBT : Transport rejected backup of com.google.android.apps.internal.betterbug, skipping
10-05 14:21:20.547 1730 16118 I PFTBT : Unbinding agent in com.google.android.apps.internal.betterbug
10-05 14:21:20.550 13849 13849 I Backup : [BackupNowBackupAgentsRunner] Backup done for com.google.android.apps.internal.betterbug, success: -1002
10-05 14:21:20.553 1730 16118 W ActivityManager: Unbinding backup agent with no active backup
10-05 14:21:20.553 1730 16118 I PFTBT : Initiating full-data transport backup of com.google.android.grilservice token: 1411120500
10-05 14:21:20.555 13837 13850 I Backup : [CryptoEnableCheck] Should not encrypt backups: device has no lock screen.
10-05 14:21:20.555 13837 13850 I Backup : [GmsBackupTransport] Attempt to do full backup on com.google.android.grilservice
10-05 14:21:20.565 13837 13850 I Backup : [CryptoEnableCheck] Should not encrypt backups: device has no lock screen.
10-05 14:21:20.566 13837 13850 I Backup : [FullBackupSession] Using unencrypted processor for com.google.android.grilservice
10-05 14:21:20.572 13837 13850 I Backup : [EligibilityFilter] Rejecting com.google.android.grilservice, it's a first party app.
10-05 14:21:20.573 13837 13850 W Backup : [FullBackupSession] Rejecting package com.google.android.grilservice for full backup because ineligible (INELIGIBLE_FIRST_PARTY).
10-05 14:21:20.574 1730 16118 I PFTBT : Transport rejected backup of com.google.android.grilservice, skipping
10-05 14:21:20.574 1730 16118 I PFTBT : Unbinding agent in com.google.android.grilservice
10-05 14:21:20.574 1730 16118 W ActivityManager: Unbinding backup agent with no active backup
10-05 14:21:20.574 1730 16118 I PFTBT : Initiating full-data transport backup of com.android.proxyhandler token: 1411120500
10-05 14:21:20.574 13849 13849 I Backup : [BackupNowBackupAgentsRunner] Backup done for com.google.android.grilservice, success: -1002
10-05 14:21:20.575 13837 13850 I Backup : [CryptoEnableCheck] Should not encrypt backups: device has no lock screen.
10-05 14:21:20.575 13837 16122 W ChimeraUtils: Module com.google.android.gms.backup_settings missing resource null(0)
10-05 14:21:20.576 13837 13850 I Backup : [GmsBackupTransport] Attempt to do full backup on com.android.proxyhandler
10-05 14:21:20.582 1730 2681 I WindowManager: WIN DEATH: Window{cd82622 u0 com.kelvin.sensorapp/com.kelvin.sensorapp.MainActivity}
10-05 14:21:20.582 1730 2283 D ConnectivityService: releasing NetworkRequest [ REQUEST id=2411, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10000 RequestorUid: 10000 RequestorPkg: com.kelvin.sensorapp UnderlyingNetworks: Null] ] (release request)
10-05 14:21:20.582 1730 2283 D ConnectivityService: releasing NetworkRequest [ REQUEST id=2415, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10000 RequestorUid: 10000 RequestorPkg: com.kelvin.sensorapp UnderlyingNetworks: Null] ] (release request)
10-05 14:21:20.583 1730 2283 D ConnectivityService: releasing NetworkRequest [ REQUEST id=2413, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10000 RequestorUid: 10000 RequestorPkg: com.kelvin.sensorapp UnderlyingNetworks: Null] ] (release request)
10-05 14:21:20.583 1091 1091 I sensors-hal: [hal]activate_physical_sensor:256, android.sensor.accelerometer/11 en=0
10-05 14:21:20.584 1047 1047 I Zygote : Process 16767 exited due to signal 9 (Killed)
10-05 14:21:20.585 13837 13850 I Backup : [CryptoEnableCheck] Should not encrypt backups: device has no lock screen.
10-05 14:21:20.585 13837 13850 I Backup : [FullBackupSession] Using unencrypted processor for com.android.proxyhandler
10-05 14:21:20.585 1730 2681 W InputManager-JNI: Input channel object 'cd82622 com.kelvin.sensorapp/com.kelvin.sensorapp.MainActivity (client)' was disposed without first being removed with the input manager!
10-05 14:21:20.585 1730 2283 D ConnectivityService: releasing NetworkRequest [ REQUEST id=2417, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10000 RequestorUid: 10000 RequestorPkg: com.kelvin.sensorapp UnderlyingNetworks: Null] ] (release request)
10-05 14:21:20.587 1730 3559 I ActivityManager: Process com.kelvin.sensorapp (pid 16767) has died: prcp FGS
10-05 14:21:20.587 1730 1924 I libprocessgroup: Successfully killed process cgroup uid 10000 pid 16767 in 0ms
10-05 14:21:20.589 1091 1091 D Diag_Lib: diag: Diag_LSM_DeInit: invoked for pid: 1091
10-05 14:21:20.589 1091 1091 D Diag_Lib: diag: Diag_LSM_DeInit: done for pid: 1091
10-05 14:21:20.589 1091 1091 I sensors-hal: [hal]activate_physical_sensor:267, android.sensor.accelerometer/11 en=0 completed
10-05 14:21:20.590 1091 1091 I sensors-hal: [hal]activate_physical_sensor:256, android.sensor.accelerometer_uncalibrated/351 en=0
10-05 14:21:20.590 1730 1898 W UsageStatsService: Unexpected activity event reported! (com.kelvin.sensorapp/com.kelvin.sensorapp.MainActivity event : 23 instanceId : 206461719)
10-05 14:21:20.597 1091 1091 D Diag_Lib: diag: Diag_LSM_DeInit: invoked for pid: 1091
10-05 14:21:20.597 1091 1091 D Diag_Lib: diag: Diag_LSM_DeInit: done for pid: 1091
10-05 14:21:20.597 1091 1091 I sensors-hal: [hal]activate_physical_sensor:267, android.sensor.accelerometer_uncalibrated/351 en=0 completed
...
Interesting Log Lines
The key issue seems to be that the backup quota is exceeded:
10-05 14:21:20.491 13837 13850 I Backup : [FullBackupSession] Package com.kelvin.sensorapp failed pre-flight size check at 8890231808 bytes
10-05 14:21:20.493 13837 13850 I Backup : [GmsBackupTransport] Arbitrarily cancel full backup transfer.
10-05 14:21:20.497 13837 16170 W Backup : [FullBackupPackageWrapper] Scotty transfer exception. ftwv
10-05 14:21:20.498 1730 16118 W PFTBT : Error -1005 backing up com.kelvin.sensorapp
10-05 14:21:20.499 13837 13850 I Backup : [CryptoEnableCheck] Should not encrypt backups: device has no lock screen.
10-05 14:21:20.499 1730 16118 I PFTBT : Transport suggested backoff=0
10-05 14:21:20.499 1730 16118 I PFTBT : Transport quota exceeded for package: com.kelvin.sensorapp
In our use case, all data is transferred to a REST endpoint (so actually no backup needed) but obviously still kept on the device.
Shortly after, the app crashes:
10-05 14:21:20.582 1730 2681 I WindowManager: WIN DEATH: Window{cd82622 u0 com.kelvin.sensorapp/com.kelvin.sensorapp.MainActivity}
Hope that input helps you.
(As already mentioned, our current solution is to turn off Android backups completely.)
Thanks, it would seem like just turning off the backups completely is the most sensible thing to do for now. I will look into this further in due course.