[Xiaomi Mi A2 / 6X Questions & Answers] stuwupid:
heres a log

Installing zip file '/sdcard/Havoc-OS-v2.6-20190611-jasmine_sprout-Official.zip'

Checking for Digest file...

Skipping Digest check: no Digest file found

I:AB zip

I:has_legacy_properties: Could not open /tmp/updater: No such file or directory!

I:Legacy property environment not used in updater.

Failed to parse build number in post-build-incremental=eng.rcstar.20190611.020532.

__bionic_open_tzdata: couldn't find any tzdata when looking for PAKST-5:30!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

[0617/224002:INFO:sideload_main.cc(207)] Update Engine Sideloading starting

[0617/224002:INFO:boot_control_recovery.cc(77)] Loaded boot_control HAL 'Boot control HAL' version 0.1 authored by 'Code Aurora Forum'.

[0617/224002:INFO:update_attempter_android.cc(207)] Using this install plan:

[0617/224002:INFO:install_plan.cc(77)] InstallPlan: new_update, source_slot: B, target_slot: A, url: file:///sdcard/Havoc-OS-v2.6-20190611-jasmine_sprout-Official.zip, payload: (size: 730303102, metadata_size: 143458, metadata signature: , hash: B3621E6FF72FDADC09D057ABA4C33A710920E6009EC948044D95B047F1C524B3, payload type: unknown), hash_checks_mandatory: false, powerwash_required: false

[0617/224002:INFO:update_attempter_android.cc(391)] Marking booted slot as good.

[0617/224002:ERROR:boot_control_recovery.cc(175)] Unable to mark boot successful: Operation not permitted

[0617/224002:INFO:update_attempter_android.cc(406)] Scheduling an action processor start.

[0617/224002:INFO:action_processor.cc(46)] ActionProcessor: starting InstallPlanAction

[0617/224002:INFO:action_processor.cc(116)] ActionProcessor: finished InstallPlanAction with code ErrorCode::kSuccess

[0617/224002:INFO:action_processor.cc(143)] ActionProcessor: starting DownloadAction

[0617/224002:INFO:install_plan.cc(77)] InstallPlan: new_update, source_slot: B, target_slot: A, url: file:///sdcard/Havoc-OS-v2.6-20190611-jasmine_sprout-Official.zip, payload: (size: 730303102, metadata_size: 143458, metadata signature: , hash: B3621E6FF72FDADC09D057ABA4C33A710920E6009EC948044D95B047F1C524B3, payload type: unknown), hash_checks_mandatory: false, powerwash_required: false

[0617/224002:INFO:download_action.cc(195)] Marking new slot as unbootable

[0617/224002:ERROR:boot_control_recovery.cc(155)] Unable to mark slot A as bootable: Operation not permitted

[0617/224002:WARNING:download_action.cc(197)] Unable to mark new slot A. Proceeding with the update anyway.

[0617/224002:INFO:multi_range_http_fetcher.cc(45)] starting first transfer

[0617/224002:INFO:multi_range_http_fetcher.cc(74)] starting transfer of range 1106+730303102

Step 1/2[0617/224002:INFO:delta_performer.cc(201)] Completed 0/? operations, 16384/730303102 bytes downloaded (0%), overall progress 0%

[0617/224002:INFO:delta_performer.cc(544)] Manifest size in payload matches expected value from Omaha

[0617/224002:INFO:delta_performer.cc(1369)] Verifying metadata hash signature using public key: /etc/update_engine/update-payload-key.pub.pem

[0617/224002:INFO:delta_performer.cc(1411)] Metadata hash signature matches value in Omaha response.

[0617/224002:INFO:delta_performer.cc(1431)] Detected a 'full' payload.

[0617/224002:INFO:delta_performer.cc(382)] PartitionInfo old boot sha256: size: 0

[0617/224002:INFO:delta_performer.cc(382)] PartitionInfo new boot sha256: 7sseQdNxPzpof5gw06pO3kxbGAgrRWt0fLhFTqW1di4= size: 39817216

[0617/224002:INFO:delta_performer.cc(382)] PartitionInfo old system sha256: size: 0

[0617/224002:INFO:delta_performer.cc(382)] PartitionInfo new system sha256: oLanZrAGfJ7MqFRrqbwKe4Z1mCaK46v/ezPPJSp1Fi8= size: 3221225472

[0617/224002:INFO:delta_performer.cc(382)] PartitionInfo old vendor sha256: size: 0

[0617/224002:INFO:delta_performer.cc(382)] PartitionInfo new vendor sha256: gS4RsefgJ3Qh1ZSLK5t0ctCDRdVZHLSynExBqW/Iq7g= size: 2147483648

[0617/224002:INFO:delta_performer.cc(368)] Applying 19 operations to partition "boot"

[0617/224002:INFO:delta_performer.cc(661)] Starting to apply update payload operations

[0617/224004:INFO:delta_performer.cc(368)] Applying 1536 operations to partition "system"

[0617/224017:INFO:delta_performer.cc(201)] Completed 136/2579 operations (5%), 116850688/730303102 bytes downloaded (16%), overall progress 10%

[0617/224030:INFO:delta_performer.cc(201)] Completed 289/2579 operations (11%), 219103232/730303102 bytes downloaded (30%), overall progress 20%

[0617/224043:INFO:delta_performer.cc(201)] Completed 421/2579 operations (16%), 321339392/730303102 bytes downloaded (44%), overall progress 30%

[0617/224046:ERROR:xz_extent_writer.cc(89)] xz_dec_run returned XZ_DATA_ERROR

[0617/224046:ERROR:delta_performer.cc(937)] writer->Write(buffer_.data(), operation.data_length()) failed.

[0617/224046:ERROR:extent_writer.h(38)] End() not called on ExtentWriter.

[0617/224046:ERROR:extent_writer.h(38)] End() not called on ExtentWriter.

[0617/224046:ERROR:extent_writer.h(38)] End() not called on ExtentWriter.

[0617/224046:ERROR:delta_performer.cc(288)] Failed to perform REPLACE_XZ operation 452, which is the operation 433 in partition "system"

[0617/224046:ERROR:download_action.cc(325)] Error ErrorCode::kDownloadOperationExecutionError (28) in DeltaPerformer's Write method when processing the received payload -- Terminating processing

[0617/224046:INFO:delta_performer.cc(304)] Discarding 832792 unused downloaded bytes

[0617/224046:INFO:multi_range_http_fetcher.cc(172)] Received transfer terminated.

[0617/224046:INFO:multi_range_http_fetcher.cc(124)] TransferEnded w/ code 200

[0617/224046:INFO:multi_range_http_fetcher.cc(126)] Terminating.

[0617/224046:INFO:action_processor.cc(116)] ActionProcessor: finished DownloadAction with code ErrorCode::kDownloadOperationExecutionError

[0617/224046:INFO:action_processor.cc(121)] ActionProcessor: Aborting processing due to failure.

[0617/224046:INFO:update_attempter_android.cc(294)] Processing Done.

Error applying update: 28 (ErrorCode::kDownloadOperationExecutionError)Updater process ended with ERROR: 1

I:Install took 44 second(s).

Error installing zip file '/sdcard/Havoc-OS-v2.6-20190611-jasmine_sprout-Official.zip'

Updating partition details...

I:Data backup size is 0MB, free: 46234MB.

I:Unable to mount '/usb-otg'

I:Actual block device: '', current file system: 'auto'

...done

always shows me this error

"Error applying update: 28 (ErrorCode::kDownloadOperationExecutionError)Updater process ended with ERROR: 1"

ive tried installing this on stock pie as well as stock oreo always get this error

ps i can install stock rom via xiaomi flash

i have tried installing rom from different versions of twrp as well