I followed those instructions, but still failed.
With the phone not plugged in, I followed those instructions.
$ uname -a
Linux test 3.11.0-14-generic ... x86_64 x86_64 x86_64 GNU/Linux
$ sudo apt-get install mtpfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
mtpfs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo mkdir /media/MTPdevice
$ sudo chmod 775 /media/MTPdevice
$ sudo mtpfs -o allow_other /media/MTPdevice
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
No raw devices found.
I got the same error as above, even with the phone plugged
into a USB port and the phone unlocked.
I ran the mtp-detect when the phone wasn't recognized:
$ mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6
Listing raw device(s)
No raw devices found.
And, I ran the mtp-detect when the phone was recognized:
$ 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=6860) is a Samsung Galaxy models (MTP).
Found 1 device(s):
Samsung: Galaxy models (MTP) (04e8:6860) @ bus 2, dev 5
Attempting to connect device(s)
On my stock Ubuntu 13.10, there was no /etc/udev/rules.d/51-android.rules
file, so, I created the file and added the suggested line:
$ gksu gedit /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666"
I disconnected the Samsung Galaxy S3 Android 4.3 phone & restarted udev:
$ sudo service udev restart
udev stop/waiting
udev start/running, process 4584
The instructions say "Now when you connect your Android phone, tablet,
etc. it should automatically mount for you at /media/MTPdevice.", but,
when I plugged in the Android device and unlocked the screen, it still
didn't mount, so there was no need to run the unmount command:
$ sudo umount mtpfs
Do we have a good set of debugging commands handy?