Auto access Android files via MTP filesystem

Finally figured out Android file access via MTP using autofs and jmptfs

# /etc/autofs/auto.misc

android -fstype=fuse,allow_other,umask=000 :jmtpfs

To test:

$ sudo systemctl stop autofs.service
$ sudo automount -vf
Starting automounter version 5.1.1, master map auto.master
using kernel protocol version 5.02
lookup(file): failed to read included master map auto.master
mounted indirect on /misc with timeout 300, freq 75 seconds
ghosting enabled

After listing

$ ls /misc/android
'Internal storage'

the following output should appear

attempting to mount entry /misc/android
>> Device 0 (VID=18d1 and PID=4e41) is a Google Inc (for Asus) Nexus 7 (MTP).
mounted /misc/android
Advertisements

About Michal Zuber

Biker and rollerblader. Owner and developer at http://nevilleweb.sk/ Co-founded http://neville.sk/ Blog at https://michalzuber.wordpress.com/
This entry was posted in android, linux, Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s