Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I think about the following use cases:

  • 'Perfectly' reverse encryption without losing settings
  • Update ROMs. Even if /system, /data, /sdcard (internal) are encrypted
  • Low level Backups with CWM. When SDCARD partition is also encrypted.
  • Emergency access to my data (screen broken, soft bricked...)
  • How to mount crypted dumps on linux (knowing the passphrase)

Is there some salt value going into the key together with the passphrase stored on the device?

I currently use a tmpfs mount to /sdcard and 'adb push update.zip' on my Nexus S to update the ROM. I've been told that the Galaxy Nexus also has an encrypted /system which would prevent all that (see Nexus S solution here: Broken screen while debug mode was disabled. How can I re-enable adb? )

share|improve this question
For the record: I will investigate and answer myself as soon as i find the time –  ce4 Jun 15 '12 at 19:55
CM9 nightly here: updates work fine when encrypted. Backups need to backup /data which is encrypted so they don't work. The way I have been doing it is to use Mybackup Root to create a backup of my apps and settings and restoring that after I move from one major revision to another (such as I will be doing soon from ICS to JB). –  warsong Jul 16 '12 at 8:34
I use a tmpfs mount on /sdcard and 'adb push update.zip /sdcard' ATM for updates (the normal /sdcard partition is also encrypted on a Nexus S, so that doesn't work!). I'm mostly interested in accessing data post-mortem (aka. how does the enc work, how could I mount it using standard linux and access my data in emergencies and so on. Just for knowing what I could do if something goes titsup) –  ce4 Jul 16 '12 at 8:39
add comment

Your Answer


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

Browse other questions tagged or ask your own question.