Repository navigation
Conversation
AltStore Classic 2.3's "Set up Remote AltServer" asks AltServer for a RemotePairing (RPPairing) file, which AltStore then uses to install and refresh apps on the device itself over LocalDevVPN. Without a handler, the request failed with "AltServer does not support this request." ClientConnection answers PairingFileRequest with a PairingFileResponse carrying the file from DevicePairingManager, named "AltServer on <hostname>" on the device. DevicePairingManager declares the interface of the macOS DevicePairingManager.swift. Its implementation here throws UnknownRequest, so the Windows build answers as before; AltServer-Linux replaces it with an implementation built on idevice's tunnel_pair_usb(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AltStore Classic 2.3 added Set up Remote AltServer…, which sends AltServer a
PairingFileRequest. AltStore stores the RemotePairing (RPPairing) file it gets back and uses it to install and refresh apps on the device itself over LocalDevVPN. AltServer-Linux rejected the request with "AltServer does not support this request", so AltStore showed "unable to pair".This PR adds the handler for AltServer-Linux:
ClientConnectionanswersPairingFileRequestwith aPairingFileResponsecarrying the file. The file is base64-encoded inpairingFile, which is how AltStore'sJSONDecoderdecodesData. On the device the pairing is named "AltServer on ".DevicePairingManager.hdeclares the same interface asDevicePairingManager.swiftin AltServer for macOS.DevicePairingManager.cpphere throwsUnknownRequest, so a Windows build answers as it does today. Both files are added toAltServer.vcxproj. I have not built the Windows project.DevicePairingManager.cppwith an implementation built on idevice'stunnel_pair_usb(), the same way it replacesAnisetteDataManager.cpp.The Linux side is jaakkopalvaila/AltServer-Linux#3, which also updates the
upstream_reposubmodule to this commit. It was tested with AltStore Classic 2.3 on an iPhone 16 Pro running iOS 26.6.2. Remote AltServer setup received the pairing file. With Prefer Remote AltServer on and AltServer stopped, AltStore installed an app on the device.🤖 Generated with Claude Code