Discussion:
[gentoo-user] Mount Android phone on Gentoo - Transport endpoint is not connected
t***@sys-concept.com
2018-10-05 18:30:16 UTC
Permalink
I'm trying to access my android phone via Linux.
Installed: emerge -avq sys-fs/mtpfs

cat /etc/fuse.conf
...
user_allow_other

$ mkdir ~/AndroidDevice

mtpfs ~/AndroidDevice
Device 0 (VID=22b8 and PID=2e76) is a Motorola Moto G (ID1).
Android device detected, assigning default bug flags

ls -al AndroidDevice
ls: cannot access 'AndroidDevice': Transport endpoint is not connected
--
Thelma
Pouru Lasse
2018-10-05 19:28:08 UTC
Permalink
Post by t***@sys-concept.com
I'm trying to access my android phone via Linux.
Installed: emerge -avq sys-fs/mtpfs
cat /etc/fuse.conf
...
user_allow_other
$ mkdir ~/AndroidDevice
mtpfs ~/AndroidDevice
Device 0 (VID=22b8 and PID=2e76) is a Motorola Moto G (ID1).
Android device detected, assigning default bug flags
ls -al AndroidDevice
ls: cannot access 'AndroidDevice': Transport endpoint is not connected
I have the same phone and I use adb (from dev-util/android-tools) for
file transfer, so there's at least that option if you can't get the
mounting to work.

- Lasse
Walter Dnes
2018-10-06 00:51:33 UTC
Permalink
Post by t***@sys-concept.com
I'm trying to access my android phone via Linux.
Installed: emerge -avq sys-fs/mtpfs
Is this possibly a permissions problem. I use sys-fs/simple-mtpfs, on
directory "tablet", and I mount and unmount with sudo...

sudo simple-mtpfs -o allow_other /home/waltdnes/tablet

sudo fusermount -u /home/waltdnes/tablet

A quick-n-dirty check is to try it as root and see if your system
works.
--
Walter Dnes <***@waltdnes.org>
I don't run "desktop environments"; I run useful applications
Heiko Baums
2018-10-06 01:51:21 UTC
Permalink
Am Fri, 5 Oct 2018 12:30:16 -0600
Post by t***@sys-concept.com
I'm trying to access my android phone via Linux.
Installed: emerge -avq sys-fs/mtpfs
I haven't heard about mtpfs yet, but maybe you could try ssh and/or
sshfs.

Just install the app SSHelper on your phone and sshfs on your Gentoo
system. SSHelper is basically an ssh server which is pretty well
documented on its website and it's OpenSource.

https://arachnoid.com/android/SSHelper/
https://play.google.com/store/apps/details?id=com.arachnoid.sshelper&hl=en

Heiko
Neil Bothwick
2018-10-06 09:47:41 UTC
Permalink
Post by Heiko Baums
Post by t***@sys-concept.com
I'm trying to access my android phone via Linux.
Installed: emerge -avq sys-fs/mtpfs
I haven't heard about mtpfs yet, but maybe you could try ssh and/or
sshfs.
Just install the app SSHelper on your phone and sshfs on your Gentoo
system. SSHelper is basically an ssh server which is pretty well
documented on its website and it's OpenSource.
I've found mtpfs unreliable in the past and now use either SSHelper to
access the phone from the computer or ES File Manager on the phone to
access the computer over SFTP or CIFS.
--
Neil Bothwick

Hard work has a future payoff. Laziness pays off now.
Poncho
2018-10-06 10:14:55 UTC
Permalink
Post by t***@sys-concept.com
I'm trying to access my android phone via Linux.
Installed: emerge -avq sys-fs/mtpfs
cat /etc/fuse.conf
...
user_allow_other
$ mkdir ~/AndroidDevice
mtpfs ~/AndroidDevice
Device 0 (VID=22b8 and PID=2e76) is a Motorola Moto G (ID1).
Android device detected, assigning default bug flags
ls -al AndroidDevice
ls: cannot access 'AndroidDevice': Transport endpoint is not connected
I can access my phone with gnome-base/gvfs[mtp] without issues.
Depending on your desktop environment, you might have gvfs installed
already.
Mick
2018-10-06 10:49:50 UTC
Permalink
Post by Poncho
Post by t***@sys-concept.com
I'm trying to access my android phone via Linux.
Installed: emerge -avq sys-fs/mtpfs
cat /etc/fuse.conf
...
user_allow_other
$ mkdir ~/AndroidDevice
mtpfs ~/AndroidDevice
Device 0 (VID=22b8 and PID=2e76) is a Motorola Moto G (ID1).
Android device detected, assigning default bug flags
ls -al AndroidDevice
ls: cannot access 'AndroidDevice': Transport endpoint is not connected
I can access my phone with gnome-base/gvfs[mtp] without issues.
Depending on your desktop environment, you might have gvfs installed
already.
This may be a bit off-topic, but I noticed a recent smart TV Android firmware
update "removed the media sharing functionality (MTP)". Does this mean MTP is
being deprecated? What will replace it?
--
Regards,
Mick
Loading...