[CM10.2]eCryptFS - How to manually create/mount an encrypted folder?
Android 4.x allows to encrypt the phone. I guess it's been done by ecryptfs. How can i use ecryptfs to manually encrypt a single folder? I've tried 'mount -t ecryptfs /sdcard/test /sdcard/test' how it's been usually initialized but on Android/CM10.2 it just throws an 'invalid argument'.
Edit: 'dmesg' throws 'Error parsing options; rc = [-22]'. I've found references on the web that this is because there is only the kernel part implemented and it needs the userspace tools as well (ecryptfs-utils). But how does Android/CM do it then to encrypt the whole phone?
Edit2: Looks like its not done by ecryptfs but dm-crypt via vold
So, i guess its not possible at the moment to use that on single folders via shell...
Galaxy SIII I9300: