- Close Android File Transfer
- Open Activity Monitor and kill “Android File Transfer Agent”
- Go to where you installed “Android File Transfer.app” (I have it under /Applications)
- Ctrl+click –> “Show package contents”
- Go to Contents/Resources
- Rename “Android File Transfer Agent” to e.g. “Android File Transfer Agent_DISABLED”
- Then go to “/Users/username/Library/Application Support/Google/Android File Transfer” and again rename the Agent app.
-
Star
(221)
You must be signed in to star a gist -
Fork
(13)
You must be signed in to fork a gist
-
-
Save zeroseis/ce66d4c6b776577442a6 to your computer and use it in GitHub Desktop.
Great explanation, thanks. I think you will be interested in this article.
Dear Google: 🖕
@ballo Sincerely, everyone.
openmtp
Thanks for sharing ! This soft is great !
The permissions trick worked great for me. All I did was:
- In Settings app > Users & Groups > Login Items, first unlock the settings panel then remove the Android File Transfer Agent entry
- Open a Terminal and
sudo -s
- Change permissions on the agent app:
chmod 000 /Applications/Android\ File\ Transfer.app/Contents/Helpers/Android\ File\ Transfer\ Agent.app
- Change ownership to root on the agent app:
chown root:wheel /Applications/Android\ File\ Transfer.app/Contents/Helpers/Android\ File\ Transfer\ Agent.app
- Delete the Application Support directory:
rm -r ~/Library/Application\ Support\Google\Android\ File\ Transfer
- Open Activity Monitor and force kill the Android File Transfer Agent process
That's it. I confirmed that re-opening the Android File Transfer app no longer adds the launch entry or makes the copy to Application Support directory and the app no longer auto-launches when a device is plugged in.
Works for me. Thanks.
This is too radical. I'd suggest going to the System Preferences / Users & Groups / / Login Items and removing "Android File Transfer Agent" from the list. This way you will still be able to launch it when you need it.
@alg This does work. thank you! (I just needed to kill/stop the agent process manually after removing it from the list as you suggested)
6 yrs later, Thanks!
I tried all solutions but this one was the simplest and the best one of for me.
I dragged the Android File Transfer icon to Trash.
Lol
Best idea, so tired ✌️
It wokers for me, thanks!