Announcement

Collapse
No announcement yet.

Xiaomi Redmi Note 10 phone doesn't mount

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Xiaomi Redmi Note 10 phone doesn't mount

    I recently moved from Linux Mint 20 to Kubuntu 20.04.1 LTS on an old Lenovo laptop. The most serious issue I have encountered is that I cannot transfer data from my mobile phone (which worked fine in Mint 20 on the same hardware). When I connect the phone I take the option to transfer files, so I should see the phone's internal storage and the SD card in Dolphin file browser. However I get this message at the top of the screen, in red:

    No storage media found. Make sure your device is unlocked and has MTP enabled in its USB connection settings.

    The relevant dmesg content:

    Code:
    [ 4873.445855] usb 3-2: New USB device found, idVendor=0a9d, idProduct=ff40, bcdDevice= 4.14
    [ 4873.445864] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 4873.445867] usb 3-2: Product: Redmi Note 10 Pro
    [ 4873.445869] usb 3-2: Manufacturer: Xiaomi
    [ 4873.445871] usb 3-2: SerialNumber: 954xxxx
    [ 4892.368401] usb 3-2: USB disconnect, device number 5
    [ 4892.970975] usb 3-2: new high-speed USB device number 6 using xhci_hcd
    [ 4893.122583] usb 3-2: New USB device found, idVendor=0a9d, idProduct=ff40, bcdDevice= 4.14
    [ 4893.122597] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 4893.122602] usb 3-2: Product: Redmi Note 10 Pro
    [ 4893.122607] usb 3-2: Manufacturer: Xiaomi
    [ 4893.122611] usb 3-2: SerialNumber: 954cxxxx

    The "USB disconnect, device number 5" is concerning, this is the phone's internal memory (at mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2).
    If I set the phone to just transfer images, I get the same message in Dolphin and the relevant section of dmesg contains:

    Code:
    [ 5467.259095] usb 3-2: USB disconnect, device number 6
    [ 5467.641668] usb 3-2: new high-speed USB device number 7 using xhci_hcd
    [ 5467.794811] usb 3-2: New USB device found, idVendor=2717, idProduct=ff10, bcdDevice= 4.14
    [ 5467.794816] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 5467.794817] usb 3-2: Product: Redmi Note 10 Pro
    [ 5467.794818] usb 3-2: Manufacturer: Xiaomi
    [ 5467.794819] usb 3-2: SerialNumber: 954cxxxx
    The syslog contains the following:
    Code:
    Aug 23 10:40:35 G510 kernel: [ 4873.291987] usb 3-2: new high-speed USB device number 5 using xhci_hcd
    Aug 23 10:40:35 G510 kernel: [ 4873.445855] usb 3-2: New USB device found, idVendor=0a9d, idProduct=ff40, bcdDevice= 4.14
    Aug 23 10:40:35 G510 kernel: [ 4873.445864] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Aug 23 10:40:35 G510 kernel: [ 4873.445867] usb 3-2: Product: Redmi Note 10 Pro
    Aug 23 10:40:35 G510 kernel: [ 4873.445869] usb 3-2: Manufacturer: Xiaomi
    Aug 23 10:40:35 G510 kernel: [ 4873.445871] usb 3-2: SerialNumber: 954cxxxx
    Aug 23 10:40:32 G510 rtkit-daemon[1088]: message repeated 13 times: [ Supervising 7 threads of 4 processes of 1 users.]
    Aug 23 10:40:35 G510 dbus-daemon[1154]: [session uid=1026 pid=1154] Activating service name='org.kde.kmtpd5' requested by ':1.100' (uid=1026 pid=7628 comm="/lib/x86_64-linux-gnu/libexec/kf5/kioslave5 /usr/l" label="unconfined")
    Aug 23 10:40:35 G510 dbus-daemon[1154]: [session uid=1026 pid=1154] Successfully activated service 'org.kde.kmtpd5'
    Aug 23 10:40:35 G510 org.kde.kmtpd5[7631]: kf.kio.kiod: loadModule "kmtpd"
    Aug 23 10:40:54 G510 kernel: [ 4892.368401] usb 3-2: USB disconnect, device number 5
    Aug 23 10:40:54 G510 org.kde.kmtpd5[7631]: ERROR: Could not close session!
    Aug 23 10:40:54 G510 org.kde.kmtpd5[7631]: inep: usb_get_endpoint_status(): No such device
    Aug 23 10:40:54 G510 org.kde.kmtpd5[7631]: outep: usb_get_endpoint_status(): No such device
    Aug 23 10:40:54 G510 kernel: [ 4892.970975] usb 3-2: new high-speed USB device number 6 using xhci_hcd
    Aug 23 10:40:54 G510 kernel: [ 4893.122583] usb 3-2: New USB device found, idVendor=0a9d, idProduct=ff40, bcdDevice= 4.14
    Aug 23 10:40:54 G510 kernel: [ 4893.122597] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Aug 23 10:40:54 G510 kernel: [ 4893.122602] usb 3-2: Product: Redmi Note 10 Pro
    Aug 23 10:40:54 G510 kernel: [ 4893.122607] usb 3-2: Manufacturer: Xiaomi
    Aug 23 10:40:54 G510 kernel: [ 4893.122611] usb 3-2: SerialNumber: 954cxxxx
    Aug 23 10:41:00 G510 systemd[1143]: Started kde-open5.
    Aug 23 10:41:00 G510 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 7652 (grep)
    Aug 23 10:41:00 G510 systemd[1]: Mounting Arbitrary Executable File Formats File System...
    Aug 23 10:41:00 G510 systemd[1143]: Started WSLView.
    Aug 23 10:41:00 G510 systemd[1]: Mounted Arbitrary Executable File Formats File System.
    Aug 23 10:41:17 G510 rtkit-daemon[1088]: Supervising 7 threads of 4 processes of 1 users.
    Aug 23 10:49:18 G510 rtkit-daemon[1088]: message repeated 13 times: [ Supervising 7 threads of 4 processes of 1 users.]
    Aug 23 10:50:02 G510 smartd[825]: Device: /dev/sda [SAT], 5 Currently unreadable (pending) sectors
    Aug 23 10:50:02 G510 smartd[825]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 103 to 97
    Aug 23 10:50:19 G510 rtkit-daemon[1088]: Supervising 7 threads of 4 processes of 1 users.
    Aug 23 10:50:29 G510 kernel: [ 5467.259095] usb 3-2: USB disconnect, device number 6
    Aug 23 10:50:19 G510 rtkit-daemon[1088]: Supervising 7 threads of 4 processes of 1 users.
    Aug 23 10:50:29 G510 org.kde.kmtpd5[7631]: ERROR: Could not close session!
    Aug 23 10:50:29 G510 org.kde.kmtpd5[7631]: inep: usb_get_endpoint_status(): No such device
    Aug 23 10:50:29 G510 org.kde.kmtpd5[7631]: outep: usb_get_endpoint_status(): No such device
    Aug 23 10:50:29 G510 kernel: [ 5467.641668] usb 3-2: new high-speed USB device number 7 using xhci_hcd
    Aug 23 10:50:29 G510 rtkit-daemon[1088]: Supervising 7 threads of 4 processes of 1 users.
    Aug 23 10:50:29 G510 kernel: [ 5467.794811] usb 3-2: New USB device found, idVendor=2717, idProduct=ff10, bcdDevice= 4.14
    Aug 23 10:50:29 G510 kernel: [ 5467.794816] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Aug 23 10:50:29 G510 kernel: [ 5467.794817] usb 3-2: Product: Redmi Note 10 Pro
    Aug 23 10:50:29 G510 kernel: [ 5467.794818] usb 3-2: Manufacturer: Xiaomi
    Aug 23 10:50:29 G510 kernel: [ 5467.794819] usb 3-2: SerialNumber: 954cxxxx
    Aug 23 10:50:29 G510 rtkit-daemon[1088]: Supervising 7 threads of 4 processes of 1 users.
    Aug 23 10:50:29 G510 mtp-probe: checking bus 3, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
    Aug 23 10:50:29 G510 mtp-probe: bus: 3, device: 7 was not an MTP device
    Aug 23 10:50:29 G510 mtp-probe: checking bus 3, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
    Aug 23 10:50:29 G510 mtp-probe: bus: 3, device: 7 was not an MTP device
    Aug 23 10:51:16 G510 systemd[1143]: Started kde-open5.
    Aug 23 10:51:16 G510 systemd[1143]: Started WSLView.
    Aug 23 10:51:20 G510 rtkit-daemon[1088]: Supervising 7 threads of 4 processes of 1 users.
    The problem is clearly that the kernel doesn't recognise the phone as an mtp device. This is a serious problem for me as I transfer files between my laptop and phone a lot.

    Any ideas, anyone?



    #2
    Originally posted by Scooby2 View Post
    Any ideas, anyone?
    Just don't. MTP is a flaky Microsoft protocol, and fails capriciously. (I wasted a lot of energy getting it to work some years ago now, and I should have abandoned it much earlier than I did.)

    Very likely you have Wifi to the phone, and a LAN connection to Kubuntu. KDEConnect is marvellous, and transferring files is only one of the things it makes easy.
    Regards, John Little

    Comment


      #3
      I agree 142% with KDEConnect. MTP can be quite crappy and unstable af.

      It is not necessarily that the kernel isn't recognizing it as an MTP device, it is more likely that the phone is in the wrong USB mode, possibly in a different mode specifically to provide
      drivers for Windows before switching to MTP mode. But of course not running Windows confuses it

      If you just MUST get mtp connection working, there are other things to try, like go-mtpfs or jmtpfs for trying different FUSE implementations over KDE's kio-fuse, or the GUI utility android-file-transfer

      Comment


        #4
        Thank you for the prompt reply, John.

        Unfortunately I do not have Internet in my home (I live in the mountains in the middle of nowhere) so lack of cable connection between my phone and laptop/PC is a serious issue.

        I don't understand why it works perfectly in Ubuntu but not in Kubuntu, as that would indicate that the kernels are not the same.

        Maybe I'll try Xubuntu...

        Comment


          #5
          Originally posted by Scooby2 View Post
          Ubuntu but not in Kubuntu, as that would indicate that the kernels are not the same.
          The kernels between any *buntu are 100% identical, if they are the same release, as each one is the exact same OS, just with different GUI on top
          So it may be a bug in the implementation, specific to your phone?

          I have zero issues with MTP on my LG V60 phone, even on the older 20.04 release, but my V30 fights me, and I usually lose, even on Ubuntu

          Originally posted by Scooby2 View Post
          it works perfectly in Ubuntu
          This is why I suggest trying different mtp-fuse connectors, as this is the likely difference between KDE and Gnome. Some devices are just pickey.

          Comment


            #6
            Originally posted by Scooby2 View Post
            Maybe I'll try Xubuntu...
            That's a bit of using a hammer to swat a gnat.
            Try installing go-mtpfs.

            Comment


              #7
              PS - I tried Android Transfer, it doesn't run, it does absolutely nothing.

              Comment


                #8
                go-mtpfs, which I had forgotten about until this topic arrived, fixes the MTP issues with Dolphin for my V30. I imagine it probably fixes the same issues with it not working properly Ubuntu as well, but i don't have that installed anywhere currently.
                Last edited by claydoh; Aug 23, 2022, 07:12 AM.

                Comment


                  #9
                  Originally posted by Scooby2 View Post
                  PS - I tried Android Transfer, it doesn't run, it does absolutely nothing.
                  I can't say as I like this utility much, but it does work for me, using the latest appimage release from its github page. I do have to use the 'kill users' option before it works, though.

                  Comment


                    #10
                    I apologise for the delay in replying, this being due to circumstances beyond my control.

                    I cannot find the deb file that is needed (go-mtpfs_1.0.0-1_amd64.deb). It is mentioned here but there is no download link.

                    I found a directory of different versions here, but the deb file quoted is not there and the latest version is over 10 years old.

                    Comment


                      #11
                      go-mtpfs is in the standard *buntu repos

                      packages.ubuntu.com is the better, and official source for searching and downloading debs manually.

                      https://packages.ubuntu.com/jammy/go-mtpfs

                      It also tells you the dependencies, though in this case you should have the two listed installed already.

                      Comment

                      Working...
                      X