<?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=0
        SECTOR_SIZE_IN_BYTES = 4096
        GROW_LAST_PARTITION_TO_FILL_DISK=true
    </parser_instructions>

    <!-- NOTE: "physical_partition" are listed in order and apply to UFS devices that have physical partitions -->

    <!-- This is LUN 0 - HLOS LUN" -->
    <physical_partition>
        <partition label="efi" 			size_in_kb="524288" 	type="C12A7328-F81F-11D2-BA4B-00A0C93EC93B" 	bootable="false" 	readonly="true" 	system="true" dontautomount="true" filename=""/>
		<partition label="persist" 		size_in_kb="30720" 		type="0FC63DAF-8483-4772-8E79-3D69D8477DE4" 	bootable="false" 	readonly="false" 	system="true" dontautomount="true" filename=""/>
		<partition label="rootfs" 		size_in_kb="16777216" 	type="B921B045-1DF0-41C3-AF44-4C6F280D3FAE" 	bootable="false" 	readonly="false" 	system="true" dontautomount="true" filename="" 	sparse="false"/>
    </physical_partition>

    <!-- This is LUN 1 - Boot LUN A" -->
    <physical_partition>        
        <partition label="xbl_a" size_in_kb="3584" type="DEA0BA2C-CBDD-4805-B4F9-F428251C3E98" bootable="false" readonly="true" system="true" dontautomount="true" filename="xbl_s.melf"/>
        <partition label="xbl_config_a" size_in_kb="344" type="5A325AE4-4276-B66D-0ADD-3494DF27706A" bootable="false" readonly="false" system="true" dontautomount="true" filename="xbl_config.elf"/>
        <partition label="last_parti" size_in_kb="0" type="00000000-0000-0000-0000-000000000000" bootable="false" readonly="true" system="true" dontautomount="true" filename="" />
    </physical_partition>

    <!-- This is LUN 2 - Boot LUN B" -->
    <physical_partition>        
        <partition label="xbl_b" size_in_kb="3584" type="DEA0BA2C-CBDD-4805-B4F9-F428251C3E98" bootable="false" readonly="true" system="true" dontautomount="true" filename="xbl_s.melf"/>
        <partition label="xbl_config_b" size_in_kb="344" type="5A325AE4-4276-B66D-0ADD-3494DF27706A" bootable="false" readonly="false" system="true" dontautomount="true" filename="xbl_config.elf"/>
        <partition label="last_parti" size_in_kb="0" type="00000000-0000-0000-0000-000000000000" bootable="false" readonly="true" system="true" dontautomount="true" filename="" />
     </physical_partition>

    <!-- This is LUN 3 - OTP LUN" -->
    <!-- QCOM development requirement: Ensure all partitions in LUN3 is a multiple of 128k 
         Linux Android customers can ignore this requirement -->
    <physical_partition>
        <partition label="ALIGN_TO_128K_1" size_in_kb="104" type="FDE1604B-D68B-4BD4-973D-962AE7A1ED88" bootable="false" readonly="true" system="true" dontautomount="true" />		
        <partition label="cdt" size_in_kb="128" type="A19F205F-CCD8-4B6D-8F1E-2D9BC24CFFB1" bootable="false" readonly="true" system="true" dontautomount="true" filename="" />
        <partition label="ddr_a" size_in_kb="1024" type="20A0C19C-286A-42FA-9CE7-F64C3226A794" bootable="false" readonly="true" system="true" dontautomount="true" filename="zeros_5sectors.bin" />
		<partition label="ddr_b" 		size_in_kb="1024" 		type="325DEF02-1305-44A3-AA8D-AC82FEBE220E" readonly="true"	system="true" dontautomount="true" filename=""/>
        <partition label="last_parti" size_in_kb="0" type="00000000-0000-0000-0000-000000000000" bootable="false" readonly="true" system="true" dontautomount="true" filename="" />
    </physical_partition>

   <!-- This is LUN 4 - Protected Read-only LUN" -->
     <physical_partition>
        <!-- These are the 'A' partition's needed for the A/B boot/ota update feature. If you add something to this section remember to add it to B as well
        Partition's that are expected to be OTA upgradable require a A and B version. If the partition you are adding is not expected to be OTA upgradable
        please add it after the 'B' partition list. If you do need to add a OTA upgradable partition please notify the linux team as well." -->
        <partition label="uefi_a" size_in_kb="5120" type="400FFDCD-22E0-47E7-9A23-F16ED9382388" bootable="false" readonly="true" system="true" dontautomount="true" filename="uefi.elf"/>
		<partition label="uefi_dtb_a" size_in_kb="2048" type="C84D3B5E-EF34-4FA4-8118-30EAE18D3FA6" bootable="false" readonly="true"  filename="uefi_dtbs.elf"/>
        <partition label="aop_a" size_in_kb="512" type="D69E90A5-4CAB-0071-F6DF-AB977F141A7F" bootable="false" readonly="true" system="true" dontautomount="true" filename="aop.mbn"/>
        <partition label="aop_config_a" size_in_kb="512" type="3D12F234-C882-4B46-A20C-17D52C8FC03D" bootable="false" readonly="true" system="true" dontautomount="true" filename="aop_devcfg.mbn"/>
        <partition label="tz_a" size_in_kb="5120" type="A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4" bootable="false" readonly="true" system="true" dontautomount="true" filename="tz.mbn"/>
        <partition label="hyp_a" size_in_kb="8192" type="E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A" bootable="false" readonly="false" system="true" dontautomount="true" filename="hypvm.mbn"/>
        <partition label="abl_a" size_in_kb="1024" type="BD6928A1-4CE0-A038-4F3A-1495E3EDDFFB" bootable="false" readonly="true" system="true" dontautomount="true" filename="abl2esp-v7.elf"/>
        <partition label="devcfg_a" size_in_kb="128" type="F65D4B16-343D-4E25-AAFC-BE99B6556A6D" bootable="false" readonly="false" system="true" dontautomount="true" filename="devcfg_rfcomm.mbn"/>
        <partition label="qupfw_a" size_in_kb="80" type="21d1219f-2ed1-4ab4-930a-41a16ae75f7f" bootable="false" readonly="false" system="true" dontautomount="true" filename="qupv3fw.elf"/>
		<partition label="dtb_a" 		size_in_kb="65536" 		type="2A1A52FC-AA0B-401C-A808-5EA0F91068F8" 	bootable="false" 	readonly="true" 	system="true" dontautomount="true" filename=""/>																																								   
        <partition label="uefisecapp_a" size_in_kb="2048" type="BE8A7E08-1B7A-4CAE-993A-D5B7FB55B3C2" bootable="false" readonly="false" system="true" dontautomount="true" filename="uefi_sec.mbn"/>
        <partition label="imagefv_a" size_in_kb="2048" type="17911177-C9E6-4372-933C-804B678E666F" bootable="false" readonly="false" system="true" dontautomount="true" filename="imagefv.elf"/>
        <partition label="shrm_a" size_in_kb="256" type="CB74CA22-2F0D-4B82-A1D6-C4213F348D73" bootable="false" readonly="true" system="true" dontautomount="true" filename="shrm.elf"/>
        <partition label="core_nhlos_a" size_in_kb="102400" type="6690b4ce-70e9-4817-b9f1-25d64d888357" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>	
        <partition label="cpucp_a" size_in_kb="1024" type="1E8615BD-6D8C-41AD-B3EA-50E8BF40E43F" bootable="false" readonly="true" system="true" dontautomount="true" filename="cpucp.elf"/>
        <partition label="questdatafv" size_in_kb="16384" type="7f86d79a-7c83-4fc8-bef2-7d0a7a97af23" bootable="false" readonly="true" system="true" dontautomount="true" filename="" /> 
        <partition label="qmcs" size_in_kb="30720" type="358740b1-34bd-4e4c-9656-3454f0a8fdd9" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="qweslicstore_a" size_in_kb="256" type="7BAB3C93-5F73-4D02-B8CB-5B9F899D29A8" bootable="false" readonly="true" system="true" dontautomount="true" filename="" />
        <partition label="xbl_ramdump_a" size_in_kb="2048" type="0382F197-E41F-4E84-B18B-0B564AEAD875" readonly="false" bootable="false" system="true" dontautomount="true" filename="XblRamdump.elf"/>
        <partition label="cpucp_dtb_a" size_in_kb="64" type="6C6018BC-4FBE-40C5-B148-4BCB1DB23748" bootable="false" readonly="true"  system="true" dontautomount="true" filename="cpucp_dtbs.elf"/>
        <partition label="soccp_debug_a" size_in_kb="512" type="95825EE7-01DD-4A7C-A9EE-8C37B997FEC4" bootable="false" readonly="true" system="true" dontautomount="true" filename="sdi.mbn"/>
        <partition label="soccp_dcd_a" size_in_kb="24" type="D67CC91F-B88A-43FA-9B3A-12EF5A1892DC" bootable="false" readonly="true" system="true" dontautomount="true" filename="dcd.mbn"/>
        <partition label="pdp_a" size_in_kb="256" type="4D65EF4C-6B68-4563-80B5-2B079A9E649B" bootable="false" readonly="true" system="true" dontautomount="true" filename="pdp.elf"/>
        <partition label="pdp_cdb_a" size_in_kb="128" type="39F567C2-CBAA-4378-A88A-F1912512CE10" bootable="false" readonly="true" system="true" dontautomount="true" filename="pdp_cdb.elf"/>
		<partition label="multiimgqti_a" size_in_kb="32" type="846C6F05-EB46-4C0A-A1A3-3648EF3F9D0E" bootable="false" readonly="true"  system="true" dontautomount="true" filename="multi_image_qti.mbn"/>
        <partition label="multiimgoem_a" size_in_kb="32" type="E126A436-757E-42D0-8D19-0F362F7A62B8" bootable="false" readonly="true" system="true" dontautomount="true" filename="multi_image.mbn"/>
        <partition label="apdp_a" size_in_kb="256" type="E6E98DA2-E22A-4D12-AB33-169E7DEAA507" bootable="false" readonly=" false" system="true" dontautomount="true" filename="zeros_1sector.bin"/>

        <!-- These are the 'B' partition's needed for the A/B boot/ota update feature. A and B partitions must have differrent GUID's. For convinience sake
         we keep all the B partitions with the same GUID" -->
        <partition label="uefi_b" size_in_kb="5120" type="9F234B5B-0EFB-4313-8E4C-0AF1F605536B" bootable="false" readonly="true" system="true" dontautomount="true" filename="uefi.elf"/>
		<partition label="uefi_dtb_b" size_in_kb="2048" type="5F7D760A-3EF5-4AA5-B915-69A4ECAAE662" bootable="false" readonly="true" filename="uefi_dtbs.elf"/>
        <partition label="aop_b" size_in_kb="512" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="aop_config_b" size_in_kb="512" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="tz_b" size_in_kb="5120" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="hyp_b" size_in_kb="8192" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="abl_b" size_in_kb="1024" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>	
        <partition label="devcfg_b" size_in_kb="128" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="false" system="true" dontautomount="true" filename="devcfg_rfcomm.mbn"/>
        <partition label="qupfw_b" size_in_kb="80" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
		<partition label="dtb_b" 		size_in_kb="65536" 		type="A166F11A-2B39-4FAA-B7E7-F8AA080D0587" 	bootable="false" 	readonly="true" 	system="true" dontautomount="true" filename=""/>
        <partition label="uefisecapp_b" size_in_kb="2048" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="false" system="true" dontautomount="true" filename="uefi_sec.mbn"/>
        <partition label="imagefv_b" size_in_kb="2048" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="false" system="true"  dontautomount="true" filename="imagefv.elf"/>
        <partition label="shrm_b" size_in_kb="256" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="true" system="true" dontautomount="true" filename="shrm.elf"/>
        <partition label="cpucp_b" size_in_kb="1024" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="true"  system="true" dontautomount="true" filename=""/>
        <partition label="core_nhlos_b" size_in_kb="102400" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
        <partition label="qweslicstore_b" size_in_kb="256" type="77036CD4-03D5-42BB-8ED1-37E5A88BAA34" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
        <partition label="xbl_ramdump_b" size_in_kb="2048" type="C3E58B09-ABCB-42EA-9F0C-3FA453FA892E" readonly="false" bootable="false" system="true" dontautomount="true" filename="XblRamdump.elf"/>
        <partition label="cpucp_dtb_b" size_in_kb="64" type="57213A2B-39DE-4184-97DE-645D37913E4E" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
        <partition label="soccp_debug_b" size_in_kb="512" type="88CE4B5F-616E-4549-B875-565DAD984951" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
        <partition label="soccp_dcd_b" size_in_kb="24" type="BF795A2C-F2EA-4110-85EA-95CC43FE1532" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
        <partition label="pdp_b" size_in_kb="256" type="23BC2066-6DF0-4869-B84D-84B6247E3C53" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
        <partition label="pdp_cdb_b" size_in_kb="128" type="C49242AA-4C04-43C5-9E81-817AF9C23AD5" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
		<partition label="multiimgqti_b" size_in_kb="32" type="846C6F05-EB46-4C0A-A1A3-3648EF3F9D0E" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
        <partition label="multiimgoem_b" size_in_kb="32" type="E126A436-757E-42D0-8D19-0F362F7A62B8" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
        <partition label="apdp_b" size_in_kb="256" type="E6E98DA2-E22A-4D12-AB33-169E7DEAA507" bootable="false" readonly=" false" system="true" dontautomount="true" filename=""/>
		
        <!-- These are non A/B partitions. In a A/B build these would not be updated via a OTA update -->
        <partition label="devinfo" size_in_kb="4" type="65ADDCF4-0C5C-4D9A-AC2D-D90B5CBFCD03" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
        <partition label="toolsfv" size_in_kb="1024" type="97745ABA-135A-44C3-9ADC-05616173C24C" bootable="false" readonly="true" system="true" dontautomount="true" filename="tools.fv"/>
        <partition label="logfs" size_in_kb="8192" type="BC0330EB-3410-4951-A617-03898DBE3372" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="secdata" size_in_kb="25" type="76cfc7ef-039d-4e2c-b81e-4dd8c2cb2a93" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/> 
        <partition label="quantumcontentfv" size_in_kb="1024" type="e12d830b-7f62-4f0b-b48a-8178c5bf3ac1" bootable="false" readonly="true" system="true" dontautomount="true"/>
        <partition label="mdcompress" size_in_kb="20480" type="c6a5a9f5-86cd-4bea-a2ca-6c58644b0da8" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/> 
        <partition label="spunvm" size_in_kb="32768" type="e42e2b4c-33b0-429b-b1ef-d341c547022c" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="xbl_sc_test_mode" size_in_kb="64" type="91FDD2B9-8ED3-4176-BC42-260F2E34D04A" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="xbl_sc_logs" size_in_kb="128" type="F7EECB66-781A-439A-8955-70E12ED4A7A0" bootable="false" readonly=" false" system="true" dontautomount="true" filename=""/>
		<partition label="dpm" size_in_kb="8" type="A7A4F43A-888F-4913-8C2B-E1BC64BCE08F" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
		<partition label="SYSFW_VERSION" size_in_kb="4" type="3C44F88B-1878-4C29-B122-EE78766442A7"  filename=""/>
		<partition label="recoveryinfo" size_in_kb="4" type="7374B391-291C-49FA-ABC2-0463AB5F713F" system="true" dontautomount="true" filename=""/>
		<partition label="last_parti" size_in_kb="0" type="00000000-0000-0000-0000-000000000000" bootable="false" readonly="true" system="true" dontautomount="true" filename="" />
    </physical_partition>
    
    <!-- This is LUN 5 - Protected Read-write LUN" -->
    <!-- QCOM development requirement: Ensure all partitions in LUN5 is a multiple of 128k.
         Linux Android customers can ignore this requirement -->
    <physical_partition>
        <partition label="ALIGN_TO_128K_2" size_in_kb="104" type="6891a3b7-0ccc-4705-bb53-2673cac193bd" bootable="false" readonly="true" system="true" dontautomount="true" /> 
        <partition label="modemst1" size_in_kb="4096" type="EBBEADAF-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="modemst2" size_in_kb="4096" type="0A288B1F-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="fsg" size_in_kb="4096" type="638FF8E2-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="true" system="true" dontautomount="true" filename=""/>
        <partition label="fsc" size_in_kb="128" type="57B90A16-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="false" system="true" dontautomount="true" filename=""/>
        <partition label="last_parti" size_in_kb="0" type="00000000-0000-0000-0000-000000000000" bootable="false" readonly="true" system="true" dontautomount="true" filename="" />
    </physical_partition>
</configuration>