Skip to content

Commit

Permalink
Add profile for MTP8350
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Apr 30, 2024
1 parent 5af7146 commit 5910aa0
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 0 deletions.
120 changes: 120 additions & 0 deletions FirmwareGen/DeviceProfiles/MTP8350MaximizedForWindows.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<DeviceProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SupplementaryBCDCommands />
<PlatformIDs>
<string>Microsoft Corporation.Surface.MTP.SM8350</string>
</PlatformIDs>
<FFUFileName>QCOM_MTP_8350_MaximizedForWindows.ffu</FFUFileName>
<DriverDefinitionPath>\definitions\Desktop\ARM64\Internal\mtp888.xml</DriverDefinitionPath>
<DiskTotalSize>238353907712</DiskTotalSize>
<DiskSectorSize>4096</DiskSectorSize>
<PartitionLayout>
<GPTPartition>
<TypeGUID>2c86e742-745e-4fdd-bfd8-b6a7ac638772</TypeGUID>
<UID>0b91fdde-4d58-0d66-900b-db9500404fb9</UID>
<FirstLBA>6</FirstLBA>
<LastLBA>7</LastLBA>
<Attributes>0</Attributes>
<Name>ssd</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>6c95e238-e343-4ba8-b489-8681ed22ad0b</TypeGUID>
<UID>0348e2c8-d32a-7678-3ed3-cd1cff6bef65</UID>
<FirstLBA>8</FirstLBA>
<LastLBA>8199</LastLBA>
<Attributes>0</Attributes>
<Name>persist</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>82acc91f-357c-4a68-9c8f-689e1b1a23a1</TypeGUID>
<UID>36c64d19-3908-cd82-e31d-7f06f5d2f61c</UID>
<FirstLBA>8200</FirstLBA>
<LastLBA>8455</LastLBA>
<Attributes>0</Attributes>
<Name>misc</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>de7d4029-0f5b-41c8-ae7e-f6c023a02b33</TypeGUID>
<UID>a9b8f475-bb90-7fc0-c0b7-867dea3cd286</UID>
<FirstLBA>8456</FirstLBA>
<LastLBA>8583</LastLBA>
<Attributes>0</Attributes>
<Name>keystore</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>91b72d4d-71e0-4cbf-9b8e-236381cff17a</TypeGUID>
<UID>d5e013ea-86fd-498e-95eb-061cbd7e8533</UID>
<FirstLBA>8584</FirstLBA>
<LastLBA>8711</LastLBA>
<Attributes>0</Attributes>
<Name>frp</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>d504d6db-fa92-4853-b59e-c7f292e2ea19</TypeGUID>
<UID>7c0d112f-f4c4-94cf-01a6-5d834ce486e6</UID>
<FirstLBA>8712</FirstLBA>
<LastLBA>39431</LastLBA>
<Attributes>1125899906842624</Attributes>
<Name>recovery_a</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>352b8083-9c0c-4bed-9917-cb5eabd64d41</TypeGUID>
<UID>292602e7-2384-a0a2-6c20-218fa734f08f</UID>
<FirstLBA>39432</FirstLBA>
<LastLBA>70151</LastLBA>
<Attributes>0</Attributes>
<Name>recovery_b</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>89a12de1-5e41-4cb3-8b4c-b1441eb5da38</TypeGUID>
<UID>1eae51cc-5558-47c1-4076-bd1a005fcd8a</UID>
<FirstLBA>70152</FirstLBA>
<LastLBA>1643015</LastLBA>
<Attributes>0</Attributes>
<Name>super</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>1344859d-3a6a-4c14-a316-9e696b3a5400</TypeGUID>
<UID>74f716bb-a2ea-a811-6dc0-a4aea4761ffa</UID>
<FirstLBA>1643016</FirstLBA>
<LastLBA>1643031</LastLBA>
<Attributes>1154047404513689600</Attributes>
<Name>vbmeta_system_a</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>fe3ab853-5b66-4d4a-bf85-8d90af1c2c4a</TypeGUID>
<UID>0ff59d4f-06d0-6b4a-91e6-367bf3578ec1</UID>
<FirstLBA>1643032</FirstLBA>
<LastLBA>1643047</LastLBA>
<Attributes>1152921504606846976</Attributes>
<Name>vbmeta_system_b</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>988a98c9-2910-4123-aaec-1cf6b1bc28f9</TypeGUID>
<UID>e3e2ab4e-7827-098c-4af3-1ec7e055ca3e</UID>
<FirstLBA>1643048</FirstLBA>
<LastLBA>1647143</LastLBA>
<Attributes>0</Attributes>
<Name>metadata</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>66c9b323-f7fc-48b6-bf96-6f32e335a428</TypeGUID>
<UID>9e64e187-de4d-b5e7-a7ef-d100402cbaa9</UID>
<FirstLBA>1647144</FirstLBA>
<LastLBA>2169071</LastLBA>
<Attributes>0</Attributes>
<Name>rawdump</Name>
</GPTPartition>
<GPTPartition>
<TypeGUID>1b81e7e6-f50d-419b-a739-2aeef8da3335</TypeGUID>
<UID>cb12cb7a-f2db-4128-b15d-2e5cc87b17da</UID>
<FirstLBA>2169072</FirstLBA>
<LastLBA>2169071</LastLBA>
<Attributes>0</Attributes>
<Name>userdata</Name>
</GPTPartition>
</PartitionLayout>
<SplittingStrategy>MaximizedForWindows</SplittingStrategy>
<CustomSplittingAndroidDesiredSpace>4294967296</CustomSplittingAndroidDesiredSpace>
<DiskGuid>4201d005-0b91-ab8f-c23d-b5cba42ed693</DiskGuid>
</DeviceProfile>
3 changes: 3 additions & 0 deletions FirmwareGen/FirmwareGen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
<Content Include="DeviceProfiles\ZetaMaximizedForWindows.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="DeviceProfiles\MTP8350MaximizedForWindows.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
Expand Down

0 comments on commit 5910aa0

Please sign in to comment.