[Samsung Galaxy Tab A7 Lite] divya rapen:
i have the device tree and kernel source I'm building lineage os for T220 but I'm getting error at packing ota.

can someone help me with this

then error is ::

[ 99% 231/232] Package OTA: out/target/product/gt

FAILED: out/target/product/gta7litewifi/lineage_gta7litewifi-ota-eng.ubuntu.zip out/target/product/gta7litewifi/ota_metadata

/bin/bash -c "PATH=out/host/linux-x86/bin/:system/extras/ext4_utils/:out/soong/host/linux-x86/bin/:\$PATH out/host/linux-x86/bin/ota_from_target_files --verbose --extracted_input_target_files out/target/product/gta7litewifi/obj/PACKAGING/target_files_intermediates/lineage_gta7litewifi-target_files-eng.ubuntu --path out/host/linux-x86 --backup=true -k build/make/target/product/security/testkey --output_metadata_path out/target/product/gta7litewifi/ota_metadata out/target/product/gta7litewifi/obj/PACKAGING/target_files_intermediates/lineage_gta7litewifi-target_files-eng.ubuntu.zip out/target/product/gta7litewifi/lineage_gta7litewifi-ota-eng.ubuntu.zip"

2023-03-23 11:57:45 - common.py - WARNING : Failed to read SYSTEM/etc/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read VENDOR/etc/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read VENDOR/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read PRODUCT/etc/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read PRODUCT/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read SYSTEM_EXT/etc/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read SYSTEM_EXT/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read ODM/etc/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read ODM/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read VENDOR_DLKM/etc/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read VENDOR_DLKM/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read ODM_DLKM/etc/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Failed to read ODM_DLKM/build.prop

2023-03-23 11:57:45 - common.py - WARNING : Can't find META/ab_partitions.txt

2023-03-23 11:57:45 - ota_from_target_files.py - INFO : --- target info ---

2023-03-23 11:57:45 - common.py - INFO : allow_non_ab = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_avbtool = (str) avbtool

2023-03-23 11:57:45 - common.py - INFO : avb_boot_add_hash_footer_args = (str) --prop com.android.build.boot.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys --prop com.android.build.boot.os_version:12

2023-03-23 11:57:45 - common.py - INFO : avb_boot_salt = (str) 3058c7e6c1d1739ab81e97832dd5e112c9f2375ab28d9fd71a8196cf904c464b

2023-03-23 11:57:45 - common.py - INFO : avb_building_vbmeta_image = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_dtbo_add_hash_footer_args = (str) --prop com.android.build.dtbo.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys

2023-03-23 11:57:45 - common.py - INFO : avb_enable = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_odm_add_hashtree_footer_args = (str) --prop com.android.build.odm.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys --prop com.android.build.odm.os_version:12

2023-03-23 11:57:45 - common.py - INFO : avb_odm_dlkm_add_hashtree_footer_args = (str) --prop com.android.build.odm_dlkm.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys --prop com.android.build.odm_dlkm.os_version:12

2023-03-23 11:57:45 - common.py - INFO : avb_odm_dlkm_hashtree_enable = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_odm_dlkm_salt = (str) 3058c7e6c1d1739ab81e97832dd5e112c9f2375ab28d9fd71a8196cf904c464b

2023-03-23 11:57:45 - common.py - INFO : avb_odm_hashtree_enable = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_odm_salt = (str) 3058c7e6c1d1739ab81e97832dd5e112c9f2375ab28d9fd71a8196cf904c464b

2023-03-23 11:57:45 - common.py - INFO : avb_product_add_hashtree_footer_args = (str) --prop com.android.build.product.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys --prop com.android.build.product.os_version:12 --prop com.android.build.product.security_patch:2023-03-05

2023-03-23 11:57:45 - common.py - INFO : avb_product_hashtree_enable = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_product_salt = (str) 3058c7e6c1d1739ab81e97832dd5e112c9f2375ab28d9fd71a8196cf904c464b

2023-03-23 11:57:45 - common.py - INFO : avb_recovery_add_hash_footer_args = (str) --prop com.android.build.recovery.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys --rollback_index 1

2023-03-23 11:57:45 - common.py - INFO : avb_recovery_algorithm = (str) SHA256_RSA4096

2023-03-23 11:57:45 - common.py - INFO : avb_recovery_key_path = (str) external/avb/test/data/testkey_rsa4096.pem

2023-03-23 11:57:45 - common.py - INFO : avb_recovery_rollback_index_location = (str) 1

2023-03-23 11:57:45 - common.py - INFO : avb_system_add_hashtree_footer_args = (str) --prop com.android.build.system.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys --prop com.android.build.system.os_version:12 --prop com.android.build.system.security_patch:2023-03-05

2023-03-23 11:57:45 - common.py - INFO : avb_system_ext_add_hashtree_footer_args = (str) --prop com.android.build.system_ext.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys --prop com.android.build.system_ext.os_version:12 --prop com.android.build.system_ext.security_patch:2023-03-05

2023-03-23 11:57:45 - common.py - INFO : avb_system_ext_hashtree_enable = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_system_ext_salt = (str) 3058c7e6c1d1739ab81e97832dd5e112c9f2375ab28d9fd71a8196cf904c464b

2023-03-23 11:57:45 - common.py - INFO : avb_system_hashtree_enable = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_system_other_add_hashtree_footer_args = (str)

2023-03-23 11:57:45 - common.py - INFO : avb_system_other_hashtree_enable = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_system_salt = (str) 3058c7e6c1d1739ab81e97832dd5e112c9f2375ab28d9fd71a8196cf904c464b

2023-03-23 11:57:45 - common.py - INFO : avb_vbmeta_algorithm = (str) SHA256_RSA4096

2023-03-23 11:57:45 - common.py - INFO : avb_vbmeta_args = (str) --flags 3 --padding_size 4096

2023-03-23 11:57:45 - common.py - INFO : avb_vbmeta_key_path = (str) external/avb/test/data/testkey_rsa4096.pem

2023-03-23 11:57:45 - common.py - INFO : avb_vendor_add_hashtree_footer_args = (str) --prop com.android.build.vendor.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys --prop com.android.build.vendor.os_version:12 --prop com.android.build.vendor.security_patch:2021-08-01

2023-03-23 11:57:45 - common.py - INFO : avb_vendor_boot_add_hash_footer_args = (str) --prop com.android.build.vendor_boot.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys

2023-03-23 11:57:45 - common.py - INFO : avb_vendor_dlkm_add_hashtree_footer_args = (str) --prop com.android.build.vendor_dlkm.fingerprint:samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys --prop com.android.build.vendor_dlkm.os_version:12

2023-03-23 11:57:45 - common.py - INFO : avb_vendor_dlkm_hashtree_enable = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_vendor_dlkm_salt = (str) 3058c7e6c1d1739ab81e97832dd5e112c9f2375ab28d9fd71a8196cf904c464b

2023-03-23 11:57:45 - common.py - INFO : avb_vendor_hashtree_enable = (str) true

2023-03-23 11:57:45 - common.py - INFO : avb_vendor_salt = (str) 3058c7e6c1d1739ab81e97832dd5e112c9f2375ab28d9fd71a8196cf904c464b

2023-03-23 11:57:45 - common.py - INFO : blockimgdiff_versions = (str) 3,4

2023-03-23 11:57:45 - common.py - INFO : blocksize = (int) 131072

2023-03-23 11:57:45 - common.py - INFO : boot.build.prop = (PartitionBuildProps) <common.PartitionBuildProps object at 0x7ff1ef4189d0>

2023-03-23 11:57:45 - common.py - INFO : boot_images = (str) boot.img

2023-03-23 11:57:45 - common.py - INFO : boot_size = (int) 33554432

2023-03-23 11:57:45 - common.py - INFO : build.prop = (PartitionBuildProps) <common.PartitionBuildProps object at 0x7ff1efb15fd0>

2023-03-23 11:57:45 - common.py - INFO : build_super_empty_partition = (str) true

2023-03-23 11:57:45 - common.py - INFO : building_system_image = (str) true

2023-03-23 11:57:45 - common.py - INFO : default_system_dev_certificate = (str) build/make/target/product/security/testkey

2023-03-23 11:57:45 - common.py - INFO : dtbo_size = (str) 131072

2023-03-23 11:57:45 - common.py - INFO : dynamic_partition_list = (str) system product

2023-03-23 11:57:45 - common.py - INFO : erofs_sparse_flag = (str) -s

2023-03-23 11:57:45 - common.py - INFO : ext_mkuserimg = (str) mkuserimg_mke2fs

2023-03-23 11:57:45 - common.py - INFO : extfs_sparse_flag = (str) -s

2023-03-23 11:57:45 - common.py - INFO : extra_recovery_keys = (str) vendor/lineage/build/target/product/security/lineage

2023-03-23 11:57:45 - common.py - INFO : f2fs_sparse_flag = (str) -S

2023-03-23 11:57:45 - common.py - INFO : fs_type = (str) ext4

2023-03-23 11:57:45 - common.py - INFO : fstab = (dict) {'none': <common.Partition object at 0x7ff1ef406ad0>}

2023-03-23 11:57:45 - common.py - INFO : fstab_version = (int) 2

2023-03-23 11:57:45 - common.py - INFO : has_dtbo = (str) true

2023-03-23 11:57:45 - common.py - INFO : include_recovery_dtbo = (str) true

2023-03-23 11:57:45 - common.py - INFO : lpmake = (str) lpmake

2023-03-23 11:57:45 - common.py - INFO : mkbootimg_args = (str) --header_version 2 --ramdisk_offset 0x11a88000 --tags_offset 0x07808000 --dtb device/samsung/gta7litewifi/prebuilts/dtb.img

2023-03-23 11:57:45 - common.py - INFO : mkbootimg_version_args = (str) --os_version 12 --os_patch_level 2023-03-05

2023-03-23 11:57:45 - common.py - INFO : multistage_support = (str) 1

2023-03-23 11:57:45 - common.py - INFO : odm.build.prop = (PartitionBuildProps) <common.PartitionBuildProps object at 0x7ff1ef418750>

2023-03-23 11:57:45 - common.py - INFO : odm_dlkm.build.prop = (PartitionBuildProps) <common.PartitionBuildProps object at 0x7ff1ef418910>

2023-03-23 11:57:45 - common.py - INFO : oem_selinux_fc = (str) out/target/product/gta7litewifi/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin

2023-03-23 11:57:45 - common.py - INFO : product.build.prop = (PartitionBuildProps) <common.PartitionBuildProps object at 0x7ff1ef406c50>

2023-03-23 11:57:45 - common.py - INFO : recovery_api_version = (int) 3

2023-03-23 11:57:45 - common.py - INFO : recovery_mkbootimg_args = (str) --header_version 2 --ramdisk_offset 0x11a88000 --tags_offset 0x07808000 --dtb device/samsung/gta7litewifi/prebuilts/dtb.img

2023-03-23 11:57:45 - common.py - INFO : recovery_mount_options = (str) ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc

2023-03-23 11:57:45 - common.py - INFO : recovery_size = (int) 38797312

2023-03-23 11:57:45 - common.py - INFO : root_dir = (str) out/target/product/gta7litewifi/root

2023-03-23 11:57:45 - common.py - INFO : squashfs_sparse_flag = (str) -s

2023-03-23 11:57:45 - common.py - INFO : super_block_devices = (str) super

2023-03-23 11:57:45 - common.py - INFO : super_metadata_device = (str) super

2023-03-23 11:57:45 - common.py - INFO : super_partition_groups = (str) samsung_dynamic_partitions

2023-03-23 11:57:45 - common.py - INFO : super_partition_size = (str) 9126805504

2023-03-23 11:57:45 - common.py - INFO : super_samsung_dynamic_partitions_group_size = (str) 9122611200

2023-03-23 11:57:45 - common.py - INFO : super_samsung_dynamic_partitions_partition_list = (str) system product

2023-03-23 11:57:45 - common.py - INFO : super_super_device_size = (str) 9126805504

2023-03-23 11:57:45 - common.py - INFO : system.build.prop = (PartitionBuildProps) <common.PartitionBuildProps object at 0x7ff1efb15fd0>

2023-03-23 11:57:45 - common.py - INFO : system_ext.build.prop = (PartitionBuildProps) <common.PartitionBuildProps object at 0x7ff1ef418650>

2023-03-23 11:57:45 - common.py - INFO : system_selinux_fc = (str) out/target/product/gta7litewifi/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin

2023-03-23 11:57:45 - common.py - INFO : tool_extensions = (str) device/samsung/gta7litewifi/../common

2023-03-23 11:57:45 - common.py - INFO : use_dynamic_partition_size = (str) true

2023-03-23 11:57:45 - common.py - INFO : use_dynamic_partitions = (str) true

2023-03-23 11:57:45 - common.py - INFO : vbmeta_digest = (str) 29a1e7457d02ac07e4c5434c01edec90619df5f35d1a3c800f25a55d2c442ac3

2023-03-23 11:57:45 - common.py - INFO : vendor.build.prop = (PartitionBuildProps) <common.PartitionBuildProps object at 0x7ff1efa84f90>

2023-03-23 11:57:45 - common.py - INFO : vendor_dlkm.build.prop = (PartitionBuildProps) <common.PartitionBuildProps object at 0x7ff1ef418810>

2023-03-23 11:57:45 - common.py - INFO : vintf_enforce = (str) true

2023-03-23 11:57:45 - common.py - INFO : vintf_include_empty_vendor_sku = (str) true

2023-03-23 11:57:45 - non_ab_ota.py - WARNING : --- can't determine the cache partition size ---

2023-03-23 11:57:45 - common.py - INFO : unable to load device-specific module; assuming none

2023-03-23 11:57:45 - sparse_img.py - INFO : Total of 538022 4096-byte output blocks in 41 input chunks.

2023-03-23 11:57:52 - blockimgdiff.py - INFO : Finding transfers...

Traceback (most recent call last):

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/internal/stdlib/runpy.py", line 174, in _run_module_as_main

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/internal/stdlib/runpy.py", line 72, in _run_code

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/__main__.py", line 12, in <module>

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/internal/stdlib/runpy.py", line 174, in _run_module_as_main

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/internal/stdlib/runpy.py", line 72, in _run_code

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/ota_from_target_files.py", line 1504, in <module>

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/ota_from_target_files.py", line 1484, in main

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/non_ab_ota.py", line 621, in GenerateNonAbOtaPackage

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/non_ab_ota.py", line 172, in WriteFullOTAPackage

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/non_ab_ota.py", line 87, in GetBlockDifferences

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/common.py", line 3114, in __init__

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/blockimgdiff.py", line 342, in Compute

File "/home/ubuntu/android/lineage/out/host/linux-x86/bin/ota_from_target_files/blockimgdiff.py", line 1561, in FindTransfers

AssertionError

11:57:53 ninja failed with: exit status 1