#100 ✓resolved
Derek Ditch

libiphone pairing failure

Reported by Derek Ditch | December 21st, 2009 @ 05:41 PM

I have a iPhone 3GS and am attempting to ultimately use the iphone ethernet driver for the USB. I can't even get iFuse to work though. It seems the pairing process is failing. I'm running Kubuntu Karmic and today did a git clone of libiphone (commit c6982451d82c340ee8a57c76e39db160c625a1a3), libplist (commit 4154b898c55314df2d41ad119fd174f5042dd925), usbmuxd (commit 0c3941baef1928abcedd9d0de5ed34e7fa689b39) and iFuse (commit 0d6b09eb5c85dbd2460d8eea6bb07e8ac9f77ac0). I'm not familiar with how the usb pairing process works, but I tried this with both my iphone and my wife's (which is also a 3GS). Mine is jailbroken, hers is not. I also removed ~/.config/libiphone to ensure it wasn't using an old key. Debug output of iphone_id and iphoneclient is below.

-- Derek Ditch

iphone_id debug info


dcode@dbook:~/src/usbmuxd/build$ iphone_id -l
1c3c41aa6c53a8ec31d3556b36da2ef91c7bb2ed     
dcode@dbook:~/src/usbmuxd/build$ iphone_id -d 1c3c41aa6c53a8ec31d3556b36da2ef91c7bb2ed
lockdownd_query_type: called                                                          
lockdownd_send: sending msg size 245, buffer follows:                                 
<?xml version="1.0" encoding="UTF-8"?>                                                
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">                                                                                          
<dict>                                                                                                         
        <key>Request</key>                                                                                     
        <string>QueryType</string>                                                                             
</dict>                                                                                                        
</plist>                                                                                                       
lockdownd_send: made the query, sending it along                                                               
lockdownd_send: sent it!                                                                                       
lockdownd_recv: datalen = 342                                                                                  
lockdownd_recv: received msg size: 342, buffer follows:                                                        
<?xml version="1.0" encoding="UTF-8"?>                                                                         
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">         
<plist version="1.0">                                                                                          
<dict>                                                                                                         
        <key>Request</key>                                                                                     
        <string>QueryType</string>                                                                             
        <key>Result</key>                                                                                      
        <string>Success</string>                                                                               
        <key>Type</key>                                                                                        
        <string>com.apple.mobile.lockdown</string>                                                             
</dict>                                                                                                        
</plist>                                                                                                       
DTQlockdownd_query_type: success                                                                               
lockdownd_client_new: device uuid: 1c3c41aa6c53a8ec31d3556b36da2ef91c7bb2ed                                    
userpref_get_host_id: Using 5B6B58D4-BC67-779E-9277-4E0E85676A22 as HostID                                     
lockdownd_send: sending msg size 294, buffer follows:                                                          
<?xml version="1.0" encoding="UTF-8"?>                                                                         
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">                                                                                          
<dict>                                                                                                         
        <key>Key</key>                                                                                         
        <string>DevicePublicKey</string>                                                                       
        <key>Request</key>                                                                                     
        <string>GetValue</string>                                                                              
</dict>                                                                                                        
</plist>                                                                                                       
lockdownd_send: made the query, sending it along                                                               
lockdownd_send: sent it!                                                                                       
lockdownd_recv: datalen = 711                                                                                  
lockdownd_recv: received msg size: 711, buffer follows:                                                        
<?xml version="1.0" encoding="UTF-8"?>                                                                         
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">         
<plist version="1.0">                                                                                          
<dict>                                                                                                         
        <key>Key</key>                                                                                         
        <string>DevicePublicKey</string>                                                                       
        <key>Request</key>                                                                                     
        <string>GetValue</string>                                                                              
        <key>Result</key>                                                                                      
        <string>Success</string>                                                                               
        <key>Value</key>                                                                                       
        <data>                                                                                                 
        LS0tLS1CRUdJTiBSU0EgUFVCTElDIEtFWS0tLS0tCk1JR0lBb0dBUm5mT0dzM01nNHdY                                   
        Y2Z3ZTRlOGZFZ0x6c2FYRk9qZm5YK0cyOUhnSmVzMFRWWnpqbG10aG91c2wKL2R0NmRx                                   
        THlwcGtPY1pxSlBwMlhYcW5BRnpKajZWNGtvS3lUdHJXMmxOaTFZYTNoVndiUFUxN2lH                                   
        cktUdGpoUApiVmw5SmFkMWtQWU9GVjN6RjRSdFNvWUdnYVBYTFp2amp1M3RPRldZeVNz                                   
        TUVCemNkV01DQXdFQUFRPT0KLS0tLS1FTkQgUlNBIFBVQkxJQyBLRVktLS0tLQo=                                       
        </data>                                                                                                
</dict>                                                                                                        
</plist>                                                                                                       
lockdownd_get_value: success                                                                                   
lockdownd_get_value: has a value                                                                               
lockdownd_do_pair: device public key follows:                                                                  
-----BEGIN RSA PUBLIC KEY-----                                                                                 
MIGIAoGARnfOGs3Mg4wXcfwe4e8fEgLzsaXFOjfnX+G29HgJes0TVZzjlmthousl                                               
/dt6dqLyppkOcZqJPp2XXqnAFzJj6V4koKyTtrW2lNi1Ya3hVwbPU17iGrKTtjhP                                               
bVl9Jad1kPYOFV3zF4RtSoYGgaPXLZvjju3tOFWYySsMEBzcdWMCAwEAAQ==                                                   
-----END RSA PUBLIC KEY-----                                                                                   
vWUdnYVBYTFp2�                                                                                                 
lockdownd_send: sending msg size 4210, buffer follows:                                                         
<?xml version="1.0" encoding="UTF-8"?>                                                                         
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">                                                                                          
<dict>                                                                                                         
        <key>PairRecord</key>                                                                                  
        <dict>                                                                                                 
                <key>DeviceCertificate</key>                                                                   
                <data>                                                                                         
                LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUIvekNCNnFBREFnRUNB                                   
                Z0VBTUFzR0NTcUdTSWIzRFFFQkJUQUFNQjRYRFRBNU1USXlNVEUzTWpjME1s                                   
                b1gKRFRFNU1USXhPVEUzTWpjME1sb3dBRENCbkRBTEJna3Foa2lHOXcwQkFR                                   
                RURnWXdBTUlHSUFvR0FSbmZPR3MzTQpnNHdYY2Z3ZTRlOGZFZ0x6c2FYRk9q                                   
                Zm5YK0cyOUhnSmVzMFRWWnpqbG10aG91c2wvZHQ2ZHFMeXBwa09jWnFKClBw                                   
                MlhYcW5BRnpKajZWNGtvS3lUdHJXMmxOaTFZYTNoVndiUFUxN2lHcktUdGpo                                   
                UGJWbDlKYWQxa1BZT0ZWM3oKRjRSdFNvWUdnYVBYTFp2amp1M3RPRldZeVNz                                   
                TUVCemNkV01DQXdFQUFhTVFNQTR3REFZRFZSMFRBUUgvQkFJdwpBREFMQmdr                                   
                cWhraUc5dzBCQVFVRGdnRUJBRHJpZU82Y1ZFR2lQTHpIRkQrb1lySzQrR2pV                                   
                MGE0a1JVZ2RxelA1CkZyZUprY0RMOGdYR0cwblZqbTk0a3g1eS8yNUJmK1Bu                                   
                UGZWQVBoQnBmVW1reG5FNVNpYVJPTXpnQW1jenpYS2kKVFZLMjVBZmpFckR6                                   
                RVlTdHNmUUxUSnFLcVNmV0JqNVdCY2JWRG1WRGU3dlZDM0xBenJBdUZNVWkz                                   
                bHcyVHVBdQovM2l3a0R6Uk1uK3drUmVodkc1VzN4UFlRYisrNmdUeFZQY0lQ                                   
                ZTcvTC9qengzUDhrRDBXS3lhNitjaUh0U3R1CnhhKzQwajNsaDRhdkhySnpN                                   
                VS9FRUUyR20zbCtiTklIQlB2TlVRUkl6SXlBU1dPMzRxUCtMOHNTZ0t4ajFH                                   
                N0UKTm40ZUkzSERJM2xhdVV4RmVxMUYxVTV3L1M5bktLR3dzaFpxZmNReDJt                                   
                OUVrN2c9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K                                                   
                </data>                                                                                        
                <key>HostCertificate</key>                                                                     
                <data>                                                                                         
                LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNsVENDQVgrZ0F3SUJB                                   
                Z0lCQURBTEJna3Foa2lHOXcwQkFRVXdBREFlRncwd09URXlNakV4TnpBNU5U                                   
                aGEKRncweE9URXlNVGt4TnpBNU5UaGFNQUF3Z2dFZk1Bc0dDU3FHU0liM0RR                                   
                RUJBUU9DQVE0QU1JSUJDUUtDQVFESgppdU1CRGZDeTVoTTkxQkhsdm1tNGQy                                   
                NkVoZjR5b2RkOWxyMFFhS3VaRkljTGtMeDJGRHlDc2RTY2lvTnJjdEhTCkNw                                   
                VnFxMTlvdVN3VHpicTlaRWw4ZnhjTWVDOWljM2N1YW9IK0lTM0hBcmFlWHVw                                   
                VVVOK3NJZE9NSEhhQ1pEcEMKQTJCa2ZHL3ZJL2IvV0VRbkV5SEEwaWZldEhm                                   
                elN2TlZKMFdpYzlpbHhtNGhIdlowWkJCZjRPVUpMV01ndGxmQwpZWWZlS0hy                                   
                ZXhIRVZuUEJDem9PZngxS2lJVjRzSkFxWCtOcSt3eE5aY1c2WFFRQklVQW5M                                   
                R3pKYUZZUWlzcTBoCjVZMkhnbDdoSzNUMWZRRUQ0RGJucGFsMVcxN0ZOZ2ZT                                   
                QWVOdHhuZmNzTzYxYjFLQW04VFRBWXNObDJCcmFTWVgKaFNNbzhoSXlRTU9n                                   
                OFc4V1I1MjlBZ01CQUFHaklUQWZNQXdHQTFVZEV3RUIvd1FDTUFBd0R3WURW                                   
                UjBQQVFILwpCQVVEQXdlZ0FEQUxCZ2txaGtpRzl3MEJBUVVEZ2dFQkFIcFN3                                   
                WnFMZy8rRWoyTzYrYTlaZkNCbDEwcm8yQmZjCjdyKyswTDduYndRZW5EZGdG                                   
                Sml6cUlzeGpsMUNBRFUxLzJiSTg5RFZxbmgrYzhDVGRzQUxJQ255RGtzMllx                                   
                SWQKOXJhK0R3aUZMVzlVYnNtbWtieVI0WlUxY0M1bVZGTXJ6VFFlbm9CQnFL                                   
                eVZLL29EY0R6SWNSa3RnQVJaVnZXNQpNc0duVWNiMFhVTkU3MkpsRU9MUU1w                                   
                NGVmbjAxV0hFKzNTWmthSDY0OFMrWVlCbThzdHVUVC9pcHExR3FGYWhZCjls                                   
                T01DMlpnL1RaazlwVm9JUFM3NmVNam1LN3krTWluOUJGd0FKdTdBemFoQ3Jr                                   
                b2x6aWRNWDJLbWJvK2NldUkKVzJjS2FnejZLcTdsSXYyRzdTNjRTOWl6UFZn                                   
                R2tLdlBadVNVS3MyMklMaXoyN3FtN1NBdTlYST0KLS0tLS1FTkQgQ0VSVElG                                   
                SUNBVEUtLS0tLQo=                                                                               
                </data>                                                                                        
                <key>HostID</key>                                                                              
                <string>5B6B58D4-BC67-779E-9277-4E0E85676A22</string>                                          
                <key>RootCertificate</key>
                <data>
                LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNoekNDQVhHZ0F3SUJB
                Z0lCQURBTEJna3Foa2lHOXcwQkFRVXdBREFlRncwd09URXlNakV4TnpBNU5U
                aGEKRncweE9URXlNVGt4TnpBNU5UaGFNQUF3Z2dFZk1Bc0dDU3FHU0liM0RR
                RUJBUU9DQVE0QU1JSUJDUUtDQVFEbQpNaXBYbmJXbXVGZ1hTS0NIYUEvOWIy
                SkdvM0NhQ3U3NTJHL3d6WXQwSVhVZy9WUnQveU1sZEhkblhQd0htQVFoClJZ
                eTU3eUNKMnNBNGxCTGZtSlVyQzVBNGtMR295SlBXVHNHUktOZTd4M0d1U0pn
                WEFZdWRRMGw2MW1PUUc3T1IKZ2NVYWhXWDk3S1FGWE9mUkRyNEJiUjY1K1Jt
                U2xEUnVhTVNmRVRMV1JZbWFhWWh1TDN4M1hyeENvVW45L0lzdwpWWTkzdGxo
                Um40aDJTVEJmazFUcHJQdktwbDdzNnFxUTlaTkNkUk5LbXpteDZ0K21WZEE5
                QkRBdFp5SnlFaTlkCjNMQXNyK0ZRRUtTemVtWUlobUk5ZDhBZnhuTnVFZlZz
                Vk9MNVVjQkZXMU9YRmR4ZWhyQUpRRWdWUGpLNU1BWmMKRFJyMkVYZlNZRUJk
                Sm1GTTJEVU5BZ01CQUFHakV6QVJNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdD
                d1lKS29aSQpodmNOQVFFRkE0SUJBUUNiZVdWWU83R0RpZGpQUkV1STNSUG1j
                Tmcwd3EzTm1MOThkVi8zaE5WUGNXNnk0Y3VnClhUUFdNTUE4TW9qUCtEcldN
                SVM5YWRua0FRRGI2Vmt5UFF4NHRqekUwSGVhSlZ5WFRKQmVwOHhyd0lMeFhX
                clQKekxTMlZXS0F3MUhhdnNwUDh2NnR5TVFyelBLdzFRTUZlaU55NlB1MVd3
                OFNHMWc2ampla2RDbHBWeEY1Q0djTgpYdnRHSEc2WS9ZNTNmL253Tng0aUJO
                VnhCaXVoK3pnRlJRYmtoSTFXeU8xUVNXbE5aMFZpZWNFaGpWV3F3T1dNCm9Q
                Nk9uMmc5Qm90Wll2VEJ5QjNiYWhMSXFVMWVqMVRHd3NkR0pldjFxaGlteWlI
                aVpUeXFSOTdFVkd2QnBxVFoKQk5nanBFV2xsVGxmak43eWVBdGYyS3pJTXRo
                SmU4UnhFUlJHCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
                </data>
        </dict>
        <key>Request</key>
        <string>Pair</string>
</dict>
</plist>
lockdownd_send: made the query, sending it along
lockdownd_send: sent it!
lockdownd_recv: datalen = 330
lockdownd_recv: received msg size: 330, buffer follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Error</key>
        <string>PasswordProtected</string>
        <key>Request</key>
        <string>Pair</string>
        <key>Result</key>
        <string>Failure</string>
</dict>
</plist>
`lockdownd_do_pair: Pair failure
ERROR: Connecting to device failed!

iPhone client debug info

dcode@dbook:~/src/libiphone$ rm -rf ~/.config/libiphone/
dcode@dbook:~/src/libiphone$ ./dev/iphoneclient --debug
DeviceUniqueID : 1c3c41aa6c53a8ec31d3556b36da2ef91c7bb2ed
lockdownd_query_type: called                             
lockdownd_send: sending msg size 245, buffer follows:    
<?xml version="1.0" encoding="UTF-8"?>                   
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">                                                                                          
<dict>                                                                                                         
        <key>Request</key>                                                                                     
        <string>QueryType</string>                                                                             
</dict>                                                                                                        
</plist>                                                                                                       
lockdownd_send: made the query, sending it along                                                               
lockdownd_send: sent it!                                                                                       
lockdownd_recv: datalen = 342                                                                                  
lockdownd_recv: received msg size: 342, buffer follows:                                                        
<?xml version="1.0" encoding="UTF-8"?>                                                                         
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">         
<plist version="1.0">                                                                                          
<dict>                                                                                                         
        <key>Request</key>                                                                                     
        <string>QueryType</string>                                                                             
        <key>Result</key>                                                                                      
        <string>Success</string>                                                                               
        <key>Type</key>                                                                                        
        <string>com.apple.mobile.lockdown</string>                                                             
</dict>                                                                                                        
</plist>                                                                                                       
DTQlockdownd_query_type: success                                                                               
lockdownd_client_new: device uuid: 1c3c41aa6c53a8ec31d3556b36da2ef91c7bb2ed                                    
userpref_set_host_id: setting hostID to 9DBE4C36-C8D0-3904-DAF1-96D620DDB97A                                   
userpref_get_host_id: Using 9DBE4C36-C8D0-3904-DAF1-96D620DDB97A as HostID                                     
lockdownd_send: sending msg size 294, buffer follows:                                                          
<?xml version="1.0" encoding="UTF-8"?>                                                                         
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">                                                                                          
<dict>                                                                                                         
        <key>Key</key>                                                                                         
        <string>DevicePublicKey</string>                                                                       
        <key>Request</key>                                                                                     
        <string>GetValue</string>                                                                              
</dict>                                                                                                        
</plist>                                                                                                       
lockdownd_send: made the query, sending it along                                                               
lockdownd_send: sent it!                                                                                       
lockdownd_recv: datalen = 711                                                                                  
lockdownd_recv: received msg size: 711, buffer follows:                                                        
<?xml version="1.0" encoding="UTF-8"?>                                                                         
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">         
<plist version="1.0">                                                                                          
<dict>                                                                                                         
        <key>Key</key>                                                                                         
        <string>DevicePublicKey</string>                                                                       
        <key>Request</key>                                                                                     
        <string>GetValue</string>                                                                              
        <key>Result</key>                                                                                      
        <string>Success</string>                                                                               
        <key>Value</key>                                                                                       
        <data>                                                                                                 
        LS0tLS1CRUdJTiBSU0EgUFVCTElDIEtFWS0tLS0tCk1JR0lBb0dBUm5mT0dzM01nNHdY                                   
        Y2Z3ZTRlOGZFZ0x6c2FYRk9qZm5YK0cyOUhnSmVzMFRWWnpqbG10aG91c2wKL2R0NmRx                                   
        THlwcGtPY1pxSlBwMlhYcW5BRnpKajZWNGtvS3lUdHJXMmxOaTFZYTNoVndiUFUxN2lH                                   
        cktUdGpoUApiVmw5SmFkMWtQWU9GVjN6RjRSdFNvWUdnYVBYTFp2amp1M3RPRldZeVNz                                   
        TUVCemNkV01DQXdFQUFRPT0KLS0tLS1FTkQgUlNBIFBVQkxJQyBLRVktLS0tLQo=                                       
        </data>                                                                                                
</dict>                                                                                                        
</plist>                                                                                                       
lockdownd_get_value: success                                                                                   
lockdownd_get_value: has a value                                                                               
lockdownd_do_pair: device public key follows:                                                                  
-----BEGIN RSA PUBLIC KEY-----                                                                                 
MIGIAoGARnfOGs3Mg4wXcfwe4e8fEgLzsaXFOjfnX+G29HgJes0TVZzjlmthousl                                               
/dt6dqLyppkOcZqJPp2XXqnAFzJj6V4koKyTtrW2lNi1Ya3hVwbPU17iGrKTtjhP                                               
bVl9Jad1kPYOFV3zF4RtSoYGgaPXLZvjju3tOFWYySsMEBzcdWMCAwEAAQ==                                                   
-----END RSA PUBLIC KEY-----                                                                                   
etValue</stri�                                                                                                 
lockdownd_send: sending msg size 4210, buffer follows:                                                         
<?xml version="1.0" encoding="UTF-8"?>                                                                         
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">                                                                                          
<dict>                                                                                                         
        <key>PairRecord</key>                                                                                  
        <dict>                                                                                                 
                <key>DeviceCertificate</key>                                                                   
                <data>                                                                                         
                LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUIvekNCNnFBREFnRUNB                                   
                Z0VBTUFzR0NTcUdTSWIzRFFFQkJUQUFNQjRYRFRBNU1USXlNVEUzTXpjMU0x                                   
                b1gKRFRFNU1USXhPVEUzTXpjMU0xb3dBRENCbkRBTEJna3Foa2lHOXcwQkFR                                   
                RURnWXdBTUlHSUFvR0FSbmZPR3MzTQpnNHdYY2Z3ZTRlOGZFZ0x6c2FYRk9q                                   
                Zm5YK0cyOUhnSmVzMFRWWnpqbG10aG91c2wvZHQ2ZHFMeXBwa09jWnFKClBw                                   
                MlhYcW5BRnpKajZWNGtvS3lUdHJXMmxOaTFZYTNoVndiUFUxN2lHcktUdGpo                                   
                UGJWbDlKYWQxa1BZT0ZWM3oKRjRSdFNvWUdnYVBYTFp2amp1M3RPRldZeVNz                                   
                TUVCemNkV01DQXdFQUFhTVFNQTR3REFZRFZSMFRBUUgvQkFJdwpBREFMQmdr                                   
                cWhraUc5dzBCQVFVRGdnRUJBSEowSDJNVEVzQ1lXbVFxWkJzdGtjVGpqUmlL                                   
                MFFRM0h3dndlSzFkCmk0Rkk5TzhaN3k1dEt5MFpVeURSbUNMK1VWa1lxN1c1                                   
                Sk9XN1ZsN0N0MWZxT2JNZmFlVEFtNWVPa1h5T3lMMVIKSStPZjFCNXU3VjVu                                   
                QVhpZVhZbTN4WkNvdDlTd2hxc3RRSjBoLzJQYUlBNG1aQ3F4S0Q5S3ZJbFFw                                   
                Qm5iTExQcApGK1ZrUDZaMStnQXNtejNiRmxJWUZYRlJadWxpOG9MZGVoeXVW                                   
                bzBaeGI0UHl6RzdCM01jYzlYSk10QWVLRmh6CmlTYnRXc05maFV5WHU2a2Jz                                   
                SEd0RXcyUzd4VXUweUNtVGx4bWNFY0JXNzBMTXgwbEtJK3cxZGFoSk5pYk1F                                   
                MWMKNElzclNOSHBvR2piQ1JRU25wcVpwZjk5U2srNTFJU2g2T3RibjE3OWlW                                   
                UCtaWkU9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K                                                   
                </data>                                                                                        
                <key>HostCertificate</key>                                                                     
                <data>                                                                                         
                LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNsVENDQVgrZ0F3SUJB                                   
                Z0lCQURBTEJna3Foa2lHOXcwQkFRVXdBREFlRncwd09URXlNakV4TnpNM05U                                   
                TmEKRncweE9URXlNVGt4TnpNM05UTmFNQUF3Z2dFZk1Bc0dDU3FHU0liM0RR                                   
                RUJBUU9DQVE0QU1JSUJDUUtDQVFDdwpVNUpseXA1c3JaSnUxTWlOc2IvWGdL                                   
                eEhBOEJiZzZ0ZnJQQ09BT2p1REFhM2FYQVZiUTk2Z0dGaG9ydWR2QVlOCnpM                                   
                ak01U1FEQUpwYW43eVVmaTFmbUNlbldMcytlQ1FQckhRaWVoelpYK0ErS0dN                                   
                aUU5aTVXUldITHJ2WFBkaTUKMTg3YXowTnZSdzAwcFZYdTJyZE5MNVgrNUdR                                   
                WlhSWVNiaW1zajhaY0NpNW1QeHBKWkROcGVaa1FOQ0JLK0xQSQpoSUlLVVhM                                   
                d3RRZDdieGs3dFRlY0lQekhWS3VOZDQxSm9tWTYvSDlkVXlxbUx5eC81L0NU                                   
                SDZhS1VobkJXZkkxCkVxUXFXWGFKNWc5OXBXMHBxdmpETExkbDlXUHFES2Ew                                   
                RldRbHlaeFdSV1lJMHFyQW54Z2hvRi9iTk9tTzBsQ2sKWGlDYU8xMzZnNTMw                                   
                VWpNQnlFcmxBZ01CQUFHaklUQWZNQXdHQTFVZEV3RUIvd1FDTUFBd0R3WURW                                   
                UjBQQVFILwpCQVVEQXdlZ0FEQUxCZ2txaGtpRzl3MEJBUVVEZ2dFQkFHRTRK                                   
                UitjUzNWejdCNzhDQVhTTmtNSk9lYjRHcGRzCklQYi9zYVMwT3psQ2VRN0ZG                                   
                a0M2djd0WGowWUQ0RUh1bGhTd2MzVko5b2M5dlJsVHdWWVZyeVI4R3VYTDZv                                   
                UmQKZzBVYXhXcjZGK3ZPQ2h1cWtyb1NGdzBIZG15SXk1akFEWmZncW1VMXV5                                   
                WjRMUnRMYzlXWExWZ1c2WWV1ZDRZMApERStzNzFrZFRHbmZ5NVpMRGJOazFK                                   
                WjN4aTRKMnN2NlRKbnJ2ZUhJaGxETUhCMmdNTkFDdHRBMnpsbEtCWGs1CjQ4                                   
                dHBZYS9rVTdrOFVBWFViaVRtcHJVaG92aXdiYU1sNFNkSzlub253a1pNY1d0                                   
                ZnVFdTR4SXF3NFlDMHA0cXQKVEwyTS96SWdwbnhrQmVKYU0rK0pWdGUxR2Q4                                   
                RWN0eFNBbWkrUENmUnNSZkZrZ2pVUVkyb3R6MD0KLS0tLS1FTkQgQ0VSVElG                                   
                SUNBVEUtLS0tLQo=                                                                               
                </data>                                                                                        
                <key>HostID</key>                                                                              
                <string>9DBE4C36-C8D0-3904-DAF1-96D620DDB97A</string>                                          
                <key>RootCertificate</key>
                <data>
                LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNoekNDQVhHZ0F3SUJB
                Z0lCQURBTEJna3Foa2lHOXcwQkFRVXdBREFlRncwd09URXlNakV4TnpNM05U
                TmEKRncweE9URXlNVGt4TnpNM05UTmFNQUF3Z2dFZk1Bc0dDU3FHU0liM0RR
                RUJBUU9DQVE0QU1JSUJDUUtDQVFEQQpRWXE5ZVc0NzVOelp4aFdVb2tGaE1K
                WVB3Q1lKVW42dXkxRDZJVjNXKzFIQjJBNEJDTUlIdHpxTndVUDBLRGtuCjBp
                UGpMMzErZzdjR3RGb0JJNkFmVy9kUjFJbExTZW91NCtMUEF3TXBQem95SUIw
                d1Y1SkVsQmtRYkFld0tCSisKNlJMQ0lWZnZLYklIRDQzUDRZMjlUL2c5N2Mv
                NTZ2ZTRudVp2MlZhaDJyQSs4S0R1TFdmZnB1dHllRWtMUnFJaQpmZDhLbmpY
                MzFkTUJQOTVUTGFtVDhKcEVyM3FsUmQwVTdJRFpCUTVucHI5UjN3SUxmenpM
                UjVEbkh6TGUrMmQyCmVZakdwek1pcDVtaTUwam1UMHViWVZNOXRucUhndXB6
                TWFwRnlFZkk0T0RuQzVvVWQ3cmRUb2Q1Kzk1dXdmSzAKUVVuNFBwaUhyU1lv
                TlJWaDhQVDlBZ01CQUFHakV6QVJNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdD
                d1lKS29aSQpodmNOQVFFRkE0SUJBUUN4M3RydXlPalFIQUxGMGZwRGczMWdV
                Q3ZxUVMvMVEyZkdqQU8wcWxxUFI2K0hvcXlrClVLcDVKN04xZnJzdHJQVTlF
                M3lObVlCdS9BWWd2U3g5V2RaaEhqOEFMcEhiU1habnYrUWRFVGJuWFM4RXFy
                ckoKMDAvTm9iNWZxSExhUGEyZHFPSktYMjY2eHBXQmNhaThYMzZCOFBOR0Ev
                OHRCR2tja0V6YjhxQ1ZZTm02cWVseApVN29lYXlhd2lMb0hGNHliSFpQYVJn
                b21XeDlqTFk1QktqbFhuRHFyNi81TzRjOHlrUmdVZEU3WThMR0YxR1liCkJp
                YkYxMExySnlTSU9SaG95bE9ra0VRWStHNUtOMWF5d1U5T3A1aW1ZRnk3bWhG
                Q2s4aVpMNmdjc2ZkZk9BOFIKSnFjdzFaNkFnQnJPSEJWRmZFL0NUaDhjV3E5
                aG1WZitaWVVkCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
                </data>
        </dict>
        <key>Request</key>
        <string>Pair</string>
</dict>
</plist>
lockdownd_send: made the query, sending it along
lockdownd_send: sent it!
lockdownd_recv: datalen = 330
lockdownd_recv: received msg size: 330, buffer follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Error</key>
        <string>PasswordProtected</string>
        <key>Request</key>
        <string>Pair</string>
        <key>Result</key>
        <string>Failure</string>
</dict>
</plist>
lockdownd_do_pair: Pair failure
Exiting.

Comments and changes to this ticket

  • Martin S.

    Martin S. December 21st, 2009 @ 06:53 PM

    • State changed from “new” to “open”

    The iPhone refuses to pair if you have a password set on your mobile.
    Before you disable it to work with libiphone, I'd like to ask you for at least the output of "iphoneinfo -x".

    If that fixes it for you please set the state to resolved.

  • Derek Ditch

    Derek Ditch December 22nd, 2009 @ 01:27 AM

    I ran iphoneclient -x and got nothing, so I ran it with --debug and got the attached output. I turned off the passcode and it worked. It seems that once the keys have been exchanged, you can re-enable the passcode, is this correct? The connection may have just been cached or something. I turned off the passcode, successfully paired, then reenabled the passcode and was able to successfully run iphoneinfo again until I reboot the phone.

  • Derek Ditch

    Derek Ditch December 22nd, 2009 @ 01:31 AM

    I wanted to close the ticket, but I don't see how to do it in the form. Maybe I don't have permission?

  • Martin S.

    Martin S. December 22nd, 2009 @ 09:01 AM

    • State changed from “open” to “resolved”

    Thanks for reporting, your case was helpful to verify a bug I read on forums a lot but never got such detailed output from anyone nor could reproduce it myself.

    I am closing it now since there is a workaround. Preferably though, the tools should tell the user something along "Please disable the passcode on your mobile before attempting to pair the device with your computer" in this case (opened bug #101).

    It appears this also supports the change of the lockdown API as iphoneinfo should (be made to) work regardless if the device had been paired.

  • Inanc Yildirgan

    Inanc Yildirgan December 24th, 2009 @ 11:39 PM

    @ Derek

    How do you use iphone ethernet driver for the USB? Can you tell me?

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

Attachments

Referenced by

Pages