Mount an Android Honeycomb device under Linux

So, Android Honeycomb only uses the MTP protocol for the USB connection. Linux has decent support with mtpfs, and the instructions are quite easy to follow (this article is based on that one).

First of all, after installing mtpfs, create a new directory (I’m using transformer since I own an Asus Transformer, feel free to use whatever you want):

$ sudo mkdir /media/transformer
$ sudo chmod 755 /media/transformer
$ sudo chown your_username:root /media/transformer

Then edit /etc/fstab

$ sudo vim /etc/fstab

And add:

mtpfs  /media/transformer  fuse  noauto,users,umask=033,allow_other  0 0

Save, exit, then mount

$ sudo mount /media/transformer 

Important: umount the device before unplugging, or you risk corrupting the filesystem.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

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