diff --git a/partitionmanager.cpp b/partitionmanager.cpp index d85ae2a8..f263b5f7 100755 --- a/partitionmanager.cpp +++ b/partitionmanager.cpp @@ -1865,6 +1865,7 @@ int TWPartitionManager::Decrypt_Device(string Password, int user_id) { property_get("ro.crypto.state", crypto_state, "error"); if (strcmp(crypto_state, "error") == 0) { property_set("ro.crypto.state", "encrypted"); + property_set("ro.crypto.type", "block"); // Sleep for a bit so that services can start if needed sleep(1); }