You are not logged in.
Pages: 1
Hi all,
I just bought a Motorola Moto G phone. When I plug it in my USB drive I can't access its filesystem.
I want to access it in order to transfer files and musics to it.
Does anyone know what can I do to make it works?
I read something about MTP, I have installed some stuff: p2kmoto, floola, putusb and gMTP
Thanks in advance
Last edited by Janilson (2014-01-04 15:43:46)
Offline
It's easier to use WLAN with apps like Airdroid to push files to it. I never looked at using mtp.
Offline
I don't have a lan at the moment
I just followed some instruction over the internet and I got erros:
[janilson@MALIBU libmtp-1.1.6]$ sudo mtp-connect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6
Device 0 (VID=22b8 and PID=2e82) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Android device detected, assigning default bug flags
Usage: connect <command1> <command2>
Commands: --delete [filename]
--sendfile [source] [destination]
--sendtrack [source] [destination]
--getfile [source] [destination]
--newfolder [foldername]
Maybe I should start some mtp service.
When I run sudo mtp-detect I got this
Device 0 (VID=22b8 and PID=2e82) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
[b]Found 1 device(s):[/b]
I think it means my phone is recognized, but not entirely
22b8:2e82 @ bus 4, dev 4
Attempting to connect device(s)
Android device detected, assigning default bug flags
...
Product: (null)
Vendor id: 0x2e82
Device flags: 0x08008106
Configuration 0, interface 0, altsetting 0:
Interface description contains the string "MTP"
Device recognized as MTP, no further probing.
Device info:
Manufacturer: motorola
Model: XT1033
Device version: 1.0
...
Offline
For me, gvfs-mtp was the only method that I could connect my Samsung Note 3. Maybe it'll work for the Moto G.
Offline
Offline
I have installed gvfs-mtp (gnome) before.
I did it, now it works. I will tell you what I have done (I don't know if it is all needed, since I was trying everything). I hope it can help others with this problem ^^
1 - I have downloaded the tar.gz file from http://libmtp.sourceforge.net/, unpack it, in the libmtp-1.1.6/src/music-players.h I have added the lines below
{ "Motorola", 0x22b8, "Moto G (XT1032)", 0x2e82,
DEVICE_FLAGS_ANDROID_BUGS },
2 - I have added to my /usr/lib/udev/rules.d/69-libmtp.rules file the lines:
# Motorola Moto G
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e82", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
After all of this, I have run udevadm control --reload
And then rebooted the system. Now everything is working just fine.
Thanks for answers guys.
P.S.: I have talked through chat to Motorola's Support, and the person told me there was no way to access my phone filesystem without Windows or Mac. Community's support is bigger and better than anyone else
Offline
MTP can be rather slow in my experience. I have all my media on a home file server (really just an old desktop) that has samba set up. So I can just use my Android phone's file manager to connect and transfer files wirelessly. I find it much more convenient, though you then have to learn how to set up samba.
I think that sftp is also something that my device can connect to as well. So if you are an openssh user, that route might be an easier choice than going through the process of figuring out samba. With the default /etc/ssh/sshd_config I think that it should be all set up for you.
BTW, that Moto G looks like a nice phone. I just got a Moto X, and it is great. My sister went to Ellen Degeneres' talk show for the 12 days of Christmas thing where she gives away a bunch of stuffs (I had never heard of it before she went). One of the things she was given was a free Moto X, and since I have a family of Apple users, she gave it to me since she figured I would enjoy it the most. Good thing I am nice to my sister
Offline
Offline
In addition to what Donniezazen has mentioned, you shouldn't be editing things in /usr. Instead, use /etc/udev/rules.d which is the area meant to be used by the sysadmin. Files in /etc/udev/rules.d with the same name as /usr/lib/udev/rules.d will override. So you may want to make a /etc/udev/rules.d/70-libmtp.rules instead of 69-libmtp.rules. Otherwise you could call it something like 69-mylibmtp.rules.
Offline
I would rather install android-udev from AUR and ask the package upstream to add Moto G to the the list of udev rules (if not added already). Saves you time and helps everyone.
Last edited by donniezazen (2014-01-05 03:04:59)
Offline
Guys thanks a lot. After some updates, my moto G stopped work in my Arch. So I followed what @WonderWoofy has advised me to.
I have created a file called 70-mylibmtp.rule in /etc/udev/rules.d/
After that I have run udevadm control --reload (I don't know if it's necessary), rebooted and everything is back working.
@donniezazen:
I have installed android-udev as you said, nothing had happened. I have looked in libmtp bug report and some people have already reported that Moto G had some problems.
But, thanks again for all information you guys have given to me. Each day I learn something new in this community
Offline
Pages: 1