diff options
Diffstat (limited to '')
-rw-r--r-- | partitions.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/partitions.hpp b/partitions.hpp index 3f5aadda7..48c339dae 100644 --- a/partitions.hpp +++ b/partitions.hpp @@ -73,6 +73,7 @@ public: string Actual_Block_Device; // Actual block device (one of primary, alternate, or decrypted) string MTD_Name; // Name of the partition for MTD devices bool Is_Present; // Indicates if the partition is currently present as a block device + string Crypto_Key_Location; // Location of the crypto key used for decrypting encrypted data partitions protected: bool Has_Data_Media; // Indicates presence of /data/media, may affect wiping and backup methods @@ -141,6 +142,7 @@ private: bool Can_Be_Encrypted; // This partition might be encrypted, affects error handling, can only be true if crypto support is compiled in bool Is_Encrypted; // This partition is thought to be encrypted -- it wouldn't mount for some reason, only avialble with crypto support bool Is_Decrypted; // This partition has successfully been decrypted + bool Mount_To_Decrypt; // Mount this partition during decrypt (/vendor, /firmware, etc in case we need proprietary libs or firmware files) string Display_Name; // Display name for the GUI string Backup_Name; // Backup name -- used for backup filenames string Backup_Display_Name; // Name displayed in the partition list for backup selection @@ -159,9 +161,6 @@ private: int Format_Block_Size; // Block size for formatting bool Ignore_Blkid; // Ignore blkid results due to superblocks lying to us on certain devices / partitions bool Retain_Layout_Version; // Retains the .layout_version file during a wipe (needed on devices like Sony Xperia T where /data and /data/media are separate partitions) -#ifdef TW_INCLUDE_CRYPTO_SAMSUNG - string EcryptFS_Password; // Have to store the encryption password to remount -#endif friend class TWPartitionManager; friend class DataManager; |