the mtp kio slave is crashing constantly my browsing, copying or moving files between external/internal harddisk and an Android device.
Message: mtp protcol unexpectedly ended
Steps to Reproduce:
1. Connect any MTP capable device
mtp protocol ends by unexpected exception
working MTP protocol handling
If someone show how to retrieve logs for the communication btween Dolphin <=> kio and the device I'll collect and upload them.
Same for me. Real bugger.
And it is NOT anything in the kernel - Gnome Nautilus works mighty fine copying files over from my mobile.
Just connect an Android (e.g. Galaxy S3, or Galaxy S5 mini which are the two I tested it with) as MTP device. Completely broken.
KDE backports 5.3 on kubuntu 15.04
Well, with Samsung Devices it won't work, and there is nothing I can do about it. Explanation in my Blog at https://philipp.schmidt-rheinhausen.de/blog/2013/07/whats-up-with-kio-mtp/ (cacert certificate).
What it comes down to is this: Samsung allows one mtp session for each time you connect the device, libmtp (and the mtp protocol in general) allow closing and reopening those sessions, a fact that samsung successfully ignores. kio-mtp (by design of kio itself) however requires opening and closing sessions, and when the device notifier comes in it gets even messier as that one also opens and closes a session. So Samsung thinks the valid one is the one opened by the device manager and crashes with every subsequent session.
So: You're out of luck. With CM on a SGS3 or Stock Android it all works. But not Samsungs own Software.
I'm using on my SGS2, SGS4, SG Note2 and Note 3 CM on my devices and as I can say: kio doesn't work stable with CM10, CM11, CM12 and CM12.1.
If it would help you I'll try to bisect this together with your help. Espescially giving me some hints what logs files excatly needs to be gathered.
really kio-mtp crashes in dolphin when trying to connect to a device, even UBUNTU-Phone (p.ex. BQ-Aquaris 4.5).
!! my Interim-solution:
install nautilus + gnome-icin-theme-symbolic
starting with nautilus i can connect to the device and get data.
not tested (i will test these days):
to rename or to move a file.
to connect a android 6.x.
-->so, i think the problem is in dolphin.
user1@testkub:~$ locate mtp | grep lib | grep .so