They offer different flash templates with latest features.
Login

Forgot password
Register
Back
Written by:
PiGeek
Score: 6
votes: 14
Format: Article

 Connecting to android 4.x+ Devices with MTP


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(http://forums.linuxmint.com/)

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(http://www.webupd8.org/2013/01/upgrade-to-gvfs-with-mtp-support-in.html) however it may not work.

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


Tags: MTP , Android
Created: 3 years ago.
Last edited: 3 years ago.
Reviewed: 3 years ago.
Read 0 times.

Comments
1 month ago

TrumblebumSky
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:

---
 
1 month ago

TrumblebumSky
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.  
2 months ago

shincrono
Thanks Akenel. It works for me :)  
1 year ago

akenel
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 @ http://stackoverflow.com/questions/15055304/unable-to-mount-samsung-android-in-ubuntu

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

twolf
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
 
2 years ago

ess67
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.  
2 years ago

ess67
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.  
3 years ago

PiGeek
@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.
 
3 years ago

jimbob87
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
 
3 years ago

grimdestripador
I would expound more about what you are doing...  
3 years ago

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

iulianh
Works with Galaxy Tab 2 7.0! Thanks!  
3 years ago

Rusty_1
Running Mint and successfully mounted my Galaxy S3. Thank you so much  
3 years ago

larmi
official gvfs MTP Backend
ppa:langdalepl/gvfs-mtp
and webup8
ppa:webupd8team/gvfs-libmtp

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.
 
3 years ago

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

softsquirrel
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.
cheers
 
3 years ago

Big_Al
Yes this worked for the LG otimus 7!  
3 years ago

Big_Al
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.

Cheers.
 

Other tutorials from PiGeek

No other tutorials.