Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a follow-up to the question posted here. I recently got a 2.3 DroidX phone, and noticed that it as well has data encryption option. I pulled an SD card from device, and noticed that folder structure is intact. I tried reading file from the SD card, which was produced by a photo application, and it was unreadable, however the file itself contained some data which was not random, which to me indicated that not the whole file was AES'ed. I was also able to put an unencrypted file on SD card which was readable afterwards.

So, the question is: does anyone know what encryption methodology is being used here, what algorithms are in place, and how strong they are against experienced attacker?

EDIT: My friend got a droid2, which also runs gingerbread 2.3.3, and it has data encryption feature too. So... is data encryption an android feature or specific to Motorola devices?

share|improve this question
up vote 2 down vote accepted

Apparently, DroidX uses ecryptfs

Following are mount options on /data/data:


I would imagine this means that encryption key here is 32 bytes, which is 256 bits, which seems pretty good to me.

share|improve this answer
Good find! Any pointers to the Motorola DroidX source code that shows the ecryptfs bits, specifically? I'm an eCryptfs upstream developer looking for it. – Dustin Kirkland Mar 1 '12 at 17:05
As a followup to my last comment, I broke it out to its own question here:… – Dustin Kirkland Mar 1 '12 at 17:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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