libimobiledevice / libideviceactivation

A library to handle the activation process of iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v2.1
295 stars 135 forks source link

Cannot active iPod Touch 1G (OS 3.1.3) #15

Closed truonggiang0710 closed 1 year ago

truonggiang0710 commented 8 years ago

Hello everybody, I cannot active iPod Touch 1G with libideviceactivation. I used command "ideviceactivation activate -d" to active iPod. The result returned "Successfully activated device". But nothing is changed, my iPod is still at deactive screen. I try to active with iTunes and the result is OK. Please help to investigate this issue. I attach error log.

Thank you so much !

==============================error log==========================================
 ideviceactivation  activate -d
------------------ usbmuxd_get_device_by_udid 
++++++++++ buffer =  
- Hostname was NOT found in DNS cache
  -   Trying 17.149.240.65...
  - Connected to albert.apple.com (17.149.240.65) port 443 (#0)
  - successfully set certificate verify locations:
  -   CAfile: none
    CApath: /etc/ssl/certs
  - SSL connection using AES128-GCM-SHA256
  - Server certificate:
  -    subject: 1.3.6.1.4.1.311.60.2.1.3=US; 1.3.6.1.4.1.311.60.2.1.2=California; businessCategory=Private Organization; serialNumber=C0806592; C=US; postalCode=95014; ST=California; L=Cupertino; street=1 Infinite Loop; O=Apple Inc.; OU=GNCS Traffic Management; CN=albert.apple.com
  -    start date: 2015-03-19 00:00:00 GMT
  -    expire date: 2017-03-18 23:59:59 GMT
  -    subjectAltName: albert.apple.com matched
  -    issuer: C=US; O=Symantec Corporation; OU=Symantec Trust Network; CN=Symantec Class 3 EV SSL CA - G3
  -    SSL certificate verify ok.
    > POST /deviceservices/deviceActivation HTTP/1.1
    User-Agent: iOS Device Activator (MobileActivation-20 built on Jan 15 2012 at 19:07:28)
    Host: albert.apple.com
    Accept: _/_
    Content-Length: 7057
    Expect: 100-continue
    Content-Type: multipart/form-data; boundary=------------------------90c9d7588b01d13e

< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
- Server Apache-Coyote/1.1 is not blacklisted
  < Server: Apache-Coyote/1.1
  < Cache-Control: private, no-cache, no-store, must-revalidate, max-age=0
  < Content-Type: text/xml
  < Content-Length: 6402
  < Date: Mon, 14 Mar 2016 07:41:12 GMT
  < 
- Connection #0 to host albert.apple.com left intact
  <plist version="1.0">
  <dict>
    <key>device-activation</key>
    <dict>
      <key>activation-record</key>
      <dict>
        <key>FairPlayKeyData</key>
        <data>LS0tLS1CRUdJTiBDT05UQUlORVItLS0tLQpBQUVBQVpjTjRzSWs2WnhqL251OTRuNmRXeEpHQlprWlAvelFXVXBuTjBVUkJxMnJWR3VNczRjZkVsaEFBTUFwCm5weDdYcWZyNmh5ZnNsTzZ6eXYzWXZFcFo3endnUk01cWtWRzNiYUxGdWJGM3FCYnpubmxHSkJnZ0FCZ1ZrY2QKdGJtaVExTmRtQ3p6SnpMTWx1QStUb3dPeDV2OE44TUE1a1EvaGZYQmxJY0xSSU9LcEwwQ2gzdGM3UXhlTXBJYgo1OSsvdndBaVhsRFM2OGZ3R01zQVlnTlpHVlQ2UlM2Vy9yd2w5RnhZTWwrNmR3Z2F1MzNaL0x6OG8ycExVbTY5CkJTOGFrSUt5Rk92dC9UMEMwRFI0Q0E5REo3a0dqVExud3BoYXJuZnJLS0JlVGFIWDQxcVBuc2RCVTM4b1pvUjUKRm5XMTdYMEJzNjRjdDNoVlIyRkIyeXFmMkFlaXFWaTk0SEt0ZnVrbjh2WVkvMHFPeXBacEZEY09UbHVEYldBUwpWT2ZSbGp0dm1WVlhVU3N2TGhsRnlVS041YlpUckxKMGROZnFGOG1wSGtEelltY3drZmZoYU1hZFBHYU8xaUtxCkh6ZTFqckxIN1N2SU9vOUw3WXRDNHh2RHVFeExZTUVUSUloZUxtRTFGakpNc1JnR0U1cDk1NkVoMC9yYjBQSFkKWjRnYUZITFYvTzkvbnBiWWE3ZXZNVFRXRnVJcTVoMEdXYkhQbHlENjNDdUkxV3FEYjNpenJyS1NaTDRvaE5SMApueU5CaExveGJPQUJUUU15bWV3QUh1Um5yUFlYUHp1aUVselBJdE9DUTY2MGRHSzBOYXIwS0JpTS9rY1hLSDFrCmdTY2V0bmd2REJCWko1MlA2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29pdFRuRjhDcWp4c1daCmNoTm03d2liWUxBbEQ0dEdieHJZbnhxM1poKzVEMnF1RnhpZ1FZQUtlckRQTmJaQ3JrUXYKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=</data>
        <key>AccountTokenSignature</key>
        <data>atw3LqJBgve/2J3QCu0VEi8XHxJdnPdNkk9SYt2RlBh6pv5q9jR7Hav20dCJxbsMBsFmhlKJNe/mp8/Aw6is7yeNNCCewiZQsWrpAPT2Pojc55Hy6ms6fB/b2U35maK9gcYyRaAPDdoGLULmzt+6rxNAHHYjWb7qIu2D0k/+yII=</data>
        <key>AccountToken</key>
        <data>ewoJIlNlcmlhbE51bWJlciIgPSAiMUI3NDcwWVFXNFQiOwoJIkFjdGl2aXR5VVJMIiA9ICJodHRwczovL2FsYmVydC5hcHBsZS5jb20vZGV2aWNlc2VydmljZXMvYWN0aXZpdHkiOwoJIlByb2R1Y3RUeXBlIiA9ICJpUG9kMSwxIjsKCSJBY3RpdmF0aW9uUmFuZG9tbmVzcyIgPSAiMDNBQjVFRjctNkMyMi00RjU2LTk2OEEtNjkyQzM1MjEwQTNFIjsKCSJVbmlxdWVEZXZpY2VJRCIgPSAiMjMyNzZkN2U5OGZiNjI1ODhmMTAzMGE4M2JiNWI3MzRjY2FlY2JmZCI7CgkiQ2VydGlmaWNhdGVVUkwiID0gImh0dHBzOi8vYWxiZXJ0LmFwcGxlLmNvbS9kZXZpY2VzZXJ2aWNlcy9jZXJ0aWZ5TWUiOwp9</data>
     </dict>
      <key>ack-received</key>
      <true/>
      <key>show-settings</key>
      <true/>
    </dict>
  </dict>
  </plist>
  Successfully activated device.
  =============================================================================
truonggiang0710 commented 8 years ago

Nobody has same issue as me !

truonggiang0710 commented 8 years ago

No one can help me?

nikias commented 7 years ago

@truonggiang0710 If you still have this device, can you see if it still fails? Weird thing is that the activation server actually provides an activation ticket, and that the device accepts it (and returns success).

truonggiang0710 commented 7 years ago

Hi @nikias !

Yes, I still have it ! Activate process succeed, but it still at "Request Connect Itunes" screen. I think activated OK, but we need to bypass over "Request Connect Itunes" screen like as iTunes.

Thanks a lot !

truonggiang0710 commented 7 years ago

Hello! Any update! Please!

nikias commented 6 years ago

Hey sorry I was on vacation back then. Ok let's get some info after you try to activate: ideviceinfo -k ActivationState ideviceinfo -q com.apple.purplebuddy -k SetupDone

nikias commented 1 year ago

Closing due to inactivity. Feel free to reach out again @truonggiang0710