MTPfs

MTPfs is a FUSE filesystem that supports reading and writing from any MTP device (as supported by libmtp)

See source at https://github.com/cjd/mtpfs

Current Version: 1.1
Download: mtpfs-1.1.tar.gz

Currently implemented:

  • Support multiple storage areas
  • Browsing Folders
  • Reading files
  • Writing files
  • Browsing playlists
  • Writing playlists
  • Writing music tracks with metadata

Details

When files are written their file extension is checked to determine the filetype. This means that images, videos and ics files (for instance) will be recognised by the player (rather than setting filetype to ‘unknown’).
There is also a virtual directory called “/Playlists” which contains your playlists as m3u files. If you write an m3u file to that directory a playlist will be created as well. m3u files are just a text file containing a list of all tracks you want in the playlist one per line)

You can disable libmad (used for mp3 metadata) by adding –disable-mad to the configure command

MTPfs posts

MTPFS 1.1 – Now supporting multiple storage areas

I am now the proud owner of an Asus Transformer tablet (not the prime) and so wanted to update mtpfs to work better with it.

The biggest change was to add support for multiple storage areas.  Now when you mount a MTP device which has internal storage and a MicroSD card (or similar) it shows up as two separate directories which you can access.

The download is available from mtpfs page

43 thoughts on “MTPfs”

  1. I’d like to ask you a question – I have a SE C902 mobile and when i mount it with mtpfs then both the phone memory and phone card memory folders are in the same place. Is there any way i can separate them? Thanks in advance.

    Reply
    • Possibly, but it would take a bit of re-working in mtpfs (and I don’t have a mtp-based device anymore to even test with – let alone a dual-memory device)

      [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

      Reply
  2. Pingback: Anonymous
  3. Device 0 (VID=2a70 and PID=f003) is UNKNOWN in libmtp v1.1.10.
    Please report this VID/PID and the device model to the libmtp development team
    Found 1 device(s):
    2a70:f003 @ bus 3, dev 27

    The device is a OnePlus 6 phone:
    Model ONEPLUS A6003
    Android 8.1.0

    Reply

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.