Mtp Connection Problem


Mar 26, 2016
15
0
13
#1
Hi Everybody,

I'm trying to connect my Mi5 with my PC using MTP connection (i'm on Ubuntu). The problem is that I can see the device connected and mounted but i can't copy anything from it. It always crashes. Strange thing I can copy files from pc to the device without any problem, but if i try to copy something from the device to my pc it always says " libtmp: Could not get file from device."

I've also tried with windows, but nothing changed. i cannot copy or transfer any type of file.
While googling around i've found that this might be an Android 6.0 related problem rather that a MIUI one. But i've also tried a possible solution that has been proposed which consists in changing a configuration under developer option and switch it back but it didn't work.
here's the steps i've followed:
  1. Open Settings
  2. Enable Developer options:
    1. Go to About phone (or tablet)
    2. Scroll to the bottom
    3. Tap Build number repeatedly. After several taps you will see it count down and then say "You are now a developer!"
  3. Back to Settings
  4. Tap Developer options, near the bottom
  5. Scroll down to and tap Select USB Configuration
  6. Change it to Charging only
  7. Tap Select USB Configuration again
  8. Change it back to MTP (Media Transfer Protocol)

I don't know how to proceed.
If someone can help me it would be great!
 
Sep 2, 2014
660
168
82
#2
I have seen this same problem with MM on other devices. On Mi4 switch to PTP and back to MTP from developer options helped until reboot, but don't remember what rom was inside. Also try with USB debugging disabled.
 
Mar 26, 2016
15
0
13
#3
I have seen this same problem with MM on other devices. On Mi4 switch to PTP and back to MTP from developer options helped until reboot, but don't remember what rom was inside. Also try with USB debugging disabled.
Also tried with USB debugging disabled /enabled etc etc (with a reboot at every try) :(
it only works through ADB Shell but if you have to move lots of files it's a bit annoying