neurodroid / cryptonite

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

Error: No such file or directory: losetup #53

Open neurodroid opened 10 years ago

neurodroid commented 10 years ago

From prasannamate87@gmail.com on May 03, 2013 15:00:59

What steps will reproduce the problem? 1.when i tried to mount in my rooted android device. I was ended up with Error: No such file or directory: losetup

  1. Because the losetup exe is not present in android phones.
  2. Please let me know how to resolve the above error What is the expected output? What do you see instead? It should mount What version of the product are you using? On what operating system? truecrypt-7.1a-source / Linux Please provide any additional information below.

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

neurodroid commented 10 years ago

From rajalo...@gmail.com on September 12, 2013 00:59:12

I am also not able to use modprobe, gunzip, grep on my Android 4.0.4.

I am pretty new to Android and may sound naive, the kernel version for it is 3.0.8 usermdy@ubuntu #314.

neurodroid commented 10 years ago

From cryannew...@gmail.com on January 01, 2014 16:39:51

I'm getting a similar error. Let me know if I should open a new issue for this. This is on a Samsung Galaxy Note 10.1 2014 running Android 4.3. I don't have any issues running Truecrypt on my Galaxy S3 (Android 4.1.2) and Asus Transformer Prime (Android 4.2.1).

Steps to reproduce the issue:

root@lt03wifiue:/ # /data/data/csh.cryptonite/truecrypt --fs-options="uid=1000,gid=1000,umask=0002" --keyfiles='' --protect-hidden=no --password=test /storage/extSdCard/test.tc /storage/extSdCard/mount % Error: Permission denied: losetup

root@lt03wifiue:/ # /data/data/csh.cryptonite/truecrypt -l % 1: /storage/extSdCard/test.tc - -

root@lt03wifiue:/ # /data/data/csh.cryptonite/truecrypt -d % Error: Permission denied: /system/xbin/umount

The volume isn't actually mounted at this point.

Additional information:

root@lt03wifiue:/ # losetup -f /dev/loop0

root@lt03wifiue:/ # ll /system/xbin/umount lrwxrwxrwx root root 2014-01-01 18:00 umount -> /system/xbin/busybox

root@lt03wifiue:/ # ll /system/bin/umount lrwxrwxrwx root root 2013-12-31 17:07 umount -> toolbox

I've also tried storing the volume and mounting it on the internal sdcard, but got the same errors. I'm currently running Cryptonite 0.7.9, and I've also tried previous versions.