From 201e196411bbea324ef533879eb6f48d4e6a3efa Mon Sep 17 00:00:00 2001 From: Gustave Monce Date: Tue, 27 Feb 2024 22:38:22 +0100 Subject: [PATCH] Enable GetCustomSplittingAndroidDesiredSpace across profiles --- FirmwareGen/DeviceProfiles/EpsilonHalfSplit128GB.cs | 5 +++++ FirmwareGen/DeviceProfiles/EpsilonHalfSplit256GB.cs | 5 +++++ FirmwareGen/DeviceProfiles/EpsilonMaximizedForWindows.cs | 5 +++++ FirmwareGen/DeviceProfiles/MTP8150MaximizedForWindows.cs | 5 +++++ FirmwareGen/DeviceProfiles/ZetaHalfSplit128GB.cs | 5 +++++ FirmwareGen/DeviceProfiles/ZetaHalfSplit256GB.cs | 5 +++++ FirmwareGen/DeviceProfiles/ZetaHalfSplit512GB.cs | 5 +++++ FirmwareGen/DeviceProfiles/ZetaMaximizedForWindows.cs | 5 +++++ FirmwareGen/IDeviceProfile.cs | 1 + 9 files changed, 41 insertions(+) diff --git a/FirmwareGen/DeviceProfiles/EpsilonHalfSplit128GB.cs b/FirmwareGen/DeviceProfiles/EpsilonHalfSplit128GB.cs index 9dc970d..13f6b6e 100644 --- a/FirmwareGen/DeviceProfiles/EpsilonHalfSplit128GB.cs +++ b/FirmwareGen/DeviceProfiles/EpsilonHalfSplit128GB.cs @@ -108,5 +108,10 @@ public Guid GetDiskGuid() { return new Guid("efa6243a-085f-e745-f2ce-54d39ef34351"); } + + public ulong GetCustomSplittingAndroidDesiredSpace() + { + return 4_294_967_296; + } } } diff --git a/FirmwareGen/DeviceProfiles/EpsilonHalfSplit256GB.cs b/FirmwareGen/DeviceProfiles/EpsilonHalfSplit256GB.cs index 8e2fd61..e3fc926 100644 --- a/FirmwareGen/DeviceProfiles/EpsilonHalfSplit256GB.cs +++ b/FirmwareGen/DeviceProfiles/EpsilonHalfSplit256GB.cs @@ -108,5 +108,10 @@ public Guid GetDiskGuid() { return new Guid("efa6243a-085f-e745-f2ce-54d39ef34351"); } + + public ulong GetCustomSplittingAndroidDesiredSpace() + { + return 4_294_967_296; + } } } diff --git a/FirmwareGen/DeviceProfiles/EpsilonMaximizedForWindows.cs b/FirmwareGen/DeviceProfiles/EpsilonMaximizedForWindows.cs index 2bc86cb..c312cbc 100644 --- a/FirmwareGen/DeviceProfiles/EpsilonMaximizedForWindows.cs +++ b/FirmwareGen/DeviceProfiles/EpsilonMaximizedForWindows.cs @@ -108,5 +108,10 @@ public Guid GetDiskGuid() { return new Guid("efa6243a-085f-e745-f2ce-54d39ef34351"); } + + public ulong GetCustomSplittingAndroidDesiredSpace() + { + return 4_294_967_296; + } } } diff --git a/FirmwareGen/DeviceProfiles/MTP8150MaximizedForWindows.cs b/FirmwareGen/DeviceProfiles/MTP8150MaximizedForWindows.cs index 058a24b..9ede845 100644 --- a/FirmwareGen/DeviceProfiles/MTP8150MaximizedForWindows.cs +++ b/FirmwareGen/DeviceProfiles/MTP8150MaximizedForWindows.cs @@ -160,5 +160,10 @@ public Guid GetDiskGuid() { return new Guid("efa6243a-085f-e745-f2ce-54d39ef34351"); } + + public ulong GetCustomSplittingAndroidDesiredSpace() + { + return 4_294_967_296; + } } } diff --git a/FirmwareGen/DeviceProfiles/ZetaHalfSplit128GB.cs b/FirmwareGen/DeviceProfiles/ZetaHalfSplit128GB.cs index 0075a2d..8683acf 100644 --- a/FirmwareGen/DeviceProfiles/ZetaHalfSplit128GB.cs +++ b/FirmwareGen/DeviceProfiles/ZetaHalfSplit128GB.cs @@ -127,5 +127,10 @@ public Guid GetDiskGuid() { return new Guid("efa6243a-085f-e745-f2ce-54d39ef34351"); } + + public ulong GetCustomSplittingAndroidDesiredSpace() + { + return 4_294_967_296; + } } } diff --git a/FirmwareGen/DeviceProfiles/ZetaHalfSplit256GB.cs b/FirmwareGen/DeviceProfiles/ZetaHalfSplit256GB.cs index 412b949..3012344 100644 --- a/FirmwareGen/DeviceProfiles/ZetaHalfSplit256GB.cs +++ b/FirmwareGen/DeviceProfiles/ZetaHalfSplit256GB.cs @@ -127,5 +127,10 @@ public Guid GetDiskGuid() { return new Guid("efa6243a-085f-e745-f2ce-54d39ef34351"); } + + public ulong GetCustomSplittingAndroidDesiredSpace() + { + return 4_294_967_296; + } } } diff --git a/FirmwareGen/DeviceProfiles/ZetaHalfSplit512GB.cs b/FirmwareGen/DeviceProfiles/ZetaHalfSplit512GB.cs index 33b644d..76244a8 100644 --- a/FirmwareGen/DeviceProfiles/ZetaHalfSplit512GB.cs +++ b/FirmwareGen/DeviceProfiles/ZetaHalfSplit512GB.cs @@ -127,5 +127,10 @@ public Guid GetDiskGuid() { return new Guid("efa6243a-085f-e745-f2ce-54d39ef34351"); } + + public ulong GetCustomSplittingAndroidDesiredSpace() + { + return 4_294_967_296; + } } } diff --git a/FirmwareGen/DeviceProfiles/ZetaMaximizedForWindows.cs b/FirmwareGen/DeviceProfiles/ZetaMaximizedForWindows.cs index c82fb27..d5fa619 100644 --- a/FirmwareGen/DeviceProfiles/ZetaMaximizedForWindows.cs +++ b/FirmwareGen/DeviceProfiles/ZetaMaximizedForWindows.cs @@ -127,5 +127,10 @@ public Guid GetDiskGuid() { return new Guid("efa6243a-085f-e745-f2ce-54d39ef34351"); } + + public ulong GetCustomSplittingAndroidDesiredSpace() + { + return 4_294_967_296; + } } } diff --git a/FirmwareGen/IDeviceProfile.cs b/FirmwareGen/IDeviceProfile.cs index 6624ea8..439b9ec 100644 --- a/FirmwareGen/IDeviceProfile.cs +++ b/FirmwareGen/IDeviceProfile.cs @@ -13,6 +13,7 @@ public interface IDeviceProfile uint GetDiskSectorSize(); GPTPartition[] GetPartitionLayout(); SplittingStrategy GetSplittingStrategy(); + ulong GetCustomSplittingAndroidDesiredSpace(); Guid GetDiskGuid(); } } \ No newline at end of file