Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

Korakot Chaovavanich http://korakot.stumbleupon.com

« Newer Snippets
Older Snippets »
Showing 1-2 of 2 total  RSS 

Looking up phone model using firmware code

You can lookup the firmware code by
   1  
   2  dial *#0000#

For pys60 you can use
   1  
   2  >>> import sysinfo
   3  >>> sysinfo.sw_version()
   4  u'V 3.42.1 16-10-03 NHL-10 (c) NMP'
   5  >>> firmware = _.split(' ')[3]
   6  >>> firmware
   7  u'NHL-10'
   8  >>>

Looking at the table here, a mapping can be made.
   1  
   2  >>> mapping = {
   3    'RM-51': '3230',
   4    'RM-38': '3250',
   5    'NHM-10': '3600',
   6    'NHM-10X': '3620',
   7    'NHL-8': '3650',
   8    'NHL-8X': '3660',
   9    'RM-25': '6260',
  10    'RM-29': '6260b',
  11    'NHL-10': '6600',
  12    'NHL-12': '6620',
  13    'NHL-12X': '6620',
  14    'RM-1': '6630',
  15    'RH-67': '6670',
  16    'RH-68': '6670b',
  17    'RM-36': '6680',
  18    'RM-57': '6681',
  19    'RM-58': '6682',
  20    'RH-51': '7610',
  21    'RH-52': '7610b',
  22    'NHL-2NA': '7650',
  23    'RM-49': 'E60-1',
  24    'RM-89': 'E61-1',
  25    'RM-10': 'E70-1',
  26    'RM-24': 'E70-?',
  27    'NEM-4': 'N-Gage',
  28    'RH-29': 'N-Gage QD (asia/europe)',
  29    'RH-47': 'N-Gage QD (americas)',
  30    'RM-84': 'N70-1',
  31    'RM-99': 'N70-5',
  32    'RM-67': 'N71-1',
  33    'RM-112': 'N71-5',
  34    'RM-91': 'N80-3',
  35    'RM-92': 'N80-1',
  36    'RM-42': 'N90-1',
  37    'RM-43': 'N91-1',
  38    'RM-158': 'N91-5' }
  39  >>> mapping[firmware]
  40  '6600'
  41  >>>

Symbian phone list

   1  
   2  # S60 3rd Edition (Symbian OS v9.1)
   3  Nokia E60, E61, E70
   4  Nokia 3250
   5  Nokia N71, N80, N91, N92
   6  
   7  # S60 2nd Edition FP3 (Symbian OS v8.1)
   8  Nokia N70, N90
   9  
  10  # S60 2nd Edition FP2 (Symbian OS v8.0a)
  11  Nokia 6630, 6680, 6681, 6682
  12  Lenovo P930
  13  
  14  # S60 2nd Edition FP1 (Symbian OS v7.0s enhanced)
  15  Nokia 3230, 6260, 6620, 6670, 7610
  16  Panasonic X700, X800
  17  Samsung SDH-D720
  18  
  19  # S60 2nd Edition (Symbian OS v7.0s)
  20  Nokia 6600
  21  
  22  # S60 1st Edition (Symbian OS v6.1)
  23  Nokia 3600, 3620, 3650, 3660, 7650
  24  Nokia N-Gage, N-Gage QD
  25  Sendo X
  26  Siemens SX1

See official list.
« Newer Snippets
Older Snippets »
Showing 1-2 of 2 total  RSS