Questions tagged as ['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.
Score: 0
Teo7 avatar
How to mount MTP like a drive in /dev?
fr flag

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 makes me recover files only from /dev/sdx, so I need to mount the mtp device like this. For now I have tried this solution here: How to mount Smartphone to recover files but jmtpfs gives me an error.

 ...
Score: 0
Create and run a bash script in an MTP connected smartphone
cn flag

The question explains it all. I connected an android smartphone to pc using USB. Changed directory to internal storage using:

cd /run/user/*/gvfs/*/'Internal Shared Storage'

And now I wanna create a shell script. Did this:

touch test.sh

But it says:

touch: setting times of 'test.sh': Operation not supported

But if I ls again, I see 'test.sh' actually got created. So whatever, I do this to edit 'te ...

Score: 0
pete avatar
I can't connect my phone with jmtpfs
hr flag

I tried connecting my phone via jmtpfs and got an error.

I did

sudo jmtpfs –o allow_other/media/mtp

And got the following error

Device 0 (VID=2d95 and PID=6002) is a Vivo V11.

PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
terminate called after throwing an instance of ' ...
Score: 2
meter avatar
MTP file transfer not working with Ubuntu/Kubuntu 20.04
uz flag

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:

  1. Plug the phone into USB port. The device shows up on Kubuntu (Dolphin and popup notification)
  2. Unlock the phone and accept permission.
  3. Click on the device and got the following error:

No storage media found. Make sure your dev ...

Score: 1
is Motorola G20 with android 11 supported? (fixed)
cn flag

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 Ubuntu 20.04 (to backup phone data - after not properly unmounting)? states that Android 11 is supported.

But my new Motorola G20 with Android 11 has troubles with mounting on Ubuntu 20.04 LTS:

  • The device  ...
Score: 0
Craig  Hicks avatar
Android 11 phone - auto miounted by gvfsd - presence seen by gio - but no files visible with "gio list <mountpoint>"
jp flag

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/
    Type: GProxyShadowMount (GProxyVolumeMonitorMTP)
...
Mount(1): mtp -> mtp://motorola_moto_g_8__power_ABCDEFGHIJ/
  Type: GDaemonMount
...
$ gio info mtp://motorola_moto_g_8__power_ABCDEFGHIJ/
displa ...