As of May 31, 2023, we have updated our Code of Conduct.

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

Access mtp devices in KDE plasma terminal

I can easily access my galaxy tab on kde plasma ubuntu 20.04 by restarting Dolphin with the address /Galaxy Tab A (mtp). I wish to access my tab(mtp) with kde terminal also in order to perform rsync ...
pasmon 79's user avatar
0 votes
0 answers
56 views

How to get write access to Android device over USB and mtp?

If I connect my smartphone over USB to my system, I can access it over the built in functionality with mtp: KDE mtp dialog: The device is mounted: but files are read-only. PDF file in Dolphin: Sure,...
dschoni's user avatar
  • 39
0 votes
0 answers
66 views

Files copied from an MTP device by Nautilus have their modification date set to epoch 0

When I copy files from a USB connected MTP device (e.g. an Android phone) to a Ubuntu 22.10 computer, the modification dates of the files are lost: They are set to "Epoch 0". This problem ...
FedKad's user avatar
  • 8,756
1 vote
0 answers
95 views

NIKON Z7 not recognized as MTP device

I am using kubuntu 22.04 on a laptop and am trying to connect to my NIKON Z7 via usb. I plug the device into my usb port, and it is recognized as a camera and I get the option to mount it. However, ...
billo's user avatar
  • 11
2 votes
0 answers
110 views

Ubuntu freezing during copying file to phone

Whenever I try to copy files between my phone and Ubuntu 22.04 Desktop LTS,system freezes after a while (during middle of the copying process). What might be the reason ? Is this a bug ? I can assure ...
Sanskar Bhusal's user avatar
0 votes
1 answer
415 views

How to access the folder(s) of Google's Pixel 6a mobile phone from Ubuntu 22.04?

After plugging Google's Pixel 6a into Ubuntu 22.04 via usb c: $ lsusb Bus 005 Device 002: ID 18d1:4ee1 Google Inc. Nexus/Pixel Device (MTP) A partition called Pixel 6a also appears in the left menu ...
Sun Bear's user avatar
  • 1,998
0 votes
0 answers
315 views

Mounting Android Phone on Ubuntu/Server/Raspberry Pi not working even after installing gmtp and mtp-tools

After mounting an Android Phone as a USB / MTP device successfully on my desktop Ubuntu (22.04.1 LTS), I switched to a Raspberry Pi 4 w/a fresh download of the Ubuntu/Server/Raspberry Pi image (Ubuntu ...
st2000's user avatar
  • 144
0 votes
1 answer
297 views

GoPro 7 does not work via MTP in Ubuntu 22.04.1 LTS

My GoPro 7 does not work via MTP on my Ubuntu 22.04: Oct 19 17:05:50 sesta11 kernel: [ 124.113398] usb 1-4: new high-speed USB device number 18 using xhci_hcd Oct 19 17:05:50 sesta11 kernel: [ 124....
Nicolas's user avatar
  • 817
0 votes
0 answers
299 views

Ubuntu 20 LTS MTP device only showing up right after reboot

I'm using ubuntu 20.04.3 LTS and no MTP devices are showing up in files. I'm trying to access the files on my phone and tablet (both android) but neither shows up when I connect them over USB and ...
hafe's user avatar
  • 1
0 votes
0 answers
289 views

empty folder after connection Motorola G5S Plus to Ubuntu 20.04 LTS

I have connected my motorola G5S Plus phone to Ubuntu 20.04 PC by USB and I have installed mtp-tools . When clicking the phone dock icon, I get an empty folder screen in Nautilus . The phone is ...
Hankbonk's user avatar
1 vote
1 answer
345 views

Cannot copy files to mtp device using Dolphin/KDE

I connected my Samsung smartphone and selected "Copy files" as usb mode on the smartphone. I then open the smartphone using Dolphin and it shows all folders. The Problem is I cannot copy ...
zomega's user avatar
  • 521
0 votes
0 answers
896 views

How to mount MTP like a drive in /dev?

I am trying to recover some files on my android device, but without success. So I would like to try tools like photorec, but they need a physically mounted device. Or rather, for the moment photorec ...
Teo7's user avatar
  • 81
7 votes
5 answers
12k views

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 ...
meter's user avatar
  • 73
1 vote
1 answer
316 views

is Motorola G20 with android 11 supported? (fixed)

This should be a stupid question, as android phones supporting ubuntu states that all android devices are based on linux and should be supported. Also How to fix USB-connection between Android 11 to ...
Roland's user avatar
  • 184
0 votes
1 answer
385 views

Android 11 phone - auto miounted by gvfsd - presence seen by gio - but no files visible with "gio list <mountpoint>"

I can tell the phone is mounted $ gio mount -l ... Volume(0): moto g(8) power Type: GProxyVolume (GProxyVolumeMonitorMTP) Mount(0): moto g(8) power -> mtp://motorola_moto_g_8__power_ABCDEFGHIJ/ ...
Craig  Hicks's user avatar
0 votes
0 answers
180 views

Detect USB Samsung NX3000 camera

My samsung NX3000 camera isnt detected on Ubuntu 20.10. When cable is ON, the camera enters "USB connection" mode, but nothing happens on Ubuntu. it doesnt appear in nautilus (neither main ...
JLuc's user avatar
  • 143
7 votes
1 answer
3k views

What is the Android phone MTP mount point in (K)ubuntu 20.04 if not /run/user/1000/gvfs?

There is the question Where are MTP mounted devices located in the filesystem? and its answers specify (as I expected and seen in other systems) /run/user/$USER/gvfs as the real mount point for my ...
cipricus's user avatar
  • 3,002
1 vote
0 answers
35 views

Applications not seeing Android

I am running 20.04 with KDE desktop. Applications no longer see my phone when connected to the computer. I had Lollypop syncing with my phone now it no longer sees it. As well Calibre cant see it or ...
CAC's user avatar
  • 11
0 votes
0 answers
592 views

MTP error while transfering files

After connecting my android via usb cord when i try to transfer files from my computer to my phone it brings error can't write to this location. This is the screenshot of the error message i get ...
Rasheed's user avatar
  • 33
0 votes
1 answer
220 views

Why is Ubuntu unable to do MTP <-> SMB transfers?

Nautilus can't copy between SMB and MTP device. same for rsync which gives: rsync: [receiver] mkstemp "/run/user/1000/gvfs/smb-share:server=192.168.1.20,share=backup/phone/files/filename.txt"...
user105939's user avatar
  • 1,379
1 vote
0 answers
85 views

Auto copy files to phone upon connecting though mtp

I want to create some setup that will auto copy files (specifically videos) to my phone from a specific workstation directory, upon establishing an mtp connection. How can I achieve the above? I know ...
Jannis Ioannou's user avatar
0 votes
1 answer
881 views

Accessing mtp/ptp device from python script, permission denied

I have my Android mobile connected to my Ubuntu 20.10 machine. I am trying to set the 'last modified' timestamp on all files within the DCIM/Camera directory using os.utime. I receive the python error ...
harmonica141's user avatar
2 votes
1 answer
1k views

Accessing data on a mounted phone takes FOREVER [duplicate]

I have a Smasung A40, and when I connect it via MTP to get some data off of it, it takes AGES. When I connect it first and attempt to open the phone, it takes a solid 30 seconds before any folder ...
Vincent Guttmann's user avatar
1 vote
0 answers
99 views

Errors while copying stuff to android on Lubuntu

The android gets disconnected while moving files to my android device. It doesn't happens while copying files from windows partition, so it rules out the damaged USB port and I've tried many cables so ...
Mihir's user avatar
  • 97
3 votes
0 answers
1k views

Viewing Thumbnails Over USB (MTP)

When managing files on an Android device over USB (MTP), and in particular photos & videos, it's essential to be able to see thumbnails. They appear painlessly & automatically on Windows, but ...
J23's user avatar
  • 261
3 votes
3 answers
16k views

How can I transfer files from Android to Ubuntu (and vice versa)? [closed]

I've a phone (Huawei Mate 20 Lite) which runs Android (version 10) and I would like to transfer some songs, movies, documents, etc to my phone but I don't know the best way to do this. I've done some ...
Delio's user avatar
  • 31
0 votes
0 answers
238 views

Cannot move folders/files from MTP device to my PC. How should I proceed with fixing this?

I've been facing this issue with MTP devices where I'm not able to move a folder from my Android device to my PC. My PC has Kubuntu v20.04 installed. Also, I've noticed that when I'm trying to move ...
Utkarsh Verma's user avatar
1 vote
1 answer
2k views

2019: Where are MTP mounted devices located in the filesystem?

This is an exact duplicate of this question, re-asked because in Ubuntu 19.10 none of the answers there work anymore. The gvfs directory in the terminal is always empty even though things show up in ...
merlin2011's user avatar
1 vote
0 answers
687 views

Bidirectional Syncing with Android using Unison and MTP

I'm currently trying to sync bidirectionally some folders of my PC (Ubuntu 18.04) with my Smartphone (Fairphone 3, Android 9) via MTP using Unison. I thought that this should be pretty easy, but it ...
Übüntü's user avatar
2 votes
0 answers
3k views

How to have access to MTP mounted devices?

I wanted to transfer photos from my smartphone to my computer. The file explorer is Dolphin. I can find the file to be copied on the path : mtp:/HUAWEI_NXT ... but when I try to cd to the folder, I ...
user790082's user avatar
0 votes
0 answers
261 views

Can't access android file from terminal

I can copy files to and from android with nautilus. When I drag a folder in my terminal, it says no such file or directory. $ ls mtp://Xiaomi_SDM636-MTP__SN%3A88E7513B_4d59210/Internal%20shared%...
Mosharraf Hosain's user avatar
7 votes
3 answers
3k views

Rsync to mtp mounted android does not work

I tried to sync ogg-audio-files to my android device like this: rsync -av piano /run/user/1000/gvfs/mtp\:host\=%5Busb%3A002%2C005%5D/SanDisk/Music/ ===> rsync -av piano/ /run/user/1000/gvfs/mtp:...
guettli's user avatar
  • 2,782
4 votes
3 answers
9k views

How do I mount a GoPro Hero 7 via USB in Ubuntu 18.04?

When I connect my GoPro Hero 7 camera via USB I see it in Files as HERO7, but when I click on it, it either mounts and says Folder is empty. Or the USB connected message on the camera appears and ...
Mookey's user avatar
  • 4,737
1 vote
1 answer
911 views

I cannot copy files to my Android MTP files or my pen drives

I plug in my pen-drive and it copies a few files before nemo freezes and shuts down. And the data remains partially copied. I have been looking around for stuff on AskUbuntu. Using this, I figured out ...
Anshuman Kumar's user avatar
0 votes
0 answers
198 views

Ubuntu 18.04 does not recognize the android smartphone by usb cable connection

I use ubuntu 18.04 and android 8.0.0 in a Moto Z2 Play. What I've tried: 1 - I reinstalled the mtp-tools package. 2- Check if the android is configured for USB MPT connection in the developer options ...
Mauricio's user avatar
4 votes
1 answer
3k views

unable to connect to my android phone [duplicate]

I am trying to connect to my phone with android. Seems to have to do with Media Transfer Protocol (MTP). $ mtp-detect libmtp version: 1.1.13 Listing raw device(s) Device 0 (VID=04e8 and PID=6860) ...
john mangual's user avatar
2 votes
0 answers
229 views

Requesting help interpreting perf report output

I'm trying to troubleshoot a long delay between file transfers over usb from android phone mounted using jmtpfs on ubuntu server 18.04. This is an extension of question: "Stat system call takes a ...
Maikol's user avatar
  • 21
2 votes
1 answer
1k views

Ubuntu 18.10 Cosmic Cuttlefish not connecting to my Android phone. Showing ERROR: Unable to access & couldn't find matching udev device. What to do?

Ubuntu 18.10 Cosmic Cuttlefish is not connecting to my Android phone. It shows the error: Unable to access "SDM636 MTP SN:E48333B7" Couldn't find matching udev device. What to do?
Rahul 's user avatar
  • 21
3 votes
0 answers
768 views

Teensy 3.6 MTP connection Ubuntu 18.04

I have been trying for a week to access the built in SD card on a Teensy 3.6 directly through the USB port. I am using Ubuntu 18.04 LTS with libmtp and gvfs installed. I have also tried jmtpfs, go-...
xenington's user avatar
2 votes
2 answers
8k views

USB WIFI Realtek not an MTP device

I bought the LOTEKOO USB Wireless Network Adapter, Powerful 5dBi Antenna 600Mbps Dual Band from amazon. I been trying to get it to work with my Ubuntu: "Linux 4.15.0-34-generic #37~16.04.1-Ubuntu SMP ...
Fabio's user avatar
  • 193
2 votes
1 answer
8k views

Unable to connect to MTP device

I'm unable to connect to my Redmi Note 5 Pro, I'm on MIUI 10. However I'm able to connect to other devices (One Plus 3T). I tried installing gmtp as suggested here, also tried to change the cable. I ...
Nikhil Wagh's user avatar
0 votes
1 answer
1k views

Connecting Samsung Android 8.0 phone to Kubuntu 14.04 via USB

I am trying to connect a brand new Samsung Galaxy S7 phone with Android 8.0 to my Kubuntu 14.04 computer via USB. When I connect the device, it appears normally on the device notifier of my computer....
iavr's user avatar
  • 171
1 vote
0 answers
763 views

How do `mtpfs` and `jmtpfs` differs?

For mounting an Android device, one may use mtpfs or jmtpfs and both seems to do the same. How do both differs?
Hibou57's user avatar
  • 1,175
7 votes
5 answers
8k views

"libmtp error : could not send object info." on attempting to access/transfer files from android phone's memory card

I am using Ubuntu 18.04 LTS. Whenever I try to copy/paste content from/to my Android phone's memory card, I get this error: libmtp Error : Could not send object info. Please help me to solve this.
yag tank's user avatar
4 votes
2 answers
3k views

Copying files from Ubuntu 18.04 to Android device

[I know this is duplicate but all the answers here didn't work for me.] I am a life-long Windows user who has migrated to Ubuntu since 5 weeks. I am trying to copy files to my Android tablet and for ...
Mohamed's user avatar
  • 163
2 votes
2 answers
17k views

How to recover deleted file from mtp device?

Acidentally I deleted two directories of images from the internal stockage memory of my Asus zenfone MAX 3 and I don't have an SD card on it. I found foremost is a tool to recover deleted data. But it'...
Slim's user avatar
  • 245
0 votes
0 answers
275 views

Unable to connect with MTP after upgrade to 18.4.1

I upgraded my laptop yesterday to 18.4.1 and I am now unable to connect my Sony a6300 camera via USB/MTP. The camera tries to connect but immediately goes into battery charge mode instead of allowing ...
user avatar
1 vote
0 answers
254 views

Make Rhythmbox access a subfolder of MTP-drive

I am trying to sync my Rhythmbox library to an Android phone. Since the mass storage mode has been removed from Android, im fiddling around with MTP. Unlike others, it is no problem for me to access ...
Bubaya's user avatar
  • 111
2 votes
0 answers
563 views

VirtualBox - Allow access to phone data is disconnecting my phone from ADB

Guest OS is ubuntu 18.04 I am using android studio on a virtual machine. The adb is disconnecting the connected phone when allowing phone data. The problem is as follow: 1 - Connect android phone ...
Mohammad Tabbara's user avatar
1 vote
2 answers
1k views

Cannot connect with Samsung Galaxy S5

I use Xubuntu 16.04 and when I connect my Samsung Galaxy S5 nothing happens, neither in the phone nor in the PC. The phone charges, yes, but nothing else. It does not appear any message or option ...
user171780's user avatar

1
2 3 4 5 6