I want to transfer files to/from my Nexus 7. I use mtpfs for this task.
What I've done so far was
enable user_allow_other in /etc/fuse.conf
and mount the device with
mtpfs -o allow_other nexus7.
After a while I received the message
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
Device 0 (VID=18d1 and PID=4e41) is a Google Inc (for Asus) Nexus 7 (MTP).
Found 1 device(s):
Google Inc (for Asus): Nexus 7 (MTP) (18d1:4e41) @ bus 1, dev 8
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
Listing directories (e.g. ./nexus7/Interner Speicher/Download/) was okay. But reading and writing ends with an error message and the folling line in /var/log/syslog
Jul 1 17:20:59 tuxor kernel: [ 4544.407879] mtpfs[26313]: segfault at 746e493b ip b72eb7f0 sp b70dee40 error 4 in libc-2.17.so[b7276000+16e000]
Can somebody confirm this?
Same problem for the nexus 4.
It worked till 3 weeks ago.
It's the same on Fedora and openSUSE also. I have a Galaxy Nexus. The only error I've ever seen is one asking if the phone was rooted. Mine isn't. I might check AirDroid.
Quote from: "GoinEasy9"It's the same on Fedora and openSUSE also. I have a Galaxy Nexus. The only error I've ever seen is one asking if the phone was rooted. Mine isn't. I might check AirDroid.
So is this a bug as shouldn't this work with both rooted and stock phones?
I can download pictures marked as Camera with PTP, but not MTP, using Digikam. There's a lot of links in Will Hill's G+ post about it here:
https://plus.google.com/113579520393333767984/posts/iTGyAusgQ7N
Unfortunately, why it worked previously, and, doesn't work now, is still a mystery for me.
Edit: AirDroid works. I can't open system files, but, I'm not rooted, so, that could explain that. I can access my pictures and download them, at the moment, that's all I need.
Never used the command line...
Nautilus works just fine with no editing of /etc/fuse.conf, using it from GNOME desktop.
Hmmm, I wonder what driver/library/method Nautilus uses to access mtp?
Probably some gvfs related methodmicha@siductionbox:~$ dpkg -l | grep gvfs
ii gvfs:amd64 1.16.3-1 amd64 userspace virtual filesystem - GIO module
ii gvfs-backends 1.16.3-1 amd64 userspace virtual filesystem - backends
ii gvfs-bin 1.16.3-1 amd64 userspace virtual filesystem - binaries
ii gvfs-common 1.16.3-1 all userspace virtual filesystem - common data files
ii gvfs-daemons 1.16.3-1 amd64 userspace virtual filesystem - servers
ii gvfs-libs:amd64 1.16.3-1 amd64 userspace virtual filesystem - private libraries
There may be some more packages and libraries necessary as well. :?
Quote from: "GoinEasy9"I can download pictures marked as Camera with PTP, but not MTP, using Digikam. There's a lot of links in Will Hill's G+ post about it here:
https://plus.google.com/113579520393333767984/posts/iTGyAusgQ7N
Unfortunately, why it worked previously, and, doesn't work now, is still a mystery for me.
Edit: AirDroid works. I can't open system files, but, I'm not rooted, so, that could explain that. I can access my pictures and download them, at the moment, that's all I need.
If you can root your Nexus why not try mtp again?
To root my phone many ions ago I did it from a command lineln -s /system/xbin/sudo /system/bin/su
ln -s /system/xbin/sudo /system/xbin/suto undo root (for some reason or another)rm -rf /system/bin/su
rm -rf /system/xbin/su if you want/need busybox that is up to you to download from the android market
After a year with my phone, and all the data and apps set up, rooting will wipe everything, and, I'm not looking for another project.
I'm grandfathered in to unlimited data, and, Verizon isn't a very nice company. Besides, I have a rooted GTablet that I can tether to the phone if I wanted to play hacker.
gMTP works fine for me with Samsung s3 and Android 4.1.2
My Nexus 7 isn't rooted, too.
As far as I can see, all "solutions" are based on libmtp[1].
As a kde-user I would appreciate it to see kio_mtp[2] in the repos. Or some advice to compile it on my own. The documentation looks straight forward[3], but this git-thing in step 2 makes me wonder. Does this mean to enter
orinoco@tuxor:~$ git clone git://anongit.kde.org/kio-mtp
[1] http://libmtp.sourceforge.net/
[2] https://projects.kde.org/projects/playground/base/kio-mtp
[3] https://projects.kde.org/projects/playground/base/kio-mtp/repository/revisions/master/entry/README
Quote from: "GoinEasy9"After a year with my phone, and all the data and apps set up, rooting will wipe everything, and, I'm not looking for another project.
I'm grandfathered in to unlimited data, and, Verizon isn't a very nice company. Besides, I have a rooted GTablet that I can tether to the phone if I wanted to play hacker.
Why not try a similarly configured tablet with this if you don't want to mess with your phone?
@DeepDayze I'm not in a hurry. Since it seems every distro is having this problem at the moment, I'll just wait for the mtp gurus to come up with a fix.
I still haven't tried adb, but, from what I remember, that required root also.
#orinoco If you have the git packages installed, you can make a folder in home, enter that folder, bring up a terminal and execute the command in your code box and it will download the code, so you can work on it. There is a git howto: http://chili.siduction.org/projects/siduction/wiki/Git-Howto_for_the_manual if you're interested.
I just looked and there is a libmtp-common in debian, and a libmtp8 and libmtp9, but no plain libmtp. Which may or may not be problematic. As far as kio-mtp, it also hasn't been active for a few months. I agree it would be nice to have it, but, it's probably in the same state, since it depends on libmtp.
Nexus4 and thunar is working fine with kernel 3.10
I'm not having any luck in KDE. Notification is still showing only 2 choices, Gwenview and Digicam. I'm still playing with it.
Did you try some other desktop session to avoid possible KDE services quirks to mtp.
May be from live media to avoid a 'scrambled' /home/$USER.
I think the problem is 2 fold:
1) The absence of kio-mtp
2) My Galaxy Nexus isn't rooted.
With distros like Fedora and openSUSE, where kio-mtp is available, I get 4 choices. The bottom 2 choices are both Dolphin, one reading mtp:/ and one reading camera:/. The phone is set to mtp. Funny though, I can see file choices under camera (PTP) but not mtp. I am getting the "Phone must not be rooted" error using openSUSE and Fedora when trying to access the Dolphin mtp choice.
mtp-detect shows me:
goineasy9@siduction64kdeFX:~$ mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6
Listing raw device(s)
Device 0 (VID=04e8 and PID=685c) is a Samsung Galaxy models (MTP+ADB).
Found 1 device(s):
Samsung: Galaxy models (MTP+ADB) (04e8:685c) @ bus 2, dev 3
Attempting to connect device(s)
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: Error 02fe: PTP: Protocol error, data expected
along with a long printout of the Galaxy Nexus' abilities.
Right now I'm going to follow DeepDayze's advice and try my rooted GTablet, that is, as soon as I find the special mini usb cable that came with it.
Today I installed kio-mtp. Now the Nexus 7 is recognized as a "Tragbarer Medienspieler" aka mobile mediaplyer. But mounting is not possible.
/var/log/syslog says:
Jul 25 20:09:59 jake kernel: [45894.909333] usb 2-2.1: USB disconnect, device number 3
Jul 25 20:10:11 jake kernel: [45906.778884] usb 2-2.1: new high-speed USB device number 4 using xhci_hcd
Jul 25 20:10:11 jake kernel: [45906.806037] usb 2-2.1: New USB device found, idVendor=18d1, idProduct=4e41
Jul 25 20:10:11 jake kernel: [45906.806050] usb 2-2.1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Jul 25 20:10:11 jake kernel: [45906.806058] usb 2-2.1: Product: Nexus 7
Jul 25 20:10:11 jake kernel: [45906.806065] usb 2-2.1: Manufacturer: asus
Jul 25 20:10:11 jake kernel: [45906.806071] usb 2-2.1: SerialNumber: x
Jul 25 20:10:19 jake kernel: [45914.862645] usb 2-2.1: usbfs: process 3601 (kio_mtp) did not claim interface 0 before use
Jul 25 20:10:19 jake kernel: [45914.925317] usb 2-2.1: reset high-speed USB device number 4 using xhci_hcd
Jul 25 20:10:19 jake kernel: [45914.944851] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880419e8e3c0
Jul 25 20:10:19 jake kernel: [45914.944864] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880419e8e400
Jul 25 20:10:19 jake kernel: [45914.944873] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880419e8e440
Jul 25 20:10:19 jake kernel: [45914.946375] usb 2-2.1: usbfs: process 3601 (kio_mtp) did not claim interface 0 before use
Jul 25 20:10:19 jake kernel: [45914.946734] usb 2-2.1: usbfs: process 5379 (ThreadWeaver::T) did not claim interface 0 before use
Jul 25 20:10:19 jake kernel: [45914.954033] usb 2-2.1: usbfs: process 3601 (kio_mtp) did not claim interface 0 before use
For no reason libmtp-runtime wasn't installed on my system. Now it works.
I don't know if I need it, but I have installed libmtp-runtime, libmitp9, libmtp-common, mtpfs on my system and I still have issues when trying to access my HTC One X smartphone.
Dolphin (file manager) shows up twice when the phone supposedly mounts. If I'm lucky, I'll see 'mtp: > HTC One X > Internal storage. So, I click DCIM. > 100MEDIA.
For e.g., I click an image and Gwenview loads with the final result, a dark grey screen and the circular dots going. But, no picture ever loads. I also cannot play videos that are on the phone -at all.
I guess my system is messed up. This isn't on siduction but I am bringing this up because my Debian Testing distro outputs similar stuff. Both are KDE, though.
I plan to try a siduction install on another HDD with LXDE or XFCE but not sure on the DE yet. I guess I can install an additional one if need be. I was just wondering if the DE has anything to do with how the device mounts or accesses the device.