Linux with Android MTP

Linux with Android MTP

Shlomo Solomon shlomo.solomon at gmail.com
Sun Dec 8 12:12:07 IST 2013


I never got MTP to work with a Galaxy S3 on Mageia 3. I've tried mtpfs
and kio-mtp with no success. I may be doing something wrong, but
since these are my kids' phones, it was not really urgent. But now I'm
about to move from A Galaxy S to Galaxy S4 so the problem of connecting
to backup the phone is more urgent.

I've included dmesg and mtpfs command info below. 

Has anyone solved this? I'd prefer a solution for Mageia but I assume
that whatever was done on another distro could also be adapted. 



[1868077.115627] usb 3-12: new high-speed USB device number 107 using xhci_hcd 
[1868077.127623] usb 3-12: New USB device found, idVendor=04e8, idProduct=6860 
[1868077.127625] usb 3-12: New USB device strings: Mfr=2, Product=3, SerialNumber=4 
[1868077.127627] usb 3-12: Product: SAMSUNG_Android 
[1868077.127628] usb 3-12: Manufacturer: SAMSUNG [1868077.127629] usb 3-12: SerialNumber: 32308b8ee4d7309d
[1868077.128637] cdc_acm 3-12:1.1: This device cannot do calls on its own. It is not a modem. 
[1868077.128665] cdc_acm 3-12:1.1: ttyACM0: USB ACM device 


[solomon at shlomo1 ~]$ mtpfs /home/solomon/aaa
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
   Found 1 device(s):
   Samsung: Galaxy models (MTP) (04e8:6860) @ bus 3, dev 107
Attempting to connect device
^C
[solomon at shlomo1 ~]$ 




On Wed, 23 Oct 2013 16:52:57 +0200
Nadav Har'El <nyh at math.technion.ac.il> wrote:

> On Mon, Oct 07, 2013, Shlomo Solomon wrote about "Re: Linux with
> Android MTP":
> > I have the same problem on Mageia3 with a new Galaxy phone. I've
> > read that MTP is not reliably supported.
> 
> When I got my Samsung Galaxy S3 Mini, I was "warned" that MTP doesn't
> work well with Linux, that I'll need root my phone to get back USB
> storage. But actually, MTP works very well with Linux - I just
> installed simple-mtpfs (the "simple-mptfs" package in fedora) and run
> 
> 	simple-mtpfs /mnt/android
> 
> And that's it - the Android is mounted in /mnt/android, and it
> actually works much better than the old USB stuff (it is a filesystem
> mount, not a block devices, so you can actually continue to use your
> phone normally while it is mounted!).
> 
> To unmount the above mount use
> 	fusermount -u /mnt/android
> 
> 



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.9.0 - KDE 4.10.2 - LINUX Mageia 3




More information about the Linux-il mailing list