[TC 3.11 for Android] problems when copying files from internal memory to SD Card
Moderators: Hacker, petermad, Stefan2, white
[TC 3.11 for Android] problems when copying files from internal memory to SD Card
Today I wanted to copy /data/data/com.ghisler.android.TotalCommander from the internal memory to the phones SD card.
First of all I could not copy the whole folder structure /data/data/com.ghisler.android.TotalCommander/*.* - I had to first copy data/, go down one dir on both sides, and then copy the second data/ and again go down one dir on both sides. Then I could copy com.ghisler.android.TotalCommander/ and its subdirs in one go.
Looking at the copied files in TC for android looked OK and I could open the files.
But when I later opened the folders on my PC via USB-cable, all the files had zero length, both in TC and in Windows Explorer.
Tested on HTC One (M8) with Android 6.0 and TC 9.51 x64 on Windows 7.
If I copy the same folder structure /data/data/com.ghisler.android.TotalCommander/* with the phones very simple file manager, then all the files reads fine on my PC via USB-cable.
I am sure that I have copied from internal memory to SD card with previous versions of TC for Android without problems.
First of all I could not copy the whole folder structure /data/data/com.ghisler.android.TotalCommander/*.* - I had to first copy data/, go down one dir on both sides, and then copy the second data/ and again go down one dir on both sides. Then I could copy com.ghisler.android.TotalCommander/ and its subdirs in one go.
Looking at the copied files in TC for android looked OK and I could open the files.
But when I later opened the folders on my PC via USB-cable, all the files had zero length, both in TC and in Windows Explorer.
Tested on HTC One (M8) with Android 6.0 and TC 9.51 x64 on Windows 7.
If I copy the same folder structure /data/data/com.ghisler.android.TotalCommander/* with the phones very simple file manager, then all the files reads fine on my PC via USB-cable.
I am sure that I have copied from internal memory to SD card with previous versions of TC for Android without problems.
Last edited by petermad on 2020-11-02, 11:23 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
Which way are you looking from your PC to the phone
- simple by "Computer" submenue
- by (virtuell) drive letter "u1" of drive bar
- by plugin MediaAudio2
- simple by "Computer" submenue
- by (virtuell) drive letter "u1" of drive bar
- by plugin MediaAudio2
#5767 Personal license
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
All 3 ways - it makes no difference.Which way are you looking from your PC to the phone
- simple by "Computer" submenue
- by (virtuell) drive letter "u1" of drive bar
- by plugin MediaAudio2
And also in Windows Explorer - the files have zero-length.
Last edited by petermad on 2020-11-04, 01:33 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
I have testet a little more - it is not just that the files shows up with zero-length on the PC, sometimes several folders does not even show up on the PC even though they are visible in TC on the Phone.
It is like TC on the phone copies the files and folders as symlinks, and that they can not be seen correctly from the PC
I have now also testet under Windows 10 and soon I should also be able to test with Android 10 on the phone side.
It is like TC on the phone copies the files and folders as symlinks, and that they can not be seen correctly from the PC
I have now also testet under Windows 10 and soon I should also be able to test with Android 10 on the phone side.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
PCs don't see the file system of your Android device, they see the so-called Media Database. PC does update that when copying files, but it doesn't seem to be up to date on your system. Sometimes it helps to restart the device to force a re-scan, but it will take a while.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
2ghisler(Author)
And what about the problem with not being able to copy /data/data/com.ghisler.android.TotalCommander/ in one go, but I have to copy the two data/ folders first?
Restarting neither the PC nor the Phone fixes the problem.Sometimes it helps to restart the device to force a re-scan, but it will take a while
And what about the problem with not being able to copy /data/data/com.ghisler.android.TotalCommander/ in one go, but I have to copy the two data/ folders first?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
You can try re-scanning the database via a button with internal command Nr. 130.Restarting neither the PC nor the Phone fixes the problem.
The folders /data and /data/data are not accessible without root rights. When you go there and TC cannot read anything, TC shows subfolders "data" and "com.ghisler.android.TotalCommander" only because it knows that they are there.And what about the problem with not being able to copy /data/data/com.ghisler.android.TotalCommander/ in one go, but I have to copy the two data/ folders first?
This hack is not done when you just try to copy "data".
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
That works - thanks! Any chance for an option to have that done automatically when copying internally on the Phone?You can try re-scanning the database via a button with internal command Nr. 130.
But I can only see the change on the PC by disconnecting and reconnecting the phone - it would be nice if Ctrl+R/F2 on the PC could update the folders after changes done on the phone.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
TC calls the same functions when copying.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
Any idea why the database is not updated on my phone (Android 6), but I have to do it manually with command 130?TC calls the same functions when copying
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
Sorry, no idea.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
I have now tried with my new Samsung Galaxy 20 G5 - and here there are no problems seeing files copied internally with TC 3.11 for Android when I later open the phone from TC 9.51 in Windows.
Actually on the HTC One (M8) phone (Android 6) it is not just copying from Internal storage to SD card that is not recognized on the PC until I disconnect and reconnect the phone - it is also when copying between directories within the Internal storage.
I tried with my wifes Huawei Honor 7 phone also with Android 6, and here there are no problems, so it seems to be a problem specific for the HTC phone.
Actually on the HTC One (M8) phone (Android 6) it is not just copying from Internal storage to SD card that is not recognized on the PC until I disconnect and reconnect the phone - it is also when copying between directories within the Internal storage.
I tried with my wifes Huawei Honor 7 phone also with Android 6, and here there are no problems, so it seems to be a problem specific for the HTC phone.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 3.11 for Android] problems when copying files from internal memory to SD Card
Well, TC does tell the system that the files were copied, so it can update its media database. I don't know why it works with some phones and not with others, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com