Thanks. I also got this error on a new computer, running NixOs 20.03, and on a completely different phone, a Samsung A 40:
[nix-shell:~]$ mtp-detect libmtp version: 1.1.16 Listing raw device(s) Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). Found 1 device(s): Samsung: Galaxy models (MTP) (04e8:6860) @ bus 1, dev 124 Attempting to connect device(s) error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device Unable to open raw device 0 OK. I also tried "android-file-transfer", and when I kill the process that is using the device, it does work. Can I help somehow? Cheers, Léo