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).

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

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