Android File Transfer LibMtp Errors

Hello, I was trying to transfer a file from my phone to pc (without installing an app on my phone)

libmtp error: object type doesn't support RepresentativeSampleData.


I got this error, I searched and I saw that it might be related to file name.

So I tried to rename the file but this time I waited a lot and then I got this error:
libmtp error: call to ptp_mtp_getobjectpropssupported() failed

I saw that solution is this:

@AZorin I believe in the new zorin os version, this should be built-in. (That's the difference between Ubuntu and Zorin, Zorin has the features that Ubuntu lacks, this wouldn't happen on Windows PC.)

Now I solved the issue by downloading Android File Transfer, I know I can also solve with Zorin Connect but it's someone else's phone and I don't want to install an application on the phone just for a file. Also Zorin Connect works one-directional -only phone to pc- and since it uses Wİ-Fİ, it's slower than USB file transfer.

Thanks.

1 Like

So your last paragraph begs the question; What are you doing with someone else's phone? And you can transfer files from computer to phone:

Does it even matter? It might be my phone or my wife's phone. Big file transfer should be possible without additional app

Then just use a USB-C to USB-A to tether the phone without the need for an app.

I hook my phone up with a USB cord, then allow in permissions. I have never encountered this error on Zorin OS.
I also have used KDE Connect to transfer using Wifi.

So, no... You should not need to install a separate app - I think there is something else going on here, perhaps with the Android build version or perhaps a corrupted file on Zorin OS.

1 Like

@Aravisian It might be, yes.

  1. https://askubuntu.com/questions/1371632/cant-transfer-files-from-android-to-ubuntu-via-usb-cable
  2. https://askubuntu.com/questions/1362326/mtp-file-transfer-not-working-with-ubuntu-kubuntu-20-04
  3. https://askubuntu.com/questions/879029/libmtp-error-could-not-get-file-from-device-on-attempting-to-transfer-files/886986#886986
    I got these types of errors.

The solution I was looking was for usb transfer from mom's phone and that's why I didn't want to install an app.
Kde Connect (or its fork Zorin Connect) are nice but on wifi they are not that fast.
But for fast wifi transfer I use LocalSend and even better Tailscale. Tailscale vpn (Taildrop) also works on different wifi and it allows me to transfer over 70 MB/s which is the fastest wireless transfer I've ever seen.

I didn't encounter copy problem with any phone I used, mtp is just a simple protocol implemented on both side, the thing you can try is remaining the file on the phone you try to copy and not on your computer
and zorin-connect work bi-directional, I used it so many times I can't count :wink:

If it was not working, the first culprit I would think would be that the USB Cable in use was not a full Data Transfer cable and just a Charging Only cable.

1 Like