Can Filelight analyze MTP devices (Android phone)?
I was trying to analyze my phone's storage through Filelight, but it just gets frozen after I select the phone's folder. I didn't find anything in Bugzilla regarding this problem.
Is the protocol supported at all in the app?
The MTP protocol is notoriously slow, as it will not multiplex block operations unlike traditional filesystems. It will not be able to process multiple files in parallel or asynchronously, which means the software can only check one file at a time.
So Filelight can probably handle it, but it will be highly inefficient and that would explain why the software appears frozen.
Oh, I didn't know that! It would kinda makes sense now that you say that, but I'm not too sure about this, the system resources taken by the app seem like they don't change at all when I start the scan and it's impossible to abort it (actually, I can't do anything, not even close the window, only terminating the app works).
If this is an actual issue I should probably report it, maybe there's more tests I can run?
Otherwise, do you know if there are similar apps (either GUI or CLI) that handle this better? Better in the sense that maybe it's still really slow, but, well, not freezing at least lol.
Or if I just have to find something to use on Android directly, like SD Maid
In my experience mtp (especially on Linux) stops working if you look at it wrong, so probably not.
Haha, that may be, I've never done anything aside from just moving and copying files with it luckily, so I don't really know.
Perhaps kde connect’s folder view works?
Interesting idea, I should try that!
I’d run gdu in termux on the phone though.
Ooo, you just unlocked a fabulous CLI tool for me that I didn't know about!
Does it work on the whole phone storage? I remember there being a symlink (?) to the user's home in Termux's folder, but I'm wondering if it'll leave something out
Gdu doesn't follow folder symlinks and can't scan what it doesn't have permission to (like system folders and other apps) but if you cd to internalstorage it can scan that