Menu

#1783 New device: Nokia 6.1 (2018)

1.1.15
closed
1
2019-02-02
2018-06-29
No

Hi,

I recently got a hold of a Nokia 6.1 (2018) and the VID/PID are unrecognized by libmtp:

> mtp-detect
libmtp version: 1.1.15

Listing raw device(s)
Device 0 (VID=2e04 and PID=c026) is UNKNOWN in libmtp v1.1.15.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   2e04:c026 @ bus 1, dev 3
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'm running libmtp 1.1.15 on Arch Linux 64 and running plasma as a desktop (which uses kio which uses libmtp for MTP devices). Reading and writing to the internal storage works fine. However - I'm unable to write to the external microSD card. It shows up, but it is only available in read-only mode.

I wasn't sure if this was a limitation of the phone/OS - but I am able to write files to the external microSD in Windows 10 and I'm also able to write to the external microSD with adb push

I'd love to help out in any way getting the Nokia 6.1 (2018) more supported under libmtp - let me know if there is additional information I can provide.

Thanks for all of your hard work!

Discussion

  • Lukas Sabota

    Lukas Sabota - 2018-06-29

    Hi! Just an update - my readonly issues were not due to MTP. Dolphin was using kdeconnect, which runs into a separate non-libMTP related issue. I tested my Nokia 6.1 (2018) with gmtp and it seems to work OK (although very slow). I added the following line:

    diff --git a/src/music-players.h b/src/music-players.h
    index 91c8867..813f1dc 100644
    --- a/src/music-players.h
    +++ b/src/music-players.h
    @@ -1247,6 +1247,7 @@
    
       /* https://sourceforge.net/p/libmtp/bugs/1711/ */
       { "Nokia", 0x2e04, "6", 0xc025, DEVICE_FLAG_NONE },
    +  { "Nokia", 0x2e04, "6.1", 0xc026, DEVICE_FLAGS_ANDROID_BUGS },
    
       /*
        * Qualcomm
    
     
  • Marcus Meissner

    Marcus Meissner - 2018-07-15
    • status: open --> pending
    • assigned_to: Marcus Meissner
     
  • Marcus Meissner

    Marcus Meissner - 2018-07-15

    does it need to android_bugs line? (as nokia does not use android I think)

    added to git currebntly with FLAG_NONE

     
  • Lukas Sabota

    Lukas Sabota - 2018-07-15

    Not sure if it needs it, but recent Nokia phones (including the 6.1) are in fact Android phones

     
  • Lukas Sabota

    Lukas Sabota - 2018-07-30

    Hi,

    The nokia 6.1 will not work without the DEVICE_FLAGS_ANDROID_BUGS present. The recent Nokia devices do run ANDROID and not WindowsPhoneOS. I imagine the older Nokia 6 and newer Nokia 8 require the ANDROID_BUGS flag as well, but I do not have the hardware to test.

     
  • Lukas Sabota

    Lukas Sabota - 2018-08-23

    Just wanted to update and say that I have been running a version of libmtp with the nokia 6.1 patched for ANDROID_BUGS and it working perfectly. I can say for absolute certain that the Nokia 6.1 needs ANDROID_BUGS but I would imagine that all of the recent Android-based Nokia phones will need this flag. Would be great if we can get this in

     
  • Marcus Meissner

    Marcus Meissner - 2019-02-02
    • status: pending --> closed
     
  • Marcus Meissner

    Marcus Meissner - 2019-02-02

    I adjusted the flagging.

     

Anonymous
Anonymous

Add attachments
Cancel