<?xml version="1.0"?>
<configuration>
    <parser_instructions>
         <!-- NOTE: entries here are used by the parser when generating output -->
         <!-- NOTE: each filename must be on it's own line as in variable=value-->
         WRITE_PROTECT_BOUNDARY_IN_KB    = 65536
         GROW_LAST_PARTITION_TO_FILL_DISK=true
         ALIGN_PARTITIONS_TO_PERFORMANCE_BOUNDARY = true
         PERFORMANCE_BOUNDARY_IN_KB = 4
    </parser_instructions>

    <!-- NOTE: "physical_partition" are listed in order and apply to devices such as eMMC cards that have (for example) 3 physical partitions -->
    <!-- This is physical partition 0 -->
    <physical_partition>
        <!-- NOTE: Define information for each partition, which will be created in order listed here -->
        <!-- NOTE: Place all "readonly=true" partitions side by side for optimum space usage -->
        <!-- NOTE: If OPTIMIZE_READONLY_PARTITIONS=true, then partitions won't be in the order listed here -->
        <!--       they will instead be placed side by side at the beginning of the disk -->
        <partition label="xbl" size_in_kb="3584" type="DEA0BA2C-CBDD-4805-B4F9-F428251C3E98" bootable="false" readonly="true" filename="xbl.elf"/>
        <partition label="xblbak" size_in_kb="3584" type="f62b5958-c415-4c1c-a361-543850c45197" bootable="false" readonly="true" filename="xbl.elf"/>
		<partition label="xbl_config" size_in_kb="128" type="5A325AE4-4276-B66D-0ADD-3494DF27706A" bootable="false" readonly="false" filename="xbl_config.elf"/>
		<partition label="xbl_configbak" size_in_kb="128" type="c7408adf-a7fe-467b-88b8-48359a96b67f" bootable="false" readonly="false" filename="xbl_config.elf"/>
		<partition label="tz" size_in_kb="4096" type="A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4" bootable="false" readonly="true" filename="tz.mbn"/>
        <partition label="tzbak" size_in_kb="4096" type="530d4667-f456-4933-ae6a-d4f93acc5c96" bootable="false" readonly="false" filename="tz.mbn"/>
		<partition label="aop" size_in_kb="512" type="D69E90A5-4CAB-0071-F6DF-AB977F141A7F" bootable="false" readonly="true" filename="aop.mbn"/>
        <partition label="aopbak" size_in_kb="512" type="68237d3d-db16-4f0f-a93f-d2d23590ae9c" bootable="false" readonly="false" filename="aop.mbn"/>			
		<partition label="hyp" size_in_kb="512" type="E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A" bootable="false" readonly="true" filename="hyp.mbn"/>
        <partition label="hypbak" size_in_kb="512" type="0d363170-f2dd-4a14-8c01-0c622a64c8ba" bootable="false" readonly="false" filename="hyp.mbn"/>
		<partition label="boot" size_in_kb="98304" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" readonly="false" filename="boot.img"/>
		<partition label="system" size_in_kb="3145728" type="97D7B011-54DA-4835-B3C4-917AD6E73D74" bootable="false" readonly="false" filename="system.img" sparse="true"/>
		<partition label="metadata" size_in_kb="16384" type=" 988A98C9-2910-4123-AAEC-1CF6B1BC28F9" bootable="false" readonly="false" filename="" sparse="true"/>
		<partition label="vendor" size_in_kb="1363148" type="97D7B011-54DA-4835-B3C4-917AD6E73D74" bootable="false" readonly="false" filename="vendor.img" sparse="true"/>
		<partition label="cache" size_in_kb="262144" type="5594C694-C871-4B5F-90B1-690A6F68E0F7" bootable="false" readonly="true" filename="cache.img"/>
		<partition label="recovery" size_in_kb="98304" type="9D72D4E4-9958-42DA-AC26-BEA7A90B0434" bootable="false" readonly="true" filename="recovery.img" sparse="true"/>
        <partition label="keymaster" size_in_kb="512" type="A11D2A7C-D82A-4C2F-8A01-1805240E6626" bootable="false" readonly="true" filename="km4.mbn"/>
		<partition label="keymasterbak" size_in_kb="512" type="0a03c6ba-eeca-4a08-909f-f5cc720e0794" bootable="false" readonly="true" filename="km4.mbn"/>	
		<partition label="mdcompress" size_in_kb="20480" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="true" filename="mdcompress.mbn"/>
		<partition label="mdtpsecapp" size_in_kb="4096" type="EA02D680-8712-4552-A3BE-E6087829C1E6" bootable="false" readonly="true" filename=""/>
        <partition label="mdtp" size_in_kb="32768" type="3878408A-E263-4B67-B878-6340B35B11E3" bootable="false" readonly="true" filename=""/>
        <partition label="modem" size_in_kb="199680" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" readonly="true" filename="NON-HLOS.bin"/>
		<partition label="core_nhlos" size_in_kb="174080" type="6690b4ce-70e9-4817-b9f1-25d64d888357" bootable="false" readonly="true" filename="Core_NON-HLOS.bin"/>
		<partition label="dsp" size_in_kb="65536" type="7EFE5010-2A1A-4A1A-B8BC-990257813512" bootable="false" readonly="true" filename="dspso.bin"/>
	    <partition label="abl" size_in_kb="1024" type="BD6928A1-4CE0-A038-4F3A-1495E3EDDFFB" bootable="false" readonly="true" filename="abl.elf"/>
		<partition label="ablbak" size_in_kb="1024" type="c48f3048-8d02-4235-b4af-67f0bf6941f8" bootable="false" readonly="true" filename="abl.elf"/>
		<!--        <partition label="mdtp" size_in_kb="32768" type="3878408A-E263-4B67-B878-6340B35B11E3" bootable="false" readonly="true" filename=""/> -->
        <partition label="ddr" size_in_kb="1024" type="20A0C19C-286A-42FA-9CE7-F64C3226A794" bootable="false" readonly="true"/>
        <partition label="bluetooth" size_in_kb="1024" type="6cb747f1-c2ef-4092-add0-ca39f79c7af4" bootable="false" readonly="true" filename="BTFM.bin"/>
		<partition label="ssd" size_in_kb="8" type="2C86E742-745E-4FDD-BFD8-B6A7AC638772" bootable="false" readonly="false" filename=""/>
		<partition label="dtbo" size_in_kb="24576" type="24d0d418-d31d-4d8d-ac2c-4d4305188450" bootable="false" readonly="false" filename="dtbo.img"/>
		<partition label="dtbobak" size_in_kb="24576" type="a476096e-969c-4eb5-a250-aacb42506d68" bootable="false" readonly="false" filename="dtbo.img" />
		<partition label="imagefv" size_in_kb="2048" type="17911177-C9E6-4372-933C-804B678E666F" bootable="false" readonly="false" system="true" filename="imagefv.elf"/>
		<partition label="uefisecapp" size_in_kb="2048" type="BE8A7E08-1B7A-4CAE-993A-D5B7FB55B3C2" bootable="false" readonly="false" filename="uefi_sec.mbn"/>
		<partition label="persist" size_in_kb="32768" type="6C95E238-E343-4BA8-B489-8681ED22AD0B" bootable="false" readonly="false" filename="persist.img"/>
        <partition label="misc" size_in_kb="1024" type="82ACC91F-357C-4A68-9C8F-689E1B1A23A1" bootable="false" readonly="false" filename="" />
        <partition label="keystore" size_in_kb="512" type="DE7D4029-0F5B-41C8-AE7E-F6C023A02B33" bootable="false" readonly="false" filename="" />
        <partition label="devcfg" size_in_kb="128" type="F65D4B16-343D-4E25-AAFC-BE99B6556A6D" bootable="false" readonly="false" filename="devcfg_rfcomm.mbn"/>
		<partition label="featenabler" size_in_kb="128" type="741813D2-8C87-4465-8C69-032C771CCCE7" bootable="false" readonly="false" filename="featenabler.mbn"/>
		<partition label="questdatafv" size_in_kb="16384" type="7f86d79a-7c83-4fc8-bef2-7d0a7a97af23" bootable="false" readonly="true" filename="" />		
		<partition label="devcfgbak" size_in_kb="128" type="5b2525ad-bc5d-407d-9eb5-456f97155061" bootable="false" readonly="false" filename="devcfg_rfcomm.mbn"/>
		<partition label="qupfw" size_in_kb="80" type="21d1219f-2ed1-4ab4-930a-41a16ae75f7f" bootable="false" readonly="false" filename="qupv3fw.elf"/>
		<partition label="qupfwbak" size_in_kb="80" type="06527e80-ccee-4d05-846d-9698a02c12f8" bootable="false" readonly="false" filename="qupv3fw.elf"/>
		<partition label="frp" size_in_kb="512" type="91B72D4D-71E0-4CBF-9B8E-236381CFF17A" bootable="false" readonly="false" filename=""/>
		<partition label="rawdump" size_in_kb="8598324" type="66C9B323-F7FC-48B6-BF96-6F32E335A428" bootable="false" readonly="false" filename=""/>
		<partition label="devinfo" size_in_kb="4" type="65ADDCF4-0C5C-4D9A-AC2D-D90B5CBFCD03" bootable="false" readonly="true" filename=""/>
		<partition label="dip" size_in_kb="1024" type="4114B077-005D-4E12-AC8C-B493BDA684FB" bootable="false" readonly="true" filename=""/>
		<partition label="apdp" size_in_kb="256" type="E6E98DA2-E22A-4D12-AB33-169E7DEAA507" bootable="false" readonly="false" filename="apdp.mbn"/>
		<partition label="spunvm" size_in_kb="8192" type="e42e2b4c-33b0-429b-b1ef-d341c547022c" bootable="false" readonly="false" filename=""/>
		<partition label="splash" size_in_kb="33424" type="AD99F201-DC71-4E30-9630-E19EEF553D1B" bootable="false" readonly="false" filename=""/>
		<partition label="limits" size_in_kb="4" type="10A0C19C-516A-5444-5CE3-664C3226A794" bootable="false" readonly="true"/>
		<partition label="limits-cdsp" size_in_kb="4" type="545d3707-8329-40e8-8b5e-3e554cbdc786" bootable="false" readonly="true"/>
		<partition label="toolsfv" size_in_kb="1024" type="97745ABA-135A-44C3-9ADC-05616173C24C" bootable="false" readonly="true" filename="tools.fv"/>
		<partition label="logfs" size_in_kb="8192" type="BC0330EB-3410-4951-A617-03898DBE3372" bootable="false" readonly="false" filename="logfs_ufs_8mb.bin"/>
		<partition label="cateloader" size_in_kb="2048" type="AA9A5C4C-4F1F-7D3A-014A-22BD33BF7191" bootable="false" readonly="false" filename=""/>
		<partition label="logdump" size_in_kb="65536" type="5AF80809-AABB-4943-9168-CDFC38742598" bootable="false" readonly="false" filename=""/>
		<partition label="vbmeta" size_in_kb="64" type="4b7a15d6-322c-42ac-8110-88b7da0c5d77" bootable="false" readonly="true" filename="vbmeta.img"/>
		<partition label="storsec" size_in_kb="128" type="02DB45FE-AD1B-4CB6-AECC-0042C637DEFA" bootable="false" readonly="true" filename="storsec.mbn"/>
        <partition label="multiimgoem" size_in_kb="32" type="E126A436-757E-42D0-8D19-0F362F7A62B8" bootable="false" readonly="true" filename="multi_image.mbn"/>
		<!--<partition label="fmac" size_in_kb="25" type="465ab28f-8906-4591-ba29-f60e684ed76e" bootable="false" readonly="true" filename=""/> -->
		<partition label="secdata" size_in_kb="25" type="76cfc7ef-039d-4e2c-b81e-4dd8c2cb2a93" bootable="false" readonly="true" filename=""/>
		<partition label="catefv" size_in_kb="512" type="80c23c26-c3f9-4a19-bb38-1e457daceb09" bootable="false" readonly="true" filename="QcomCate.fv"/>
        <partition label="catecontentfv" size_in_kb="1024" type="e12d830b-7f62-4f0b-b48a-8178c5bf3ac1" bootable="false" readonly="true" filename="soc_tests.fv"/>
		<partition label="uefivarstore" size_in_kb="512" type="165BD6BC-9250-4AC8-95A7-A93F4A440066" bootable="false" readonly="true" filename=""/>
		<partition label="modemst1" size_in_kb="2560" type="EBBEADAF-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="false" filename=""/>
        <partition label="modemst2" size_in_kb="2560" type="0A288B1F-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="false" filename=""/>
		<partition label="fsg" size_in_kb="2560" type="638FF8E2-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="true" filename=""/>
		<partition label="fsc" size_in_kb="128" type="57B90A16-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="false" filename=""/>
		<partition label="userdata" size_in_kb="12582912" type="1B81E7E6-F50D-419B-A739-2AEEF8DA3335" bootable="false" readonly="false" filename="userdata.img" sparse="true"/>
    </physical_partition>
</configuration>