void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

Update libimobiledevice and related packages

Open al-tr opened this issue 5 months ago • 7 comments

there are quite a few updates lagging behind in the https://github.com/libimobiledevice | https://libimobiledevice.org stack https://repo-default.voidlinux.org/void-updates/void-updates.txt e.g.

ideviceinstaller                   1.1.1 -> 1.2.0
ifuse                              1.1.4 -> 1.2.0
libimobiledevice                   1.3.0 -> 1.4.0
libplist                           2.2.0 -> 2.7.0
libusbmuxd                         2.0.2 -> 2.1.1

they seem to require some extra libs now that are not in the void repo though

anyway, ios/ipados 26.+ (26.5 is the latest right now) seem to had some handshake mechanism changes and cannot be paired with void right now, sudo usbmuxd -f -v log:

Connected to v2.0 device 1 on location 0x1000a with serial number XXX-XXX
preflight_worker_handle_device_add: Starting preflight on device XXX-XXX...
preflight_worker_handle_device_add: ERROR: Could not get lockdownd type from device XXX-XXX, lockdown error -7

or

preflight_worker_handle_device_add: ERROR: Could not get lockdownd type from device XXX-XXX, lockdown error -256

there are some posts that confirm newer versions working with the latest libs, e.g. https://www.reddit.com/r/linuxquestions/comments/1qzaj4n/comment/o4cyjgs/

is there a particular problem with current void repo state that does not allow to update libimobiledevice stack?

al-tr avatar Jun 04 '26 21:06 al-tr

not a C or void dev in any way, but will try to update versions in a fork in the meantime https://github.com/al-tr/void-packages/pull/1

al-tr avatar Jun 05 '26 06:06 al-tr

Packages are updated as people find time and interest to undertake the effort.

ahesford avatar Jun 05 '26 10:06 ahesford

@ahesford is it ok if I do all the legwork trying to update everything and make it working on my machine and provide a PR for someone experienced to pinpoint what I missed in the broader perspective? like I see some libressl compatibility patches and I have no way of easily verifying these things are required or even working

al-tr avatar Jun 05 '26 17:06 al-tr

yes, we can review the PR.

we no longer use libressl so those patches can probably just be removed completely

classabbyamp avatar Jun 05 '26 17:06 classabbyamp

@classabbyamp seems like there're some issues:

  1. usbmuxd (https://github.com/libimobiledevice/usbmuxd/releases) had no official release in years. and 1.1.1 (latest) conflicts with libimobiledevice-glue which is the new dependency of the newer version of libimobiledevice. so that's a major blocker to move on in a void stable manner, not in an arch "hack and pack" style.
  2. libplist got an .so version bump that affects quite a lot of builds. reaches quite far away from the "make void pair with iphone" scope. minor (skill) issue.

but to test whether it would actually work and support iOS/ipados 26.+ I forked and "released" the latest master branch of usbmuxd, built and installed full stack: https://github.com/al-tr/void-packages/pull/1 ... and it doesn't pair - got different error messages with the new version. seems like more stuff needs to be compiled from branches. and I'm not sure it would even work after that so that's a dead end at the moment unless the author releases newer versions which work with each other

al-tr avatar Jun 06 '26 08:06 al-tr

update - built all the dependencies from master branches. still failed pairing with apple stuff. tried in recovery mode to guarantee no DE or any sneaky daemon/process interference - still a fail in communication between usbmuxd and lockdownd so... yeah, will use windows+itunes combo

al-tr avatar Jun 06 '26 20:06 al-tr

verified usbmuxd + libimobiledevice connection on arch (systemd-udev) - actually works; while void errors are pointing towards eudev, so this issue might be resolved by https://github.com/void-linux/void-packages/pull/62100

al-tr avatar Sep 15 '26 21:09 al-tr