Connecting to android 4.x+ Devices with MTP

  7 years ago

These instructions are outdated, native MTP support is built into Mint 15 and above, if it does not work, please ask for help on the forums(

To do so you need a program called Go-mtpfs. You can compile it yourself, but for ease of use you can install it with these commands(remove the quotes).


"sudo add-apt-repository ppa:webupd8team/unstable"

"sudo apt-get update"

"sudo apt-get install go-mtpfs"


After installing Go-mtpfs you need to plug-in your android device with a usb cable and run this command to mount it.


"go-mtpfs /media/MyAndroid"


Now just browse to it like a usb drive.

When you are finished run this to unmount it.


"fusermount -u /media/MyAndroid"


I suggest creating scripts for easy mounting and unmounting.

It worked with my Nexus 7 and I have heard that this has high compatibility, but I cannot test it further.


Update: it appears that mtp will be natively supported in 13.04 and can be backported with instructions here( however it may not work.

Also use at your own risk as i think it messed up my nadia install

TrumblebumSky 4 years ago

Note - there are some edits for removing the repository which probably should be here if you want to take away access to this unstable repository.


How can PPAs be removed
Use the --remove flag, similar to how the PPA was added:
sudo add-apt-repository --remove ppa:whatever/ppa
As a safer alternative, you can install ppa-purge:
sudo apt-get install ppa-purge
And then remove the PPA, downgrading gracefully packages it provided to packages provided by official repositories:


TrumblebumSky 4 years ago

I used the instructions and I think it was not successful. I will reboot the laptop and see if it changes anything. My impression is that this was a test of a possible solution, and if it was unsuccessful, then I try the next option on the list of how to mount a it-should-not-be-so-difficult to find android (Moto G) phone on linux mint 18.

shincrono 5 years ago

Thanks Akenel. It works for me :)

akenel 6 years ago

Unable to mount SAMSUNG_Android
for MTP add the ppa - try this:

sudo add-apt-repository ppa:langdalepl/gvfs-mtp
sudo apt-get update
sudo apt-get install gvfs
Restart your computer.

details @

Worked for my Android Samsung GT-I8262 - Android version 4.1.2
Should work for most Samsung Androids.

twolf 7 years ago

It works perfectly with:
Samsung Duos GT-7392 with Android 4.1
Mint 13 XFCE 3.2.0-58-generic x86_64

Thanks a lot

ess67 7 years ago

Well, My GS3 was working with 4.1.2, but I just upgraded to 4.3 and now the gigolo/gvfs-bin combo no longer works... I guess I'll post to the main column.

ess67 7 years ago

I was having this problem with Mint 16 KDE and I installed gigolo and gvfs-bin from the Software Manager. Once I did this and restarted Dolphin, it worked fine. My phone is Samsung GS3 running 4.1.2 using MTP.

PiGeek 7 years ago

@ericramos1990 As I noted above, there is native support for most MTP implementations build into mint 15 and above.

If you are still having trouble with it I suggest you open a thread on the forums so that more knowledgeable people can help you debug it.

jimbob87 7 years ago

I always get the following output and doesnt work:

HTC One X on 4.1, Linux Mint 15 Cinnamon 1.8.8

PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device

grimdestripador 8 years ago

I would expound more about what you are doing...

Lunatico 8 years ago

Nice one! Works with Nexus10 on LM 14. I just wish it would be a plug-and-play thing.

iulianh 8 years ago

Works with Galaxy Tab 2 7.0! Thanks!

Rusty_1 8 years ago

Running Mint and successfully mounted my Galaxy S3. Thank you so much

larmi 8 years ago

official gvfs MTP Backend
and webup8

just install updates from one these ppa's and reboot
after reboot everything should be automatic.
tested with lg l5 and first time took some time and contains some bugs not perfect always.

softsquirrel 8 years ago

I do a reinstallation, not it works!!!
So we need only a support, that Linux Mint work by itself...

softsquirrel 8 years ago

Hi thank you,
works great I mean the installtion, but then I get this error:

$ go-mtpfs /media/MyAndroid
Error: Unable to open ~/.mtpz-data for reading.
2013/01/19 12:15:20 compiled against libmtp 1.1.5
Device 0 (VID=18d1 and PID=4ee1) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
2013/01/19 12:15:20 found device unknown: unknown (18d1:4ee1) @ bus 2, dev 4
Android device detected, assigning default bug flags
2013/01/19 12:15:20 storage ID 65537: Interner Speicher
2013/01/19 12:15:20 backing data /tmp/go-mtpfs836280287
/bin/fusermount: failed to access mountpoint /media/MyAndroid: No such file or directory
2013/01/19 12:15:20 mount failed: fusermount exited with code 256

Will be great when we have a scribt, wich mounts and umount automaticly ore have it under devices in nautilus....
but first I must work, that the filesystem is mountet.

Big_Al 8 years ago

Yes this worked for the LG otimus 7!

Big_Al 8 years ago

Life Saver!!

Just got a Samsung Galaxy S3 i9300t and discovered I couldn't connect via USB like my old Samsung Galacy Ace.

This works a treat!

I'll try it on my sons LG Optimus 7 phone shortly as that's on Android 4 also.

I'll post a comment when I test it.