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

2 Answers 2

Download the latest cwm philz touch recovery{Install} and then look in philz settings or recovery options for the clone current rom to zip option then do that, or could be complicated to get that kind of backup from a dead or broken device so just clone current rom to zip file or modify your rom on computer to your liking then save to sdcard for safe keeping, hope this helped.

share|improve this answer

I don't know of any implementation for non-android devices for accessing the data, although it should be fairly easy to port / implement. For an explanation how the encryption works I recommend reading the following article:


I really doubt the Galaxy Nexus has an encrypted /system. And starting from Android 5.0 it could be almost impossible to read the data on other devices than the android device itself because parts of the key are stored in otherwise unaccessible DRM areas of the system board / SoC --- not the eMMC flash (on Qualcomm devices and possibly also Intel).

share|improve this answer

protected by Community Mar 22 at 13:45

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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.