Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (45 sloc) 1.2 KB
title author layout tags
Native MTP interconnect on Mac/Linux
Tamas Nagy

Connecting your phone to your computer via MTP isn't as easy as it should be: the Android File Transfer app is very lackluster and I wanted to have native file manager integration so that my phone would show up in either Nautilus on Debian or Finder on Mac. Here's how I got it working.

Linux setup

On Debian (or Debian derivatives like Ubuntu):

sudo apt-get install libfuse-dev android-tools-adb

Mac setup

Install Homebrew ( and OSXFuse ( then run:

brew update
brew install android-platform-tools

Clone, build, and setup adbfs

We'll be using adbfs to mount our Android phone:

git clone git://
cd adbfs-rootless    

Create a mount point

mkdir ~/phone

Mount device as follows:

./adbfs ~/phone

And your phone should be mounted and visible the same way as any DAS device (e.g. External drives).


Try reseting and restarting adb and the mount point

killall -9 adb; sudo umount -f ~/phone