neurodroid / cryptonite

EncFS and TrueCrypt on Android
GNU General Public License v2.0
203 stars 49 forks source link

Project still alive? - Truecrypt issue android 4.2.2 #74

Open neurodroid opened 10 years ago

neurodroid commented 10 years ago

From konaj...@gmail.com on April 25, 2014 07:25:39

I used to use this on my other android 4.1 tablet and it worked fine, but now I have an issue with android 4.2.2 cryptonite-ALPHA-0.7.9.apk
For this test I create a tc container file with /data/data/csh.cryptonite/truecrypt -t -c /mnt/sdcard/test (use all default options, fat filesystem)

then I go to mount it with

/data/data/csh.cryptonite/truecrypt /mnt/sdcard/test /mnt/usb_storage/

Enter password for /mnt/sdcard/test: Enter keyfile [none]: Protect hidden volume (if any)? (y=Yes/n=No) [No]: Error: Failed to set up a loop device: /sdcard/Android/data/csh.cryptonite/.truecrypt_aux_mnt1/volume ^I made sure this directory exists (its a symbolic link to /mnt/sdcard/ but it exists, I also tried making the directory on the root fs so I could give it 777 permissions but it still failed.)

I'v literally tried everything including other suggestion with losetup -f , mknode ..etc but no luck loop support

losetup -f

/dev/loop0

^for some reason this always shows /dev/loop0 but ls /dev/block shows loop devices. root@android:/data/local # ls -al /dev/block/loop*
brw------- root root 7, 0 2014-04-23 08:08 loop0 brw------- root root 7, 1 2014-04-23 08:08 loop1 brw------- root root 7, 10 2014-04-23 08:11 loop10 brw------- root root 7, 11 2014-04-23 08:11 loop11 brw------- root root 7, 12 2014-04-23 08:11 loop12 brw------- root root 7, 13 2014-04-23 08:11 loop13 brw------- root root 7, 14 2014-04-23 08:11 loop14 brw------- root root 7, 15 2014-04-23 08:11 loop15 brw------- root root 7, 16 2014-04-23 08:11 loop16 brw------- root root 7, 17 2014-04-23 08:11 loop17 brw------- root root 7, 18 2014-04-23 08:11 loop18 brw------- root root 7, 19 2014-04-23 08:11 loop19 brw------- root root 7, 2 2014-04-23 08:08 loop2 brw------- root root 7, 20 2014-04-23 08:11 loop20 brw------- root root 7, 21 2014-04-23 08:11 loop21 brw------- root root 7, 3 2014-04-23 08:08 loop3 brw------- root root 7, 4 2014-04-23 08:08 loop4 brw------- root root 7, 5 2014-04-23 08:08 loop5 brw------- root root 7, 6 2014-04-23 08:08 loop6 brw------- root root 7, 7 2014-04-23 08:08 loop7 brw------- root root 7, 8 2014-04-23 08:11 loop8 brw------- root root 7, 9 2014-04-23 08:11 loop9 so my device has fuse (built into kernel) and loop support I have root and the latest busybox, I have the kernel sources so I can compile any module I need so I'm not afraid to test.

I hope this can get figured out, christoph this is a great project I hope you didn't give up.

Original issue: http://code.google.com/p/cryptonite/issues/detail?id=74

neurodroid commented 10 years ago

From konaj...@gmail.com on April 25, 2014 00:08:46

ok oddly enough I got it working with mknod /dev/block/loop22 b 7 22 chmod 777 /dev/block/loop22

going to have to figure out some script to do this automatically

neurodroid commented 10 years ago

From ddascale...@gmail.com on July 05, 2014 18:36:40

Nevertheless, is this project still maintained?