I could connect to my Android Alcatel Pixi 4 (5) via MTP on Ubuntu 16.04 (there was a bug where the protocol "died unexpectedly" if a file delete was followed by a file copy, but other than that, it worked).

After upgrading to Ubuntu 18.04 I get "protocol died unexpectedly" in Dolphin whenever I try to browse the device.

#> mtp-detect
libmtp version: 1.1.13

Listing raw device(s)
Device 0 (VID=1bbb and PID=0167) is a Alcatel/TCT 6010D/TCL S950.
   Found 1 device(s):
   Alcatel/TCT: 6010D/TCL S950 (1bbb:0167) @ bus 3, dev 2
Attempting to connect device(s)
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
ignoring libusb_claim_interface() = -6LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.

dmesg contains:

[  471.588800] usb 3-4: usbfs: process 9290 (gmtp) did not claim interface 0 before use
[  471.715547] usb 3-4: reset high-speed USB device number 3 using xhci_hcd
[  471.864513] usb 3-4: usbfs: process 9290 (gmtp) did not claim interface 0 before use
[  471.864735] usb 3-4: usbfs: process 2562 (events) did not claim interface 0 before use

I tried building libmtp-1.1.15 from source, problem persists. The device works via MTP access on Windows on the same machine.

  • Try KDE Connect on both ends, Ubuntu and Android. – harrymc Jul 5 at 14:55

I had similar issue with my openSUSE. After I have installed jmtpfs, kio-mtp mtp-tools the issue disappeared and everything started to work correctly.

Try to do the following:

# to see if this works
fusermount -u /home/login/android_mount

# this should show empty directory
ls -la ~/Android_transfer/ 

# make directory to mount
mkdir -p ~/android_mount/

# should show device information
jmtpfs ~/android_mount/

# You should see internal storage
ls -la ~/android_mount/
drwxrwxr-x 12 login login    0 Jan  3  44248648 Internal storage

# you can check it
 ls -la ~/android_mount/Internal\ storage/

fusermount -u /home/login/android_mount

Could you add jmtpfs -l to your question?

If MTP does not work, you may try instead KDE Connect.

See these references :

  • Downvoter: MTP sometimes simply does not work under certain conditions, so an alternative might be required. – harrymc Jul 11 at 17:10

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.