Hi Sanket,
Thank you for the reply.
If creating a physical partition is not supported with OTA, is it really possible to have vendor_boot partition since the device is being updated to A11 using OTA method only. Can you share some details on how this can be achieved?
Thanks in advance!
Hello @Nishal ,
I hope you are doing well.
->Please refer to the given-below link for OTA dynamic partition.
https://source.android.com/
Thanks & Regards,
Sanket Parekh
Hi @Sanket_Parekh ,
It took a while for me to make few modifications, and generate an retrofit OTA image. But after OTA update, device is not able to mount partitions.
FYI, I have used this document,
I wanted to know is the retrofit update for dynamic partition only supported to to AOSP10 or can it be done from AOSP9 to AOSP11 directory,
Also, if we are merging any 2 physical partitions for super image, is it supposed to be contiguous?
BOARD_SUPER_PARTITION_GROUPS := test_dynamic_partitions
BOARD_TEST_DYNAMIC_PARTITIONS_PARTITION_LIST := system system_ext vendor product
BOARD_SUPER_PARTITION_METADATA_DEVICE := system
BOARD_SUPER_PARTITION_BLOCK_DEVICES := system vendor
BOARD_SUPER_PARTITION_SYSTEM_DEVICE_SIZE := 2252341248 # 2148M
BOARD_SUPER_PARTITION_VENDOR_DEVICE_SIZE := 104857600 # 100M
BOARD_SUPER_PARTITION_SIZE := 2357198848 # 2248M =(2148M+100M)
BOARD_TEST_DYNAMIC_PARTITIONS_SIZE := 2355101696 # 2247M =(2148M+100M) - 2M
Basically merging system and vendor partitions in A9 to generate super partitions that can support vendor, system, system_ext and product.
Error Log:
[ 14.358249] init: Wait for partitions returned after 10009ms
[ 14.364003] init: bool android::init::BlockDevInitializer::InitDevices(std::set<std::string>): partition(s) not found after polling timeout: super
[ 14.377729] init: Failed to mount required partitions early ...
[ 14.385255] init: InitFatalReboot: signal 6
[ 14.396440] init: #00 pc 00000000000afd40 /system/bin/init
[ 14.402081] init: #01 pc 000000000004cd90 /system/bin/init
[ 14.407702] init: #02 pc 0000000000013ab0 /system/lib64/libbase.so
[ 14.414064] init: #03 pc 0000000000013090 /system/lib64/libbase.so
[ 14.420390] init: #04 pc 0000000000075b1c /system/bin/init
[ 14.426030] init: #05 pc 000000000002e0ec /system/bin/init
Let me know if anything is missed
Thanks !