Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mtp]

The Media Transfer Protocol (MTP) is a protocol that allows media files to be transferred atomically to and from portable devices.

0
votes
0answers
93 views

Why is rsync so slow when working with MTP devices?

In order to perform regular backup of my phone (Samsung A5 2016, or SM-A510F) using rsync, I used the following command: rsync --verbose --progress --omit-dir-times --no-perms --recursive --inplace --...
-2
votes
1answer
2k views

How to mount USB device using jmtpfs on Linux (Debian 9)? [duplicate]

Device Information Settings -> System -> About device SAMSUNG-SM-G900R4, Android version 6.0.1 Computer System Information (Terminal command: uname -a) Linux debian 4.9.0-8-amd64 #1 SMP ...
0
votes
0answers
13 views

Output data directly to MTP/FTP storage?

My phone (only MTP data access) has a MicroSD card inserted into it Now, I wish to save a ddrescue disk image directly onto it while the phone is connected to the PC.That disk is not damaged at all, ...
1
vote
1answer
586 views

Accessing MTP mounted device in terminal

cd: /run/user/$UID/gvfs/mtp://%5Busb%3A001,010%5D/ gives the error : cd: no such file or directory: /run/user/1000/gvfs/mtp://%5Busb%3A001,010%5D/ Even though the device is mounted in the file ...
1
vote
0answers
31 views

How to organize mount points of connecting devices?

When I am connecting my external HDD to my Ubuntu box, it mounts several partitions under /media/<username>/<uuid> When I am connecting my mobile phone, it mounts under /var/run/user/&...
0
votes
0answers
689 views

How to prevent “Unable to open MTP device” popups from opening?

System: Linux Mint 18.3 Cinnamon 64-bit which is based on Ubuntu 16.04. Cell phone: Samsung Galaxy S II (Android 4.1.2 Jelly Bean (API 16)) Problem: There is an unstoppable amount of popups on one ...
1
vote
1answer
599 views

Fedora 28 USB phone mount troubles

Since I upgraded Fedora to version 28 I have problems seeing from the terminal at which point my phone is mounted.. I can see it through the GUI only, and when I take a look its path from the file ...
2
votes
1answer
1k views

How to mount Android phone with jmtpfs on CentOS 6?

I'm trying to mount and access files in my Asus Zenfone 2 Android phone connected via USB cable to a CentOS 6 (32 bit architecture) machine. As per [these] instructions, I created a mount point in /...
2
votes
1answer
710 views

Kali Linux 2018 crash when connecting an USB device

After upgrading to kali 2018(kernel 4.14), Something went wrong. Whenever I connect my android device to any of the USB port, it logs out and system returns to logging on screen, shutting down all the ...
0
votes
1answer
2k views

How to access an Android 7.0 phone via MTP from terminal?

I can't figure out, how to access an Android 7.0 phone's storage via MTP from terminal? Phone: Honor 8 System: Linux Mint 18.3 Cinnamon 64-bit I can access it via Nemo file manager as: mtp://[usb:...
2
votes
0answers
293 views

Why is Nemo displaying each of my MTP devices twice?

There isn't much to add outside of the image posted. I have a Walkman and an Android device plugged into my computer, and each of them show in the Devices list on the sidebar twice. One of each of the ...
5
votes
1answer
2k views

How to make Android MTP in CentOS7 available for all users?

I'm using Moto G4 play with Marshmallow; and CentOS 7. I'm able to mount the device and see the content as root, by using jmtpfs. First time I used sudo then I switched as root and then mounted, works ...
8
votes
1answer
5k views

How to get the Samsung Galaxy S5 to work with MTP on Debian 9?

So I'm trying to share files between the Samsung Galaxy S5 with Android and my Debian 9.1 with KDE machine. The problem is that I keep getting: The process for the mtp protocol died unexpectedly. ...
1
vote
1answer
78 views

Path name in shell script contains extra characters when script is run [closed]

I am working on a script that partially automates backing up contents of an MTP device. Before continuing, I am trying to verify that the relevant folders can be accessed, by adding a line that opens ...
0
votes
2answers
908 views

How to disable mtp connection from android devices

I tried all possibilities of blocking USB storage and it also worked for pen drives, external HDD but not the storage of mobile. Can I block all of the mobile storage access? OS is Linux mint.
0
votes
0answers
332 views

How to mount mtp devices to the same location?

Android phone mounts to different locations each time it is plugged in. It is annoying to have to change the location each time I want to sync docs between computer and phone. Is it possible to ...
0
votes
1answer
2k views

Android Studio: Running application in emulator not working

Yesterday I downloaded Android Studio for my Debian Testing system. I wanted to run a HelloWorld application (just a blank activity) but weren't able to run it. With adb I can install it without ...
3
votes
1answer
1k views

mount moto g on debian

Apparently Motorola's phones have MTP disabled (?) and can't find a way to transfer the files to my computer. Have read a bunch of links and none of them work. Have created the file /etc/udev/51-...
0
votes
1answer
294 views

make error on compiling simple-mtpfs

Attempting install of simple-mtpfs on a ubuntu machine. I believe I've installed all necessary dependencies as listed at the end of this post. However I am getting while running sudo make as make:...
0
votes
1answer
565 views

Unmount MTP device via command line

My MTP device auto mounts on the desktop every time I boot or re connect the camera via usb. The problem is my code to copy files does not work unless the MTP device is first unmounted from the ...
2
votes
1answer
953 views

Connect to Samsung Gear 360 as MTP device via command line?

Using the following solution Copying file from MTP device using libmtp (over USB) to access the videos on my Samsung gear 360 from a Linux(Ubuntu) desktop. I'm using the following MTP packages and ...
1
vote
1answer
366 views

linux mtp permit only read file

In Fedora 24 with KDE and Dolphin i see my old phone Samsung U700 but I can not add new file Unable to create directory /SGH-U700/Card/filesystem/New_Folder.
1
vote
2answers
4k views

MTP File Transfer not working on Linux Cinnamon 18

Have two Android phones Motorola and HTC both not working on Cinnamon 18. They were both working on Cinnamon 17.2. I have installed MTP tools. The commands mtp-detect and lsusb both return Vids and ...
1
vote
1answer
7k views

Copying file from MTP device using libmtp (over USB)

Have a current project where I'm trying to figure out a way to copy files(a video) from a MTP device over USB. From the wiki I discover there is an open-source implementation called libmtp. Has ...
2
votes
1answer
5k views

Mount Samsung Galaxy S7 using simple-mtpfs

I would like to mount my Samsung Galaxy S7 to an folder using simple-mtpfs and I cannot do it as I used to (on previous Fedora and older Galaxy S4). If I simply plug S7 to my computer, I can browse ...
0
votes
1answer
2k views

How to get mtp tools to mount my phone?

I've got Debian 8.5 running on top of Chrome OS, I plug in my Galaxy On5 and ChromeOS recognizes it instantly, Debian doesn't. I have mtp tools installed, and when I run mtp-detect I get the following ...
2
votes
1answer
80 views

Is the mount point of my phone same every time I plug it in on a Linux system?

I wrote a python script to synchronize two folders given as input. I use it to synchronize folders between my phone and a laptop, but, thanks to buggy os.path.abspath, it works correctly only when I ...
6
votes
1answer
2k views

What's the difference between mtpfs and jmtpfs packages in Debian?

I recently wanted to connect some LG Android smartphone to my Debian, but the device wasn't detected. I installed the jmtpfs package, and that solved the problem. But in Debian, you have two packages ...
3
votes
0answers
136 views

go-mptfs and mounting smartphone devices under /dev/sdx

I have a Samsung Galaxy J5 which has micro-usb (as most modern Samsung smartphones go) which gets mounted under /run/user/1000/gvfs/mtp:host=someaddress . While I'm able to use it like that but it ...
2
votes
0answers
595 views

Access MTP (SD Card & Internal Card) device from command line in Fedora 23

I need to access a MTP device (Samsung Phone connected trough USB) from the command line. I have listed the connected devices using lsusb and this is the output: # lsusb Bus 002 Device 003: ID 413c:...
2
votes
1answer
217 views

How can I delete a former MTP directory, which now gives me input/output error whenever I try?

I have ~/srv/mtp, which I do not remember how I created. It was back when I was trying to set up a MTP mountpoint using various tools for that. Currently I can't do anything to the directory. ○ file ...
1
vote
1answer
1k views

How to clone an MTPFS partition of a mounted Android phone?

Using mtpfs I've mounted a Samsung Galaxy S5 and I need to make an image of its root partition. I want to use dd or the like, but nothing seems to be able to detect/reference an MTP and/or FUSE ...
2
votes
0answers
2k views

usbfs: process 25093 (pool) did not claim interface 0 before use

I recently got a new phone, a Moto G 2nd Gen. I am running Debian Jessie on kernel 3.16.0-4-amd64 libmtp 1.1.8-1 libusb-1.0-0 2:0.1.12-1 gvfs 1.22.2-1 When I plug it in, it appears to be fine. [...
2
votes
1answer
414 views

What does mtp://[usb:002,003]/Storage/ mean? [duplicate]

Recently that I connect my Windows phone mobile to my Xubuntu laptop I see mtp://[usb:002,003]/Storage/ alongside the other drives.It shows my phone media files! That actually I can not find it in ...
12
votes
4answers
15k views

Unable to perform file operations on a MTP device mounted via GVFS: “Operation not supported”

I am running Linux Mint 17.1 64-bit (based on Ubuntu 14.04). Ever since upgrading from Linux Mint 14/Ubuntu 12.10, the Python script I use to sync music to my Walkman has stopped working. Previously, ...
12
votes
2answers
62k views

Mount MTP Android Device in Linux Mint 17.1

I to mount my ASUS Android device in Linux Mint 17.1 (MTP). My pc didn't see my device, so I tried following the answer in this page: http://forum.xda-developers.com/showthread.php?t=1077377 But when ...
5
votes
1answer
9k views

Mount my mtp in my android phone on a directory?

I have installed mtp-tools on my debian7.8. mtp-files can list all my files on android phone. How can I mount all my files on android phone on the directory /tmp/myphone? root@debian:/home/debian# ...
5
votes
0answers
2k views

How to make MTP work

I'm experiencing many problems trying to properly connect and access the memory of my phone from my Linux system. I'm running openSUSE 13.1, with KDE, and my phone is a Samsung Galaxy S3 Neo equipped ...
2
votes
0answers
728 views

Mount android device 4.0.4 on linux

I am trying to mount a Samsung Galaxy S2 as a mass storage device onto an uptodate Arch Linux setup. On the Android phone I have done the following Settings -> More -> USB Utilities -> USB mass ...
2
votes
0answers
757 views

mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4 does not exist error

Trying to connect to a Samsung Galaxy phone in MTP mode, Konquerer or Dolphin in KDE 4.14.3 throws the following error: mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4 ...
7
votes
2answers
5k views

How to force a device to be mounted as Mass Media Storage (MMS) rather than Media Transfer Protocol (MTP)?

I use various Sony Walkmans to record a multitude of short audionotes on the go (while running, swimming, or simply walking or taking the bus). I used to mount each device as a Mass Media Storage (...
3
votes
2answers
3k views

Input/output error using jmtpfs not saving file when copying to device

I'm trying to mount an Android device on Debian using: jmtpfs /media/mobile But when I try to copy a file from my system to the device I get an input/output error saying that the file can't be ...
1
vote
0answers
481 views

How to back-up files from nautilus retaining the time stamp?

I connected my android tablet (Asus fonepad7 me372cg) to laptop using usb cable. It showed up in nautilus in Ubuntu 13.04. I've to back-up the files in the tablet (specially the videos & photos) ...
7
votes
1answer
16k views

Mounting an MTP enabled device on Ubuntu 12.04.3 LTS 32-bit

My aim is to perform file operations on my Samsung Galaxy Note 10.1 (older edition) using Ubuntu 12.04.3 LTS 32-bit. This does not work out of the box as I plugged my device and saw myself. In order ...
0
votes
1answer
592 views

How to get MTPFS working on Scientific Linux 6.4?

I tried to get MTPFS working on a Scientific Linux 6.4 desktop because of a phone [root@notebook mtpfs-read-only]# sh autogen.sh checking for a BSD-compatible install... /usr/bin/install -c checking ...
7
votes
1answer
5k views

Mount MTP device in FreeBSD

I have an Android tablet which uses MTP instead of USB Mass Storage for transferring files. I'd like to mount it in a FreeBSD machine. I tried the method described here. I installed mtpfs by going ...
1
vote
1answer
2k views

mtp-detect doesn't detect my Sony Ericsson phone

I used to have a Samsung Galaxy Fit that worked out of the box with Banshee. I recently bought a new Sony Ericsson Xperia Mini, I tried to sync it using Banshee, but it doesn't show up. It does ...