rusbmux is a modern, drop-in replacement for usbmuxd, written in pure Rust.
- Works with your existing tools - libimobiledevice, idevice, 3uTools, iTunes, etc. work without changes
- Runs on Windows, macOS and Linux
- WiFi support - connects to devices on your network automatically
- Safer & faster - pure Rust, no C dependencies
Linux
Download the latest release from the releases.
cargo install rusbmuxparu -S rusbmux-gitIf you installed rusbmux with Cargo, install the service file first:
sudo cp systemd/rusbmux.service /usr/lib/systemd/system/rusbmux.service
sudo systemctl daemon-reloadEnable and start the service:
sudo systemctl enable --now rusbmuxsudo rusbmuxWindows
Download the latest installer from the releases.
Run the installer and follow the setup wizard. rusbmux will be installed as a Windows service and start automatically.
If you have removed Apple Mobile Device Support from your system, iTunes will not be able to communicate with iOS devices.
To restore compatibility, install or restore the Apple Mobile Device Support files.
C:\Program Files\Common Files\Apple\Mobile Device Support\
C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\
These directories should contain Apple's Mobile Device Support libraries
If the registry entries have also been removed, recreate them with the following .reg file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Inc.]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Inc.\Apple Mobile Device Support]
"InstallDir"="C:\\Program Files\\Common Files\\Apple\\Mobile Device Support\\"
"Version"="18.0.0.32"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Inc.\Apple Mobile Device Support\Shared]
"AirTrafficHostDLL"="C:\\Program Files\\Common Files\\Apple\\Mobile Device Support\\AirTrafficHost.dll"
"MobileDeviceDLL"="C:\\Program Files\\Common Files\\Apple\\Mobile Device Support\\MobileDevice.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apple Inc.]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apple Inc.\Apple Mobile Device Support]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apple Inc.\Apple Mobile Device Support\Shared]
"ASMapiInterfaceDLL"="C:\\Program Files (x86)\\Common Files\\Apple\\Mobile Device Support\\AppleSyncMapiInterface.dll"Note
rusbmuxdoes not require iTunes or Apple Mobile Device Support to function. These files and registry entries are only required if you also want to use iTunes.
macOS
macOS already ships with Apple's usbmuxd, so installing rusbmux is optional.
If you'd like to use rusbmux instead, download the latest installer from the releases.
Before starting rusbmux, disable Apple's usbmuxd service:
sudo launchctl disable system/com.apple.usbmuxd.plist
sudo launchctl bootout system /Library/Apple/System/Library/LaunchDaemons/com.apple.usbmuxd.plistThen start rusbmux:
sudo launchctl enable system/com.abdullah-albanna.rusbmux.plist
sudo launchctl bootstrap system /Library/LaunchDaemons/com.abdullah-albanna.rusbmux.plistDisable rusbmux
sudo launchctl bootout system /Library/LaunchDaemons/com.abdullah-albanna.rusbmux.plist
sudo launchctl disable system/com.abdullah-albanna.rusbmux.plistThen re-enable Apple's service:
sudo launchctl bootstrap system /Library/Apple/System/Library/LaunchDaemons/com.apple.usbmuxd.plist
sudo launchctl enable system/com.apple.usbmuxd.plistYou can switch between rusbmux and Apple's usbmuxd at any time by stopping one and starting the other.
- Not as battle-tested as usbmuxd
- Android / FreeBSD not yet supported
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.