Questions tagged as ['mtp']
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.
...
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 ...
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 ' ...
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 popup notification)
- Unlock the phone and accept permission.
- Click on the device and got the following error:
No storage media found. Make sure your dev ...

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 ...
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 ...