13

My android device just stopped working. I still have my SD card, but all data in it is encrypted. Encryption has been performed at file level, so I have the directory structure and filenames in plain text, but file contents are encrypted.

I remember the key I used to set up encryption, but I need to know what algorithm did Samsung use for encryption and how they generated an encryption key from my passphrase.

Does anyone know if I can recover my data without the original device, using openssl or a similar program?

  • 1
    You should ask Samsung for plan B, they should have it for such a situation. – jis Jan 13 '15 at 20:36
  • Your device isn't working? What's the make and model, and what's wrong? – unforgettableid Jul 15 '15 at 21:49
  • 2
    A spokesperson on the Samsung Dev forums says the info you seek cannot be published: I've got information form dev team that unfortunately we can't publish such information. developer.samsung.com/forum/thread/… – adam Nov 2 '15 at 12:02
  • 1
    Note that actual cryptographic experts agree that publishing the details of a proper encryption scheme have no fear of revealing how it works. This is how they get tested, by peer review. The only thing you need to keep secret is your key. – docwebhead Nov 30 '17 at 14:28
-2

Samsung uses its own solutions for sdcard encryption in android device at file level. Only device which encrypted the sdcard can decrypt it because when sdcard is encrypted an encryption policy file is saved into device and sdcard. If you insert encrypted sdcard into other device then you will only will able to see the encrypted contents of those files.

So,if you have the same device which encrypted the sdcard and you know the lockscreen which was used to encrypt it then you can easily decrypt the sdcard by navigating as below :

Settings -> Security -> Encrypt External Sdcard -> Disable/Turn off

A notification pop up will appear for decrypting sdcard on your device

  • The first paragraph contains the info which we can already see in the body of the question. The rest of the content doesn't really address "Does anyone know if I can recover my data without the original device" and "I need to know what algorithm did Samsung use for encryption and how they generated an encryption key from my passphrase". – Firelord Mar 9 '16 at 20:33
  • 2
    Seems like an answer to me, it's just not using the best technical language for the crucial point: The device has a unique hardware key that is used in encryption, and thus decryption is impossible without retrieving that key from the original device (which is not made accessible anyways). – Matthew Read Mar 9 '16 at 22:49

protected by Community Jan 21 '17 at 17:33

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.