Encrypting CyanogenMod Samsung Galaxy Tab 2 tablet

Last Modified: Mon, 14 Nov 2016 22:30:03 +0000 ; Created: Mon, 14 Nov 2016 22:30:03 +0000

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