LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-09-2020, 01:34 PM   #1
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 414

Rep: Reputation: 33
mount sony xperia c5 android in arch


I have tried the method here: https://wiki.archlinux.org/index.php...nsfer_Protocol without success.

It shows in Dolphin, but gives me the following error:

Code:
The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:13.2/usb3/3-2 does not exist.
when issuing mptfs -o allow_other /mnt/sony/ After a really long pause, I get the following output:

Code:
Listing raw device(s)
Device 0 (VID=0fce and PID=51d7) is UNKNOWN in libmtp v1.1.17.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   0fce:51d7 @ bus 3, dev 3
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: Xperia C5 Ultra
ls -lh /mnt/sony/ results in:

Code:
ls: cannot access '/mnt/sony/': Software caused connection abort
This sounds like it means my device is not compatible with mtp-tools.

Also, cat /etc/udev/rules.d/51-android.rules:
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", ATTR{idProduct}="51d7", MODE="0666"
I honestly forget what guide suggested I do that, and maybe there's another step there.

I have no real interest in using MTP, only browsing/copying/moving files.

I would use Xperia Companion, but it isn't compatible with wine. I'm sure this is deliberate.

Is there another way to mount android?
 
Old 04-09-2020, 03:50 PM   #2
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 414

Original Poster
Rep: Reputation: 33
What is this?

# ls -lh
Code:
d?????????  ? ?      ?        ?            ? sony
 
Old 04-09-2020, 04:00 PM   #3
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 414

Original Poster
Rep: Reputation: 33
It appears jmtpfs works, while mtpfs fails.
 
Old 04-09-2020, 04:29 PM   #4
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 414

Original Poster
Rep: Reputation: 33
But it's not working very well. Too sluggish, and keeps mysteriously unmounting.
 
Old 04-10-2020, 06:15 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hedron View Post
I have tried the method here: https://wiki.archlinux.org/index.php...nsfer_Protocol without success.
That is not very clear, becasue that page lists several methods (and also pitfalls).
What exactly did you do?

Code:
Device 0 (VID=0fce and PID=51d7) is UNKNOWN in libmtp v1.1.17.
That seems pretty clear to me.
But why...
Have a closer look at these files:
/usr/lib/udev/hwdb.d/69-libmtp.hwdb
/usr/lib/udev/rules.d/69-libmtp.rules

Maybe you did something wrong adding that udev rule?

Something to read:
https://forum.xda-developers.com/sho....php?t=1612273
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to detect Sony Xperia X phone on Arch Linux XFCE folatt Linux - Hardware 0 11-01-2018 04:45 PM
LXer: Ubuntu Touch Is Being Ported to Sony Xperia T2 Ultra Android Phones LXer Syndicated Linux News 0 03-08-2016 07:28 AM
LXer: Meizu MX4 Ubuntu Edition Beats Nexus 4 and Sony Xperia Z2 with Android 5.1.1 in Fish Tank Test LXer Syndicated Linux News 0 09-21-2015 07:50 AM
LXer: Developer Attempts to Port Ubuntu Touch to the Sony Xperia Z Ultra Android Phone LXer Syndicated Linux News 0 09-14-2015 04:03 AM
[DEV] Sony offer: borrow Xperia phone to independent Android application developers sunnydrake Linux - News 0 04-19-2012 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration