USB Backup or Sync Android Phone with MacOS Sequoia on MacBook Pro m4
OVERVIEW
I recently acquired a MacBook Pro Apple Silicon M4-pro laptop (48 GB RAM).
I needed to be able to backup and community with an Android OS phone (in this case a Unihertz Titan).
Install Homebrew for Mac
Verify Brew is _not_ yet installed:
devm4-1$ which brew
Shouldn't show anything installed yet.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
devm4-1$ echo >> /Users/dev/.bash_profile
devm4-1$ echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/devm4-1/.bash_profile
devm4-1$ eval "$(/opt/homebrew/bin/brew shellenv)"
devm4-1$ which brew
/opt/homebrew/bin/brew
Install Android File Transfer via Brew
https://formulae.brew.sh/cask/android-file-transfer
brew install --cask android-file-transfer
This app is originally fox x86 CPU, so you will need to also install Rosetta 2 for silicon compatibility.
This did actually work on my brand new m4.
devm4-1$ brew install --cask android-file-transfer
==> Downloading https://formulae.brew.sh/api/cask.jws.json
==> Caveats
android-file-transfer is built for Intel macOS and so requires Rosetta 2 to be installed.
You can install Rosetta 2 with:
softwareupdate --install-rosetta --agree-to-license
Note that it is very difficult to remove Rosetta 2 once it is installed.
==> Downloading https://dl.google.com/dl/androidjumper/mtp/5071136/androidfiletransfer.dmg
############################################################################################################################################################################################################################################## 100.0%
==> Installing Cask android-file-transfer
==> Moving App 'Android File Transfer.app' to '/Applications/Android File Transfer.app'
🍺 android-file-transfer was successfully installed!
devm4-1$ softwareupdate --install-rosetta --agree-to-license
By using the agreetolicense option, you are agreeing that you have run this tool with the license only option and have read and agreed to the terms.
If you do not agree, press CTRL-C and cancel this process immediately.
2025-02-09 11:05:23.629 softwareupdate[48722:545687] Package Authoring Error: 072-08244: Package reference com.apple.pkg.RosettaUpdateAuto is missing installKBytes attribute
Install of Rosetta 2 finished successfully
Then find and start the Android File Transfer app in Launchpad, and agree to allow it to run.
Then you can browse, drag and drop files, etc.