Pixel 5 (redfin) cannot update to 1.6 s - Linked to use of adb remount - use of dynamic partitions - Overlayfs
- /e/ version: during update from 1.5.1-s to 1.6-s
- Device model(s): Google Pixel 5 redfin
- Developer mode enabled: yes
- Device rooted: yes
- Trackers blocker enabled: yes
Summary
Tried to install 1.6s from the updater, can download, when I click on Install, it shows “preparing for first boot” for less than a second and back to “install”. Install error message is shown in the notifications.
Using adb, all the steps to upgrade happened correctly, recovery is updated to 1.6, however when I reboot after the installation, the version remains 1.5.1.
The problem
Steps to reproduce
Follow the redfin install guide without wiping the device. https://doc.e.foundation/devices/redfin/install
What is the current behavior?
Update process not working neither via updater in the settings nor via adb.
What is the expected correct behavior?
Update should be completed.
Technical informations
Relevant logs (adb logcat
)
12-08 15:10:46.143 1711 2331 W InputManager-JNI: Input channel object '5941afc org.lineageos.updater/org.lineageos.updater.UpdatesActivity (client)' was disposed without first being removed with the input manager!
12-08 15:10:46.155 6091 6091 D UpdaterService: Starting service
12-08 15:10:46.156 1711 2006 V WindowManager: Unknown focus tokens, dropping reportFocusChanged
12-08 15:10:46.157 1275 1275 I update_engine: [INFO:update_attempter_android.cc(548)] Disabling performance mode.
12-08 15:10:46.163 1275 1275 I update_engine: [INFO:update_attempter_android.cc(284)] Using this install plan:
12-08 15:10:46.164 1275 1275 I update_engine: [INFO:install_plan.cc(79)] InstallPlan:
12-08 15:10:46.164 1275 1275 I update_engine: type: new_update
12-08 15:10:46.164 1275 1275 I update_engine: version:
12-08 15:10:46.164 1275 1275 I update_engine: source_slot: A
12-08 15:10:46.164 1275 1275 I update_engine: target_slot: B
12-08 15:10:46.164 1275 1275 I update_engine: initial url: file:///data/lineageos_updates/e-1.6-s-20221201239247-dev-redfin.zip
12-08 15:10:46.164 1275 1275 I update_engine: hash_checks_mandatory: true
12-08 15:10:46.164 1275 1275 I update_engine: powerwash_required: false
12-08 15:10:46.164 1275 1275 I update_engine: switch_slot_on_reboot: true
12-08 15:10:46.164 1275 1275 I update_engine: run_post_install: true
12-08 15:10:46.164 1275 1275 I update_engine: is_rollback: false
12-08 15:10:46.164 1275 1275 I update_engine: rollback_data_save_requested: false
12-08 15:10:46.164 1275 1275 I update_engine: write_verity: true
12-08 15:10:46.164 1275 1275 I update_engine: Payload: 0
12-08 15:10:46.164 1275 1275 I update_engine: urls: ()
12-08 15:10:46.164 1275 1275 I update_engine: size: 1273170408
12-08 15:10:46.164 1275 1275 I update_engine: metadata_size: 101101
12-08 15:10:46.164 1275 1275 I update_engine: metadata_signature:
12-08 15:10:46.164 1275 1275 I update_engine: hash: 20700BF058069C413675F6CE9DEEE9C70A7972D3EF44EF445EFE9897E6D12832
12-08 15:10:46.164 1275 1275 I update_engine: type: unknown
12-08 15:10:46.164 1275 1275 I update_engine: fingerprint:
12-08 15:10:46.164 1275 1275 I update_engine: app_id:
12-08 15:10:46.164 1275 1275 I update_engine: already_applied: false
12-08 15:10:46.166 1275 1275 I update_engine: [INFO:postinstall_runner_action.cc(68)] postinstall mount point: /postinstall
12-08 15:10:46.167 1275 1275 I update_engine: [INFO:metrics_utils.cc(318)] Number of Reboots during current update attempt = 0
12-08 15:10:46.169 1275 1275 I update_engine: [INFO:metrics_utils.cc(326)] Payload Attempt Number = 1
12-08 15:10:46.170 1275 1275 I update_engine: [INFO:metrics_utils.cc(343)] Update Monotonic Timestamp Start = 1/1/1970 0:05:45 GMT
12-08 15:10:46.172 1275 1275 I update_engine: [INFO:metrics_utils.cc(352)] Update Boot Timestamp Start = 1/1/1970 0:05:45 GMT
12-08 15:10:46.173 1275 1275 I update_engine: [INFO:update_attempter_android.cc(699)] Scheduling an action processor start.
12-08 15:10:46.174 1275 1275 I update_engine: [INFO:action_processor.cc(51)] ActionProcessor: starting UpdateBootFlagsAction
12-08 15:10:46.175 1275 1275 I update_engine: [INFO:update_boot_flags_action.cc(36)] Already updated boot flags. Skipping.
12-08 15:10:46.179 1275 1275 I update_engine: [INFO:action_processor.cc(116)] ActionProcessor: finished UpdateBootFlagsAction with code ErrorCode::kSuccess
12-08 15:10:46.180 1275 1275 I update_engine: [INFO:action_processor.cc(143)] ActionProcessor: starting CleanupPreviousUpdateAction
12-08 15:10:46.182 1275 1275 I update_engine: [INFO:cleanup_previous_update_action.cc(149)] Starting/resuming CleanupPreviousUpdateAction
12-08 15:10:46.183 1275 1275 I update_engine: [INFO:cleanup_previous_update_action.cc(189)] Boot completed, waiting on markBootSuccessful()
12-08 15:10:46.188 1275 1275 I update_engine: EnsureMetadataMounted does nothing in Android mode.
12-08 15:10:46.188 3898 4612 I WeatherUpdater: elapsedTime=319364 vs refreshPeriod=3600000
12-08 15:10:46.190 1275 1275 I update_engine: Read merge statistics file failed: No such file or directory
12-08 15:10:46.192 1275 1275 I update_engine: [INFO:cleanup_previous_update_action.cc(261)] Waiting for any previous merge request to complete. This can take up to several minutes.
12-08 15:10:46.195 1275 1275 I update_engine: CheckMergeState for snapshots returned: 1
12-08 15:10:46.197 1275 1275 I update_engine: ProcessUpdateState handling state: 1
12-08 15:10:46.198 1275 1275 E update_engine: [ERROR:cleanup_previous_update_action.cc(298)] Previous update has not been completed, not cleaning up
12-08 15:10:46.199 1275 1275 I update_engine: [INFO:cleanup_previous_update_action.cc(130)] Stopping/suspending/completing CleanupPreviousUpdateAction
12-08 15:10:46.200 1275 1275 I update_engine: [INFO:cleanup_previous_update_action.cc(469)] Not reporting merge stats because state is Initiated
12-08 15:10:46.201 1275 1275 I update_engine: [INFO:cleanup_previous_update_action.cc(130)] Stopping/suspending/completing CleanupPreviousUpdateAction
12-08 15:10:46.202 1275 1275 I update_engine: [INFO:action_processor.cc(116)] ActionProcessor: finished CleanupPreviousUpdateAction with code ErrorCode::kSuccess
12-08 15:10:46.203 1275 1275 I update_engine: [INFO:action_processor.cc(143)] ActionProcessor: starting InstallPlanAction
12-08 15:10:46.203 1275 1275 I update_engine: [INFO:action_processor.cc(116)] ActionProcessor: finished InstallPlanAction with code ErrorCode::kSuccess
12-08 15:10:46.204 1275 1275 I update_engine: [INFO:action_processor.cc(143)] ActionProcessor: starting DownloadAction
12-08 15:10:46.205 1275 1275 I update_engine: [INFO:install_plan.cc(79)] InstallPlan:
12-08 15:10:46.205 1275 1275 I update_engine: type: new_update
12-08 15:10:46.205 1275 1275 I update_engine: version:
12-08 15:10:46.205 1275 1275 I update_engine: source_slot: A
12-08 15:10:46.205 1275 1275 I update_engine: target_slot: B
12-08 15:10:46.205 1275 1275 I update_engine: initial url: file:///data/lineageos_updates/e-1.6-s-20221201239247-dev-redfin.zip
12-08 15:10:46.205 1275 1275 I update_engine: hash_checks_mandatory: true
12-08 15:10:46.205 1275 1275 I update_engine: powerwash_required: false
12-08 15:10:46.205 1275 1275 I update_engine: switch_slot_on_reboot: true
12-08 15:10:46.205 1275 1275 I update_engine: run_post_install: true
12-08 15:10:46.205 1275 1275 I update_engine: is_rollback: false
12-08 15:10:46.205 1275 1275 I update_engine: rollback_data_save_requested: false
12-08 15:10:46.205 1275 1275 I update_engine: write_verity: true
12-08 15:10:46.205 1275 1275 I update_engine: Payload: 0
12-08 15:10:46.205 1275 1275 I update_engine: urls: ()
12-08 15:10:46.205 1275 1275 I update_engine: size: 1273170408
12-08 15:10:46.205 1275 1275 I update_engine: metadata_size: 101101
12-08 15:10:46.205 1275 1275 I update_engine: metadata_signature:
12-08 15:10:46.205 1275 1275 I update_engine: hash: 20700BF058069C413675F6CE9DEEE9C70A7972D3EF44EF445EFE9897E6D12832
12-08 15:10:46.205 1275 1275 I update_engine: type: unknown
12-08 15:10:46.205 1275 1275 I update_engine: fingerprint:
12-08 15:10:46.205 1275 1275 I update_engine: app_id:
12-08 15:10:46.205 1275 1275 I update_engine: already_applied: false
12-08 15:10:46.206 1275 1275 I update_engine: [INFO:download_action.cc(84)] Marking new slot as unbootable
12-08 15:10:46.209 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.209 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.209 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.216 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.216 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.216 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 384 to offset 8192
12-08 15:10:46.224 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.224 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.224 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.225 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.225 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.225 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 5504 to offset 8192
12-08 15:10:46.227 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.227 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.227 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.229 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.229 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.229 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 5504 to offset 8192
12-08 15:10:46.231 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.231 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.231 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.231 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.231 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.232 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 5504 to offset 8192
12-08 15:10:46.233 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.233 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.233 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.233 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.233 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.233 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 2432 to offset 8192
12-08 15:10:46.235 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.235 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.235 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.236 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.236 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.236 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 5504 to offset 8192
12-08 15:10:46.237 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.238 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.238 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.238 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.238 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.238 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 5504 to offset 8192
12-08 15:10:46.240 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.240 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.240 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.240 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.241 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.241 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 5504 to offset 8192
12-08 15:10:46.242 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.242 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.242 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.243 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.243 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.243 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 5504 to offset 8192
12-08 15:10:46.245 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.245 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.245 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.245 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.245 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.245 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 5504 to offset 8192
12-08 15:10:46.247 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.247 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.247 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.248 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.248 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.248 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 5504 to offset 8192
12-08 15:10:46.249 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.249 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.249 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.249 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.249 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.249 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 2432 to offset 8192
12-08 15:10:46.251 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.251 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.251 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.255 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.256 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.256 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 384 to offset 8192
12-08 15:10:46.261 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.261 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.261 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.262 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.262 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.262 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 5504 to offset 8192
12-08 15:10:46.263 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.263 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.263 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.264 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.264 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.264 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 2432 to offset 8192
12-08 15:10:46.265 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.265 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.265 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.265 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.265 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.265 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 2432 to offset 8192
12-08 15:10:46.267 642 642 I gpt-utils: gpt_disk_commit: Writing back primary GPT header
12-08 15:10:46.267 642 642 I gpt-utils: gpt_set_header: Block size is : 4096
12-08 15:10:46.267 642 642 I gpt-utils: gpt_set_header: Writing back header to offset 4096
12-08 15:10:46.268 642 642 I gpt-utils: gpt_disk_commit: Writing back primary partition array
12-08 15:10:46.268 642 642 I gpt-utils: gpt_set_pentry_arr : Block size is 4096
12-08 15:10:46.268 642 642 I gpt-utils: gpt_set_pentry_arr: Writing partition entry array of size 2432 to offset 8192
12-08 15:10:46.269 1275 1275 I update_engine: [INFO:multi_range_http_fetcher.cc(45)] starting first transfer
12-08 15:10:46.272 1275 1275 I update_engine: [INFO:multi_range_http_fetcher.cc(74)] starting transfer of range 2881+1273170408
12-08 15:10:46.274 1275 1275 I update_engine: [INFO:delta_performer.cc(115)] Completed 0/? operations, 16384/1273170408 bytes downloaded (0%), overall progress 0%
12-08 15:10:46.279 1275 1275 I update_engine: [INFO:delta_performer.cc(346)] Manifest size in payload matches expected value from Omaha
12-08 15:10:46.280 1275 1275 I update_engine: [INFO:delta_performer.cc(1012)] Verifying using certificates: /system/etc/security/otacerts.zip
12-08 15:10:46.285 1275 1275 I update_engine: [INFO:payload_verifier.cc(102)] signature blob size = 267
12-08 15:10:46.286 1275 1275 I update_engine: [INFO:payload_verifier.cc(118)] Truncating the signature to its unpadded size: 256.
12-08 15:10:46.288 1275 1275 I update_engine: [INFO:payload_verifier.cc(129)] Verified correct signature 1 out of 1 signatures.
12-08 15:10:46.289 1275 1275 I update_engine: [INFO:payload_metadata.cc(221)] Metadata hash signature matches value in Omaha response.
12-08 15:10:46.298 1275 1275 I update_engine: [INFO:delta_performer.cc(1049)] Detected a 'full' payload.
12-08 15:10:46.299 1275 1275 I update_engine: [INFO:delta_performer.cc(1120)] vbmeta_system does't have version, skipping downgrade check.
12-08 15:10:46.300 1275 1275 I update_engine: [INFO:delta_performer.cc(1120)] vendor_boot does't have version, skipping downgrade check.
12-08 15:10:46.302 1275 1275 I update_engine: [INFO:delta_performer.cc(1120)] dtbo does't have version, skipping downgrade check.
12-08 15:10:46.303 1275 1275 I update_engine: [INFO:delta_performer.cc(1120)] vbmeta does't have version, skipping downgrade check.
12-08 15:10:46.310 1275 1275 I update_engine: [INFO:delta_performer.cc(811)] Preparing partitions for new update. last hash = , new hash = IHAL8FgGnEE2dfbOne7pxwp5ctPvRO9EXv6Yl+bRKDI=fsHD6UY7uOFzi6xfeTuWjzc4yLkuNmd+Mv9hSTX3DnQ=
12-08 15:10:46.312 1275 1275 I update_engine: [INFO:delta_performer.cc(1394)] Resetting recorded hash for prepared partitions.
12-08 15:10:46.317 1275 1275 W update_engine: [WARNING:dynamic_partition_control_android.cc(441)] overlayfs overrides are active and can interfere with our resources.
12-08 15:10:46.317 1275 1275 W update_engine: run adb enable-verity to deactivate if required and try again.
12-08 15:10:46.318 1275 1275 I update_engine: EnsureMetadataMounted does nothing in Android mode.
12-08 15:10:46.319 1275 1275 I update_engine: [INFO:dynamic_partition_control_android.cc(762)] Erasing AVB footer of system_other partition before update.
12-08 15:10:46.322 1275 1275 I update_engine: [INFO:dynamic_partition_control_android.cc(331)] Loaded metadata from slot A in /dev/block/bootdevice/by-name/super
12-08 15:10:46.324 1275 1275 I update_engine: [INFO:dynamic_partition_control_android.cc(715)] Can't find system_b in metadata source slot, skip erasing.
12-08 15:10:46.326 1275 1275 I update_engine: [INFO:dynamic_partition_control_android.cc(331)] Loaded metadata from slot A in /dev/block/bootdevice/by-name/super
12-08 15:10:46.327 1275 1275 I update_engine: Update has been initiated, now canceling
12-08 15:10:46.328 1275 1275 I update_engine: Removing all update state.
12-08 15:10:46.330 1275 1275 W update_engine: Cannot read /metadata/ota/snapshot-boot: No such file or directory
12-08 15:10:46.331 1275 1275 W update_engine: Failed to get flashing status
12-08 15:10:46.332 1275 1275 W update_engine: Cannot read /metadata/ota/snapshot-boot: No such file or directory
12-08 15:10:46.342 1275 1275 E update_engine: Cannot create update snapshots with overlayfs setup. Run `adb enable-verity`, reboot, then try again.
12-08 15:10:46.344 1275 1275 E update_engine: [ERROR:dynamic_partition_control_android.cc(952)] Cannot create update snapshots: Error
12-08 15:10:46.345 1275 1275 E update_engine: [ERROR:dynamic_partition_control_android.cc(497)] PrepareSnapshotPartitionsForUpdate failed in Android mode
12-08 15:10:46.346 1275 1275 E update_engine: [ERROR:delta_performer.cc(822)] Unable to initialize partition metadata for slot B
12-08 15:10:46.347 1275 1275 E update_engine: [ERROR:download_action.cc(222)] Error ErrorCode::kInstallDeviceOpenError (7) in DeltaPerformer's Write method when processing the received payload -- Terminating processing
12-08 15:10:46.356 1275 1275 I update_engine: [INFO:multi_range_http_fetcher.cc(177)] Received transfer terminated.
12-08 15:10:46.357 1275 1275 I update_engine: [INFO:multi_range_http_fetcher.cc(129)] TransferEnded w/ code 200
12-08 15:10:46.358 1275 1275 I update_engine: [INFO:multi_range_http_fetcher.cc(131)] Terminating.
12-08 15:10:46.359 1275 1275 I update_engine: [INFO:action_processor.cc(116)] ActionProcessor: finished DownloadAction with code ErrorCode::kInstallDeviceOpenError
12-08 15:10:46.360 1275 1275 I update_engine: [INFO:action_processor.cc(121)] ActionProcessor: Aborting processing due to failure.
12-08 15:10:46.361 1275 1275 I update_engine: [INFO:update_attempter_android.cc(565)] Processing Done.
12-08 15:10:46.363 1275 1275 I update_engine: [INFO:metrics_reporter_android.cc(159)] Current update attempt downloads 0 bytes data
12-08 15:10:46.381 3898 3898 D NotificationRepository: updateNotification() called with: list = [13]
12-08 15:10:46.385 2323 2376 D PeopleSpaceWidgetMgr: Sbn doesn't contain valid PeopleTileKey: null/0/org.lineageos.updater
12-08 15:10:46.394 3898 3898 D NotificationRepository: updateNotification() called with: list = [13]
12-08 15:10:46.400 3898 3898 D NotificationRepository: updateNotification() called with: list = [13]
12-08 15:10:46.411 2323 2376 D PeopleSpaceWidgetMgr: Sbn doesn't contain valid PeopleTileKey: null/0/org.lineageos.updater
12-08 15:10:46.414 2323 2376 D PeopleSpaceWidgetMgr: Sbn doesn't contain valid PeopleTileKey: null/0/org.lineageos.updater
12-08 15:10:46.424 641 9488 I keystore2: keystore2::watchdog: Watchdog thread idle -> terminating. Have a great day.
12-08 15:10:46.489 3898 3898 D NotificationRepository: updateNotification() called with: list = [13]
12-08 15:10:46.490 2323 2376 D PeopleSpaceWidgetMgr: Sbn doesn't contain valid PeopleTileKey: null/0/org.lineageos.updater
12-08 15:10:46.504 986 2603 I sensors-hal: [ssc_utils]get_qmi_debug_flag:243, support_qmi_debug : false
12-08 15:10:46.519 986 2603 I sensors-hal: [ssc_utils]get_qmi_debug_flag:243, support_qmi_debug : false
12-08 15:10:46.585 986 2603 I sensors-hal: [ssc_utils]get_qmi_debug_flag:243, support_qmi_debug : false
12-08 15:10:46.587 3898 3898 D NotificationRepository: updateNotification() called with: list = [13]
12-08 15:10:46.592 3898 3898 D NotificationRepository: updateNotification() called with: list = [13]
12-08 15:10:46.592 2323 2376 D PeopleSpaceWidgetMgr: Sbn doesn't contain valid PeopleTileKey: null/0/org.lineageos.updater
12-08 15:10:46.601 986 2603 I sensors-hal: [ssc_utils]get_qmi_debug_flag:243, support_qmi_debug : false
12-08 15:10:46.602 2323 2376 D PeopleSpaceWidgetMgr: Sbn doesn't contain valid PeopleTileKey: null/0/org.lineageos.updater
12-08 15:10:46.708 986 2603 I sensors-hal: [ssc_utils]get_qmi_debug_flag:243, support_qmi_debug : false
12-08 15:10:47.989 986 2603 I sensors-hal: [ssc_utils]get_qmi_debug_flag:243, support_qmi_debug : false
12-08 15:10:48.004 650 650 I SDM : HWDeviceDRM::UpdateMixerAttributes: Mixer WxH 1080x2340-1 for Peripheral
12-08 15:10:48.004 650 650 I SDM : DisplayBase::SetActiveConfig: Active configuration changed to: 0
12-08 15:10:48.005 650 650 I SDM : StrategyImpl::SetIdleTimeoutMs: Idle timeout set to zero for command mode panels
12-08 15:10:48.011 1711 2006 I DisplayDeviceRepository: Display device changed: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:4630946523002478721", 1080 x 2340, modeId 1, defaultModeId 1, supportedModes [{id=1, width=1080, height=2340, fps=60.000004, alternativeRefreshRates=[90.0]}, {id=2, width=1080, height=2340, fps=90.0, alternativeRefreshRates=[60.000004]}], colorMode 0, supportedColorModes [0, 7, 9], hdrCapabilities HdrCapabilities{mSupportedHdrTypes=[2, 3], mMaxLuminance=500.0, mMaxAverageLuminance=500.0, mMinLuminance=0.0}, allmSupported false, gameContentTypeSupported false, density 440, 435.428 x 433.839 dpi, appVsyncOff 2333332, presDeadline 11500000, cutout DisplayCutout{insets=Rect(0, 136 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 145, 136), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2340 density={2.75} cutoutSpec={M 41,77 a 40,40 0 1 0 80,0 40,40 0 1 0 -80,0 Z @left} rotation={0} scale={1.0}}}}, touch INTERNAL, rotation 0, type INTERNAL, address {port=129, model=0x40446d53ad64a0}, deviceProductInfo DeviceProductInfo{name=, manufacturerPnpId=QCM, productId=1, modelYear=null, manufactureDate=ManufactureDate{week=27, year=2006}, connectionToSinkType=0}, state ON, frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 1.0, brightnessDefault 0.2901961, roundedCorners RoundedCorners{[RoundedCorner{position=TopLeft, radius=108, center=Point(108, 108)}, RoundedCorner{position=TopRight, radius=108, center=Point(972, 108)}, RoundedCorner{position=BottomRight, radius=108, center=Point(972, 2232)}, RoundedCorner{position=BottomLeft, radius=108, center=Point(108, 2232)}]}, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
12-08 15:10:48.013 986 2603 I sensors-hal: [ssc_utils]get_qmi_debug_flag:243, support_qmi_debug : false
12-08 15:10:48.026 650 650 I SDM : StrategyImpl::SetIdleTimeoutMs: Idle timeout set to zero for command mode panels
12-08 15:10:48.052 650 650 I SDM : HWDeviceDRM::UpdateMixerAttributes: Mixer WxH 1080x2340-1 for Peripheral
12-08 15:10:48.052 650 650 I SDM : DisplayBase::SetActiveConfig: Active configuration changed to: 1
12-08 15:10:48.053 650 650 I SDM : StrategyImpl::SetIdleTimeoutMs: Idle timeout set to zero for command mode panels
12-08 15:10:48.062 986 2603 I sensors-hal: [ssc_utils]get_qmi_debug_flag:243, support_qmi_debug : false
12-08 15:10:48.073 9499 9647 D PhenotypeContext: Application doesn't implement PhenotypeApplication interface, falling back to globally set context. See go/phenotype-flag#process-stable-init for more info.
Solutions
Possible fixes
Thanks to @gotenksIN, here is the solution :
If you find this in the logs :
12-08 15:07:43.494 1275 1275 W update_engine: [WARNING:dynamic_partition_control_android.cc(441)] overlayfs overrides are active and can interfere with our resources.
12-08 15:07:43.494 1275 1275 W update_engine: run adb enable-verity to deactivate if required and try again.
The problem is that I used adb remount
and wrote to dynamic partitions. This uses overlayfs and effectively breaks updates until you remove all the changes.
For more information, you can also refer to Android Documentation at https://source.android.com/docs/core/ota/dynamic_partitions/implement#adb-remount
The fix was simple, I ran :
adb root
adb enable-verity
result :
enable-verity only works for userdebug builds
Overlayfs teardown failed with error Invalid argument
Now reboot your device for settings to take effect
adb reboot
Even though I thought the enable-verity command did not work, the phone restarted and showed the system was updated to 1.6-s.