libimobiledevice-win32 / imobiledevice-net

.NET (C#, VB.NET,...) bindings for libimobiledevice
GNU Lesser General Public License v2.1
307 stars 76 forks source link

How to pair idevice using pair record plist? #171

Closed pappanunny closed 3 years ago

pappanunny commented 4 years ago

Im looking for a way to use a pair record plist (already paired and in the Lockdown folder) to pair the idevice on a different host machine. I would like to bypass the trust dialogue and then pair it so that more information can be taken from the idevice.

I used the pair record plist and then used the lockdownd_send(client, plist) to send pairing request (with "pair" as request)to the idevice. But is receiving "passwordprotected" as response from device and there is the trust alert on the idevice.

How can i move further to implement this?

qmfrederik commented 3 years ago

It should work if you just copy the pair record plist from the lockdown folder on your original host to your new host before you connect the device to your new host.