Alter the list of OS partitions

This commit is contained in:
Gustave Monce
2023-11-26 14:19:05 +01:00
parent 4b7b9621b4
commit e2cbb9c6fc
+26 -22
View File
@@ -34,44 +34,48 @@ namespace WPinternals
private readonly static string[] KnownOSPartitions = private readonly static string[] KnownOSPartitions =
[ [
"EFIESP", "BDP",
"HACK_EFIESP",
"VIRT_EFIESP",
"EFIESP_MUNGED",
"HACK_EFIESP_MUNGED",
"TEST-UI-MARKER",
"BOOT_EFI", "BOOT_EFI",
"MainOS",
"OSData",
"Data",
"BSP", "BSP",
"PreInstalled", "CrashDump",
"OSPool", "Data",
"WSP", "EFIESP_MUNGED",
"EFIESP", // Can bring issues when partition is meant for test devices, breaking end user fash app, need code to ensure this won't happen or user can recover if possible
"HACK_EFIESP_MUNGED",
"HACK_EFIESP",
"IU_RESERVE", "IU_RESERVE",
"SERVICING_METADATA" "MainOS",
"MMOS",
"OSData",
"OSPool",
"PLAT", // Can bring issues when PLATID differs, need code to ensure it matches or user can recover if different
"PreInstalled",
"SERVICING_METADATA",
"TEST-UI-MARKER",
"VIRT_EFIESP",
"WSP"
]; ];
private readonly static string[] ProvisioningPartitions = private readonly static string[] ProvisioningPartitions =
[ [
"APDP",
"BOOTMODE",
"DBI",
"DDR",
"DPO",
"DPP", "DPP",
"MODEM_FSG", "LIMITS",
"MODEM_FS1", "MODEM_FS1",
"MODEM_FS2", "MODEM_FS2",
"MODEM_FSC", "MODEM_FSC",
"DDR", "MODEM_FSG",
"SEC",
"APDP",
"MSADP", "MSADP",
"DPO", "SEC",
"SSD", "SSD",
"DBI",
"UEFI_BS_NV", "UEFI_BS_NV",
"UEFI_NV", "UEFI_NV",
"UEFI_RT_NV",
"UEFI_RT_NV_RPMB", "UEFI_RT_NV_RPMB",
"BOOTMODE", "UEFI_RT_NV"
"LIMITS"
]; ];
internal BackupViewModel(PhoneNotifierViewModel PhoneNotifier, Action SwitchToUnlockBoot, Action Callback) internal BackupViewModel(PhoneNotifierViewModel PhoneNotifier, Action SwitchToUnlockBoot, Action Callback)