it seems to me that the LG hex esn is not in true hexidesmal. i cannot get it to convert to a dec esn. is there a trick, or some thing i'm not understanding?
how can i convert a hex esn from an LG phone to a dec esn?:doh:
Printable View
it seems to me that the LG hex esn is not in true hexidesmal. i cannot get it to convert to a dec esn. is there a trick, or some thing i'm not understanding?
how can i convert a hex esn from an LG phone to a dec esn?:doh:
Why do you need to convert it to decimal?
If you absolutaly must, the only thing I can think of is going to a verizon store, and asking them if they can put it in their system, and it will automatically tell you both hex and dec.
If you already have the phone on your account, they can go in and tell you what the dec is on your account.
i need it in desmal because uscc uses desimal for their activations and paper work with my company. they want all paperwork submited to them whith the esn in dec. LG phones only have the dec esn on the box, and not on the phone. that meens, if the phone gets seperated from the box, i don't have the dec esn for the reports. that's why i need to figure out how to convert them.
I've activated an LG using VZW's online activation. No problem with the hex ESN there. However, if you give me the hex number, I can convert it to decimal with my calculator.
ok. lets see how you can do it. because i can't get it to work on my calculator.
i pulled an LX 5550 off my shelf
hex: 277eb96b
dec: 03908305003
using my calculator, hex to dec gets me 578730347
and dec to hex gets me e8f4006b
if you get it to work, tell me how. if i'm doing something wrong, let me know. thanks.
Actually, you can't convert the LG from hex to decimal with your calculator. I've tried.
Basically, some systems use decimal for your ESN info and can't use hex. If you get an LG phone without the box, it has the ESN in hex on the phone, and not decimal. If you want the decimal value, you need to convert it somehow.
The problem is that it's NOT a true hexidecimal conversion. Lets take a real life example. I have in front of me an LG that has a hex ESN of 277EBD50. You convert it to decimal using a calculator or any method you want, and you get a decimal value of 662617424. Notice however that it is a 9 digit number, and ESNs are 11 digits. The true ESN that is listed on the box is 03908306000. Notice that it isn't even close to the value that we got doing a hex to decimal conversion.
Not sure what is going on there, but it's kinda funky.
so, is there a conversion formula of any sort for LG phones?
I use to have to do a lot of machinery programing in 'logic circuits'
i played around with ths delima for a few minutes and came up with this little piece of info.. the puzzles not solved yet but i think this is the direction to go
input 277EBD50 in hex into the calculator
change it to binary then store it in memory
CE ( clear entry )
input the real dec ESN 03908306000
change it to binary and 'OR' it with memory recall ( the first number in memory)
the result is a binary string that reads 662617424. when converted to decimal
:befuddled
skip the prevous post , I din't hit the equal key and the results are totaly invalid
but here is what i found add hex # c1754700 to the hex serial number and covert the total to Decimal to get the dec ESN
it works for both my phones an LG4500 and a 3200 and for the number that started this post
e8f40450 is the sum of 277EBD50 + C1754700
I have no ieda what the significance of 'c1754700' is but it works
Good job there. I was kind of wondering if it was something like that, but I was too lazy to figure it out myself.
I'm kind of wondering if the number you have to add isn't related to LG. Basically you can identify who the phones belong to by the ESN. Maybe c1754700 is the start range of the ESNs that LG has, and then the ESN that it lists on the box is it's "internal" number. Dunno, just hypothosizing. :)
when it comes to the reason for that particular number.. anybodys guess is good..
but since the decimal number is a total of the two..
maybe the hex # c1754700 is the verizon idenfier key.
the phone hex number is LG's serial number for the phone
the dceimal number is verizon's number for the phone
if this is the case an LG phone for another tellco would use a different 'identifier' to get the decimal ESN if they bothered to use it.
Nope. It's not verizon specific. It works with USCC phones too.
I think it's more likely that it's LG related. each manufacturer has a range of ESNs that they can use with their phones. Maybe the c1754700 is the start of LGs range.
the way to convert hex to dec is to take the 2 first digits of the esn and enter it into
your scientific calc ( i use the one in windows) make sure the calc is in hex format, after u do that hit the dec button
it should pop up 3 numbers, if only 2 come up put a 0 in front then enter the remainder of the hex digits ( there should be 6 left) then do the same with the the last 6 digits , again if only 8 digits appear place a 0 in front, u should now have your 11 digit esn
did you even read the other postings ?
we all know how to use the calculator
the decimal ESN is not a direct conversion..
it is the sum of two numbers
the hex serial number inside the phone and another hex number
Yes, you obviously didn't read through all the posts before posting.
I am a computer geek, and I can translate between binary, hex, and decimal without the need of a calculator (although it is faster with one). Read the post, punch the numbers into your little calculator and you'll see that the numbers don't match up. Don't be talking down to us as if we don't know how to do something as trivial as a hex to decimal conversion until you figure out what we are really sayiing and you try what we say.
(sorry, kinda late and I'm cranky. don't take it personal)
ok maybe im missing something but what is the esn that your trying to convert
when i convert 277eb96b to dec i get 03908305003
not 578730347
so i dont get what your doing
by the way im just trying to help so everyone just relax if im wrong
************************************************** **
ok. lets see how you can do it. because i can't get it to work on my calculator.
i pulled an LX 5550 off my shelf
hex: 277eb96b
dec: 03908305003
using my calculator, hex to dec gets me 578730347
and dec to hex gets me e8f4006b
if you get it to work, tell me how. if i'm doing something wrong, let me know. thanks.
************************************************** **
I dunno how you are getting that, because I have tried three different scientific calculators, and have even done it manually on paper and I do NOT get the numbers matching up.
Dec ESN of 03908305003 should be 0xE8F4006B. What are you using to convert from hex to decimal? It can't be a standard scientific calculator because the numbers aren't right.
First of all i think that this has turned into one of the most pathetic threads posted to date. I understand that it is not as easy as it looks to convert hex to dec, and asking about it makes sense. But the responses.
Here is an idea dont respond to something with stuff that you just made up. Oh and by the way sitting at home by yourself looking at girls on the inet (if you know what i mean) doesnt make you a computer geek, it makes you a loser.
Anyways Jomomma is correct to convert hex to dec all you need is the one hex number you just convert part then you add the second part like in his instruction, which were staight forward. I did it with my calculator in about well 5 seconds.
For the rest of the people responding not understanding what he is doing and putting him down, well i dont even need to say anything cause anyone who knows what they are talking about knows that your well, we will just use the term "mistaken" i would personally use another term, but to my surprise it is not politically correct.
But to the original post of this forum jomomma is correct message him if you dont understand his directions i am sure he will help you.
P.S. The politically correct version of the word i would have used is "mentally handicaped"
Ok here is how you do it, when converting hex to dec.
The first two digit in the hex represent the first three digits in the dec
so 27 hex converts to 39 in dec or 039 since we need three digits we add zero infront
Then we convert the last six digits in the hex format to represent the remaining eight digits in the dec format
so 7eb96b in hex which is 8305003 in dec so we need eight digits so just like last time we put a zero infront so 08305003
Then we add them together the first three digit which were 039 and the last eight which were 08305003 to get 03908305003
Done! and that is how you convert it and practically all phones are done in the same mannor, not just LG soooooo crazy. LG is just crazy out of hand with their conversion methods, <--sarcasm thought i would just put in that i was being sarcastic since most people who responding to this thread probabily wouldnt get it
Ok, I did a calculator typo the first time I posted, so the value wasn't quite right, but I have a little better info here and I think that it's going to be easy to show you guys what the problem is, because no, Jomamma is NOT right.
Here is the info on the box from a phone that was pulled off the shelf:
hex: 277eb96b
dec: 03908305003
For convenience, so there isn't any arguement over conversions, I found a web page that has a conversion program. It's at http://www.ccie.org.uk/resources/hex...t=Submit+Query
When you punch in the hexidecimal value that is listed on the box, this is the result:
Decimal: 0662616427
Hexidecimal: 0x277eb96b
Octal: 004737534553
Binary: 0b00100111011111101011100101101011
The box lists the decimal value as being 03908305003, and the CORRECT decimal value of 0x277eb96b is actually 0662616427.
Do you notice that they are different?
Here is the problem. If you have the phone, and you don't have the box, then you ONLY have the hex ESN. Since converting the Hex ESN to a decimal format doesn't give the correct result, then you don't have the proper decimal ESN to make the phone work if your provider insists on a decimal ESN I(like mine does).
Themopedwiz had a solution that came up with a proper value. Jomamma and Rees, you guys are screwed up. As the web page I posted CLEARLY shows, a hexidecimal value of 0x277eb96b converts to a decimal value of 0662616427. That is NOT the decimal ESN shown on the box.
The reason I asked Jomomma what he used to convert it, is that USCC has a hex-dec conversion tool in OLR that converts them, but it's NOT a true hex-dec converter, it does it's own thing to come up with the proper value.
If you can find a web site that does a hex-decimal conversion properly, and it isn't associated with cel-phones (in other words, it doesn't fudge the conversion for LG phones), then I'll start listening and thinking that maybe there is something to what you say, but in the mean time, I have yet to be convinced by either of you that you are doing your numbers right.
It is mathimatically impossible to have a hexidecimal number convert to two different decimal numbers of different values. Once hex number will have one, and only one decimal equivalent, and the web page I posted has demonstrated that it doesn't work out the way you say you are getting results, Rees and Yomomma
i work for a cell phone company in canada we are a little behind the times up here so i have converted many esn from hex to dec and back
I KNOW TO DO IT
you must split the hex esn into 2, first use the digits 27, converted into hex will give you 39 add a 0 to that 039 then take the last 6 digits 7eb96b that will give you 8305003 ad a 0 in front of that put the two together you will get and esn of 0398305003
pls try this it works use the calc on windows and start with the hex highlighted enter in the first 2 digits then highlight the dec button do the same with the last 6 digits
ROTFLMAO.
Ok Jomomma, you have now answered my question completely and totally and given me an understanding of how they work the ESNs on the system.
For what it's worth, chopping a number into two pieces to convert it and combining them is NOT a mathmatical hex to decimal conversion. If you were to ever try that in a math class you would get the wrong answer. When you said that you did it on your calculator, you didn't mention that you break it into two pieces and recombine them.
Thank you for your post explaining what you did though because that answered the question very, very well.
Now, had this post gone perfect, after it was posted saying that it's not a true hex to decimal conversion (which is still true), then you would have posted the instructions that you did so that I would have understood that it's a funky concatinated conversion that is PROPRIETARY to how LG does phones (or cell companies. Not sure which, but it doesn't extend outside of cellular, I know that for sure). Then we could have skipped all the bickering and me getting frustrated late at night and chewing on people. :D
Thanks again for your final explanation Jomomma. Very helpful. :D
thank you for finally doing what ive been saying from the beginning-
this was my first post
*******************************
he way to convert hex to dec is to take the 2 first digits of the esn and enter it into
your scientific calc ( i use the one in windows) make sure the calc is in hex format, after u do that hit the dec button
it should pop up 3 numbers, if only 2 come up put a 0 in front then enter the remainder of the hex digits ( there should be 6 left) then do the same with the the last 6 digits , again if only 8 digits appear place a 0 in front, u should now have your 11 digit esn
********************************
however had YOU listened from the beginning we would not have had this problem . this is the first thread that i have ever responded to, EVER and i must say it has left a bad taste in my mouth, all you "cell phone guru's" think you know it all but obviously dont , i dont know how to convert hex to dec without a calc let alone binary or whatever else you came up with but i do know how to convert "cellphone" hex to dec, and by the way every company uses this method , pls in the future just give the "newb" the benefit
Thanks for your last post, glad to help
:)
Yup, I apparently missed that part. As I mentioned in my post, it was late, I was cranky, it's easy to miss stuff
jomama
there was miss communication here
you stated / implied that your way was the way to do straight math ,HEX numbers to dec numbers conversions
what you meant was that the telco commpanies break the numbers into parts , inserting one part in front of the other..
this is a procedure or ( coding process ) formula
not straight math..
I'm glad you explained , the telco process..
but that is not straight hex to dec math.. and you should not have accuse somebody of being a ( computer ??????? ) insulting his integrety..
:arguing:
I've come to realize that there is kind of a gap here. We have our people who are phone geeks, and those who are computer geeks. When I got talking to my boss, he wasn't surprised about having to chop the numbers to convert them since aparently motorola has done that for a long time. In fact, I had to educate him as to how we computer geeks convert between the two.
Jomomma did say to split the numbers, but i mised as I skimmed through and I was cranky besides.
I think a lot of this was miscommunication between the two different geek types. :)