Page 2 of 2

Posted: 2015-02-10, 22:12 UTC
by Leinad
I've reinstalled TC using your homepage, without uninstalling the old one. In the "lib" folder (path: ("/data/data/
com.ghisler.android.TotalCommander/lib/") there were three files as it can be seen in the screenshot: " http://i284.photobucket.com/albums/ll35/Alexino7/2015-02-10-22-51-23-031_zpsb7179ae4.png "

... TC had 2.39MB... " http://i284.photobucket.com/albums/ll35/Alexino7/2015-02-10-22-52-31-109_zps7707b91a.png "

... and the available RAM was about 62MB... " http://i284.photobucket.com/albums/ll35/Alexino7/2015-02-10-22-58-18-781_zpsa082538a.png "

After I have restarted the phone, TC has only 876kb... " http://i284.photobucket.com/albums/ll35/Alexino7/2015-02-10-22-58-39-546_zps8a1dea1c.png "

...and all the three file inside "lib" folder were gone... " http://i284.photobucket.com/albums/ll35/Alexino7/2015-02-10-22-59-27-140_zps8d55cf13.png "

Again, browsing through folders where roots rights are needed runs the phone out of RAM (0.00MB). I don't no what to do...

Posted: 2015-02-11, 08:14 UTC
by Leinad
I've done one mistake, at least that's what I presume, but I don't know when: I've converted TC as a system application using link2sd. The newly installed app (yesterday) became automatically a system app also. Now, I've converted back TC as a user app, using link2sd also.

I've noticed that when the "usb debugging" is checked, TC runs well (even browsing folders where roots rights are needed) and the phone doesn't runs out of RAM. Unchecking "usb debugging" and using TC through folders where roots rights are needed, it leads to running out of RAM.

Posted: 2015-02-12, 10:55 UTC
by ghisler(Author)
I've converted TC as a system application using link2sd.
I see - in this case, TC looks for its libraries under /system/lib. Could you check whether libtcmadmin.so is present there?
I've noticed that when the "usb debugging" is checked, TC runs well
The only function used by TC which is related to debugging is
Debug.waitForDebugger();
but all calls to this function are commented out in the public releases...

Posted: 2015-02-12, 19:14 UTC
by Leinad
Two days ago I've converted back TC as a user app, so, presently the "lib" folder (path: "/data/data/
com.ghisler.android.TotalCommander/lib/") has three files, as presented in the following screenshot: http://s284.photobucket.com/user/Alexino7/media/2015-02-10-22-51-23-031_zpsb7179ae4.png.html

Posted: 2015-02-16, 10:31 UTC
by ghisler(Author)
Yes, but when you delete them to test what I described earlier, TC may still find the libs in /system/lib. Therefore the error would still occur if it is indeed in the lib.

Posted: 2015-02-16, 15:46 UTC
by Leinad
Ok, I got it. I've checked the /system/lib location for libtc*.so files and there aren't any copies there. So, using another file manager with root access, I've deleted those three files within /data/data/com.ghisler.android.TotalCommander/lib/ location. After that, I couldn't access any root folder using TC, only the sd-card files/folders. The message TC gave was "Cannot open file/folder!". After I've restarted the phone, it seems that those three files (libtcmadmin.so, libtcnative.so, libtcunrar.ro) were rewritten automatically at /data/data/
com.ghisler.android.TotalCommander/lib/ location.

And now, it comes the surprise: TC it's working flawlessly in all folders where roots rights are needed, without any RAM abnormal usage! :) I don't know what it happened but it seems that now it's working fine. I'll be keeping an eye on how it'll behave in the near future and if it turns that I smiled to early, I'll be coming back here! :lol:

Thank you for your patience!

Posted: 2015-02-19, 11:06 UTC
by ghisler(Author)
You wrote above that when "usb debugging" wasn't checked, did you uncheck it?

It's possible that the libs were defective, so re-installing them may have fixed them.

Posted: 2015-02-19, 12:05 UTC
by Leinad
Yes, I've unchecked "usb debugging" and it's working like a charm. Additionally, before the re-installing of the lib files there was a lag time (one or two seconds) between the moment of touching the screen (trying to access a folder) and the moment of actually accessing that folder. Now, accessing the desired folder it's done almost instantaneously.

It seems that re-installing the lib files resolved my phone's issue.

Off-topic: is there a tutorial for newbies on how to configure step-by-step the FTP in TC?