Android Factory Reset Issue: Android 11, imx8q

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Android Factory Reset Issue: Android 11, imx8q

5,428件の閲覧回数
MrNate
Contributor I

I'm using the Android 11 delivery for the imx8q and am coming across the following scenario that is giving me a terrible time.  This was tested with the stock Android build with no local changes.  Any thoughts where to look to fix this?

Success path

1.  Flash an A11 build

2.  Do a factory reset <--success

Failure Path

1. Flash A11 build

2.  Do an OTA update

3.  Do a factory reset <-- failure

Error Log:

[  323.210779] -- Wiping data...
[  323.231008] I:[libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/by-name/metadata
[  323.264835] I:[libfs_mgr]check_fs(): mount(/dev/block/by-name/metadata,/metadata,ext4)=0: Success
[  323.274898] I:[libfs_mgr]check_fs(): unmount(/metadata) succeeded
[  323.275033] I:[libfs_mgr]Not running /system/bin/e2fsck on /dev/block/mmcblk0p11 (executable not in system image)
[  323.321064] I:[libfs_mgr]__mount(source=/dev/block/by-name/metadata,target=/metadata,type=ext4)=0: Success
[  323.322758] I:Creating logical partitions with snapshots as needed
[  323.361040] I:[libfs_mgr]Created logical partition system_b-base on device /dev/block/dm-5
[  323.389060] I:[libfs_mgr]Created logical partition system_b-cow-img on device /dev/block/dm-6
[  323.401994] I:Mapped system_b-cow-img to 254:6
[  323.405555] E:DM_DEV_CREATE failed for [system_b-cow]: Device or resource busy
[  323.427629] E:Could not create COW device: system_b-cow
[  323.549046] E:Unable to map partitions to complete merge.
[  323.605258] Unable to check merge status and/or complete update merge.
[  323.644265] Unable to check update status or complete merge, cannot wipe partitions. 

ラベル(1)
タグ(1)
0 件の賞賛
返信
3 返答(返信)

5,354件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Could you share the full Android version that you're working with?
Also, is it standard Android or is it Android Auto?

Best regards,
Aldo.

0 件の賞賛
返信

5,347件の閲覧回数
MrNate
Contributor I

@AldoG 

 

 Android Auto.  11.0.0_1.1.0 

Thanks for looking into this.

Preliminary look makes it seem this is also happening on 2.5.0

0 件の賞賛
返信

5,332件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Thank you for sharing more information, could you try with what was proposed by google here:
https://source.android.com/docs/core/ota/virtual_ab/implement-patches#fix-slot-switch

Best regards,
Aldo.

0 件の賞賛
返信