[nSLUG] MTP for linux and android phone

Joel Maxuel j.maxuel at gmail.com
Fri Dec 16 23:19:35 AST 2016


#!/bin/sh
jmtpfs /media/joel/android
thunar /media/joel/android/

#/etc/udev/rules.d/51-android.rules
#Lenovo
SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", MODE="0664", GROUP="plugdev"
#Motorola
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0664", GROUP="plugdev"

(added lenovo b/c they bought moto about a year ago)


--
Cheers,
Joel Maxuel

"One should strive to achieve, not sit in bitter regret."
 - Ronan Harris / Mark Jackson

On Fri, Dec 16, 2016 at 10:49 AM, Joel Maxuel <j.maxuel at gmail.com> wrote:

> I will have to look when I get home, but I think I use jmtpfs to help
> mount.  Your distro also may be missing the udev rule for your Moto G.
>
> You don't need the whole file, just copypasta the Moto and bottom sections:
> https://github.com/M0Rf30/android-udev-rules/blob/master/51-android.rules
>
> I will be home late tonight, but this will give a starting look.  Hope
> this helps.
>
>
> --
> Cheers,
> Joel Maxuel
>
> "One should strive to achieve, not sit in bitter regret."
>  - Ronan Harris / Mark Jackson
>
> On Fri, Dec 16, 2016 at 10:07 AM, <galaxies_of_light at unseen.is> wrote:
>
>> Hello,
>>
>> I am looking for help/advice to mount my cell phone on my linux machine
>> as a USB device and use MTP to transfer files to/from my cell using my
>> computer. I've scoured the forums and tried many different things, but have
>> had no success.
>>
>> I am running Linux Mint 17.3 Rosa (aka "Ubunu 14.04.5 LTS, Trusty Tahr")
>> and my phone is a Motorola Moto G that runs on android.
>>
>> I get a couple of errors when I try to mount my cell:
>>     This one:
>> Could not display "mtp://[usb:001,018]/".
>> Error: No such interface 'org.gtk.vfs.Mount' on object at path
>> /org/gtk/vfs/mount/1
>> Please select another viewer and try again.
>>
>>     Or this one:
>> Unable to mount motorola MotoG3
>> Couldn't find matching udev device
>>
>> Can anyone suggest the best next step?
>>
>> Thanks so much!
>>
>> - Sparky
>>
>> _______________________________________________
>> nSLUG mailing list
>> nSLUG at nslug.ns.ca
>> http://nslug.ns.ca/mailman/listinfo/nslug
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/pipermail/nslug/attachments/20161216/bf85e3ba/attachment-0001.html>


More information about the nSLUG mailing list