Changes

Created page with "The International Mobile Equipment Identity or IMEI /aɪˈmiː/[1] is a number, usually unique,[2][3] to identify 3GPP and iDEN mobile phones, as well as some satellite phones..."
The International Mobile Equipment Identity or IMEI /aɪˈmiː/[1] is a number, usually unique,[2][3] to identify 3GPP and iDEN mobile phones, as well as some satellite phones. It is usually found printed inside the battery compartment of the phone, but can also be displayed on-screen on most phones by entering *#06# on the dialpad, or alongside other system information in the settings menu on smartphone operating systems.

__TOC__
==Description==

The IMEI number is used by a GSM network to identify valid devices and therefore can be used for stopping a stolen phone from accessing that network. For example, if a mobile phone is stolen, the owner can call their network provider and instruct them to blacklist the phone using its IMEI number. This renders the phone useless on that network and sometimes other networks too, whether or not the phone's subscriber identity module (SIM) is changed.

==Structure of the IMEI and IMEISV (IMEI software version)==
The IMEI (15 decimal digits: 14 digits plus a check digit) or IMEISV (16 decimal digits: 14 digits plus two software version digits) includes information on the origin, model, and serial number of the device. The structure of the IMEI/SV is specified in [http://www.3gpp.org/ftp/Specs/html-info/23003.htm 3GPP TS 23.003]. The model and origin comprise the initial 8-digit portion of the IMEI/SV, known as the [[Type Allocation Code]] (TAC). The remainder of the IMEI is manufacturer-defined, with a [[Luhn algorithm|Luhn check digit]] at the end. For the IMEI format prior to 2003, the GSMA guideline was to have this Check Digit always transmitted to the network as zero. This guideline seems to have disappeared for the format valid from 2003 and onwards.<ref>GSM Association, [http://www.gsma.com/documents/ts-06-6-0-imei-allocation-and-approval-guidelines/20164/ IMEI Allocation and Approval Guidelines], Version 5.0, 2010-09-01, chapter 2.1.5 vs. D.1.6</ref>

{{As of|2004}}, the format of the IMEI is ''AA-BBBBBB-CCCCCC-D'', although it may not always be displayed this way. The IMEISV does not have the Luhn check digit but instead has two digits for the Software Version Number (SVN), making the format ''AA-BBBBBB-CCCCCC-EE''
{| class="wikitable" style="margin:auto;"
!
! AA
! -
! BB
! BB
! BB
! -
! CC
! CC
! CC
! D or EE
|-
| Old IMEI
| style="text-align:center;" colspan="4"| TAC
| style="text-align:center;"| FAC
| style="text-align:center;" colspan="4" rowspan="4"| Serial number
| style="text-align:center;" rowspan="2"| (Optional) D = [[Luhn algorithm|Luhn checksum]]
|-
| New IMEI
| style="text-align:center;" colspan="5"| TAC
|-
| Old IMEISV
| style="text-align:center;" colspan="4"| TAC
| style="text-align:center;"| FAC
| style="text-align:center;" rowspan="2"| EE = Software Version Number (SVN).
|-
| New IMEISV
| style="text-align:center;" colspan="5"| TAC
|}
Prior to 2002, the TAC was six digits long and was followed by a two-digit [[Final Assembly Code]] (FAC), which was a manufacturer-specific code indicating the location of the device's construction.
From January 1, 2003 until that April 1, 2004, the [[Final Assembly Code|FAC]] for all phones was 00.
After April 1, 2004, the Final Assembly Code ceased to exist and the Type Allocation Code increased to eight digits in length.

In any of the above cases, the first two digits of the TAC are the [[Reporting Body Identifier]], which identifies the GSMA-approved group that allocated the TAC. The RBI numbers are allocated by the Global Decimal Administrator. IMEI numbers being decimal allows them to be distinguished from an [[MEID]], which is hexadecimal and always has 0xA0 or larger as its first two hexadecimal digits.

For example, the old style IMEI code 35-209900-176148-1 or IMEISV code 35-209900-176148-23 tells us the following:
<blockquote>
'''TAC''': 35-2099 - issued by the [[BABT]] (code 35) with the allocation number 2099<br/>
'''FAC''': 00 - indicating the phone was made during the transition period when FACs were being removed.<br/>
'''SNR''': 176148 - uniquely identifying a unit of this model<br/>
'''CD''': 1 so it is a GSM Phase 2 or higher<br/>
'''SVN''': 23 - The "software version number" identifying the revision of the software installed on the phone. 99 is reserved.
</blockquote>

By contrast, the new style IMEI code 49-015420-323751 has an 8-digit TAC of 49-015420.

The new CDMA Mobile Equipment Identifier ([[MEID]]) uses the same basic format as the IMEI.

=== Check digit computation ===
{{see also|Luhn algorithm}}
The last number of the IMEI is a [[check digit]] calculated using the [[Luhn algorithm]], as defined in the [http://www.gsma.com/newsroom/wp-content/uploads/2012/06/ts0660tacallocationprocessapproved.pdf IMEI Allocation and Approval Guidelines]:
<blockquote>
The Check Digit shall be calculated according to [[Luhn algorithm|Luhn formula]] (ISO/IEC 7812). (See GSM 02.16 / 3GPP 22.016). The Check Digit is a function of all other digits in the IMEI. The Software Version Number (SVN) of a mobile is not included in the calculation.

The purpose of the Check Digit is to help guard against the possibility of incorrect entries to the CEIR and EIR equipment.

The presentation of the Check Digit both electronically and in printed form on the label and packaging is very important. Logistics (using bar-code reader) and EIR/CEIR administration cannot use the Check Digit unless it is printed outside of the packaging, and on the ME IMEI/Type Accreditation label.

The check digit is not transmitted over the radio interface, nor is it stored in the EIR database at any point. Therefore, all references to the last three or six digits of an IMEI refer to the actual IMEI number, to which the check digit does not belong.
</blockquote>

The check digit is validated in three steps:
# Starting from the right, double every other digit (e.g., 7 → 14).
# Sum the digits (e.g., 14 → 1 + 4).
# Check if the sum is divisible by 10.
Conversely, one can calculate the IMEI by choosing the check digit that would give a sum divisible by 10. For the example IMEI 354530085441085?,
{| class="wikitable" style="text-align:center"
|-
! IMEI
| style="width:1.5em" |4
| style="width:1.5em" |9
| style="width:1.5em" |0
| style="width:1.5em" |1
| style="width:1.5em" |5
| style="width:1.5em" |4
| style="width:1.5em" |2
| style="width:1.5em" |0
| style="width:1.5em" |3
| style="width:1.5em" |2
| style="width:1.5em" |3
| style="width:1.5em" |7
| style="width:1.5em" |5
| style="width:1.5em" |1
| style="width:1.5em" | x
|-
! Double every other
|4
| style="background: #FFA;" |18
| 0
| style="background: #FFA;" |2
| 5
| style="background: #FFA;" |8
|2
| style="background: #FFA;" |0
| 3
| style="background: #FFA;" |4
| 3
| style="background: #FFA;" |14
|5
| style="background: #FFA;" |2
| x
|-
! Sum digits
| colspan="15" style="white-space: nowrap" | 4 + (1 + 8) + 0 + 2 + 5 + 8 + 2 + 0 + 3 + 4 + 3 + (1 + 4) + 5 + 2 + x = 52 + x
|}
To make the sum divisible by 10, we set x = 8, so the complete IMEI become 490154203237518