Page 1 of 1

Can't use LAN plugin on Galaxy S4 because of update Samsung

Posted: 2013-10-04, 17:10 UTC
by jordanvanbergen
If I try to connect to my NAS using total commander and the lan plugin I will get an error message after a new update from Samsung last week on my Galaxy S4.

This is what the systems says (Dutch):

LAN
Error by connecting to the server. Reported error:
Failed to open /dev/urandom for writing
Failed to open /dev/urandom for writing

OK

After OK you will get a security shield from Samsung explaining something about: information about prevention

An application is forced to shutdown because of un unauthorized try to open a system on the device. etc. etc.

It has to do with the Security Enhanced for ANdroid update. After you hit okay it tries to connect to Samsungs update security server but fails.

How am I able to use TC with LAN plugin on my (never to be rooted) Samsung Galaxy S4 again?

Posted: 2013-10-05, 15:27 UTC
by jordanvanbergen
By the way ES File Explorer File Manager - Android does work even after this security update.

So I need to use another android file manager now as TC Android LAN plugin doesn't work (tried 3 different Galaxy S4 phones) any longer as explained.

Posted: 2013-10-06, 21:42 UTC
by roeleveld
Hi, I am having the same issue.
Not sure what is causing it suddenly. It was working correctly previously, and I had an update of the LAN plugin recently.
On my S4, I have this issue.

On my Note 10.0, I am not seeing this issue.
Both have the latest versions of Total Commander and plugins.

My webdav accounts do work correctly.

Posted: 2013-10-07, 09:33 UTC
by ghisler(Author)
Thanks for your report. The new LAN plugin includes a bugfix for a severe Android bug concerning the random number generator. This bug causes insecure encrypted data connections. You can find more information about this Android bug here:
http://android-developers.blogspot.ch/2013/08/some-securerandom-thoughts.html

Apparently Samsung is denying access to urandom, making the bugfix impossible. I will try to find a solution, please be patient.

In the meantime, you can get the previous version of the plugin here:
https://plugins.ghisler.com/aplg/tcandroidlan203.apk