0

I have tried to reduce size even by looking into the device trees as well. I did also took ref of other rom device tree as well. really not sure what's going wrong here.

Here's error log:

FAILED: Package OTA: out/target/product/hotdogb/aosp_hotdogb-ota-eng.rajan.zip
Outputs: out/target/product/hotdogb/aosp_hotdogb-ota-eng.rajan.zip out/target/product/hotdogb/ota_metadata
Error: exited with code: 1
Command: /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/hotdogb/obj/PACKAGING/target_files_intermediates/aosp_hotdogb-target_files-eng.rajan --path out/host/linux-x86  -k build/make/target/product/security/testkey --output_metadata_path out/target/product/hotdogb/ota_metadata out/target/product/hotdogb/obj/PACKAGING/target_files_intermediates/aosp_hotdogb-target_files-eng.rajan.zip out/target/product/hotdogb/aosp_hotdogb-ota-eng.rajan.zip"
Output:
2021-11-22 20:28:06 - common.py - WARNING : Failed to read SYSTEM/etc/build.prop
2021-11-22 20:28:06 - common.py - WARNING : Failed to read VENDOR/etc/build.prop
2021-11-22 20:28:06 - common.py - WARNING : Failed to read VENDOR_DLKM/etc/build.prop
2021-11-22 20:28:06 - common.py - WARNING : Failed to read VENDOR_DLKM/build.prop
2021-11-22 20:28:06 - common.py - WARNING : Failed to read ODM_DLKM/etc/build.prop
2021-11-22 20:28:06 - common.py - WARNING : Failed to read ODM_DLKM/build.prop
2021-11-22 20:28:07 - ota_from_target_files.py - INFO    : --- target info ---
2021-11-22 20:28:07 - common.py - INFO    : ab_partitions             = (list) ['boot', 'dtbo', 'odm', 'system', 'vendor', 'vbmeta', 'odm', 'product', 'recovery', 'system_ext', 'vbmeta_system', '']

[1122/203028.157361:ERROR:payload_generation_config.cc(219)] Sum of sizes in oneplus_dynamic_partitions_partition_list is 7542169600, which is greater than oneplus_dynamic_partitions_size (7511998464)

/home/rajan/android/pe/out/host/linux-x86/bin/brillo_update_payload: line 650: 17282 Aborted                 (core dumped) "${GENERATOR}" "${GENERATOR_ARGS[@]}"
2021-11-22 20:30:35 - ota_from_target_files.py - ERROR   : 
   ERROR:
Traceback (most recent call last):
  File "/home/rajan/android/pe/out/host/linux-x86/bin/ota_from_target_files/ota_from_target_files.py", line 1496, in <module>
  File "/home/rajan/android/pe/out/host/linux-x86/bin/ota_from_target_files/ota_from_target_files.py", line 1470, in main
  File "/home/rajan/android/pe/out/host/linux-x86/bin/ota_from_target_files/ota_from_target_files.py", line 1132, in GenerateAbOtaPackage
  File "/home/rajan/android/pe/out/host/linux-x86/bin/ota_from_target_files/ota_from_target_files.py", line 422, in Generate
  File "/home/rajan/android/pe/out/host/linux-x86/bin/ota_from_target_files/ota_from_target_files.py", line 394, in _Run
  File "/home/rajan/android/pe/out/host/linux-x86/bin/ota_from_target_files/common.py", line 312, in RunAndCheckOutput
    args, proc.returncode, output))
ExternalError: Failed to run command '['brillo_update_payload', 'generate', '--payload', '/home/rajan/android/pe/out/soong/.temp/payload-XojYAx.bin', '--target_image', 'out/target/product/hotdogb/obj/PACKAGING/target_files_intermediates/aosp_hotdogb-target_files-eng.rajan.zip', '--max_timestamp', '1637580017', '--partition_timestamps', u'boot:1637580017,odm:1637580017,product:1637580017,system:1637590601,system_ext:1637580017,vendor:1637580017']' (exit code 134):

It would be great if someone can help, i'm stuck on this last part where i am not able to make installer.

4

0 回答 0