[Xiaomi Mi A3 Questions & Answers] JackVoo:
Hi,

Last few week I got an update for my Mi A3. But it show "Couldn't Update". I have tried restart for a few times, still failed. At first I thought is a common issue that happen before for Android 10 Global version. But until now, I google but didn't get similar issue.

06-09 10:22:14.223 1026 1026 I update_engine: [0609/102214.223549:INFO:delta_performer.cc(384)] Opening /dev/block/bootdevice/by-name/qupfw_a partition without O_DSYNC
06-09 10:22:14.224 1026 1026 I update_engine: [0609/102214.224616:INFO:delta_performer.cc(127)] Caching writes.
06-09 10:22:14.224 1026 1026 I update_engine: [0609/102214.224776:INFO:delta_performer.cc(396)] Applying 3 operations to partition "qupfw"
06-09 10:22:14.253 1026 1026 I update_engine: [0609/102214.253610:INFO:delta_performer.cc(384)] Opening /dev/block/bootdevice/by-name/rpm_a partition without O_DSYNC
06-09 10:22:14.254 1026 1026 I update_engine: [0609/102214.254519:INFO:delta_performer.cc(127)] Caching writes.
06-09 10:22:14.254 1026 1026 I update_engine: [0609/102214.254630:INFO:delta_performer.cc(396)] Applying 4 operations to partition "rpm"
06-09 10:22:14.274 1026 1026 I update_engine: [0609/102214.274571:INFO:delta_performer.cc(384)] Opening /dev/block/bootdevice/by-name/storsec_a partition without O_DSYNC
06-09 10:22:14.275 1026 1026 I update_engine: [0609/102214.275496:INFO:delta_performer.cc(127)] Caching writes.
06-09 10:22:14.275 1026 1026 I update_engine: [0609/102214.275606:INFO:delta_performer.cc(396)] Applying 3 operations to partition "storsec"
06-09 10:22:14.296 1026 1026 I update_engine: [0609/102214.296526:INFO:delta_performer.cc(384)] Opening /dev/block/bootdevice/by-name/system_a partition without O_DSYNC
06-09 10:22:14.297 1026 1026 I update_engine: [0609/102214.297435:INFO:delta_performer.cc(127)] Caching writes.
06-09 10:22:14.297 1026 1026 I update_engine: [0609/102214.297545:INFO:delta_performer.cc(396)] Applying 2663 operations to partition "system"
06-09 10:22:14.325 1026 1026 E update_engine: [0609/102214.325666:ERROR:fec_file_descriptor.cc(30)] No ECC data in the passed file
06-09 10:22:14.325 1026 1026 E update_engine: [0609/102214.325892:ERROR:delta_performer.cc(430)] Unable to open ECC source partition system on slot B, file /dev/block/bootdevice/by-name/system_b: Success (0)
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326004:ERROR:delta_performer.cc(1135)] The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326089:ERROR:delta_performer.cc(1140)] Expected: sha256|hex = 8FDC83A129E42CCF54930CDF2E0CADA4B9D18D9F28CCA93859745FBFF655620E
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326143:ERROR:delta_performer.cc(1143)] Calculated: sha256|hex = A4862B6548106E22C0A0FEC181ECE24EEF4665B4E9766EE1D815FC88DD2E251F
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326217:ERROR:delta_performer.cc(1154)] Operation source (offset:size) in blocks: 0:2,219:1,224:1,235:226,699:2,2908:49,2958:156,3321:2,3580:1,3584:1,3588:1,3945:1,3948:5,3954:11,3967:10,3978:18,3999:2,4003:3,4007:1,4009:6,4016:12,4034:1
06-09 10:22:14.326 1026 1026 W update_engine: [0609/102214.326291:WARNING:mount_history.cc(66)] Device was remounted R/W 2 times. Last remount happened on 2020-05-15 10:30:32.000 UTC.
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326354:ERROR:delta_performer.cc(1435)] source_fd != nullptr failed.
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326414:ERROR:delta_performer.cc(296)] Failed to perform BROTLI_BSDIFF operation 2373, which is the operation 0 in partition "system"
06-09 10:22:14.326 1026 1026 E update_engine: [0609/102214.326468:ERROR:download_action.cc(336)] Error ErrorCode::kDownloadStateInitializationError (20) in DeltaPerformer's Write method when processing the received payload -- Terminating processing
06-09 10:22:14.327 1026 1026 I update_engine: [0609/102214.327135:INFO:delta_performer.cc(313)] Discarding 3276 unused downloaded bytes
06-09 10:22:14.327 1026 1026 I update_engine: [0609/102214.327209:INFO:libcurl_http_fetcher.cc(548)] Requesting libcurl to terminate transfer.
06-09 10:22:14.332 1026 1026 I update_engine: [0609/102214.332250:INFO:multi_range_http_fetcher.cc(177)] Received transfer terminated.
06-09 10:22:14.332 1026 1026 I update_engine: [0609/102214.332476:INFO:multi_range_http_fetcher.cc(129)] TransferEnded w/ code 206
06-09 10:22:14.332 1026 1026 I update_engine: [0609/102214.332553:INFO:multi_range_http_fetcher.cc(131)] Terminating.
06-09 10:22:14.386 1026 1026 I update_engine: [0609/102214.386506:INFO:action_processor.cc(116)] ActionProcessor: finished DownloadAction with code ErrorCode::kDownloadStateInitializationError
06-09 10:22:14.386 1026 1026 I update_engine: [0609/102214.386774:INFO:action_processor.cc(121)] ActionProcessor: Aborting processing due to failure.
06-09 10:22:14.386 1026 1026 I update_engine: [0609/102214.386865:INFO:update_attempter_android.cc(454)] Processing Done.
06-09 10:22:14.387 1026 1026 I update_engine: [0609/102214.387793:INFO:update_attempter_android.cc(473)] Resetting update progress.
06-09 10:22:14.387 1026 1026 I update_engine: [0609/102214.387916:INFO:dynamic_partition_control_android.cc(151)] Destroying [] from device mapper
06-09 10:22:14.401 3279 9469 I SystemUpdate: [Control,InstallationControl] Installation progress updated to (0x111, 0.000).
06-09 10:22:14.402 1026 1026 I update_engine: [0609/102214.402755:INFO:metrics_reporter_android.cc(29)] uploading 1 to histogram for metric ota_update_engine_attempt_number
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.402996:INFO:metrics_reporter_android.cc(29)] uploading 0 to histogram for metric ota_update_engine_attempt_payload_type
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403138:INFO:metrics_reporter_android.cc(29)] uploading 0 to histogram for metric ota_update_engine_attempt_fixed_duration_boottime_in_minutes
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403258:INFO:metrics_reporter_android.cc(29)] uploading 0 to histogram for metric ota_update_engine_attempt_duration_monotonic_in_minutes
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403364:INFO:metrics_reporter_android.cc(29)] uploading 44 to histogram for metric ota_update_engine_attempt_payload_size_mib
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403459:INFO:metrics_reporter_android.cc(29)] uploading 1 to histogram for metric ota_update_engine_attempt_result
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403576:INFO:metrics_reporter_android.cc(29)] uploading 20 to histogram for metric ota_update_engine_attempt_error_code
06-09 10:22:14.403 1026 1026 I update_engine: [0609/102214.403829:INFO:metrics_reporter_android.cc(29)] uploading 29 to histogram for metric ota_update_engine_attempt_fixed_current_bytes_downloaded_mib

From what I notice, these 2 lines show the reason of these issue. From what I remember, I loaded twrp recovery before. Is this cause the OTA failed to update?

The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.

Device was remounted R/W 2 times. Last remount happened on 2020-05-15 10:30:32.000 UTC.

Anyone has this issue? Or any suggestion to solve this issue.

How do I check what is the version of this update? It does not show in the system update. I have downloaded the OTA.zip.

Current version: Android 10 for EU.

Build number: V11.0.1.0.QFQEUXM

Thanks