Samsung Serial Number Check Digit

International Mobile Equipment Identity (IMEI) is a number, usually unique, to identify 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. 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.
Source: Wikipedia

The IMEI (15 decimal digits: 14 digits plus a check digit) includes information on the origin, model, and serial number of the device.
The IMEI is validated in following steps:

Fast Samsung IMEI checker to check carrier, model, blacklist and sim-lock status. The IMEI number of a device is a 15-digit code that is used to identify that.

  1. Starting from the rightmost digit, double the value of every second digit (e.g., 7 becomes 14).
  2. If doubling of a number results in a two digits number i.e greater than 9(e.g., 7 × 2 = 14), then add the digits of the product (e.g., 14: 1 + 4 = 5), to get a single digit number.
  3. Now take the sum of all the digits.
  4. Check if the sum is divisible by 10 i.e.(total modulo 10 is equal to 0) then the IMEI number is valid; else it is not valid.

Example:


Java

// given EMEI number is valid or not.
classIMEI
// Function for finding and returning
staticintsumDig(intn)
inta = 0;
{
n = n / 10;
returna;
{
// for finding length
intlen = s.length();
if(len != 15)
for(inti = len; i >= 1; i--)
intd = (int)(n % 10);
// Doubling every alternate digit
d = 2* d;
// Finding sum of the digits
n = n / 10;
}
// Driver code
publicstaticvoidmain(String args[]) throwsIOException
// 15 digits cannot be stored in 'int' data type
System.out.println('Valid IMEI Code');
System.out.println('Invalid IMEI Code');
}

Python3

# given EMEI number is valid or not
# Function for finding and returning
defsumDig( n ):
whilen >0:
n =int(n /10)
returna
# Returns True if n is valid EMEI
# Sting for finding length
l =len(s)
# If length is not 15 then IMEI is Invalid
returnFalse
d =0
fori inrange(15, 0, -1):
ifi %2==0:
# Doubling every alternate digit
sum=sum+sumDig(d)
return(sum%10==0)
# Driver code
ifisValidEMEI(n):
else:

C#

// given EMEI number is valid or not.
// returning sum of digits
staticintsumDig(intn)
inta = 0;
{
n = n / 10;
}
staticBoolean isValidIMEI(longn)
// String for finding length
intlen = s.Length;
if(len != 15)
for(inti = len; i >= 1; i--)
intd = (int)(n % 10);
// Doubling every alternate
if(i % 2 0)
sum += sumDig(d);
}
return(sum % 10 0);
publicstaticvoidMain()
// 'int' data type
Console.Write('Valid IMEI Code');
Console.Write('Invalid IMEI Code');
}

Output:

Recommended Posts:

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Samsung Tv Serial Number Lookup

Please Improve this article if you find anything incorrect by clicking on the 'Improve Article' button below.



Categories
    Arts & Humanities




    Beauty & Style



    Business & Finance













    Cars & Transportation





    Computers & Internet


















    Consumer Electronics
















    Education & Reference








    Entertainment & Music









    Family & Relationships






    Food & Drink


    Games & Recreation




    Health


    Home & Garden


    Others


    Politics & Government







    Pregnancy & Parenting


    Science & Mathematics





    Society & Culture





    Travel






Q
How many digits are there in samsung galaxy ace handset
Asked by: alw.rkjain
This site is best viewed while logged in.

A




Add Your Answer
How many digit are there in imei number of samsung galaxy ace handset?
How many digits are there in samsung galaxy ace handset



Can you help us by answering one of these related questions?

We need your help! Please help us improve our content by removing questions that are essentially the same and merging them into this question. Please tell us which questions below are the same as this one:

How many digit are there in imei number of samsung galaxy ace handset?
  • 28% - Dearsir my handset model no.sm-n900 samsung galaxy note 3 .my handset big problem. problum 1.invild imei .problem 2 4g logo my display pls. halp?
  • 32% - I lost my samsung galaxy s advance phone today. i donot know imei number. how can i get imei number track then?
  • 44% - I having doubt recently how many digit imei number we have?
  • 27% - My new handset samsung galaxy ace duos s6802 has been lost? how can i identify where and who is using the handset? how can i lock the handset?
  • 24% - I forget my nokia c1-01 handset password. my handset imei no is 356258042928865?
  • 30% - Hello, i lost my samsung s3 and was asked by the operator to provide them with both imei and serial number. i found the imei number printed on the ..?
  • 29% - Galaxy s 4g only has 13 digit imei code and i need 15 digits to unlock. can you help?
  • 46% - Is the serial number and imei number are same for samsung galaxy s3?
  • 56% - Where is the hex/imei number on th samsung galaxy s4?
  • 27% - I am using samsung galaxy ace. i have total of two messages only. but my handset can not receive new msgs. when new msg comes, my handset says mess..?

Samsung Serial Number Check Digit Numbers


Leader BoardWhat's this?Number

Samsung

Leading TodayPtsHelpful
1.devel200100%
2.Arbi2k20083%
3.prem chan20086%
4.maremare420086%
5.badd2120072%
6.timyiwei200100%
7.lastname020077%
8.simonant8200100%
9.SlimingCh20074%
10.Abhishak20099%
11.hamishand20060%
12.mikemanga20076%
13.Me-zha20080%
14.Michael c20093%
15.The G.200100%
Leading this WeekPtsHelpful
1.earose20160073%
2.mikemanga60076%
3.nazenborg40082%
4.Barbara B22092%
5.PrincessH200100%
6.app_scope20083%
7.Aeshma20077%
8.carl.usep20071%
9.rzudo20061%
10.akosiars20088%
11.Michael c20093%
12.musadiq20095%
13.jbonaoy0120092%
14.ryandonga200100%
15.PVL20072%
16.201020067%
17.naveed_aw200100%
18.gorgeousg20087%
19.Ruth dixo200100%
20.MD Wasim 200100%
Leading this MonthPtsHelpful
1.Arbi2k160083%
2.lavignero1400100%
3.MD Wasim 1200100%
4.akosiars100088%
5.Barbara B89792%
6.Aftab6. A800100%
7.nazenborg80082%
8.mikemanga60076%
9.kartiksho60090%
10.kfa1360072%
11.jennifer.60068%
12.shadowgho60084%
13.daditomi60074%
14.kuramathe40282%
15.app_scope400100%
16.839581864400100%
17.kbandeleo40069%
18.ait140075%
19.cattybroo40086%
20.kaeybanez40061%
21.zessanne140060%
22.PrincessH400100%
23.peetabrar40093%
24.joseps221400100%
25.ait240084%