AbbsFarshidi / cryptonite

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

Mounting EncFs via cryptonite fails in 4.4.2 #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 reported on code.google.com by rav.dr...@gmail.com on 19 Feb 2014 at 6:05

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

Original comment by marques...@gmail.com on 21 Mar 2014 at 6:16

GoogleCodeExporter commented 9 years ago
I'm using 0.7.7 and it works fine on Sony Xperia ZU 4.4.2.

Original comment by Lawrence...@gmail.com on 13 Apr 2014 at 2:57

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

Original comment by fx.b...@gmail.com on 22 Apr 2014 at 2:56

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

Original comment by andrew.l...@gmail.com on 12 May 2014 at 12:16

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

Original comment by michael....@gmail.com on 26 Aug 2014 at 4:57

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

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

GoogleCodeExporter 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)

Original comment by m.heyl...@gmail.com on 24 Dec 2014 at 10:10