Fedora 21: How to download files from my Galaxy S5

Jim Lewis jim at jklewis.com
Mon Apr 27 20:42:23 UTC 2015


Hello everyone,

  This worked fine on my older Android Photon Q so I expected the same on
this new Galaxy S5. I plugged in the cable, found the mount point and,
as my guest1 user, located the filesystem and files. I saw they were rw
(read/write) and thought all was well. I tried to tar the whole thing up
and noticed errors. Here's some more detail:

laptop4 /run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C005%5D $ fl \*.jpg
File Find Utility by Lewis - 3/23/2011 Version 1
/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C005%5D/Card/DCIM/Camera
-rw-------   1 guest1   guest1    753726 Jan 23 16:37:02 2015
IMG_20150123_163703_512.jpg
-rw-------   1 guest1   guest1    703395 Jan 23 16:37:12 2015
IMG_20150123_163712_747.jpg
-rw-------   1 guest1   guest1   1194428 Jan 23 16:37:20 2015
IMG_20150123_163720_312.jpg

laptop4 /run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C005%5D $ cd
Card/DCIM/Camera

laptop4
/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C005%5D/Card/DCIM/Camera $ file
IMG_20150123_163703_512.jpg
IMG_20150123_163703_512.jpg: writable, executable, regular file, no read
permission

laptop4
/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C005%5D/Card/DCIM/Camera $ cp
IMG_20150123_163703_512.jpg /tmp
cp: cannot open IMG_20150123_163703_512.jpg for reading: Operation not
supported


  Not sure I have ever seen a situation like this. I can change the phone
from MTP to PTP mode but then all of the files do not show up (but I can
copy the files that do). I tried looking at this issue on the net but
all I got was noise.

  This is on:

Fedora release 21 (Twenty One)
Kernel \r on an \m (\l)

Linux laptop4.com 3.17.7-300.fc21.x86_64 #1 SMP Wed Dec 17 03:08:44 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux


  Thanks in advance for any help. I should have checked this right when I
got the phone but didn't think of it.



Jim Lewis
http://jklewis.com <- My resume,  Java games, and link to my Linux book
are here. Website has no ads!




More information about the users mailing list