MEID and ESN Calculation CDMA
MEID and ESN Calculation (AKA cdma phones only)
(If you learned anything please thank below, it will warm my heart lol
Here is a guide on how your MEID and ESN are generated. This is for educational purposes only. I am creating it as away to say thanks to all the xda devs that helped me in updating my phone with the newest htc sense updates and putting up with my noobness.
Ok again I repeat this is for educational process, I will not teach you how to edit your esn or meid’s. (Again don't anyone to use it for wrong)
Ok your ESN generates from your MEID, so once you have your meid you can derive your ESN.
Example MEID I will be using is completely random and made up (A10000999AAAAA)
You want work with you Hex MEID aka the one that starts off with A1 xxxxxxxxxxx
(The x’s follows the hex format meaning 0-9 and A-F in the lettering the numbers should be 14 digits)
You will have to transcribe this number into Binary-
(Easiest way to do it - open up Microsoft calculator that is installed on every computer – click view and go to scientific)
Click HEX in the Calculater Type in the everything (A10000999AAAAA)
After everything is typed in click BIN (should yield a 56 bit string 1010 000 100 000 000 000 000 001 001 100 110 011 010 101 010 101 010 1010)
The first 8 bytes are reserved by the government or some committee (TIA) 1010 000 1
00 000 000 000 000 001 001 100 110 011 010 101 010 101 010 1010
The following 24 bytes are the manufacturer bit code 1010 000 100 000 000 000 000 001 001 100 110 0
11 010 101 010 101 010 1010
The Last 24 bytes are the serial number for your device 1010 000 100 000 000 000 000 001 001 100 110 011 010 101 010 101 010 1010
Now if your smart you can figure out what I just wrote
Now to figure out your MEID: In the back of your phone the 14 digit number is really suppose to be converted into an 18 digit number .
First take the first 8 digits of the MEID: A1000099
9AAAAA paste it into your calculator and make sure that it is set under HEX then click DEC (should yield 2701131929)
Next take the last 6 digits A10000999AAAAA
, 9AAAAA and add an zero to the front of it and repeat – Type on 09AAAAA in calc Hex clicked then click dec (should yield 10136234)
Finally – combine them all 270113192910136234 and wham your MEID that your phone company uses to program you phone.
For the ESN you will have to use an Hash Calc –
(I will not go into detail on how to come up with your ESN, but I will get you the steps)
1. Take MEID A10000999AAAAA paste it into you SHA-1 Hash Calculator
2. Calculate the Hash
3. Take the last 6 numbers and place and 80 in front of them
4. And wham you ESN should be 0x80(what ever your last 6 digits are)
So in Conclusion, you MEID is the most important part of your phone and everything is derived from it. Again only for information use only. I can help if you need help flashing your phone, but I am really lazy…
PS Screw PIPA and other government agencies trying to limit our educational process, they want us to pay the rich that owns colleges and other learning sources on how to educate the human race, well thank xda and internet for educating me on phone services for free.