27th July 2015

Accessing Android phone via USB cable

Since Android 3 it is no longer possible to access the phone via USB mount. The reason being that Android puts everything into a single partition. As this single partition is always mounted by Android it is not easy to have two users (Android system and PC user) to write on this single partition. Therefore one needs a separate way to access the whole or parts of the filesystem. One solution is ssh, see ssh and rsync for Android, or MTPFS.

apt-get install mtpfs
mtpfs /mnt/sd              # mount
...                        # use it
fusermount -u /mnt/sd      # umount

See also: MTP - what is it, why use it, and how to set it up, or Geräte mit Android 3.0 oder 4.0 via MTP in Ubuntu Linux einbinden (in German).




Categories: Android
Author: Elmar Klausmeier