diff --git a/tools/releasetools/add_img_to_target_files.py b/tools/releasetools/add_img_to_target_files.py index 5730019aa..c9a80386b 100755 --- a/tools/releasetools/add_img_to_target_files.py +++ b/tools/releasetools/add_img_to_target_files.py @@ -316,7 +316,8 @@ def AddImagesToTargetFiles(filename): common.ZipClose(input_zip) output_zip = zipfile.ZipFile(filename, "a", - compression=zipfile.ZIP_DEFLATED) + compression=zipfile.ZIP_DEFLATED, + allowZip64=True) has_recovery = (OPTIONS.info_dict.get("no_recovery") != "true") system_root_image = (OPTIONS.info_dict.get("system_root_image", None) == "true")