elementary / elementary/files

Files reports "This Folder Is Empty" on Samsung mtp mount

Open
#2,329 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
365
Forks
82
Avg merge
4d 2h
Merged PRs (30d)
3

Description

### What Happened?

I am unable to transfer files to and from my Samsung devices with Elementary OS.
"SAMSUNG Android" appears under Storage in files, it even reports the total and free GB of storage on the phone.
I have another PC with Elementary installed, and the same behaviour.
I have a Samsung Tablet, and the same behaviour occurs.
I've tested the same machines running Elementary with iOS 17 devices and Android 11 devices and they work fine.
So I don't know if this is specific to Samsung or Android 13.

### Steps to Reproduce

Connect Samsung phone, it asks to allow PC to access files.
Device appears under Storage
Select Allow on phone
Eject icon appears beside "SAMSUNG Android" under storage in files
However, the main panel reports "This Folder is Empty"
Location bar reports "mtp://SAMSUNG_SAMSUNG_Android_XXXX"
![Files Screenshot 2023-10-01 18 57 40](https://github.com/elementary/files/assets/10579678/03e1603d-f555-4ae0-8f13-ba522c2698ea)

### Expected Behavior

The files on the Samsung phone should appear as they do when connected to Windows 10 machine. Connected to a Windows machine, all files are listed and transfers works normally.

I've tried an Android 11 device and iPhone iOS 17 with Elementary OS and they work fine.

### OS Version

7.x (Horus)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

Samsung Z3 Flip (Android 13, latest updates)
Samsung A7 Lite Tablet (Android 13, latest updates)
&
Lenovo A940 PC - Elementary OS (fresh install, latest updates): Fail
Alienware Ryzen R10 - Elementary OS (latest updates): Fail
Alienware Ryzen R10 - Windows 10: OK

iPhone iOS 17.0.2
&
Lenovo A940 PC - Elementary OS (fresh install, latest updates): OK
Alienware Ryzen R10 - Elementary OS (latest updates): OK

Android 11 Phone
&
Lenovo A940 PC - Elementary OS (fresh install, latest updates): OK
Alienware Ryzen R10 - Elementary OS (latest updates): OK

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.