You are not logged in.

#1 2016-08-31 19:05:06

marmistrz
Member
Registered: 2016-01-05
Posts: 110

Trouble with MTP

Hi,

I installed gvfs-mtp. I connected my phone (OnePlus3 w/ CyanogenMod) via the USB-C cable. Enabled the MTP mode. I'm using Nemo as my file manager.

When I click on the Android device in the left bar, (where the mounted devices appear) the device is instantly mounted and unmounted. After clicking it 6 times, the FM finally entered it, showing "Internal storage" as the only element. I entered the element, tried to copy a folder. This resulted in an error

Error copying to "Internal storage"
There was an error getting information about the destination.
libmtp error: Unknown error.

Has anyone encountered something like this? Do you know any fix for it?

Last edited by marmistrz (2016-08-31 19:07:03)

Offline

#2 2016-08-31 19:51:52

ColdPie
Member
Registered: 2007-09-18
Posts: 47

Re: Trouble with MTP

I can't help with that problem, but I found MTP to be very failure-prone. Personally, my best luck has been with the android-file-transfer program. It has a pretty crummy UI, but it does everything I need it to do. Maybe it will work better for you?

https://www.archlinux.org/packages/comm … -transfer/

Offline

#3 2016-08-31 20:09:25

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Trouble with MTP

You could give other programs a try, the wiki [1] has a page describing a few alternatives.

[1] https://wiki.archlinux.org/index.php/MTP


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2016-08-31 22:32:20

matoro
Member
Registered: 2016-08-31
Posts: 6

Re: Trouble with MTP

I have had success with jmtpfs, perhaps try that.

Offline

#5 2016-09-01 06:51:19

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 652

Re: Trouble with MTP

ColdPie wrote:

I can't help with that problem, but I found MTP to be very failure-prone.

I agree, not worth stuffing around with MTP. I don't understand why people don't just use ordinary transfers over wifi like http://web.airdroid.com/ which is what I use. No account/login/ID is required. Just install the app and use the SCAN QR code (just because it is easier than typing an IP address) then drag and drop your files each way (all directly via your local LAN) or use your phone completely from your PC. Stunning UI, no special software required.

PS: I also use an OP3 phone.

Last edited by bulletmark (2016-09-01 06:52:40)

Offline

#6 2016-09-01 08:24:09

marmistrz
Member
Registered: 2016-01-05
Posts: 110

Re: Trouble with MTP

I'm wondering why Android uses the sick MTP. In the good ol' days, phones (like Nokia N900) used a simple mass storage mode. You closed all the affected apps and it simply worked!
Another option I've frequently used was using the SSH. I guess I'll try that anyway.

Is it possible to use plain mass storage with Android?

A reboot solved the problem with MTP, anyway.

AirDroid? Why would I want to use closed-source software?

Offline

#7 2016-09-01 12:23:08

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 652

Re: Trouble with MTP

marmistrz wrote:

AirDroid? Why would I want to use closed-source software?

There's no software to install on your Arch box. You use web.airdroid.com completely via your web browser. So which closed source software are you complaining about?

Offline

#8 2016-09-01 12:52:57

marmistrz
Member
Registered: 2016-01-05
Posts: 110

Re: Trouble with MTP

The Android app is closed-source.

Offline

#9 2016-09-01 15:05:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Trouble with MTP

I am a fan of using adb (community/android-tools) to push and pull files to my phone from my Arch system. It also provides a shell.  In addition, the AUR has GUI front ends for adb, and also has an adb fuse filesystem.

Last edited by ewaller (2016-09-01 15:06:39)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2016-09-04 10:31:22

frumble
Member
From: Germany
Registered: 2012-05-20
Posts: 162
Website

Re: Trouble with MTP

Try go-mtpfs-git from AUR, it's the only thing that somewhat works for me.

Offline

#11 2016-09-04 16:16:13

ColdPie
Member
Registered: 2007-09-18
Posts: 47

Re: Trouble with MTP

marmistrz wrote:

I'm wondering why Android uses the sick MTP. In the good ol' days, phones (like Nokia N900) used a simple mass storage mode. You closed all the affected apps and it simply worked!

Well, that's exactly why they do MTP now. You can do file transfers without having to quit apps or having opened apps crash due to their filesystem suddenly disappearing. What baffles me is why Google released it without providing a quality, open source Linux driver for it. They're usually moderately Linux friendly, but not even being able to transfer files without 3rd party libraries is really ugly.

Offline

#12 2016-09-04 16:22:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Trouble with MTP

ColdPie wrote:

What baffles me is why Google released it without providing a quality, open source Linux driver for it. They're usually moderately Linux friendly, but not even being able to transfer files without 3rd party libraries is really ugly.

What really baffles me is how poorly it works on Windows 10 (at least on the one issued me by $DAYJOB).   IMHO, MPT just doesn't cut the mustard.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#13 2016-09-06 04:25:48

nyn
Member
Registered: 2015-05-27
Posts: 11

Re: Trouble with MTP

jmtpfs worked for me as well with my old Galaxy Xcover II (Android 4.x). Perhaps give that one a try?

Offline

Board footer

Powered by FluxBB