Go-mtpfs is a simple FUSE-based filesystem written in Go language for mounting Android devices as a MTP device.
Newer Galaxy Devices (S3, S4, Note2, etc.) use their own MTP-stack and do not work reliably, although this should be fixed in newer versions. See Bug#29 for more details.
Unmask two packages in /etc/portage/package.keywords:
dev-libs/go-fuse ** sys-fs/go-mtpfs **
emerge --ask sys-fs/go-mtpfs
Appropriate users need to be in the
gpasswd -a <USER_NAME> plugdev
go-mtpfs ~/AndroidDevice &
Note: If go-mtpfs is not ran in the background (with
& at the end), another console will be needed to browse the device and unmount the device (when finished).
fusermount -u ~/AndroidDevice
When the device is unmount, go-mtpfs will quit.