LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 04-21-2015, 03:54 PM   #1
Webtm
LQ Newbie
 
Registered: Oct 2014
Distribution: FreeBSD
Posts: 14

Rep: Reputation: 0
Linux, Android, and MTP


Does anyone else find the lack of support for MTP bad?
I may be wrong here, and correct me if I am! I used to just use an SD card in my old android. Now, with the new phone I just got today (Droid Maxx), I am unable to connect it to my Debian laptop.

I have found this to be that my device isn't supported by libmtp. Although I am not certain of this. Has anyone had any problems/fixes for this?
 
Old 04-21-2015, 06:16 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,310
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
I have had the same experience. My solution was to install and use AirDroid on my phone for a local wireless connection (not to use the AirDroid "cloud." And turn off AirDroid when you are done, or it will keep hitting any wireless networks in range.)
 
Old 04-21-2015, 08:00 PM   #3
Webtm
LQ Newbie
 
Registered: Oct 2014
Distribution: FreeBSD
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by frankbell View Post
I have had the same experience. My solution was to install and use AirDroid on my phone for a local wireless connection (not to use the AirDroid "cloud." And turn off AirDroid when you are done, or it will keep hitting any wireless networks in range.)
I sent a bug report and it looks like this device was added to the next release!
 
Old 04-21-2015, 08:06 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Same here, and using Jessie I still can't access phone. I used to use airdroid, but since they upgraded it and you have to sign up for an airdroid account to use it anymore, I switched to wifi file transfer. Works great, actually much better than Airdroid IMO.
 
Old 04-21-2015, 08:20 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,310
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
Quote:
since they upgraded it and you have to sign up for an airdroid account to use it anymore
That hasn't hit me. When it does, the app is gone from my phone.
 
Old 04-21-2015, 10:07 PM   #6
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Probably won't until you replace your phone (which I just did a few months ago, which is how I discovered it).
 
Old 04-22-2015, 01:00 AM   #7
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
old android devices would connect as normal usb devices, new ones need mtp.
it is still possible to connect the phone directly, though (no wireless needed).
basically installing libmtp and some other stuff should suffice, but for convenience:
Quote:
1 android-file-transfer-linux-git v1.0.r49.g9414aac-1
An interactive MTP client implemented in C++ using Qt toolkit
2 jmtpfs 0.5-1
mtpfs with better support for Android
3 jmtpfs-git v0.5-1
mtpfs with better support for Android
those are all git packages, search and you will find how to install them on your system.
 
Old 04-22-2015, 08:12 AM   #8
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i agree mtp sux. i use airdroid, sshdroid, vncdroid, andftp, kies-air, file expert, ... (but each of those rely on a wifi router).
 
Old 04-22-2015, 05:48 PM   #9
xset
LQ Newbie
 
Registered: Apr 2015
Posts: 10

Rep: Reputation: Disabled
I used to use Airdroid as well. I now have two other ways to transfer files to my android phone which is faster than using the wifi method. I am running kit kat 4.4.2.

I use PCManFM and android sdk using the adb command. PCManFM is a file manager and supports the MTP protocol.

Last edited by xset; 04-22-2015 at 05:51 PM.
 
Old 04-22-2015, 08:21 PM   #10
Webtm
LQ Newbie
 
Registered: Oct 2014
Distribution: FreeBSD
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
old android devices would connect as normal usb devices, new ones need mtp.
it is still possible to connect the phone directly, though (no wireless needed).
basically installing libmtp and some other stuff should suffice, but for convenience:
those are all git packages, search and you will find how to install them on your system.
There is no support for my device in libmtp.
 
Old 04-22-2015, 11:43 PM   #11
xset
LQ Newbie
 
Registered: Apr 2015
Posts: 10

Rep: Reputation: Disabled
@ Webtm

Give PCManFM a try.

sudo apt-get install pcmanfm

After installation, connect your device with a usb cable to the computer and when your device asks how to connect, select Media sync MTP.

Next, launch pcmanfm. If all goes well, you should see a one or more android icons representing your internal and external storage.
 
Old 04-23-2015, 02:19 PM   #12
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 Webtm View Post
There is no support for my device in libmtp.
well it might be just a udev rule missing somewhere; try one of the utilities i suggested, or search github, or the web itself.
 
Old 04-26-2015, 01:28 PM   #13
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Quote:
Originally Posted by Webtm View Post
Does anyone else find the lack of support for MTP bad?
I may be wrong here, and correct me if I am! I used to just use an SD card in my old android. Now, with the new phone I just got today (Droid Maxx), I am unable to connect it to my Debian laptop.

I have found this to be that my device isn't supported by libmtp. Although I am not certain of this. Has anyone had any problems/fixes for this?
Had a similar issue with my Moto g. Turned out to be a bad cable. Bought a new premium cable from Monoprice and it works perfectly. May not be your issue, but it was mine and it costs next to nothing to try.
 
Old 07-03-2015, 01:40 AM   #14
thambt029
LQ Newbie
 
Registered: Jul 2015
Posts: 2

Rep: Reputation: Disabled
I used to use Airdroid as well. I now have two other ways to transfer files to my android phone which is faster than using the wifi method. I am running kit kat 4.4.2.

I use PCManFM and android sdk using the adb command. PCManFM is a file manager and supports the MTP protocol.
me too
 
Old 07-03-2015, 10:07 AM   #15
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Not all USB cables are created equally. Some are for charging only, and don't have data pins connected. They're actually rather common. You have to use a real data cable to connect a phone to a computer. This may or may not be the OP's problem (probaby not) but it's something to keep in mind if you're having problems connecting a phone to a computer. It's not that the cable is faulty, it's just the way it was built, with cost control being the overriding parameter.
 
  


Reply

Tags
android


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
Google Android Nexus 4 and MTP works... almost... [SOLVED] mdooligan Linux - Mobile 8 01-10-2014 10:39 PM
On slack-current: /usr/bin/mtp-getfile -> /tmp/package-libmtp/usr/bin/mtp-connect ? LuckyCyborg Slackware 3 05-03-2010 01:13 PM
Linux on MTP Player snoguy986 Linux - General 1 09-03-2008 02:37 PM
MTP Support For Linux...? carlosinfl Linux - Hardware 3 06-26-2008 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 06:07 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