TC can't calculate hidden used space in internal storage

Support for Android version of Total Commander

Moderators: Hacker, Stefan2, white

Post Reply
User avatar
angel
Junior Member
Junior Member
Posts: 40
Joined: 2014-10-17, 06:54 UTC
Location: Sofia, Bulgaria, Europe

TC can't calculate hidden used space in internal storage

Post by *angel »

Internal storage is 10GB, free is 2GB, used is 8GB, but TC shows only 4GB used???
The android smartphone is not rooted!
What can be the problem and why TC can't find the others used 4GB in internal storage of the phone???

1.In the root of Internal storage there are 13 directories;
2.I am using Add new button and type:"Internal command" and Command: N 115 to automatic calculate directory size of each of these 13 directories
3.The summary of occupied/used space of these 13 directories is 4GB
4.The total internal storage is 10GB
5.BUT the free space is ONLY 2GB
=>TC can't calculate the hidden 4GB
Last edited by angel on 2022-09-23, 08:19 UTC, edited 3 times in total.
User avatar
petermad
Power Member
Power Member
Posts: 11875
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: TC can't calculate hidden space in internal storage

Post by *petermad »

Hmm, my TC 3.40b4 shows free space / total space - not used space / total space.
And the free space that TC shows is in accordance with what the phones own applications tells.
License #524 (1994)
Danish Total Commander Translator
TC 10.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H2) 64bit, 'Everything' 1.4.1.1021 (x64)
TC 3.40b4 on Android 6 & 12
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
angel
Junior Member
Junior Member
Posts: 40
Joined: 2014-10-17, 06:54 UTC
Location: Sofia, Bulgaria, Europe

Re: TC can't calculate hidden used space in internal storage

Post by *angel »

1.In the root of Internal storage there are 13 directories;
2.I am using Add new button and type:"Internal command" and Command: N 115 to automatic calculate directory size of each of these 13 directories
3.The summary of occupied/used space of these 13 directories is 4GB
4.The total internal storage is 10GB
5.BUT the free space is ONLY 2GB
=>TC can't calculate the hidden 4GB
User avatar
petermad
Power Member
Power Member
Posts: 11875
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: TC can't calculate hidden used space in internal storage

Post by *petermad »

2angel
3.The summary of occupied/used space of these 13 directories is 4GB
Hmm, where do you see that summary?
License #524 (1994)
Danish Total Commander Translator
TC 10.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H2) 64bit, 'Everything' 1.4.1.1021 (x64)
TC 3.40b4 on Android 6 & 12
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
angel
Junior Member
Junior Member
Posts: 40
Joined: 2014-10-17, 06:54 UTC
Location: Sofia, Bulgaria, Europe

Re: TC can't calculate hidden used space in internal storage

Post by *angel »

petermad wrote: 2022-09-23, 11:14 UTC 2angel
3.The summary of occupied/used space of these 13 directories is 4GB
Hmm, where do you see that summary?
When I click my new button (made in step 2) which auto calculate the sizes of all directories in the root of the Internal storage!
[ Android directory size, viewtopic.php?p=283742#p283742 ]
User avatar
petermad
Power Member
Power Member
Posts: 11875
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: TC can't calculate hidden used space in internal storage

Post by *petermad »

When I click my new button (made in step 2) which auto calculate the sizes of all directories in the root of the Internal storage!
Yes, but that only gives the size of each directory - do you then add up all those 13 directories manually?
License #524 (1994)
Danish Total Commander Translator
TC 10.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H2) 64bit, 'Everything' 1.4.1.1021 (x64)
TC 3.40b4 on Android 6 & 12
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
angel
Junior Member
Junior Member
Posts: 40
Joined: 2014-10-17, 06:54 UTC
Location: Sofia, Bulgaria, Europe

Re: TC can't calculate hidden used space in internal storage

Post by *angel »

petermad wrote: 2022-09-23, 16:52 UTC
When I click my new button (made in step 2) which auto calculate the sizes of all directories in the root of the Internal storage!
Yes, but that only gives the size of each directory - do you then add up all those 13 directories manually?
I don't understand your question - I have 13 directories with total of 4GB used space, I have 10GB total Internal storage, TC and default file manager in Android show 2GB free => so where are the others 4GB?
Is that a bug in TC and these 13 directories are with wrong calculated sizes?
User avatar
AntonDudarenko
Senior Member
Senior Member
Posts: 342
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: TC can't calculate hidden used space in internal storage

Post by *AntonDudarenko »

The android smartphone is not rooted!
from mentioned topic:
Looks like this doesn't work if you need root rights. e.g. if you want to see the folder sizes of all subfolders in the app folder.
2ghisler(Author)
Indeed this isn't currently supported, sorry.
#146217 personal license
User avatar
angel
Junior Member
Junior Member
Posts: 40
Joined: 2014-10-17, 06:54 UTC
Location: Sofia, Bulgaria, Europe

Re: TC can't calculate hidden used space in internal storage

Post by *angel »

AntonDudarenko wrote: 2022-09-24, 07:58 UTC
The android smartphone is not rooted!
from mentioned topic:
Looks like this doesn't work if you need root rights. e.g. if you want to see the folder sizes of all subfolders in the app folder.
2ghisler(Author)
Indeed this isn't currently supported, sorry.
@AntonDudarenko Thank you so much for your clearance. The problem apparently is that Internal command N 115 does NOT works correct with unrooted android devices!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 43759
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC can't calculate hidden used space in internal storage

Post by *ghisler(Author) »

No, the problem is that there are many files hidden from the user, e.g. all the installed apps and their private data under /data/data aren't visible this way.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonDudarenko
Senior Member
Senior Member
Posts: 342
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: TC can't calculate hidden used space in internal storage

Post by *AntonDudarenko »

ghisler(Author) wrote: 2022-09-26, 12:37 UTC No, the problem is that there are many files hidden from the user, e.g. all the installed apps and their private data under /data/data aren't visible this way.
But this explanation is revealed precisely in your own quoted words, that without root such an action cannot be performed in full.
So why start the phrase with the word "NO"?
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 43759
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC can't calculate hidden used space in internal storage

Post by *ghisler(Author) »

Root doesn't matter here - TC does not enumerate the size of these folders with root functions either, it would be way too slow.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonDudarenko
Senior Member
Senior Member
Posts: 342
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: TC can't calculate hidden used space in internal storage

Post by *AntonDudarenko »

root functions
what does this mean??? I do not know which kind of "special" functions here can be applied. I just understand what IF I said to app's function "do enum to me" all folders and files starting from the / - then only IF the android was rooted - only then this function can get the access to the really ALL folders and ALL files - which in another case would be completely inaccessible for this action.
#146217 personal license
Post Reply