mtpfs
mtpfs copied to clipboard
mtpfs not working with Honor 5x Android 6.0, but with go-mtpfs
When trying to mount with mtpfs
, I get:
time sudo mtpfs -o allow_other mtp
Listing raw device(s)
Device 0 (VID=12d1 and PID=1082) is a Huawei Ascend P8 .
Found 1 device(s):
Huawei: Ascend P8 (12d1:1082) @ bus 3, dev 63
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
real 0m13.330s
user 0m0.144s
sys 0m0.164s
ls mtp
ls: cannot access 'mtp': Transport endpoint is not connected
But when I try with go-mtpfs
, it works without problems:
sudo fusermount -u mtp
go-mtpfs mtp &
2016/08/28 15:15:53 FUSE mounted
ls mtp
Internal storage SD card
mtp-getfile
also does work:
time mtp-getfile 3158 IMG_20160826_093251.jpg
libmtp version: 1.1.12
Device 0 (VID=12d1 and PID=1082) is a Huawei Ascend P8 .
Android device detected, assigning default bug flags
Getting file/track 3158 to local file IMG_20160826_093251.jpg
Progress: 3246016 of 3246016 (100%)
real 0m11.193s
user 0m0.300s
sys 0m0.364s