Bug 486716 - Can't access one Android phone via MTP and Dolphin (errors "The file or folder does not exist" and "Could not enter folder")
Summary: Can't access one Android phone via MTP and Dolphin (errors "The file or folde...
Status: REPORTED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: MTP (show other bugs)
Version: 24.02.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-07 10:52 UTC by decker23
Modified: 2024-08-09 14:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of the error "Could not enter folder" (97.06 KB, image/png)
2024-05-07 10:52 UTC, decker23
Details

Note You need to log in before you can comment on or make changes to this bug.
Description decker23 2024-05-07 10:52:33 UTC
Created attachment 169265 [details]
Screenshot of the error "Could not enter folder"

Hello. I hope I've chosen the right product and component.

There is one old smartphone (Sharp Aquos C10 on Android 10) that does not open in Dolphin via MTP. It's accessible via android-file-transfer, jmtpfs, also works without problems on Fedora Gnome (stock file manager) and Windows.

STEPS TO REPRODUCE
1. Plugin smartphone to USB (it's unlocked and MTP mode is selected).
2. The popup "Disks & Devices" opens next to the tray, where I see the device.
3. I click "Open in file manager" button, a window appears with the title "Error - KIO Client" with text "The file or folder /Sharp Aquos C10 4/64 does not exist".
4. I open Dolphin, phone is displayed in the left panel. I click on it and get an error "Could not enter folder /Sharp Aquos C10 4/64" (screen #1). The path is mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/

I don't see errors in journalctl. However, I can access the files through another applications:
1. android-file-transfer: launched, clicked "Kill users" button (to kill the process /usr/libexec/kf6/kiod6, otherwise there will be an error "No MTP device found"), then "Ok". I see the memory contents, can download and upload.
2. jmtpfs: command jmtpfs ~/mnt (also killed the kiod6 process) and I can open this folder via Dolphin and also work with data.

The mtp-detect command shows the following (left just the beginning and I don't know why "Nokia 6.1"):
Listing raw device(s)
Device 0 (VID=2e04 and PID=c026) is a Nokia 6.1.
   Found 1 device(s):
   Nokia: 6.1 (2e04:c026) @ bus 1, dev 18
Attempting to connect device(s)
Android device detected, assigning default bug flags
USB low-level info:
   bcdUSB: 512
   bDeviceClass: 0
   bDeviceSubClass: 0
   bDeviceProtocol: 0
   idVendor: 2e04
   idProduct: c026
   IN endpoint maxpacket: 512 bytes
   OUT endpoint maxpacket: 512 bytes
   Raw device info:
      Bus location: 1
      Device number: 18
      Device entry info:
         Vendor: Nokia
         Vendor id: 0x2e04
         Product: 6.1
         Vendor id: 0xc026
         Device flags: 0x18008106
Configuration 0, interface 0, altsetting 0:
   Interface description contains the string "MTP"
   Device recognized as MTP, no further probing.
Device info:
   Manufacturer: FIH
   Model: Sharp Aquos ะก10 4/64
   Device version: 1.0
   Serial number: 7A13188E004BBC73A54FB6CF7B6B5798
   Vendor extension ID: 0x00000006
   Vendor extension description: microsoft.com: 1.0; android.com: 1.0;
   Detected object size: 64 bits
   Extensions:
        microsoft.com: 1.0
        android.com: 1.0
...

SOFTWARE/OS VERSIONS
Fedora 40
Kernel 6.8.8
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Comment 1 decker23 2024-05-07 11:35:30 UTC
Comment on attachment 169265 [details]
Screenshot of the error "Could not enter folder"

Addition to the screenshot: do not pay attention to the other model, I tried changing the smartphone firmware (fully compatible), it did not help