cryptonite icon indicating copy to clipboard operation
cryptonite copied to clipboard

Mounting EncFs via cryptonite fails in 4.4.2

Open neurodroid opened this issue 11 years ago • 6 comments

From [email protected] on February 19, 2014 06:05:45

What steps will reproduce the problem? 1. Go to local-tab and click Mount EncFS 2. 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 avatar Aug 28 '14 15:08 neurodroid

From [email protected] 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 [email protected] Regards!

neurodroid avatar Aug 28 '14 15:08 neurodroid

From [email protected] 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 avatar Aug 28 '14 15:08 neurodroid

From [email protected] 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 avatar Aug 28 '14 15:08 neurodroid

From [email protected] 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 [email protected] you should be able to mount. Hope this helps someone!

neurodroid avatar Aug 28 '14 15:08 neurodroid

From [email protected] 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

neurodroid avatar Aug 28 '14 15:08 neurodroid

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)

vcxy avatar Dec 24 '14 22:12 vcxy