imx8mq android 11 update with sideload failed via recovery

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mq android 11 update with sideload failed via recovery

1,409 Views
edward_fu
Contributor III

Hi,

I am doing imx8mq board customized recovery development, which imx8mq board enters recovery mode then apply update from usb drive. 

I built a full ota package and put it into usb drive. The update flow terminated at DownloadAction with code kInstallDeviceOpenError.

But I used the same ota package to update OTA with update_engine(update_engine_client --payload=xxx, --update --headers=xxx ...), it can update successfully.

So I want to know why update failed with sideload via recovery. 

 

 

Tags (1)
0 Kudos
7 Replies

1,388 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @edward_fu 

 

Can you export and attach update log here?

 

Thanks

Zhiming

0 Kudos

1,365 Views
edward_fu
Contributor III

Hi 

Thanks for your quick reply.

The log in recovery like below:

[ 27.969740] I:current maximum temperature: 46000
[ 27.987744] Supported API: 3
[ 27.988393] Finding update package...
[ 28.019319] I:Update package id: /sideload/package.zip
from /system/etc/security/otacerts.zip
[ 28.138154] Verifying update package...
[ 28.459847] I:comment is 1746 bytes; signature is 1728 bytes from end
[ 71.752507] Installing update...
[ 71.786933] I:package_is_ab: 1
[ 71.786961] I:device_supports_ab: 1
[ 71.786978] I:ab_device_supports_nonab: 0
[ 71.786993] I:device_only_supports_ab: 1
[ 71.787008] I:package_path: /sideload/package.zip
[ 71.826055] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:sideload_main.cc(190)] Update Engine Sideloading starting
[ 71.827722] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:200] edward BootControl::Init
[ 71.827748] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:213] edward ro.boot.slot_suffix _a
[ 71.830254] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:82] edward LoadBootloaderControl from /dev/block/by-name/misc
[ 71.835076] cutils-trace E 01-01 00:01:17 265 265 Error opening trace file: No such file or directory (2)
[ 71.835255] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:boot_control_android.cc(70)] Loaded boot control hidl hal.
[ 71.835954] update_engine_sideload E 01-01 00:01:17 265 265 [ERROR:prefs.cc(85)] storage_->DeleteKey(key) failed.
[ 71.835987] update_engine_sideload E 01-01 00:01:17 265 265 [ERROR:prefs.cc(85)] storage_->DeleteKey(key) failed.
[ 71.836018] update_engine_sideload E 01-01 00:01:17 265 265 [ERROR:prefs.cc(85)] storage_->DeleteKey(key) failed.
[ 71.836046] update_engine_sideload E 01-01 00:01:17 265 265 [ERROR:prefs.cc(85)] storage_->DeleteKey(key) failed.
[ 71.836112] update_engine_sideload E 01-01 00:01:17 265 265 [ERROR:prefs.cc(85)] storage_->DeleteKey(key) failed.
[ 71.836127] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:update_attempter_android.cc(162)] Skip ScheduleCleanupPreviousUpdate in sideload because ApplyPayload will call it later.
[ 72.235016] update_engine_sideload E 01-01 00:01:17 265 265 [ERROR:prefs.cc(85)] storage_->DeleteKey(key) failed.
[ 72.235056] update_engine_sideload E 01-01 00:01:17 265 265 [ERROR:prefs.cc(85)] storage_->DeleteKey(key) failed.
[ 72.235067] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:256] edward BootControl::GetCurrentSlot 0
[ 72.235081] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:256] edward BootControl::GetCurrentSlot 0
[ 72.235092] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:update_attempter_android.cc(280)] Using this install plan:
[ 72.235106] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:install_plan.cc(91)] InstallPlan: new_update, version: , source_slot: A, target_slot: B, url: file:///sideload/package.zip, payload: (size: 631181233, metadata_size: 60636, metadata signature: , hash: 18F535BD77B803989799EE3EFE32F297D803043E074F07B003D3A7BBB39FD102, payload type: unknown), hash_checks_mandatory: false, powerwash_required: false, switch_slot_on_reboot: true, run_post_install: true, is_rollback: false, write_verity: true
[ 72.235123] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:metrics_utils.cc(363[ 78.331526] EXT4-fs (mmcblk0p10): Ignoring removed nomblk_io_submit option
)] Number of Reboots during current update attempt = 0
[ 72.235133] update_engine_sideload I [ 78.348706] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit
01-01 00:01:17 265 265 [INFO:metrics_utils.cc(371)] Payload Attempt Number = 1
[ 72.235146] __bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
[ 72.235156] __bionic_open_tzdata: couldn't find a[ 78.377827] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: discard
ny tzdata when looking for posixrules!
[ 72.235165] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:metrics_utils.cc(388)] Update Monotonic Timestamp Start = 1/1/1970 0:01:17 GMT
[ 72.235177] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:metrics_utils.cc(397)] Update Boot Timestamp Start = 1/1/1970 0:01:17 GMT
[ 72.235191] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:update_attempter_android.cc(648)] Scheduling an action processor start.
[ 72.235202] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:action_processor.cc(51)] ActionProcessor: starting UpdateBootFlagsAction
[ 72.235215] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:update_boot_flags_action.cc(45)] Marking booted slot as good.
[ 72.235225] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:261] edward BootControl::MarkBootSuccessful
[ 72.235239] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:82] edward LoadBootloaderControl from /dev/block/by-name/misc
[ 72.235250] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:100] edward UpdateAndSaveBootloaderControl from /dev/block/by-name/misc
[ 72.235264] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:action_processor.cc(116)] ActionProcessor: finished UpdateBootFlagsAction with code ErrorCode::kSuccess
[ 72.235275] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:action_processor.cc(143)] ActionProcessor: starting CleanupPreviousUpdateAction
[ 72.235288] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:cleanup_previous_update_action.cc(82)] Starting/resuming CleanupPreviousUpdateAction
[ 72.235300] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:cleanup_previous_update_action.cc(137)] Boot completed, waiting on markBootSuccessful()
[ 72.235311] update_engine_sideload I 01-01 00:01:17 265 265 fs_mgr.cpp:327] [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/by-name/metadata
[ 72.235322] update_engine_sideload I 01-01 00:01:17 265 265 fs_mgr.cpp:669] [libfs_mgr]Filesystem on /dev/block/by-name/metadata was not cleanly shutdown; state flags: 0x1, incompat feature flags: 0x46
[ 72.622186] update_engine_sideload I 01-01 00:01:17 265 265 fs_mgr.cpp:209] [libfs_mgr]check_fs(): mount(/dev/block/by-name/metadata,/metadata,ext4)=0: Success
[ 72.622227] update_engine_sideload I 01-01 00:01:17 265 265 fs_mgr.cpp:217] [libfs_mgr]check_fs(): unmount(/metadata) succeeded
[ 72.622245] update_engine_sideload I 01-01 00:01:17 265 265 fs_mgr.cpp:238] [libfs_mgr]Not running /system/bin/e2fsck on /dev/block/mmcblk0p10 (executable not in system image)
[ 72.622267] update_engine_sideload I 01-01 00:01:17 265 265 fs_mgr.cpp:781] [libfs_mgr]__mount(source=/dev/block/by-name/metadata,target=/metadata,type=ext4)=0: Success
[ 72.622306] update_engine_sideload E 01-01 00:01:17 265 265 snapshot.cpp:2726] Couldn't access state file.
[ 72.622326] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:cleanup_previous_update_action.cc(185)] Snapshot devices are not created
[ 72.622347] update_engine_sideload I 01-01 00:01:17 265 265 snapshot_stats.cpp:37] Read merge statistics file failed: No such file or directory
[ 72.622369] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:cleanup_previous_update_action.cc(206)] Waiting for any previous merge request to complete. This can take up to several minutes.
[ 72.622392] update_engine_sideload E 01-01 00:01:17 265 265 snapshot.cpp:1948] Read state file failed: No such file or directory
[ 72.622410] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:cleanup_previous_update_action.cc(229)] Can't find any snapshot to merge.
[ 72.622433] update_engine_sideload E 01-01 00:01:17 265 265 snapshot.cpp:1948] Read state file failed: No such file or directory
[ 72.622452] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:cleanup_previous_update_action.cc(390)] Skip reporting merge stats in recovery.
[ 72.622471] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:action_processor.cc(116)] ActionProcessor: finished CleanupPreviousUpdateAction with code ErrorCode::kSuccess
[ 72.622490] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:action_processor.cc(143)] ActionProcessor: starting InstallPlanAction
[ 72.622510] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:action_processor.cc(116)] ActionProcessor: finished InstallPlanAction with code ErrorCode::kSuccess
[ 72.622529] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:action_processor.cc(143)] ActionProcessor: starting DownloadAction
[ 72.622550] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:install_plan.cc(91)] InstallPlan: new_update, version: , source_slot: A, target_slot: B, url: file:///sideload/package.zip, payload: (size: 631181233, metadata_size: 60636, metadata signature: , hash: 18F535BD77B803989799EE3EFE32F297D803043E074F07B003D3A7BBB39FD102, payload type: unknown), hash_checks_mandatory: false, powerwash_required: false, switch_slot_on_reboot: true, run_post_install: true, is_rollback: false, write_verity: true
[ 72.622577] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:download_action.cc(199)] Marking new slot as unbootable
[ 72.622596] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:309] edward BootControl::SetSlotAsUnbootable 1
[ 72.622614] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:82] edward LoadBootloaderControl from /dev/block/by-name/misc
[ 72.622631] update_engine_sideload E 01-01 00:01:17 265 265 libboot_control.cpp:100] edward UpdateAndSaveBootloaderControl from /dev/block/by-name/misc
[ 72.622648] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:multi_range_http_fetcher.cc(45)] starting first transfer
[ 72.622664] update_engine_sideload I 01-01 00:01:17 265 265 [INFO:multi_range_http_fetcher.cc(74)] starting transfer of range 1239+631181233
[ 72.973645] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:delta_performer.cc(209)] Completed 0/? operations, 16384/631181233 bytes downloaded (0%), overall progress 0%
[ 72.973693] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:delta_performer.cc(520)] Manifest size in payload matches expected value from Omaha
[ 72.973704] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:delta_performer.cc(1690)] Verifying using certificates: /system/etc/security/otacerts.zip
[ 72.973715] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:payload_verifier.cc(102)] signature blob size = 267
[ 72.973728] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:payload_verifier.cc(118)] Truncating the signature to its unpadded size: 256.
[ 72.973739] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:payload_verifier.cc(129)] Verified correct signature 1 out of 1 signatures.
[ 72.973752] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:payload_metadata.cc(224)] Metadata hash signature matches value in Omaha response.
[ 72.973765] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:delta_performer.cc(1725)] Detected a 'full' payload.
[ 72.973804] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:delta_performer.cc(982)] Preparing partitions for new update. last hash = , new hash = GPU1vXe4A5iXme4+/jLyl9gDBD4HTwewA9Onu7Of0QI=11x7CfYMtrsfa
Ir/p6NqZnv7z/Se/OY3gfxK+B1Sqs4=
libboot_control.cpp:256] edward BootControl::GetCurrentSlot 0
[ 72.973833] update_engine_sideload I 01-01 00:01:18 265 265 fs_mgr.cpp:327] [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/by-name/metadata
[ 72.973846] update_engine_sideload I 01-01 00:01:18 265 265 fs_mgr.cpp:209] [libfs_mgr]check_fs(): mount(/dev/block/by-name/metadata,/metadata,ext4)=0: Success
[ 72.973857] update_engine_sideload I 01-01 00:01:18 265 265 fs_mgr.cpp:217] [libfs_mgr]check_fs(): unmount(/metadata) succeeded
[ 72.973867] update_engine_sideload I 01-01 00:01:18 265 265 fs_mgr.cpp:238] [libfs_mgr]Not running /system/bin/e2fsck on /dev/block/mmcblk0p10 (executable not in system image)
[ 72.973880] libc: Unable to set property "ro.boottime.init.fsck.metadata" to "42": error code: 0xb
[ 72.973890] update_engine_sideload I 01-01 00:01:18 265 265 fs_mgr.cpp:781] [libfs_mgr]__mount(source=/dev/block/by-name/metadata,target=/metadata,type=ext4)=0: Success
[ 72.973904] libc: Unable to set property "ro.boottime.init.mount.metadata" to "14": error code: 0xb
[ 72.973913] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:dynamic_partition_c[ 79.263801] kauditd_printk_skb: 4 callbacks suppressed
ontrol_android.cc(680)] Erasing A[ 79.263809] audit: type=1400 audit(79.171:318): avc: denied { read } for pid=180 comm="recovery" name="console" dev="tmpfs" ino=320 scontext=u:r:recovery:s0 tcontext=u:object_r:console_device:s0 tclass=chr_file permissive=1
VB footer of system_other partition before update.
[ 72.973927] update_engine_sideload E 01-01 00:01:18 265 265 fs_mgr_fstab.cpp:677] [libfs_mgr]ReadFstabFromFile(): cannot open file: '/system/etc/fstab.postinstall': No such file or directory
[ 72.973938] update_engine_sideload W 01-01 00:01:18 265 265 [WARNING:dynamic_partition_control_android.cc(554)] Cannot read fstab from /system/etc/fstab.postinstall: No such file or directory (2)
[ 72.973952] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:dynamic_partition_control_android.cc(581)] AVB is not enabled on system_other. Skip erasing.
[ 72.973963] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:dynamic_partition_control_android.cc(450)] GetVirtualAbFeatureFlag is enabled
[ 72.973975] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:dynamic_partition_control_android.cc(458)] target_supports_snapshot_ support
[ 72.973985] update_engine_sideload E 01-01 00:01:18 265 265 snapshot.cpp:1948] Read state file failed: No such file or directory
[ 73.420513] update_engine_sideload E 01-01 00:01:18 265 265 snapshot.cpp:1948] Read state file failed: No such file or directory
[ 73.420555] update_engine_sideload E 01-01 00:01:18 265 265 libboot_control.cpp:200] edward BootControl::Init
[ 73.420577] update_engine_sideload E 01-01 00:01:18 265 265 libboot_control.cpp:213] edward ro.boot.slot_suffix _a
[ 73.420596] update_engine_sideload E 01-01 00:01:18 265 265 libboot_control.cpp:82] edward LoadBootloaderControl from /dev/block/by-name/misc
[ 73.420620] update_engine_sideload I 01-01 00:01:18 265 265 partition_cow_creator.cpp:214] Remaining free space for COW: 1664360448 bytes
[ 73.420642] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:2294] For partition system_b, device size = 1152716800, snapshot size = 1152716800, cow partition size = 1157226496, cow file size = 0
[ 73.420665] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot system_b in recovery.
[ 73.420684] update_engine_sideload I 01-01 00:01:18 265 265 builder.cpp:1031] [liblp]Partition system_b-cow will resize from 0 bytes to 1157226496 bytes
[ 73.420706] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:2354] Successfully created snapshot partition for system_b
[ 73.420727] update_engine_sideload I 01-01 00:01:18 265 265 partition_cow_creator.cpp:214] Remaining free space for COW: 507133952 bytes
[ 73.420750] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:2294] For partition system_ext_b, device size = 132620288, snapshot size = 132620288, cow partition size = 133144576, cow file size = 0
[ 73.420771] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot system_ext_b in recovery.
[ 73.420792] update_engine_sideload I 01-01 00:01:18 265 265 builder.cpp:1031] [liblp]Partition system_ext_b-cow will resize from 0 bytes to 133144576 bytes
[ 73.420812] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:2354] Successfully created snapshot partition for system_ext_b
[ 73.420851] update_engine_sideload I 01-01 00:01:18 265 265 partition_cow_creator.cpp:214] Remaining free space for COW: 373989376 bytes
[ 73.420869] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:2294] For partition vendor_b, device size = 551129088, snapshot size = 551129088, cow partition size = 373989376, cow file size = 179298304
[ 73.420890] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot vendor_b in recovery.
[ 73.420907] update_engine_sideload I 01-01 00:01:18 265 265 builder.cpp:1031] [liblp]Partition vendor_b-cow will resize from 0 bytes to 373989376 bytes
[ 73.420924] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:2354] Successfully created snapshot partition for vendor_b
[ 73.420941] update_engine_sideload I 01-01 00:01:18 265 265 partition_cow_creator.cpp:214] Remaining free space for COW: 0 bytes
[ 73.420958] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:2294] For partition product_b, device size = 256221184, snapshot size = 256221184, cow partition size = 0, cow file size = 257228800
[ 73.420976] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot product_b in recovery.
[ 73.420993] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:2354] Successfully created snapshot partition for product_b
[ 73.421009] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:2357] Allocating CoW images.
[ 73.421025] update_engine_sideload E 01-01 00:01:18 265 265 fiemap_writer.cpp:698] Failed to create file at: /data/gsi/ota/product_b-cow-img.img: No such file or directory
[ 73.792042] update_engine_sideload E 01-01 00:01:18 265 265 split_fiemap_writer.cpp:68] Could not determine maximum file size for /data/gsi/ota/product_b-cow-img.img
[ 73.792094] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot product_b in recovery.
[ 73.792115] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot vendor_b in recovery.
[ 73.792132] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot system_ext_b in recovery.
[ 73.792149] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot system_b in recovery.
[ 73.792165] update_engine_sideload E 01-01 00:01:18 265 265 [ERROR:dynamic_partition_control_android.cc(769)] Cannot create update snapshots: Error
[ 73.792182] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:dynamic_partition_control_android.cc(473)] PrepareSnapshotPartitionsForUpdate failed in recovery. Attempt to overwrite existing partitions if possible
[ 73.792201] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:172] Update has been initiated, now canceling
[ 73.792217] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:224] Removing all update state.
[ 73.792233] update_engine_sideload W 01-01 00:01:18 265 265 snapshot.cpp:192] Cannot read /metadata/ota/snapshot-boot: No such file or directory
[ 73.792250] update_engine_sideload W 01-01 00:01:18 265 265 snapshot.cpp:1336] Failed to get flashing status
[ 73.792266] update_engine_sideload W 01-01 00:01:18 265 265 snapshot.cpp:192] Cannot read /metadata/ota/snapshot-boot: No such file or directory
[ 73.792285] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:1746] Successfully unmapped snapshot product_b
[ 73.792301] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot product_b in recovery.
[ 73.792317] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:1746] Successfully unmapped snapshot system_b
[ 73.792333] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot system_b in recovery.
[ 73.792350] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:1746] Successfully unmapped snapshot vendor_b
[ 73.792366] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot vendor_b in recovery.
[ 73.792383] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:1746] Successfully unmapped snapshot system_ext_b
[ 73.792399] update_engine_sideload I 01-01 00:01:18 265 265 snapshot.cpp:538] Skipping delete of snapshot system_ext_b in recovery.
[ 73.792428] update_engine_sideload E 01-01 00:01:18 265 265 [ERROR:dynamic_partition_control_android.cc(716)] PrepareDynamicPartitionsForUpdate
[ 73.792447] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:dynamic_partition_control_android.cc(319)] Loaded metadata from slot A in /dev/block/by-name/super
[ 73.792465] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:dynamic_partition_control_android.cc(1011)] Will overwrite existing partitions. Slot Amay be unbootable until update finishes!
[ 73.792483] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:dynamic_partition_utils.cc(33)] Removing group nxp_dynamic_partitions_b
[ 73.792500] update_engine_sideload E 01-01 00:01:18 265 265 [ERROR:dynamic_partition_control_android.cc(808)] The maximum size of all groups with suffix _b (3747610624) has exceeded half of allocatable space for dynamic partitions 1878523904.
[ 73.792521] update_engine_sideload E 01-01 00:01:18 265 265 [ERROR:delta_performer.cc(992)] Unable to initialize partition metadata for slot B
[ 74.163428] update_engine_sideload E 01-01 00:01:18 265 265 [ERROR:download_action.cc(336)] Error E[ 80.145666] read descriptors
[ 74.163453] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:multi_range_http_fetcher.cc(177)] Received transfer terminated.
[ 74.163471] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:multi_range_http_fetcher.cc(129)] TransferEnded w/ code 200
[ 74.163487] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:multi_range_http_fetcher.cc(131)] Terminating.
[ 74.163503] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:action_processor.cc(116)] ActionProcessor: finished DownloadAction with code ErrorCode::kInstallDeviceOpenError
[ 74.163521] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:action_processor.cc(121)] ActionProcessor: Aborting processing due to failure.
[ 74.163538] update_engine_sideload I 01-01 00:01:18 265 265 [INFO:update_attempter_android.cc(522)] Processing Done.
[ 74.163554] update_engine_sideload E 01-01 00:01:18 265 265 [ERROR:prefs.cc(85)] storage_->DeleteKey(key) failed.
[ 74.163570] E:Error in /sideload/package.zip (status 1)
[ 74.163585]
[ 74.163598] I:current maximum temperature: 47000
[ 74.163612] I:/sideload/package.zip
[ 74.163626] 0
[ 74.163639] time_total: 44
[ 74.163653] retry: 0
[ 74.163666] target_build: eng.edward.20230904.033154
[ 74.163680] temperature_start: 46000
[ 74.163694] temperature_end: 47000
[ 74.163708] temperature_max: 47000
[ 74.163722]
[ 74.163734]
[ 74.163747] Install from SD card completed with status 1.
[ 74.163761] Installation aborted.

Thanks again.

Edward

0 Kudos

1,357 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @edward_fu 

 

How do you flash images with flash command? Please try to flash dual bootloader.

Did you also try adb sideload?

 

Best Regards

Zhiming

0 Kudos

1,346 Views
edward_fu
Contributor III

Hi Zhiming,

I use the command like this: sudo ./uuu_imx_android_flash.sh -f imx8mq -e to flash the images. And I use the device-partitions-13GB-ab_super.bpt partition table not the device-partitions-13GB-ab-dual-bootloader_super.bpt.

I haven't tried adb sideload.

May I have your immeidate communication so that I can tell you more details and it will be more efficient.

Br,

Edward

0 Kudos

1,305 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @edward_fu 

Please try to flash dual bootloader when you use flash command.

You can update here and i will reply you asap.

Best Regards

Zhiming

0 Kudos

1,302 Views
edward_fu
Contributor III

Hi Zhiming,

I have resolved the problem. 

Br,

Edward

0 Kudos

808 Views
mihuayishi
Contributor I

Hello, can you provide me with how you solved this problem
Thanks

0 Kudos