neurodroid / cryptonite

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

Mounting EncFs via cryptonite fails in 4.4.2 #71

Open neurodroid opened 10 years ago

neurodroid commented 10 years ago

From rav.dr...@gmail.com on February 19, 2014 06:05:45

What steps will reproduce the problem? 1. Go to local-tab and click Mount EncFS

  1. Select folder, enter password. What is the expected output? What do you see instead? I'm expecting to see a successful mount, instead I get "Failed to mount volume:" What version of the product are you using? On what operating system? Im on KitKat 4.4.2 using cryptonite 0.7.9 Please provide any additional information below. The problem lies within FileDialog.java. Not in EncFs itself. You have introduced "hijackDebuggerd42" which worked great on JellyBean but fails on KitKat, at least for me. I've removed the whole "ShellUtils.isAndroid42()" test so "ShellUtils.runBinary" is executed instead and EncFs runs without the foreground parameter "-f". This way the folder is mounted as expected.

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

neurodroid commented 10 years ago

From marques...@gmail.com on March 21, 2014 11:16:18

Hi! I have the same problem with the 4.4.2 with the EDS LITE APP. I think that the issue is related with restrictions of the new Android. Please, If you would work it successful answer me on marques.it@gmail.com.br Regards!

neurodroid commented 10 years ago

From Lawrence...@gmail.com on April 12, 2014 19:57:55

I'm using 0.7.7 and it works fine on Sony Xperia ZU 4.4.2.

neurodroid commented 10 years ago

From fx.b...@gmail.com on April 22, 2014 07:56:28

The problem can also be solved by setting the mount point (Preferences dialog) to "/sdcard/csh.cryptonite/mnt" - the important part being "/sdcard/.." instead of e.g. "/storage/emulated/0/.." or "/storage/sdcard0/.."

Running Cryptonite 0.7.9 on CM11 nightly (20140413 currently) with ElementalX 0.34 Kernel on a Nexus 5.

neurodroid commented 10 years ago

From andrew.l...@gmail.com on May 11, 2014 17:16:36

I had the same problem as OP, but after a few fixes Cryptonite works perfectly. Here are some instructions in case anyone else Googling this has the same problem:

Make sure to install and update Superuser and Busybox just to be safe, and also make sure you have a kernel that supports FUSE. Some stock kernels do and some don't, users with an incompatible kernel will have to flash a new one (see XDA-Developers for kernels for each device). After changing the mount point to /sdcard/csh.cryptonite/mnt as suggested by fx.b...@gmail.com you should be able to mount. Hope this helps someone!

neurodroid commented 10 years ago

From michael....@gmail.com on August 25, 2014 21:57:47

3 fixed the problem for me, otherwise it would show a "directory does not exist" error

also make sure to use /sdcard for both mount and storage directories

vcxy commented 9 years ago

I had the same problem, I get "Failed to mount volume:".

I almost gave up, but after several hours I found out that a relationship with the folder name (EncFS root dir) exists. If this folder has spaces or special symbols, eg parentheses () or apostrophe, then comes the error "Failed to mount volume". If I do not use spaces or special symbols in the folder name everything is ok.

Running Cryptonite 0.7.9 on Zopo ZP 999 Light (Android 4.4.2 / Marsapa rom v3)