summaryrefslogtreecommitdiffstats
path: root/crypto/lollipop/cryptfs.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-12Add lollipop decrypt supportEthan Yonker1-17/+91
Kang in cryptfs.c and cryptfs.h from vold. Use TW_INCLUDE_L_CRYPTO := true to enable. Ramdisk must contain the normal fstab file in the root in the usual format of: fstab.{ro.hardware} For examble for Nexus 5: fstab.hammerhead Or on many Qualcomm devices: fstab.qcom Tested against Android 5.0 lollipop on Nexus 7 2012 grouper. Not sure if or how this will work when we are dealing with a device with a hardware keystore. Long term we need to add a GUI element to allow entering a pattern. For now you can decrypt a pattern unlock by converting the dots to numbers in the following format: 123 456 789 So an upper-case L would translate to 14789 as a password entered on the keyboard. Change-Id: I02c29e1f1c2eb29bf002c9fe0fc118357300b5b3
2014-02-26Check crypto footer before offering to decryptEthan Yonker1-0/+1
Verify that we have a valid footer with proper magic before setting things up for decryption to help prevent user confusion when dealing with data partitions that fail to mount. Also check to make sure that the block device for /data is present. Change-Id: Ie87818fe4505a8bf71df7d3934c114e7328ef3ca
2013-11-10Update decrypt for 4.4Dees Troy1-11/+78
Change-Id: I8d5d7b6a49890e4707d70de8b429563de0d2ad99
2012-09-05TWRP-ify AOSP codeDees_Troy1-0/+89
Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere