You are not logged in.

#1 2013-02-26 10:13:12

Archer1X
Member
From: Astral World
Registered: 2013-01-31
Posts: 27
Website

'The process for the mtp protocol died unexpectedly'

As you can read from the title, I have problem to mount Android device in KDE. I have installed kio-mtp, and maybe it is working out of the box for other android phones out there except for mine (HTC One X).

The device mounted, but when I try to transfer files (copy, paste, cut), it throwing up an error which is 'The process for the mtp protocol died unexpectedly'.

Can somebody tell me if I'm missing something? Did I have to install any other tools to get the job done?


Arch Linux all the way..

Offline

#2 2013-02-27 16:20:54

dieteric
Member
Registered: 2011-02-03
Posts: 11

Re: 'The process for the mtp protocol died unexpectedly'

I'm having a similar (maybe the same) problem. I have an International Samsung Galaxy S3 (i9300). Same symptons on both stock ROM and Cyanogenmod 10.1

Try debugging the kio-slave:
Run

kdebugdialog --fullmode

and verify that kio (ID 7000) has all its outputs set to Shell. (should be the default)
Then run

kdeinit4

in a terminal and leave that terminal open. The debug messages will be displayed in that terminal.
Open dolphin and try to create a folder/copy a file/etc. on your phone and watch the debug output.

Mine is:

Device 0 (VID=04e8 and PID=685c) is a Samsung Galaxy models (MTP+ADB).
libusb_detach_kernel_driver() failed, continuing anyway...: Permission denied
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
[3635:3658:0227/171452:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
[3635:3658:0227/171452:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
[3635:3635:0227/171452:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[3635:3635:0227/171455:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "application/x-msdownload.xml" 
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "application/x-note.xml" 
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "application/x-wine-extension-art.xml" 
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "application/x-wine-extension-asa.xml" 
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "application/x-wine-extension-ascx.xml" 
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "application/x-wine-extension-aspx.xml" 
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "application/x-wine-extension-bsp.xml" 
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "application/x-wine-extension-cdx.xml" 
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "application/x-wine-extension-dem.xml" 
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "application/x-wine-extension-xif.xml" 
unnamed app(3742) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "text/x-component.xml" 
LIBMTP PANIC: failed to open session on second attempt
kioslave: ####### CRASH ###### protocol = mtp pid = 3521 signal = 11

Last edited by dieteric (2013-02-27 16:26:04)

Offline

#3 2013-02-28 15:17:35

Archer1X
Member
From: Astral World
Registered: 2013-01-31
Posts: 27
Website

Re: 'The process for the mtp protocol died unexpectedly'

I'll try it later dieteric, as I'm on MATE Desktop right now..I will inform to you later..


Arch Linux all the way..

Offline

#4 2013-03-10 15:01:07

manouchk
Member
Registered: 2008-07-29
Posts: 212

Re: 'The process for the mtp protocol died unexpectedly'

I've been struggling  quite a lot here with MTP on a samsung tab 10.1. Seems that mtp lib is to old from a gentoo discussion. http://forums.gentoo.org/viewtopic-t-92 … rt-25.html
I also found a solution there by using airdroid which makes it possible to share files between android and linux easily and gives remote control of the android device amazing. I will look later at mtp related stuff but I think that mtp lib 1.5 is too old and should be updated.

http://airdroid.com/

Offline

#5 2013-03-22 09:08:27

dieteric
Member
Registered: 2011-02-03
Posts: 11

Re: 'The process for the mtp protocol died unexpectedly'

It seems that disabling USB debugging mode fixed my problem. Weird.

Offline

#6 2014-04-02 15:31:26

oracleyue
Member
Registered: 2014-03-18
Posts: 2

Re: 'The process for the mtp protocol died unexpectedly'

I had the similar problem when I use USB 3.0 port. Changing to use USB 2.0 port, it works. Seems to be a problem of mtp supporting USB 3.0? Guess
Phone: Google Nexus III, Android 4.3

Offline

#7 2014-04-07 21:13:33

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,071

Re: 'The process for the mtp protocol died unexpectedly'

oracleyue, this thread is more than a year old. Its highly unlikely that the op is still looking for answers. But thanks for a potential solution.

I'll close this thread now to avoid further necros.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB