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.
255
questions
0
votes
1
answer
262
views
Cannot copy files to an Android phone via MTP due to "operation not supported"
I'm trying to copy some music files from a file server to the internal memory card of my Samsung phone.
When I plug the phone in I can access the memory card via MTP in Nautilus just fine. However, ...
1
vote
1
answer
2k
views
How to fix "LIBMTP PANIC: Unable to find interface & endpoints of device , Unable to open raw device 0"?
This is a question which seems to have been asked many times - mostly between 5 and ten years ago. I still have had this intermittently (as do others I see with a variety of phones, computers and ...
0
votes
0
answers
109
views
How to go to the directory of a mobile phone connected to Ubuntu via USB in the terminal?
It is connected by mtp it says in file explorer. Displays an address mtp://SAMSUNG_SAMSUNG_Android_4d0020574be13109/
2
votes
1
answer
205
views
Ten years later: How do I NOW mount my Android phone?
Please note: I'm only asking because I'm lacking TEN "reputation points" in THIS Stack-Exchange venue as otherwise I'd have posted a modern answer here. (As an aside, PERHAPS the algorithm ...
0
votes
0
answers
801
views
I can't transfer files from PC (Ubuntu 22.04) to phone via cable
Please help
I tried connecting my android to my PC. It shows just fine. But when copying files from my PC to phone, it just doesn't work. Copying files from phone to PC works.
I use Ubuntu 22.04 PC ...
2
votes
0
answers
619
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 ...
1
vote
0
answers
211
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,...
1
vote
0
answers
152
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, ...
2
votes
2
answers
717
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 ...
1
vote
1
answer
1k
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 ...
0
votes
0
answers
648
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 ...
0
votes
1
answer
638
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....
0
votes
0
answers
434
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 ...
0
votes
0
answers
644
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 ...
1
vote
1
answer
611
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 ...
0
votes
0
answers
1k
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 ...
11
votes
6
answers
19k
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 ...
1
vote
1
answer
410
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 ...
0
votes
1
answer
460
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/
...
0
votes
0
answers
205
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 ...
8
votes
1
answer
4k
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 ...
1
vote
0
answers
37
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 ...
0
votes
0
answers
928
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
...
0
votes
1
answer
256
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"...
1
vote
0
answers
104
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 ...
0
votes
1
answer
1k
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 ...
3
votes
1
answer
2k
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 ...
1
vote
0
answers
110
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 ...
4
votes
0
answers
2k
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 ...
4
votes
3
answers
23k
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 ...
0
votes
0
answers
280
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 ...
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 ...
1
vote
0
answers
821
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 ...
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 ...
0
votes
0
answers
334
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%...
8
votes
4
answers
4k
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:...
4
votes
3
answers
10k
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 ...
1
vote
1
answer
972
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 ...
0
votes
0
answers
231
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 ...
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) ...
2
votes
0
answers
256
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 ...
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?
3
votes
0
answers
798
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-...
2
votes
2
answers
9k
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 ...
2
votes
1
answer
9k
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 ...
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....
1
vote
0
answers
860
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?
7
votes
5
answers
10k
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.
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 ...
2
votes
2
answers
18k
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'...