I'm a new (still new) linux user (Fedora, LXDE).
The phone I currently use is Samsung Avila, or Samsung Star (Samsung GT-S5230, http://www.samsung.com/pl/consumer/mobile-devices/other-phones/others/GT-S5230LKAPLS/, http://www.phonemore.com/samsung-star-gt-s5230/specs/503).
But it seems not to automounts, or I don't know where to look for it in the filesystem.
Is there a way to access the files on it (just photos), when connected by USB cable?
I was thinking about mount
, but had some problems with e.g. finding the name of the device. Also, I would be glad if there is an application.
UPDATE 1:
My lsblk
output:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 55,9G 0 disk ├─sda4 8:4 0 1K 0 part ├─sda2 8:2 0 41,6G 0 part ├─sda5 8:5 0 3,5G 0 part ├─sda3 8:3 0 1G 0 part /boot ├─sda1 8:1 0 100M 0 part └─sda6 8:6 0 9,3G 0 part ├─fedora-swap 253:1 0 1G 0 lvm [SWAP] ├─fedora-home 253:4 0 768M 0 lvm /home ├─fedora-usr 253:2 0 4G 0 lvm /usr ├─fedora-root 253:0 0 1G 0 lvm / ├─fedora-home_michal_Dokumenty_Dyplom 253:5 0 512M 0 lvm /home/michal/Dokumenty/Dyplom └─fedora-var 253:3 0 2G 0 lvm /var
UPDATE 2:
The modes that my phone can use to connect to computer:
1) Media player mode;
2) PC studio mode;
3) Mass storage mode.
UPDATE 3:
simple-mtpfs
outputs:
Firstly, I've checked whether ~/mnt
exists.
Secondly, I've checked simple-mtpfs -l
output: 1: SamsungGT-S5230
.
The additional files that appeared in /dev
after connecting the phone:
1) Media player mode: libmtp-1-1
;
2) PC studio mode: ttyACM3
;
3) Mass storage mode: --- (no additional files).
My outputs for simple-mtpfs /dev/[file name] ~/mnt
:
1) Media player mode:
1.1) Running the command once: ERROR: Could not close session!
,
1.2) Running the command twice and so on: LIBMTP PANIC: Trying to dump the error stack of a NULL device!
;
2) PC studio mode: --- (no output appeared);
3) Mass storage mode: ---.
The same outputs appear for simple-mtpfs --device 1 ~/mnt
.
UPDATE 4:
jmtpfs
outputs:
My outputs for jmtpfs ~/mnt
:
1) Media player mode:
Device 0 (VID=0438 and PID=e20c) is a Samsung GT-S5230. PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attemp to reset device LIBMTP PANIC: failed to open session on second attempt terminate called after throwing an instance of ‘MtpErrorCantOpenDevice’ what(): Can’t open device Przerwane (zrzut pamięci) [english literally: interrupted (memory dump)]
2) PC studio mode: No mtp devices found.
;
3) Mass storage mode: No mtp devices found.
.
UPDATE 5:
When I run
simple-mtpfs
as root in Media player mode, it shows the same results if running as user (that is, as above).jmtpfs -l
shows the following output:
Device 0 (VID=0438 and PID=e20c) is a Samsung GT-S5230. Available devices (busLocation, devNum, productId, vendorId, product, vendor): 1, 10, 0xe20c, 0x04e8, GT-S5230, Samsung
- When I run
jmtpfs
for themnt
directory in my home directory (Media player mode), it shows onlyDevice 0 (VID=0438 and PID=e20c) is a Samsung GT-S5230.
output and there appears anmnt
volume (?) on the left side of my file manager window (PCManFM), as illustrated below:
But when I want to access, it displays (possible english version):Error - The specified directory is not valid
. After clicking OK, it's empty.
What's interesting:
- when I cd ~/mnt
, it displays (my free translation from Polish) No access
;
- when I ls -ld ~/mnt
, it displays No access to mnt
;
- when I ls -l ~
, it displays No access to mnt
and the mnt
row looks like that: d?????????? ? ? ? ? mnt
.
UPDATE 6:
I've tried android-tools
(it uses ADB), as @Stolous suggested in his answer. My adb devices
output (in all the three modes):
List of devices attached * daemon not running. starting it now on port 5037 * * daemon started successfully *
and then, after adb devices
again, the output is just: List of devices attached
and an empty line.
lsblk
to your question please.MTP
, and do not offer the usual "Mass Storage Device" interface. If this is the case, you may need to install additional software to support MTP.libmtp-...
is created by audev
rule installed bylibmtp
. Just to make sure, can you check the permissions on thelibmtp-...
file under/dev/
? If it is assigned to a group withrw
permissions, is your user in that group? (You can use e.g. thegroups
command to check your current groups.)dmesg
) when you plug the phone in its "mass storage mode"? There should be some USB-related messages identifying the device and then, hopefully, some more information about the "storage device".