tytymyty / cryptonite

Automatically exported from code.google.com/p/cryptonite
GNU General Public License v2.0
0 stars 0 forks source link

Project still alive? - Truecrypt issue android 4.2.2 #74

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 reported on code.google.com by konaj...@gmail.com on 25 Apr 2014 at 6:25

GoogleCodeExporter commented 8 years ago
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

Original comment by konaj...@gmail.com on 25 Apr 2014 at 7:08

GoogleCodeExporter commented 8 years ago
Nevertheless, is this project still maintained?

Original comment by ddascale...@gmail.com on 6 Jul 2014 at 1:36

GoogleCodeExporter commented 8 years ago
This issue has moved to https://github.com/neurodroid/cryptonite/issues/74

Original comment by christoph.schmidthieber@gmail.com on 28 Aug 2014 at 3:37