Hi all,
How do I create an OTA update ?
“make dist” produces the following error:
system.img already exists, no need to overwrite...
vendor.img already exists, no need to overwrite...
vbmeta.img already exists, no need to overwrite...
Traceback (most recent call last):
File "build/make/tools/releasetools/add_img_to_target_files", line 824, in
<module>
main(sys.argv[1:])
File "build/make/tools/releasetools/add_img_to_target_files", line 818, in
main
AddImagesToTargetFiles(args[0])
File "build/make/tools/releasetools/add_img_to_target_files", line 773, in
AddImagesToTargetFiles
AddCareMapTxtForAbOta(output_zip, ab_partitions, partitions)
File "build/make/tools/releasetools/add_img_to_target_files", line 563, in
AddCareMapTxtForAbOta
care_map_list += GetCareMap(partition, image_path)
File "build/make/tools/releasetools/add_img_to_target_files", line 111, in
GetCareMap
simg = sparse_img.SparseImage(imgname)
File
"/home/ubuntu/Android/celadon/build/make/tools/releasetools/sparse_img.py", line
52, in __init__
raise ValueError("Magic should be 0xED26FF3A but is 0x%08X" % (magic,))
ValueError: Magic should be 0xED26FF3A but is 0x00000000
ninja: build stopped: subcommand failed.
01:36:13 ninja failed with: exit status 1
#### failed to build some targets (14:12 (mm:ss)) ####
Best regards,
Dominik Louven
Show replies by date