This article discusses software internally used by Apple.
Acquiring a copy without Apple's consent is illegal and may result in being scammed.
(latest known version)
iRemoteX appears to be a tool used by Apple to remotely control iPhones, iPads, Apple Watches and Apple TVs. When selecting a device, you're given two options: Observe and Connect. It can detect devices over USB or over WiFi, however this seems to be independent of the "Sync with this device over WiFi" option in iTunes, and instead has to be set up from within iRemoteX or another internal app such as iOS Menu, where it will then be synced between all internal applications that use this feature.
The difference between Observe and Connect is that Connect would let you view the target device with remote control features while Observe would not give you control over the device.
In the toolbar at the top of the screen there are buttons for opening an Apple TV remote and an Apple Watch controller simply called Watch Controls. The Apple TV remote gives you an on-screen remote that looks like the remote used for Apple TVs up until the Apple TV 4K (2nd generation) with a DPad overlayed on the touch section. You would likely need to connect an Apple Watch via an iBUS dongle to use Watch Controls.
iRemoteX is included as part of Home Diagnostics.
The remote used in the icon appears to be very similar to this model of Samsung TV remote (unfortunately I couldn't find an exact match). Interestingly it appears to be watermarked.
The Watch Controls window (Gallery) contains an interesting set of buttons. Crown and Power are pretty self-explanatory. Crown is the Digital Crown and power is most likely the Side Button. Lisa and Button1 are more interesting because it's unclear what these refer to. It's possible that one of these buttons refers to Force Touch. Unfortunately you'd likely need to be able to connect a watch to test them. It's also possible that Button1 is just an unused button.
There is also a small circle in the middle that can be spun by clicking and dragging with the mouse. This is probably for spinning the Digital Crown.
When trying to connect to a normal device running production firmware, you're presented with a error stating:
Connection failed. Failed to start remote service com.apple.monkeybars on remote device via lockdown: kAMDInvalidServiceError
This issue occurs due to the fact that production firmwares do not include the executable named 'monkeybars', nor does it include the LaunchDaemon plist for it. This executable is only available in Internal Firmwares that have a version greater than iOS 7.
Making It Work
It is possible to use iRemoteX on production devices. To use it, you will need a Mac, a jailbroken iPhone, an Internal Firmware with monkeybars included, and local WiFi.
1. Place the monkeybars binary in /usr/local/bin.
2a. If you are 32-bit iOS 7-10, obtain /System/Library/PrivateFrameworks/ApplicationScripting.framework from the Internal Firmware and place it on your device.
2b. If you are on 64-bit iOS 7-10, obtain /Developer/Library/UIAutomation.framework from the Internal Firmware and place it on your device.
2c. If you are on 64-bit iOS 11-14, obtain /AppleInternal/Library/Frameworks/iRemoteFramebuffer.framework from the Internal Firmware and place it in /System/Library/PrivateFrameworks, using install_name_tool to change the rpath.
3. Use a terminal app to run
monkeybars -A -d 32.
4. On your Mac, open the light-mode version of iRemoteX and click Connect. Click the + to add a new connection, and fill in your device's local IP for the Server Address. Leave User Name, Password, and Port alone.
5. Connect to your device, and enjoy.
Note that it will be quite laggy, as it is streaming over WiFi. It's not known how to use it over lockdownd yet.
Attempting to use Watch Controls on a remoted-in iPhone has Power work normally, Crown act as Home, Lisa act as Home, Button1 do nothing, and rotation do nothing.
Attempting to use AppleTV Remote on a remoted-in iPhone results in nothing.
While all versions of iRemoteX are just called "1.0 (1)", the application was updated between HomeDiagnostic.pkg builds 17A400 and 18B86, as the version included in the latter build supports dark mode while the former does not. It is currently unclear what else might have changed between these versions (and it could very possibly be nothing other than the theme, which would explain using the same version number).
Watch Controls window
Apple TV Remote window
Device connection menu