mercoledì 31 dicembre 2014

Install Android MTP support on Arch Linux & co.

The most straight forward way to do this (after trying everything unsuccessfully):

pacman -S libmtp
pacman -S jmptfs

Now you should be able to mount the MTP's device like this:

jmtpfs /mountfolder

and access it with any browser (tested with pcmanfm).

To unmount it:

fusermount -u /mountfolder

If this doesn't work out of the box, you should create a new udev rule:

*locate your device in the output and make sure you remember vendorid : productid

nano /usr/lib/udev/rules.d//51-android.rules

and type this rule:

ATTR{idVendor}=="YOURVENDORID", ATTR{idProduct}=="YOURPRODUCTID", SYMLINK+="libmtp",  MODE="660", ENV{ID_MTP_DEVICE}="1"

reload the rules:

udevadm control --reload

and reboot.

Hope this helped, thanks for reading.

Nessun commento:

Posta un commento