OpenMTP - Advanced Android File Transfer Application for macOS
OpenMTP - Advanced Android File Transfer Application for macOS
Transferring files between macOS and Android or any other MTP devices has always been a nightmare. There are a few File Transfer MTP apps that are available online but most of them are either too expensive or come with bad UI/UX. The official "Android File Transfer" app for macOS from Google comes with bugs, innumerable limitations, some of which include - not being able to transfer files larger than 4GB, frequent disconnections, and being unable to rename the folders or files on the Android/MTP devices. Most of the other apps available online use either WiFi or ADB protocol to transfer the files, which is an extremely time-consuming process.
Countless searches to find an app to solve these problems and failing to find one made me restless. So, I took the leap and decided to create an app for us that could help us have a smooth and hassle-free file transfer process from macOS to Android/MTP devices. Created with the objective of giving back to the community, we can all use this app for free in this lifetime.
OpenMTP 3.0 features a new MTP kernel and it was written from scratch. It promises a file copy speed of 30 to 40 MB/s on low and mid-range devices and 100 to 120 MB/s on higher end devices. The all-new and powerful MTP kernel is named after Dr. A. P. J. Abdul Kalam
Do check out the Go package which I've written to build Kalam Kernel: github.com/ganeshrvel/go-mtpx. Feel free to raise PRs.
Kalam Kernel updates, which include new device support, fixes, and stability improvements. macOS Big Sur (11.0) or above will receive the above-mentioned updatesKalam Kernel on macOS 10.13 (OS X High Sierra) and lower. Only the "Legacy" MTP mode will continue working on these outdated machines.Intel and ARM64 machines # newer versions:
brew install openmtp --cask
# older versions:
brew cask install openmtp| Command | Keyboard Shortcut |
|---|---|
| Delete | backspace |
| New Folder | command (⌘)+n |
| Copy | command (⌘)+c |
| Copy to Queue | command (⌘)+shift+c |
| Paste | command (⌘)+v |
| Refresh | command (⌘) +r |
| Folder Up | command (⌘)+b |
| Select All | command (⌘)+a |
| Rename | command (⌘)+d |
| Switch Tab | command(⌘)+1 |
| Open | enter |
| Navigate Left | left |
| Navigate Right | right |
| Navigate Up | up |
| Navigate Down | down |
| Select Multiple Items Forward (in Grid View) | shift+left |
| Select Multiple Items Backward (in Grid View) | shift+right |
| Select Multiple Items Forward (in List View) | shift+up |
| Select Multiple Items Backward (in List View) | shift+down |
| Select Multiple Items (with mouse) | command (⌘)+click or shift+click |
Requirements: Node.js v16, Git and Yarn package manager
$ git clone https://github.com/ganeshrvel/openmtp.git
$ cd openmtp
# install yarn
npm install -g yarn
# install sentry cli
npm -g i @sentry/cli$ yarnA fresh clone might throw undefined state error. Run the following commands once to fix the issue.
# For Mac and Linux
$ UPGRADE_EXTENSIONS=1 npm run dev
# For Windows
$ set UPGRADE_EXTENSIONS=1 && npm run dev# Development
$ yarn dev
# Pre-production
$ yarn start
# In the terminal, run
$ "/path/to/OpenMTP.app/Contents/MacOS/OpenMTP" --remote-debugging-port=6363localhost:63636363APPLEID: <Apple developer account username>APPLE_APP_SPECIFIC_PASSWORD: <App-Specific Password>APPLE_TEAM_ID: <Apple Team ID>SENTRY_URL: https://sentry.io/SENTRY_ORG: <Sentry Organization Name>SENTRY_PROJECT: <Sentry Project>SENTRY_TOKEN_ID: <Sentry Auth Token>event:admin, event:read, member:read, org:read, project:read, project:releases, team:readGITHUB_TOKEN: Personal access tokenContents - (Read and Write access to code)admin:gpg_key, admin:public_key, repo, user, workflowCSC_LINK:Default Keychains menu in the left -> Login -> My CertificatesDeveloper ID Application in the top search barDeveloper ID Application, for the organization, create one from here: Apple Developer CertificatesDeveloper ID Application in the top search barDeveloper ID Application: <User Name> (XXXYYYZZZ)Mac Developer ID Application: <User Name>Mac Developer ID Application: <User Name>Mac Developer ID Application: <User Name>Mac Developer ID Application: <User Name>CERTIFICATE_PRIVATE_KEY.p12CSC_KEY_PASSWORD, note this downbase64 -i CERTIFICATE_PRIVATE_KEY.p12 -o CERTIFICATE_PRIVATE_KEY.txtCERTIFICATE_PRIVATE_KEY.txtCSC_LINKCSC_KEY_PASSWORD is the password from the above stepCODEMAGIC_AUTH_TOKEN_ID: <CodeMagic API Token>CODEMAGIC_INTEL_X64_WORKFLOW_ID_PROD: <Prod Codemagic workflow id>codemagic.yaml, (mostly macos-intel-x64-build-prod)CODEMAGIC_INTEL_X64_WORKFLOW_ID_DEV: <Dev Codemagic workflow id>codemagic.yaml, (mostly macos-intel-x64-build-dev)PUBLISH_PROD_REPOSITORY: <Repository to publish the production app>PUBLISH_DEV_REPOSITORY: `<Repository toIs shift+click or command+click supposed to do something different than regular click? (right now it doesn't)
⚠️ Warning: An Unofficial Website is Impersonating OpenMTP
Just a blank screen or MTP device is not recognized. Google Drive, Preview App or Dropbox etc are interfering with OpenMTP
MacOS Sequoia Not Working
Fail loudly when target device is out of memory
Samsung S24+ not recognized on macOS 26 Tahoe (Apple M4 Pro) — MTP device shows 0 items
enhancement
If transfer of multiple files fails, there is no quick way to resume transfer by skipping duplicates
Universal MacOS binary
Question about the upcoming version