Avoid Android File Transfer starting automatically in Mac OS X after Android device plugin to USB port

“Android File Transfer” application starts automatically in Mac OS X when you plug your Android device to the USB port. Even if you only want to charge it.

Adroid File Transfer

This are the steps you have to take to avoid this (annoying) behaviour:

  1. Open the “Activity Monitor” and kill the “Android File Transfer Agent” process.
  2. Open “System Preferences” > “Accounts”. Go to the “Login Items” tab of your user. Remove the “Android File Transfer Agent” (I didn’t have this item anyway).
  3. Find your “Android File Transfer.app” file (usually in /Applications):

    • Right click (or ctrl+click) on it and select “Show package contents”.
    • Go to Contents/Resources.
    • Rename “Android File Transfer Agent.app” to e.g. “Android File Transfer Agent_DISABLED.app“.
  4. Go to /Users/username/Library/Application Support/Google/Android File Transfer (you can open Library folder from the terminal running “open ~/Library”) and rename “Android File Transfer Agent.app” to e.g. “Android File Transfer Agent_DISABLED.app“.

Now “Android File Transfer” won’t auto-start when you plug your phone on the USB port, but if you open it manually everything will work just fine.


You might also like

Install and activate xdebug in MacPorts
First install php5-xdebug: sudo port install php5-xdebug Then just add these in your php.ini (probably...
Fix “macports checking for Tcl configuration… configure: error: Can’t find Tcl configuration definitions” when selfupdating Macports in Mac OS X 10.9 Mavericks
I've just upgraded my Mac OS X to Mavericks 10.9. When I tried to update Macports I got an error and...
Make Raspbian run from an external USB hard drive or USB memory stick
Raspberry Pi can ONLY boot from the SD Card. If you want to use your Raspberry Pi from an external USB...
Using the Xcode Simulator with a Unity 3 Native iOS Plug-In
As you saw in "Building a Unity 3 Application with Native Plugin for iOS" we can create a plug in for...
Leave a comment ?


Leave a Comment