www.rodneybeede.com "I would love to change the world, but they won't give me the source code" - unknown

Encrypting CyanogenMod Samsung Galaxy Tab 2 tablet - Last Modified 2016-11-14 22:30 UTC - Created 2016-11-14 22:30 UTC

Ran into an issue since CyanogenMod 11 (and also now 13) that my Samsung Galaxy Tab 2 7.0" (GT-P113) wifi tablet would not encrypt. Using this method of manual encryption fixed it:

How do you encrypt your device running CyanogenMod 12.1? - http://android.stackexchange.com/

Short version in case link goes 404:

  1. Prepare to lose all your settings and data
  2. Boot phone normally (not recovery)
  3. Enable developer options (About Tablet, tap build 7 times)
  4. Enable ADB over USB
  5. Allow root for ADB
  6. On your computer now
  7. adb root
  8. adb shell
  9. vdc cryptfs enablecrypto wipe pin 12345
    • Or you may use the password method and a hex-encoded (ascii) password
  10. Device will take 5 minutes and then reboot encrypted