Total Commander as a system app and change of file owner

Support for Android version of Total Commander

Moderators: sheep, Hacker, Stefan2, white

Post Reply
Skif_off
Member
Member
Posts: 116
Joined: 2013-09-30, 13:13 UTC

Total Commander as a system app and change of file owner

Post by *Skif_off » 2018-05-04, 16:34 UTC

I moved TC to /system/app and I see strange changes in file/folder properties dialog: I cannot see owner and cannot change it (only date/time and read/write permissions).
It's bug or some feature? Maybe limitation?

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38116
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2018-05-06, 09:17 UTC

You need to move the files *.so to /system/lib, otherwise TC will not find them:
libtcmadmin.so
libtcmadmin21.so
libtcunrar.so
libtcnative.so
Author of Total Commander
http://www.ghisler.com

Skif_off
Member
Member
Posts: 116
Joined: 2013-09-30, 13:13 UTC

Post by *Skif_off » 2018-05-06, 23:17 UTC

Thanks for your answer!
I solved the problem differently (and probably more correctly), but I was curious :) It is interesting, I didn't think that the path to libraries will become a problem (relative path?).

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38116
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2018-05-07, 07:53 UTC

Well, that's where both Android and TC look for libraries. libtcmadmin* isn't really a library, it's a program disguised as a library. TC runs it in elevated shell (su) to perform operations like copying in root mode. The other two are libraries used for unpacking RAR files, password encryption, and other native code tasks.
Author of Total Commander
http://www.ghisler.com

Post Reply