diff --git a/releasetools/common.py b/releasetools/common.py index c01d688..f409956 100644 --- a/releasetools/common.py +++ b/releasetools/common.py @@ -356,7 +356,7 @@ def SignFile(input_name, output_name, key, password, align=None, else: sign_name = output_name - cmd = ["java", "-Xmx2048m", "-jar", + cmd = ["java", "-Xmx1024m", "-jar", os.path.join(OPTIONS.search_path, "signapk.jar")] if whole_file: cmd.append("-w") @@ -817,7 +817,7 @@ def worker(): # map recovery.fstab's fs_types to mount/format "partition types" PARTITION_TYPES = { "yaffs2": "MTD", "mtd": "MTD", - "ext4": "EMMC", "emmc": "EMMC", "vfat": "EMMC"} + "ext4": "EMMC", "ext3": "EMMC", "emmc": "EMMC", "vfat": "EMMC"} def GetTypeAndDevice(mount_point, info): fstab = info["fstab"]