Issue
I used to be able to mount my Acer smartphone with jmtpfs when I'm connecting it to my PC through the USB cable. Now, it says that the device is UNKNOWN and when I'm trying to list files from the mounted folder, it displays Input/output error.
> jmtpfs -o allow_other /tmp/kkk/ Device 0 (VID=0502 and PID=3560) is UNKNOWN in libmtp v1.1.13. Please report this VID/PID and the device model to the libmtp development team Android device detected, assigning default bug flags
Solution
- From your Android, go to
Settings -> Developer Options
and then uncheckUSB Debugging
. - Unplug the USB cable for a few seconds and then plug it back.
Running jmtpfs -l
should list your phone name.
>jmtpfs -l Device 0 (VID=0502 and PID=355f) is a Acer Liquid Z130 MT65xx Android Phone. Available devices (busLocation, devNum, productId, vendorId, product, vendor): 1, 10, 0x355f, 0x0502, Liquid Z130 MT65xx Android Phone, Acer
Mounting it should show the followings.
>jmtpfs -o allow_other /tmp/kkk/ Device 0 (VID=0502 and PID=355f) is a Acer Liquid Z130 MT65xx Android Phone. Android device detected, assigning default bug flags
Now, you can access your phone's data.