Bug 326801 - kio-mtp does not open Samsung Wave II (Bada 2.0) phone storage
Summary: kio-mtp does not open Samsung Wave II (Bada 2.0) phone storage
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: MTP (show other bugs)
Version: 18.04.3
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Philipp Schmidt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-28 21:11 UTC by Donatas Glodenis
Modified: 2022-02-06 04:37 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Output of mtp-detect command (38.40 KB, text/plain)
2013-10-28 21:13 UTC, Donatas Glodenis
Details
screenshot with one mtp.so (43.24 KB, image/png)
2018-08-17 15:39 UTC, Sudhir Khanger
Details
mtp.so and error message (57.54 KB, image/png)
2018-08-19 07:32 UTC, DavidL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Donatas Glodenis 2013-10-28 21:11:50 UTC
Dolphin fails to display contents of Samsung Wave II (Bada 2.0) phone storage. It is possible to access phone memory using the mtp-filetree command as well as Amarok...

kio-mtp detects connection of a phone and calls it Portable music player in the sidebar. But when I click it I immediately get a report in the pink error cloud: "Failas ar aplankas udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3 neegzistuoja." which loosely translated means "File or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3 does not exist."

If I launch Dolphin from Konsole, I do not get any output upon trying to open the phone. 

Dmesg output after attaching the phone: 

[  842.788078] usb 2-3: new high-speed USB device number 3 using ehci-pci
[  842.920543] usb 2-3: New USB device found, idVendor=04e8, idProduct=6860
[  842.920548] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  842.920551] usb 2-3: Product: Wave II
[  842.920554] usb 2-3: Manufacturer: Samsung Electronics
[  842.921945] cdc_acm 2-3:1.1: ttyACM0: USB ACM device

mtp-filetree output:

$ mtp-filetree
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Attempting to connect device(s)
Device: Wave II
Storage: Phone
4000002 Images
  4000006 Camera
    2 20110101_000750.jpg
4000005 Videos
  4000009 Camera
4000004 Sounds
  4000007 Recorded files
  4000008 Ringtones
  1 Over the horizon.mp3
4000003 Others
4000006 Camera
  2 20110101_000750.jpg
4000009 Camera
4000007 Recorded files
4000008 Ringtones
2 20110101_000750.jpg
1 Over the horizon.mp3
9999997 DevLogo.fil
OK.

I will attach mtp-detect output as a file.

Reproducible: Always
Comment 1 Donatas Glodenis 2013-10-28 21:13:01 UTC
Created attachment 83185 [details]
Output of mtp-detect command
Comment 2 Sudhir Khanger 2018-07-14 02:36:47 UTC
I get the following error.

>The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2 does not exist.

Kernel - Linux 4.17.4-200.fc28.x86_64 #1 SMP Tue Jul 3 14:06:39 UTC 2018 x86_64
OS - Fedora 28 KDE

$ dnf list installed | grep -ie mtp
esmtp.x86_64                               1.2-10.fc28                 @fedora  
kf5-ksmtp.x86_64                           17.12.3-1.fc28              @fedora  
kio_mtp.x86_64                             0.75-17.20141221gitc418634.fc28
libesmtp.x86_64                            1.0.6-14.fc28               @fedora  
libmtp.x86_64                              1.1.14-3.fc28               @fedora  
simple-mtpfs.x86_64                        0.2-11.fc28                 @fedora

simple-mtpfs works just fine. Other folks have reported that even Nautilus works fine.

This issue is consistently reported by several folks in the mailing list linked below.

https://lists.fedoraproject.org/archives/list/kde@lists.fedoraproject.org/message/2BG3MTOOZZWORVGBTM3DZ2TYDD4AH5SK/
Comment 3 Elvis Angelaccio 2018-08-16 10:02:39 UTC
Does this still happen? Are you sure you are actually enabling MTP from the Android phone? (unlocking the phone is not enough).
Comment 4 Sudhir Khanger 2018-08-16 13:39:45 UTC
@Elvis

>The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:3e:00.0/usb3/3-1 does not exist.

1. Device unlocked.
2. Use USB for - File Transfer.

Yes, I have made sure that the device is unlocked and USB option file transfer is selected.

MTP via KIO doesn't work while other MTP implementations work.

I have tried on the following two devices.

a) Pixel 1 device with Android 9.0
b) Moto G with Android 5.1
Comment 5 Elvis Angelaccio 2018-08-16 14:10:54 UTC
Can you also make sure that you are running only one process of Dolphin? There must be at most one mtp.so instance showing up in ksysguard, otherwise MTP won't work.
Comment 6 Sudhir Khanger 2018-08-17 15:37:41 UTC
I tried closing the dolphin and making sure there's only one instance of mtp.so. If I am doing everything correctly it is still not working to the best of my knowledge.
Comment 7 Sudhir Khanger 2018-08-17 15:39:04 UTC
Created attachment 114465 [details]
screenshot with one mtp.so
Comment 8 DavidL 2018-08-19 07:32:26 UTC
Created attachment 114487 [details]
mtp.so and error message
Comment 9 DavidL 2018-08-19 07:39:38 UTC
I also share the same issue.

In the previous comment, I have also produced the same issue on Kubuntu 18.04 LTS. The error message came up when I click onto "Open with File Manager" on the system tray.

Since I am on a Sony Xperia XZ1 Compact, I have also tried moving to libmtp-1.1.15. (Kubuntu only provides 1.1.13). However, it did not improve the situation except for being able to recognize the device as "Sony Xperia XZ1 Compact"

Some more information when using 1.1.15:
mflai@kubuntu:~$ mtp-detect 
libmtp version: 1.1.15

Listing raw device(s)
Device 0 (VID=0fce and PID=01f4) is a SONY XPeria XZ1 Compact.
   Found 1 device(s):
   SONY: XPeria XZ1 Compact (0fce:01f4) @ bus 1, dev 16
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: 0fce
   idProduct: 01f4
   IN endpoint maxpacket: 512 bytes
   OUT endpoint maxpacket: 512 bytes
   Raw device info:
      Bus location: 1
      Device number: 16
      Device entry info:
         Vendor: SONY
         Vendor id: 0x0fce
         Product: XPeria XZ1 Compact
         Vendor id: 0x01f4
         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: Sony
   Model: G8441
   Device version: 1.0
   Serial number: BH905M6H9E
   Vendor extension ID: 0x00000006
   Vendor extension description: microsoft.com: 1.0; android.com: 1.0;sonyericsson.com/SE: 1.0;
   Detected object size: 64 bits
   Extensions:
        microsoft.com: 1.0
        android.com: 1.0
        sonyericsson.com/SE: 1.0
...

mflai@kubuntu:~$ mtp-filetree 
Device 0 (VID=0fce and PID=01f4) is a SONY XPeria XZ1 Compact.
Attempting to connect device(s)
Android device detected, assigning default bug flags
Device: Xperia XZ1 Compact
Storage: Internal shared storage
1 Music
2 Podcasts
3 Ringtones
4 Alarms
5 Notifications
6 Pictures
  5945 Screenshots
    5946 Screenshot_20171123-215034.png
    6071 Screenshot_20171129-125924.png
...

mflai@kubuntu:~$ uname -a
Linux kubuntu 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Thank you for looking into this. Please let me know if you will want more tests on my system.
Comment 10 Harald Sitter 2022-01-07 12:47:48 UTC
Still a problem?
Comment 11 Bug Janitor Service 2022-01-22 04:37:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Bug Janitor Service 2022-02-06 04:37:32 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!