12

I have a Samsung Galaxy S5 duos with stock Android Marshmallow, and I'm considering encrypting my SD card to prevent access to its contents in case I lose my phone. The main reason of not doing this is that I'm not sure if there's a way to mount an encrypted SD card on Windows (or other desktop OS's)

When I encrypt the SD card on my Samsung Galaxy S5, is it using a known implementation of encryption, or is it something that only works on Android (or perhaps Samsung) phones?

I do not want to use USB connection to my phone to access my SD card, it's terrible. Mounting the SD card is much easier and faster and less annoying.

EDIT: just to clarify, I am NOT talking about adoptable storage. I want a portable encrypted SD card that can both be read on PCs and Android phones (i.e. I want to be able to remove the SD card from my phone, plug it into my PC, provide a password to decrypt and read/write it like any other SD card)

  • Wat type of encryption process you want to try – Harshal Benake Aug 17 '16 at 22:56
11

Marshmallow has two ways to treat the external SD card :

  • Portable Storage : In this the entire memory of the ext.SD card is available for use, if it is not encrypted (natively) and you can mount it on your PC to read/ transfer contents

  • Adoptable-storage: In this the ext. SD is treated as a part of the phone and when you encrypt the phone, the ext. SD card is also encrypted. Once it is encrypted, it can only be read through USB and cannot be read independently by using a card reader to mount on your PC. You can read more on this at tag and it's wiki has questions to answer the common concerns. So, for all practical purposes encrypted ext. SD card cannot be read on PC independent the device. However, if your device is rooted, you can try the method suggested here How to decrypt Adopted Storage?

  • Full Disk Encryption details different encryption modes on Android Marshmallow. Whether OEMs implement it with additional security features is not known and surely won't be shared on public domain

Edit: Answering OPs query in comments and edit to question

See How does Samsung implement SD card encryption?

  1. Samsung implements proprietary encryption as evident from the question and also this Reasons for full disk encryption differences between Nexus & Samsung

  2. Encrypted card cannot be read without the device as on the first question linked

So, it would be not possible to read the card on your PC, by mounting it via card reader on your PC as you propose to do. To clarify further, it can be read if you connect your device using USB

Edit: For a technical understanding, see the excellent answer here How does Marshmallow encryption work technically?

  • So basically, assuming I'm not doing adoptable-storage, is SD card encryption done as a very vendor specific thing? i.e. does samsung encrypt SD cards in their own specific way such that it cannot work on PC platforms? – 9a3eedi Aug 17 '16 at 22:52
  • Thank you, this is the answer I was looking for. Although it's a shame that I couldn't mount encrypted SD cards on my pc :( – 9a3eedi Aug 18 '16 at 4:28
2

The encrypted SD card cannot be accessed in a PC unless you are connecting via a USB cable with the parent phone.

Android Marshmallow (6.0+) have a unique feature to format SD card as internal storage (I think this carries some encryption along with the formatting process). I have tried this, and after it is formatted to internal storage, the SD card is useless without mounting in the same phone in which it was formatted.(Edit: Unless you have root access.)

However SD card can be accessed from a PC, after formatting the SD card.

  • 2
    After formatting doesn't help much if the OP wants the data. But without formatting helps: How to decrypt adopted storage? – Izzy Aug 17 '16 at 6:44
  • @Izzy, that was a new knowledge for me. Thanks :) But this works only with root access. – Abhishek K Aug 17 '16 at 6:54
  • Sure – as most of the "interesting things" do. That's what they call "security" (keep the data securely off the hands of users ;) – Izzy Aug 17 '16 at 8:47
  • 2
    @beeshyams I think it can be applied to any rooted device. – Abhishek K Aug 17 '16 at 9:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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