Tuesday, June 19, 2012

Validation of the PIN and IMEI blackberry

VALIDATION BLACKBERRY PIN AND IMEI

This Article Written by: Faisal Rudianto, S.T

ASP-RIM Technical Support Indonesia

First of all I first explain the imei number system which we will make a benchmark to determine whether they will be valid IMEI or not ... yes, of course, valid or not hehehe ...

the point is how we can check with perfect accuracy whether
imei or pin that was in our blackberry or otherwise invalid. Okay I started first with the IMEI ..

IMEI stands for International Mobile Equipment Identity is penjabarannya a series of 15 (fifteen) unique random numbers to represent the identity of a cell phone. The series of numbers is not without rules at

once, on the contrary sdh very carefully planned with the full calculation with

algorithm is pervasive ..

IMEI has the format and validity of which must be considered as

the following:

imei 353309018909870 eg TAC = 35

FAC SNR = 890 987 = 330 901 SP = 0

nah they will be an explanation of their name above is as follows ..

TAC = Type Approval Code, which was originally a two-digit country code

FAC = Final Assembling Code, which codes for the location or the name of the manufacturer of the phones they will be

SNR = Serial Number, which is the identity code of the algorithm as the original phone's serial number

TSB .. aka the original order number machine phone number SP = Spare stands

verification of the validity digit IMEI number, default is 0, this number will change

after validation of the IMEI number.

SP numbers can also be calculated based on the checksum.

Methods / algorithms to determine whether the IMEI number is valid or not


based on the Luhn algorithm. In addition to the IMEI, the Luhn algorithm is also applied

Credit card numbering, some such as BNI ATM card, but of course with a slightly different format.

Well if the problem deepened numbers permutations of these algorithms give way bisa2 card

the credit may not hehehhehehe well, lets get kosher phone service work can be successful and why ..

Now as for the way to validate the IMEI number is as follows. Think digit - digit IMEI is D14 D13 D12 until ... D1

where D14 is the leftmost digit digit while D1 is the rightmost digit.

How to count is as follows:

Multiply two-digit IMEI on all the odd position, D13, D11, D9, D7, D5, D3, and D1 Sum of all digits (individually) the result of multiplying the => X1 Sum all digits in even positions IMEI => Add the X1 and X2 X2 = X3

If X3 is a number ending in 0 (0,10,20,30, etc.), then SP = 0, otherwise,

then the SP is the result of a reduction of the nearest tens digit higher than X3

Suppose it X3 = 56 then SP = 60-56 = 4

If X3 = 81 then SP = 90-81 = 9 ff khan ..... easy ......?

or it could be aja pake tool to calculate the checksum digit not complicated hehehehehe sp ..

Now we try to practice well, yuk monggo listened carefully .... imei 353309018909870 eg TAC = 35

FAC SNR = 890 987 = 330 901 SP = 0 D14 = 3 D12 = D13 = 5 3 3 D11 = D10 = 0 D9 D8 = 0 = 9 D7 = 1 D6 = D5 = 9 8 D4 = 0 D3 = 9 = 8 D1 = D2 7 SP = 0

odd digit

D13 = 5 X 2 = 10 D11 = 3 X 2 = 6 D9 = 9 X 2 = 18 D7 = 1 X 2 = 2 D5 = 2 = 18 9 X 9 X 2 D3 = D1 = 18 = 7 X 2 = 14 digits even D14 = 3 D12 = 3 D10 = 0 D6 = D8 = 0 8 0 D2 = D4 = 8

X1 obtained from

summing the individual digit odd number of 1 +0 +6 +1 +8 +2 +1 +8 +1 +8 +1 +4 = 41 x1 = 41

X2 obtained from summing the individual digits even without multiplied by two 3 +3 +0 +0 +8 +0 +8 = 22 x2 = 22

x3 = x1 + x2 41 +22 = 63

sp = number on which the nearest tens = 70 70-63 = 7 means the sp

why imei on sp = 0 means .... Invalid which should be valid 353309018909877