jmtpfs
jmtpfs copied to clipboard
ls: Input/output error, getattr
‰ jmtpfs -o auto_unmount -d ~/mnt/mtp
Device 0 (VID=2717 and PID=ff40) is a Xiaomi Mi-2s (id2) (MTP).
Android device detected, assigning default bug flags
FUSE library version: 2.9.9
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.29
flags=0x01fffffb
max_readahead=0x00020000
INIT: 7.19
flags=0x00000011
max_readahead=0x00020000
max_write=0x00020000
max_background=0
congestion_threshold=0
unique: 2, success, outsize: 40
unique: 4, opcode: GETXATTR (22), nodeid: 1, insize: 68, pid: 6050
unique: 4, error: -38 (Function not implemented), outsize: 16
unique: 6, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 6050
getattr /
Try
chmod 777 ~/mnt/mtp
then mount your file
Getting the same error. chmod
didn't help.
For me this was caused by the phone not being set to "File transfer" in Android. To get this to work correctly I had to do:
- Connect phone
- Unlock the screen, set USB preferences to "File transfer"
- Mount jmtpfs