How to attach a phone (Fairphone 2) via MTP to copy some files

New to SolydXK? This is the place to start.
Please check the other subforums to see if there's a more suitable place for your question.
Posts: 3
Joined: 25 Mar 2017 19:32

How to attach a phone (Fairphone 2) via MTP to copy some files

Postby Smojo » 20 Jun 2017 21:51


my experience with Debian (or more exact SolydX in my case) is not so big.
I wanted to attach my phone to my machine today but I was not able to do so.

As far as I understand some packages are necessary to mount a device via mtp so I installed mtp-tools and jmtpfs via software manager.
(I also read that some kind of libmtp is necessary as well - I hope the software manager resolved all dependencies, but I'm not 100% sure)

Code: Select all

apt-show-versions libmtp9 libmtp-common libmtp-runtime mtp-tools jmtpfs

jmtpfs:amd64/jessie 0.5-2 uptodate
libmtp-common:all/jessie 1.1.8-1 uptodate
libmtp-runtime:amd64/jessie 1.1.8-1+b1 uptodate
libmtp9:amd64/jessie 1.1.8-1+b1 uptodate
mtp-tools:amd64/jessie 1.1.8-1+b1 uptodate 
Not sure if I have the correct versions to make this working now but I found out that support for my phone was added in version 1.1.12 of libmtp.

If I try to mount the phone via jmtpfs now I get:

Code: Select all

jmtpfs /home/smojo/fp2

Unable to open ~/.mtpz-data for reading, MTPZ disabled.
Device 0 (VID=2ae5 and PID=f003) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
terminate called after throwing an instance of 'MtpErrorCantOpenDevice'
  what():  Can't open device 
Is there something you can tell me how to fix this?
Do I need a newer version of this lib? If yes how to get it if all the packages are already up to date?
Is there any easy to understand guide if I have to install some packages from unstable repo(s) but prevent to use unstable in general?

Thanks in advance.

Posts: 2121
Joined: 09 Jan 2014 00:17

Re: How to attach a phone (Fairphone 2) via MTP to copy some files

Postby kurotsugi » 21 Jun 2017 00:24

jmtps and mtp-tools isn't used anymore in solydx. the mtp protocol now handled directly by gvfs. you only need to make sure that mtp is selected on your device and you got the gvfs plugin for mtp.

Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 6 guests