Skip to main content
Topic: Androdi device - Sony Xperia X2 compact - not recognized on KDE Plasma (Read 1518 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Androdi device - Sony Xperia X2 compact - not recognized on KDE Plasma

I can't make it work normally with KDE connect or Dolphin.

First,
relevant packages installed: android-udev android-tool gvfs-mtp mtpfs libmtp kio-extras
When I plug this device, I got the  KDE connect notif, the device ask me to set up MTP.
The icon appears in Dolphin, but I got this message:
Code: [Select]
The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/ does not exist.


I am able to transfer files using the tool  "Android File Transfer for Linux" (package android-file-transfer)


Reading Arch forum, I ended up editiing
/usr/lib/udev/rules.d/69-libmtp.rules and  /usr/lib/udev/rules.d/51-android.rules
Quote
(note: the Arch doc mentions /etc/udev/rules.d/51-android.rules *ETC?*  in Media Transfer Protocol - ArchWiki
https://wiki.archlinux.org/index.php/Media_Transfer_Protocol#jmtpfs)


identification:
Code: [Select]
# lsusb
Bus 001 Device 020: ID 0fce:01f9 Sony Ericsson Mobile Communications AB


#lsusb -v 2> /dev/null | grep -e Bus -e iInterface -e bInterfaceProtocol

Bus 001 Device 020: ID 0fce:01f9 Sony Ericsson Mobile Communications AB
      (Bus Powered)
      bInterfaceProtocol      0
      iInterface              5 MTP
  (Bus Powered)

in /usr/lib/udev/rules.d/69-libmtp.rules I added:

Code: [Select]
#SONY XPeria XZ1 Compact  was existing, I just changed the product Id
# SONY XPeria XZ2 Compact
ATTR{idVendor}=="0fce", ATTR{idProduct}=="01f9", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

in /usr/lib/udev/rules.d/51-android.rules  I added:
Code: [Select]
#		Xperia XZ2 Compact
ATTR{idProduct}=="01f9", ENV{adb_adbfast}="yes"


then
Code: [Select]
# sudo udevadm control --reload-rules

Other android device I plug, it works smoothly.
Am I missing something?

 

Re: Androdi device - Sony Xperia X2 compact - not recognized on KDE Plasma

Reply #1
Own replay (from a post at reddit): KDE connect worked seamlessly.

Quote
KDE Connect work, as it's a wireless solution. You must have the application installed on the phone and be on the same network. After you pair them in KDE Connect, you'll be able to use it.