[Windows 10 Mobile] nate0:
This was my thinking as well. Good find.

---------- Post added at 07:03 AM ---------- Previous post was at 06:47 AM ----------

I dumped the TOT for the 5x to bin files. It has 37 bin images.

I am in the process of trying to revive the phone at this point. I made a mistake of flashing the the sbl1 with the dumped sbl1 of the 950 ffu. Not too worried though as I think if I flash the sbl1 from the 5x back I may revive it. Do you know where I can find the sbl1 for the 5x? FYI I used emmcdl to send the sbl1, after that I could not write any other binary files due to errors.

---------- Post added at 07:18 AM ---------- Previous post was at 07:03 AM ----------

If I am thinking on this correctly. The rawprogam xml is what tells the flash programmer how to layout the ffu onto the phone. On top of that there must be a script that it runs against in order to not wipe out the other partitions, preserving them. We can confirm this with the mi4 xml file here as each sector lines up with your dump.

<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="2048" filename="10586.1102.3063.Retail.FFU" label="ffu_image_0" num_partition_sectors="1536" physical_partition_number="0" size_in_KB="768" sparse="false" start_byte_hex="0x80000" start_sector="1024"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="3584" filename="10586.1102.3063.Retail.FFU" label="ffu_image_1" num_partition_sectors="512" physical_partition_number="0" size_in_KB="256" sparse="false" start_byte_hex="0x180000" start_sector="3072"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="4096" filename="10586.1102.3063.Retail.FFU" label="ffu_image_2" num_partition_sectors="4096" physical_partition_number="0" size_in_KB="2048" sparse="false" start_byte_hex="0x200000" start_sector="4096"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="8192" filename="10586.1102.3063.Retail.FFU" label="ffu_image_3" num_partition_sectors="2304" physical_partition_number="0" size_in_KB="1152" sparse="false" start_byte_hex="0x600000" start_sector="12288"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="10496" filename="10586.1102.3063.Retail.FFU" label="ffu_image_4" num_partition_sectors="256" physical_partition_number="0" size_in_KB="128" sparse="false" start_byte_hex="0xf00000" start_sector="30720"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="10752" filename="10586.1102.3063.Retail.FFU" label="ffu_image_5" num_partition_sectors="3584" physical_partition_number="0" size_in_KB="1792" sparse="false" start_byte_hex="0xf80000" start_sector="31744"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="14336" filename="10586.1102.3063.Retail.FFU" label="ffu_image_6" num_partition_sectors="3072" physical_partition_number="0" size_in_KB="1536" sparse="false" start_byte_hex="0x3400000" start_sector="106496"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="17408" filename="10586.1102.3063.Retail.FFU" label="ffu_image_7" num_partition_sectors="2304" physical_partition_number="0" size_in_KB="1152" sparse="false" start_byte_hex="0x4200000" start_sector="135168"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="19712" filename="10586.1102.3063.Retail.FFU" label="ffu_image_8" num_partition_sectors="512" physical_partition_number="0" size_in_KB="256" sparse="false" start_byte_hex="0x4380000" start_sector="138240"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="20224" filename="10586.1102.3063.Retail.FFU" label="ffu_image_9" num_partition_sectors="14336" physical_partition_number="0" size_in_KB="7168" sparse="false" start_byte_hex="0x43e0000" start_sector="139008"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="34560" filename="10586.1102.3063.Retail.FFU" label="ffu_image_10" num_partition_sectors="20480" physical_partition_number="0" size_in_KB="10240" sparse="false" start_byte_hex="0x4b80000" start_sector="154624"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="55040" filename="10586.1102.3063.Retail.FFU" label="ffu_image_11" num_partition_sectors="256" physical_partition_number="0" size_in_KB="128" sparse="false" start_byte_hex="0x55a0000" start_sector="175360"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="55296" filename="10586.1102.3063.Retail.FFU" label="ffu_image_12" num_partition_sectors="256" physical_partition_number="0" size_in_KB="128" sparse="false" start_byte_hex="0x0" start_sector="0"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="55552" filename="10586.1102.3063.Retail.FFU" label="ffu_image_13" num_partition_sectors="512" physical_partition_number="0" size_in_KB="256" sparse="false" start_byte_hex="0x3580000" start_sector="109568"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="56064" filename="10586.1102.3063.Retail.FFU" label="ffu_image_14" num_partition_sectors="17152" physical_partition_number="0" size_in_KB="8576" sparse="false" start_byte_hex="0x10000000" start_sector="524288"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="73216" filename="10586.1102.3063.Retail.FFU" label="ffu_image_15" num_partition_sectors="256" physical_partition_number="0" size_in_KB="128" sparse="false" start_byte_hex="0x108a0000" start_sector="541952"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="73472" filename="10586.1102.3063.Retail.FFU" label="ffu_image_16" num_partition_sectors="29440" physical_partition_number="0" size_in_KB="14720" sparse="false" start_byte_hex="0x108e0000" start_sector="542464"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="102912" filename="10586.1102.3063.Retail.FFU" label="ffu_image_17" num_partition_sectors="71424" physical_partition_number="0" size_in_KB="35712" sparse="false" start_byte_hex="0x11a20000" start_sector="577792"/>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="174336" filename="10586.1102.3063.Retail.FFU" label="ffu_image_18" num_partition_sectors="256" physical_partition_number="0" size_in_KB="128" sparse="false" start_byte_hex="0x13f40000" start_sector="653824"/>.....................

How does your tool work exactly. How does it read the GPT info? If you can tell me the GPT layout by name for the 5x I might be able to flash just the images needed to boot?? The phone is already in the 9008 mode state at this point.