I tried to connect my Android device Redmi Note 9 pro via USB cable to my laptop (hp laptop , 4gb ram ,Dual-Core Intel® Core™ i3-5005U CPU @ 2.00GHz ) which has elementary OS Odin as host OS , but it is showing me this error (Attached Image) enter image description here

I thought, it might be issue with some packages, so I searched through internet, and most of the website I found the solution is to install libmtp, mtpfs. I installed libmtp and when i tried to install mtpfs , it is showing me unable to locate package mtpfs.

Also when I tried to connect my other two android mobile, it simply mounted normally without any problem (I can access files and folder of the android device).

Also my Android mobile (Redmi Node 9 Pro) is accessible (normally mounting) in Ubuntu 20.04 LTS along with other two devices.

I am attaching this image which might help you to figure out the problem. enter image description here

I don't know what is the problem, please help me out guys

  • Do you see anything in /var/log/syslog at the time you connect the phone that might explain the issue? 🤔
    – matigo
    Oct 13 at 12:29
  • did you unlock the screenlock? Also enable mtp in your phone?
    – HeArch3
    Oct 13 at 22:30
  • yes, I opened the syslog file it is mostly showing me the details of my mobile (serial number , ids , manufactures etc) but this was the line which was failed "Oct 14 08:48:36 HomeHP io.elementary.f[7636]: files_file_set_expanded: assertion 'self->is_directory' failed"
    – Noob_coder
    Oct 14 at 3:24
  • Of course, My screen is unlocked and I always select File transfer/Android Auto when prompted after connecting usb.
    – Noob_coder
    Oct 14 at 3:32

I'm using Android File Transfer (https://github.com/whoozle/android-file-transfer-linux). I didn't have to in Hera but now I have the same issues as you have with, coincidently, my Xiaomi Redmi Note 9 Pro.

  • Thanks I can now access the files of my Android device using Android file transfer. Though my problem was not solved, but this is also good for transfering files from android device.
    – Noob_coder
    Oct 14 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.