Mount and view files on Samsung Galaxy A5

The phone shows up in…

# lsusb
Bus 002 Device 004: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy A5 (MTP)

and it shows as mounted in my file browser, but no files appear. Mount shows…

# mount
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=394288k,nr_inodes=98572,mode=700,uid=1000,gid=100,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)

I have installed mtp-tools. What is my next step? Thanks in advance.

Hello,

My phone is recognized as


# lsusb
...
Bus 004 Device 004: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy A5 (MTP)
# mount
...
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)

I use KDE and dolphin.
I open dolphin via the device notification that I receive when connecting my phone, and on my phone I must give access authorization. Then in dolphin I receive https://paste.opensuse.org/images/12683062.png
In journalctl I have

Jul 24 09:47:53 hpprol2 kernel: usb 4-4: new high-speed USB device number 4 using xhci_hcd
Jul 24 09:47:54 hpprol2 kernel: usb 4-4: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
Jul 24 09:47:54 hpprol2 kernel: usb 4-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 24 09:47:54 hpprol2 kernel: usb 4-4: Product: SAMSUNG_Android
Jul 24 09:47:54 hpprol2 kernel: usb 4-4: Manufacturer: SAMSUNG
Jul 24 09:47:54 hpprol2 kernel: usb 4-4: SerialNumber: 5203e773ee31a449
Jul 24 09:49:08 hpprol2 systemd[440]: Started kioclient5.
Jul 24 09:49:09 hpprol2 dbus-daemon[459]: [session uid=1000 pid=459] Activating service name='org.kde.kmtpd5' requested by ':1.63' (uid=1000 pid=21170 comm="/usr/libexec/kf5/kioslave5 /usr/lib64/qt5/plugins/")
Jul 24 09:49:09 hpprol2 dbus-daemon[459]: [session uid=1000 pid=459] Successfully activated service 'org.kde.kmtpd5'
Jul 24 09:49:09 hpprol2 systemd[440]: Started Dolphin - Gestionnaire de fichiers.
Jul 24 09:49:10 hpprol2 dbus-daemon[459]: [session uid=1000 pid=459] Activating via systemd: service name='org.kde.KIOFuse' unit='kio-fuse.service' requested by ':1.58' (uid=1000 pid=3866 comm="/usr/bin/dolphin")
Jul 24 09:49:10 hpprol2 systemd[440]: Starting Fuse interface for KIO...
Jul 24 09:49:10 hpprol2 dbus-daemon[459]: [session uid=1000 pid=459] Successfully activated service 'org.kde.KIOFuse'
Jul 24 09:49:10 hpprol2 systemd[440]: Started Fuse interface for KIO.
Jul 24 09:58:43 hpprol2 org.gtk.vfs.Daemon[21608]: fusermount3: failed to access mountpoint /run/user/1000/gvfs: Permission denied
Jul 24 09:59:15 hpprol2 goa-daemon[21755]: goa-daemon version 3.44.0 starting
Jul 24 09:59:15 hpprol2 dbus-daemon[21556]: [session uid=1000 pid=21554] Activating service name='org.gnome.Identity' requested by ':1.9' (uid=1000 pid=21755 comm="/usr/libexec/goa-daemon")
Jul 24 09:59:15 hpprol2 dbus-daemon[21556]: [session uid=1000 pid=21554] Successfully activated service 'org.gnome.OnlineAccounts'
Jul 24 09:59:15 hpprol2 dbus-daemon[21556]: [session uid=1000 pid=21554] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
Jul 24 09:59:15 hpprol2 dbus-daemon[21556]: [session uid=1000 pid=21554] Activating service name='org.gtk.vfs.MTPVolumeMonitor' requested by ':1.1' (uid=1000 pid=21551 comm="gimp-2.10")
Jul 24 09:59:15 hpprol2 dbus-daemon[21556]: [session uid=1000 pid=21554] Successfully activated service 'org.gnome.Identity'
Jul 24 09:59:15 hpprol2 goa-identity-se[21764]: GoaKerberosIdentityManager: Using polling for change notification for credential cache type 'KEYRING'


I have found that the open is not always reliable and when it fails I must close dolphin, disconnect/reconnect the phone (sometimes several times >:()
Regards
Philippe

Make sure your phone is set to accept external commands. On a samsung galaxy phone that is called “deveoper options”. Also when you try to connect from pc, your phone will ask you to give permission. Check ok for that on the phone.