USB Connect now broken Phone mount problems

Forum Forums Official Releases antiX-21/22 “Grup Yorum” USB Connect now broken Phone mount problems

  • This topic has 2 replies, 2 voices, and was last updated Dec 2-3:37 pm by ModdIt.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #72109
    Member
    ModdIt

      Edit: added to title to ease search

      Can no longer connect my phone to either antiX 21 runit or antiX 21 sysv.
      Recognised as always by the system but the previously often used and needed
      included in sysv 64 bit 21 functionality is now broken.

      Digging further:
      Below script from PPC allows phone access

      rm ~/.jmtpfs-output2.txt
      dir=”$HOME/android-device”
      mkdir -p “$dir”
      jmtpfs -o auto_unmount “$dir” |& tee -a ~/.jmtpfs-output2.txt # if output includes “bad mount point” then user has to press “Allow” on device’s screen and try to mount it again
      xdg-open “$dir”

      ##check if user has to “allow”: check if output includes has the expected content:
      mount_check=$(cat ~/.jmtpfs-output2.txt | grep -c “bad mount point”)
      echo $mount_check
      if [ “$mount_check” -eq “1” ]; then
      read -n 1 -s -r -p ” Select Allow on you android device then press any key” && fusermount -u “$dir” && jmtpfs “$dir” && xdg-open “$dir”
      fi

      • This topic was modified 1 year, 5 months ago by ModdIt.
      • This topic was modified 1 year, 5 months ago by ModdIt.
      • This topic was modified 1 year, 4 months ago by ModdIt.
      #72114
      Member
      PPC
        Helpful
        Up
        0
        ::

        Probably late tomorrow I’ll take a look at what’s wrong with the Android usb connect script on my antiX 21 VM…- it’s a simple script, that serves as a front end for fusermount.
        Please try a “sudo apt install fusermount” and see if it works. If it’s already installed, purge fusermount and reinstall, and try the script again…
        As long as fusermount works under antiX 21, I can adapt the script… If not, I’ll have to try to find a way around it…

        P.

        #72118
        Member
        ModdIt
          Helpful
          Up
          0
          ::

          thanks PPC,
          I remembered an older script you provided, that is working,
          you were super fast with an answer. Rocket speed here 🙂

          EDIT:
          ap says: Package not found fusermount

          No hurry workaround is fine, for xiaomi redmi too.

          • This reply was modified 1 year, 4 months ago by ModdIt.
        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.