Questions tagged [mtp]

The Media Transfer Protocol (commonly referred to as MTP) is a devised set of custom extensions to support the transfer of music files on USB digital audio players and movie files on USB portable media players.

MTP Media Players

A number of MP3 players, such as those produced by Samsung, Creative and many others use Media Transfer Protocol (MTP). These devices, when used with the correct driver, often appear in Windows as a media device but can be accessed as a USB device.

Ubuntu 11.04 supports these devices for instance in Banshee but requires two steps:

Install the mtpfs and mtp-tools packages.

sudo apt-get install mtpfs mtp-tools

Open Applications → Sound & Video → Banshee Media Player.

Click Edit → Preferences.

Click Extensions.

Tick the MTP Media Player Support extension.

Click Close.

Your device will now be displayed in the left hand pane under Devices when connected.

There are really useful guides on mtp and ubuntu here for some common mtp devices: Ubuntu forums how to guide

Gnomad for Creative Products

History

Originally MTP was designed to be part of Microsoft's 'Media family' its adoption in devices like those from Creative, Blackberry and Samsung mean that many Ubuntu users struggle to get these devices to sync automatically.

However more recently there are methods to address this using the libmtp shared library that implements the MTP protocol and also includes some command-line example tools.

259 questions
303
votes
14 answers

Where are MTP mounted devices located in the filesystem?

I have an Android phone that connects with my computer via MTP. This works fine; I can see and transfer files with Nautilus. However, I often want to use the terminal to move large numbers of files, and I cannot seem to find the device anywhere in…
bessman
  • 7,585
72
votes
7 answers

Getting MTP enabled devices to work with Ubuntu?

Since Ubuntu 13.04 storage access to external devices via MTP is supposed to work out of the box via a GVFS-MTP module. While this question is about the Galaxy Nexus, other Android devices as well as Windows Phones and MTP enabled media players are…
Leo
  • 1,775
43
votes
7 answers

How do I connect a Nexus 7 to transfer files?

I want to move some files from my PC to Nexus 7. The tablet is connected to my PC's USB port and it is successfully charging. Unfortunately, the PC is not detecting the devices - what I expected is to be shown the Nexus 7 tablet as external devices…
gotqn
  • 2,077
  • 7
  • 30
  • 38
40
votes
3 answers

Ubuntu 14.04 and Android, can't see phone on my computer

I have installed gMTP and tried to follow this tutorial to solve this problem: http://www.webupd8.org/2013/01/upgrade-to-gvfs-with-mtp-support-in.html But neither worked. I tried to connect both my phone (Nexus 4) and my dad's phone (Galaxy Note 2),…
asosnovsky
  • 581
  • 1
  • 6
  • 11
34
votes
2 answers

How to transfer files between Android and Ubuntu?

I have an Android phone (Samsung Galaxy S3) and I wish to take the music files I have off of it and store them on my laptop which is running Ubuntu 12.10. Upon connecting my phone to my computer I can see the phone but if I try to open it to view…
29
votes
5 answers

How to connect Android 7.1 to Ubuntu Linux with USB?

I'm trying to connect a Google Pixel phone, with android 7.1, to a Ubuntu 16.04 laptop with a USB cable using mtp-tools. But the mtp doesn't see the phone file system and gives the error message "Get Storage information failed". Then trying the mtp…
Sullivan
  • 823
25
votes
4 answers

How to connect mtp android device to ubuntu 13.10

I searched here and google and all I could find is how in Ubuntu 13.04 forward mtp devices are supported. The answer I found are for ubuntu 12.04 or ubuntu 12.10 Well, I connected my phone in mtp mode and I don't see it on my machine. How can I see…
Yotam
  • 1,468
21
votes
1 answer

Mount Nexus 5x via USB

I'm trying to mount one of the new nexus 5x phones on my laptop via mtp. When I plug it in, nautilus recognizes it as a nexus 5x and an option appears on the left. However, when I click on it, the area where files normally appear is blank even…
21
votes
4 answers

How can I stop 'Unable to mount Android Device' messages from popping up?

Using 15.04 When I connect my phone to my PC, I get a message popup saying that Ubuntu was unable to mount the device - however I'm able to access the storage on my phone to add/remove files etc. How can I stop Ubuntu from displaying this specific…
Boggy B
  • 321
19
votes
6 answers

"libmtp error: Could not get file from device." on attempting to transfer files from Android phone

I am attempting to transfer files from my OnePlus X Android phone to my fairly fresh Ubuntu 16.10 installation. After the phone is mounted (and I can see file, navigate the filesystem etc.), when I attempt to transfer files from the phone to the…
d3pd
  • 3,791
18
votes
11 answers

Access files on Samsung Galaxy S3 external sd card?

I have a Samsung Galaxy s3 running the stock Samsung ROM and I'm trying to transfer files - videos, photos, music and downloads, from my handset to my system via USB running Ubuntu 12.04. I have followed to links suggested How to connect MTP…
nense
  • 181
17
votes
3 answers

Getting files to/from android phone

I am having trouble to access the filesystem on my phone (it's a samsung / google galaxy nexus). It just worked in previous version of Ubuntu, but now it appears empty whether it is mounted with MTP or PTP. I have followed a few guides on building…
wim
  • 13,088
16
votes
2 answers

Are there any plans to improve mtp support on future Ubuntu releases?

Even when I did manage to connect my Google Nexus to Ubuntu, I think it would be great to have mtp support right from the start.
16
votes
3 answers

"Unable to mount Android, Error initialising camera: -60: Could not lock the device" when connecting a Samsung Galaxy S2 via MTP

Whenever I connect my Samsung Galaxy S2 phone (running Android 4.0) via USB using an MTP connection one of two messages always pops up, either: Unable to mount Android: Error initialising camera: -60: Could not lock the device or: Unable to mount…
coversnail
  • 6,406
15
votes
6 answers

MTP file transfer not working with Ubuntu/Kubuntu 20.04

I just have a fresh install of Kubuntu 20.04 on an Acer Swift 3 laptop. I ran into problem with transferring files from my Android phone. Here was the steps I went through: Plug the phone into USB port. The device shows up on Kubuntu (Dolphin and…
meter
  • 153
1
2 3
17 18