[Windows Phone 8 Development and Hacking] tids2k:
<?xml version="1.0" encoding="UTF-8"?>

-<DeviceLayout xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-<Partitions>

<!-- QC 8974 PRODUCTION DEVICE LAYOUT -->

<!-- PROVISIONED DATA SECTION START - WARNING DO NOT ALTER BELOW OR FFU WILL REMOVE DEVICE SETTINGS -->

<!-- Device Provisioning Partition -->

-<Partition>

<Name>DPP</Name>

<!-- PARTITION_BASIC_DATA_GUID -->

<Type>{ebd0a0a2-b9e5-4433-87c0-68b6b72699c7}</Type>

<TotalSectors>16384</TotalSectors>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- QUALCOMM 8974 SPECIFIC PROVISIONING PARTITIONS -->

<!-- Modem golden file system -->

-<Partition>

<Name>MODEM_FSG</Name>

<TotalSectors>3072</TotalSectors>

<Type>{638FF8E2-22C9-E33B-8F5D-0E81686A68CB}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- Modem live file systems -->

-<Partition>

<Name>MODEM_FS1</Name>

<TotalSectors>3072</TotalSectors>

<Type>{EBBEADAF-22C9-E33B-8F5D-0E81686A68CB}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>MODEM_FS2</Name>

<TotalSectors>3072</TotalSectors>

<Type>{0A288B1F-22C9-E33B-8F5D-0E81686A68CB}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- Modem File System Cookie partition -->

-<Partition>

<Name>MODEM_FSC</Name>

<TotalSectors>16</TotalSectors>

<Type>{57B90A16-22C9-E33B-8F5D-0E81686A68CB}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- DDR training partition -->

-<Partition>

<Name>DDR</Name>

<TotalSectors>16</TotalSectors>

<Type>{20A0C19C-286A-42FA-9CE7-F64C3226A794}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- Secure Software Download -->

-<Partition>

<Name>SSD</Name>

<TotalSectors>16</TotalSectors>

<Type>{2C86E742-745E-4FDD-BFD8-B6A7AC638772}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- UEFI Variable Services Partitions -->

-<Partition>

<Name>UEFI_BS_NV</Name>

<TotalSectors>512</TotalSectors>

<Type>{F0B4F48B-AEBA-4ECF-9142-5DC30CDC3E77}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>UEFI_RT_NV</Name>

<TotalSectors>512</TotalSectors>

<Type>{6BB94537-7D1C-44D0-9DFE-6D77C011DBFC}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- PROVISIONED DATA SECTION END - WARNING DO NOT ALTER ABOVE OR FFU WILL REMOVE DEVICE SETTINGS -->

<!-- START QUALCOMM 8974 BOOT PARTITIONS -->

<!-- Bootloaders -->

-<Partition>

<Name>SBL1</Name>

<TotalSectors>1024</TotalSectors>

<!-- Qualcomm defined for SBL1 -->

<Type>{DEA0BA2C-CBDD-4805-B4F9-F428251C3E98}</Type>

<Bootable>true</Bootable>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- Debug Image Bootloader for Crash dump collection -->

-<Partition>

<Name>DBI</Name>

<TotalSectors>64</TotalSectors>

<Type>{D4E0D938-B7FA-48C1-9D21-BC5ED5C4B203}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>UEFI</Name>

<TotalSectors>4096</TotalSectors>

<Type>{400FFDCD-22E0-47E7-9A23-F16ED9382388}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>RPM</Name>

<TotalSectors>1000</TotalSectors>

<Type>{098DF793-D712-413D-9D4E-89D711772228}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>TZ</Name>

<TotalSectors>1000</TotalSectors>

<Type>{A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- TrustZone Applets -->

-<Partition>

<Name>WINSECAPP</Name>

<TotalSectors>1024</TotalSectors>

<Type>{69B4201F-A5AD-45EB-9F49-45B38CCDAEF5}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>TZAPPS</Name>

<TotalSectors>32768</TotalSectors>

<Type>{14D11C40-2A3D-4F97-882D-103A1EC09333}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- Bootloaders Backup Section (Sizes must match) -->

-<Partition>

<Name>BACKUP_SBL1</Name>

<TotalSectors>1024</TotalSectors>

<!-- Qualcomm defined for SBL1 -->

<Type>{A3381699-350C-465E-BD5D-FA3AB901A39A}</Type>

<Bootable>true</Bootable>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>BACKUP_DBI</Name>

<TotalSectors>64</TotalSectors>

<Type>{A3381699-350C-465E-BD5D-FA3AB901A39A}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>BACKUP_UEFI</Name>

<TotalSectors>4096</TotalSectors>

<Type>{A3381699-350C-465E-BD5D-FA3AB901A39A}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>BACKUP_RPM</Name>

<TotalSectors>1000</TotalSectors>

<Type>{A3381699-350C-465E-BD5D-FA3AB901A39A}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>BACKUP_TZ</Name>

<TotalSectors>1000</TotalSectors>

<Type>{A3381699-350C-465E-BD5D-FA3AB901A39A}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- TrustZone Applet Backup Sections (Sizes must match) -->

-<Partition>

<Name>BACKUP_WINSECAPP</Name>

<TotalSectors>1024</TotalSectors>

<Type>{A3381699-350C-465E-BD5D-FA3AB901A39A}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>BACKUP_TZAPPS</Name>

<TotalSectors>32768</TotalSectors>

<Type>{A3381699-350C-465E-BD5D-FA3AB901A39A}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- ACPI table storage -->

-<Partition>

<Name>PLAT</Name>

<TotalSectors>16384</TotalSectors>

<FileSystem>FAT</FileSystem>

<Type>{543C031A-4CB6-4897-BFFE-4B485768A8AD}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

<!-- END QUALCOMM 8974 BOOT PARTITIONS -->

<!-- START MICROSOFT PARTITIONS -->

<!-- EFI System Partition -->

-<Partition>

<Name>EFIESP</Name>

<FileSystem>FAT</FileSystem>

<TotalSectors>65536</TotalSectors>

<!-- PARTITION_SYSTEM_GUID <Type>{c12a7328-f81f-11d2-ba4b-00a0c93ec93b}</Type> -->

<Type>{ebd0a0a2-b9e5-4433-87c0-68b6b72699c7}</Type>

<RequiredToFlash>true</RequiredToFlash>

</Partition>

-<Partition>

<Name>MMOS</Name>

<FileSystem>FAT</FileSystem>

<MinFreeSectors>8192</MinFreeSectors>

<Type>{ebd0a0a2-b9e5-4433-87c0-68b6b72699c7}</Type>

</Partition>

-<Partition>

<Name>MainOS</Name>

<!-- PARTITION_BASIC_DATA_GUID -->

<Type>{ebd0a0a2-b9e5-4433-87c0-68b6b72699c7}</Type>

<!-- Accounts for 400MB free sectors and 256MB page file as defined in registry by package src\baseos\prod\packages\arm\armmemory -->

<MinFreeSectors>1343488</MinFreeSectors>

<ByteAlignment>0x800000</ByteAlignment>

<ClusterSize>0x4000</ClusterSize>

<FileSystem>NTFS</FileSystem>

<AttachDriveLetter>false</AttachDriveLetter>

</Partition>

-<Partition>

<Name>Data</Name>

<!-- PARTITION_BASIC_DATA_GUID -->

<Type>{ebd0a0a2-b9e5-4433-87c0-68b6b72699c7}</Type>

<UseAllSpace>true</UseAllSpace>

<ByteAlignment>0x800000</ByteAlignment>

<ClusterSize>0x4000</ClusterSize>

<FileSystem>NTFS</FileSystem>

</Partition>

</Partitions>

<!-- END MICROSOFT PARTITIONS -->

<SectorSize>512</SectorSize>

<ChunkSize>128</ChunkSize>

<DefaultPartitionByteAlignment>0x200000</DefaultPartitionByteAlignment>

</DeviceLayout>