Can we have "Backup/Restore Configuration" functio
Moderators: Hacker, petermad, Stefan2, white
Can we have "Backup/Restore Configuration" functio
Hi,
I was setting up TC Android for some elderly friends, and I was really missing a Backup and Restore function of the different settings and bookmarks.
It would be great if we could have such a function: would make life so much easier on non-rooted devices and setting up TC for friends.
Thanks.
I was setting up TC Android for some elderly friends, and I was really missing a Backup and Restore function of the different settings and bookmarks.
It would be great if we could have such a function: would make life so much easier on non-rooted devices and setting up TC for friends.
Thanks.
Regards, Brahman
Win10 & 11 Pro x64
Win10 & 11 Pro x64
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Just add a button with type "change directory" and command
/data/data/com.ghisler.android.TotalCommander
Then you can go to the settings directory without root and backup it to the SD Card.
On the new device, create a button yourself and restore the data. Using Google's cloud backup may not be such a good idea because of the passwords.
/data/data/com.ghisler.android.TotalCommander
Then you can go to the settings directory without root and backup it to the SD Card.
On the new device, create a button yourself and restore the data. Using Google's cloud backup may not be such a good idea because of the passwords.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Actually "shared_prefs" and "files". The first contains the settings, the second contains the cached icons for the toolbar.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, plugins save their own settings. You need to use a tool like Helium Backup to save them (no root needed).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hi
When i copy e.g. the a.m. shared_prefs folder to the external SD card, all the files are getting tagged with the actual day and time.
This happens actually also with files not originating from the /data/data/com.ghisler.... folder
e.g.
- External SD card to External SD card
- Internal Memory to External SD card
- Internal Memory to Internal Memory
How can I avoid this ?
Thank you very much !
When i copy e.g. the a.m. shared_prefs folder to the external SD card, all the files are getting tagged with the actual day and time.
This happens actually also with files not originating from the /data/data/com.ghisler.... folder
e.g.
- External SD card to External SD card
- Internal Memory to External SD card
- Internal Memory to Internal Memory
How can I avoid this ?

Thank you very much !
Laptop: Windows 10 x64, TC 9.51 64 bit with personal license
Mobile: Galaxy S7 with Android 8.0.0, TC 3.11
Mobile: Galaxy S7 with Android 8.0.0, TC 3.11
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You can't avoid it - you can thank Google for that:
This is a very longtime Android bug: It's not possible to set/copy the timestamp of files on Android due to missing permissions of the user to set them. Only the root user is allowed to set/copy the timestamp.
Here are the relevant bug reports in the Android bug tracker:
File setLastModified always returns false
https://code.google.com/p/android/issues/detail?id=1992
setLastModified() always fails on Xoom unless running as root
https://code.google.com/p/android/issues/detail?id=18624
File.setLastModified() always returns false on Samsung Galaxy Nexus
https://code.google.com/p/android/issues/detail?id=25460
This is a very longtime Android bug: It's not possible to set/copy the timestamp of files on Android due to missing permissions of the user to set them. Only the root user is allowed to set/copy the timestamp.
Here are the relevant bug reports in the Android bug tracker:
File setLastModified always returns false
https://code.google.com/p/android/issues/detail?id=1992
setLastModified() always fails on Xoom unless running as root
https://code.google.com/p/android/issues/detail?id=18624
File.setLastModified() always returns false on Samsung Galaxy Nexus
https://code.google.com/p/android/issues/detail?id=25460
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
It's also possible to add that path to a Bookmark. To do this without previously going to that data/data/... folder using the mentioned CD command button on not-rooted device, user can edit some existing bookmark of some other folder.ghisler(Author) wrote:Just add a button with type "change directory" and command
/data/data/com.ghisler.android.TotalCommander
Since plugins have FS interface, for this task each could have add a virtual folder showing the settings files of own data/data/com.<plugin name> folder. Maybe it's possible to implement a copy from/to such plugin virtual folder and real folder of the device in opposite TC panel?ghisler(Author) wrote:... plugins save their own settings. You need to use a tool like Helium Backup to save them (no root needed).]
I also have a question about the location of file help.htm of installed TC4A. I would like to open it with alternative html viewer because built-in Android's has very unconvenient Search function.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You can extract the help.htm from the apk file. Or view it online here:
https://www.ghisler.com/android.htm
There are links to the various language versions near the top.
https://www.ghisler.com/android.htm
There are links to the various language versions near the top.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com