From e9afc3de0fe1df795cc2f8cfab489177252812be Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 30 Aug 2018 15:16:27 -0500 Subject: Decrypt FBE on 9.0 (backwards compatible) Building in 9.0 may require you to add a flag to your twrp fstab with the fileencryption details like: fileencryption=ice:aes-256-heh Verify this against your device's stock fstab of course. Change-Id: If9286f5d5787280814daca9fbc8f5191ff26a839 --- crypto/ext4crypt/Ext4Crypt.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crypto/ext4crypt/Ext4Crypt.cpp') diff --git a/crypto/ext4crypt/Ext4Crypt.cpp b/crypto/ext4crypt/Ext4Crypt.cpp index 048a0bd9f..15d7d8f32 100644 --- a/crypto/ext4crypt/Ext4Crypt.cpp +++ b/crypto/ext4crypt/Ext4Crypt.cpp @@ -17,7 +17,11 @@ #include "Ext4Crypt.h" #include "Decrypt.h" +#ifdef USE_KEYSTORAGE_3 +#include "KeyStorage3.h" +#else #include "KeyStorage.h" +#endif #include "Utils.h" #include -- cgit v1.2.3