Difference between revisions of "Activation Token"

From The iPhone Wiki
Jump to: navigation, search
(links)
Line 8: Line 8:
   
 
For the first generation iPhones, the [[NCK]] field has been added. For later generation models, the [[WildcardTicket]] field is used for activating the baseband with [[AT+XLCK]].
 
For the first generation iPhones, the [[NCK]] field has been added. For later generation models, the [[WildcardTicket]] field is used for activating the baseband with [[AT+XLCK]].
  +
  +
==Resources==
  +
* [[User:posixninja|posixninja]]'s [http://github.com/posixninja/ideviceactivate iDeviceActivate]
   
 
[[Category:Baseband]]
 
[[Category:Baseband]]

Revision as of 05:21, 20 August 2010

iTunes gets three things from the phone, the DeviceID, the IMEI, and the ICCID. This is called the token and is unique to every iPhone. This token is then sent to the Apple server (alfred.apple.com) via SSL. Apple uses their private key to sign the token and transmits it back to iTunes. iTunes then calls AMDeviceActivate with this signed token. The device gets the token and checks whether or not the signature matches the token. If it does, the device is activated. A patched lockdownd circumvents these checks rather then to provide a valid token. (To create a valid token someone needed Apple's private key.)

{
 "UniqueDeviceID" = "aabbccdd......";
 "InternationalMobileEquipmentIdentity" = "1234....";
 "IntegratedCircuitCardIdentity" = "1234...";
}

For the first generation iPhones, the NCK field has been added. For later generation models, the WildcardTicket field is used for activating the baseband with AT+XLCK.

Resources