def getInfoBuild():
 try:
  build = autoclass('android.os.Build')
  version = autoclass('android.os.Build$VERSION')
  deviceName = build.DEVICE
  manufacturer = build.MANUFACTURER
  model = build.MODEL
  product = build.PRODUCT
  bootloaderVersion = build.BOOTLOADER
  hardware = build.HARDWARE
  try:
   serial = build.SERIAL
  except Exception as e:
   serial = None
  radioVersion = build.getRadioVersion()
  return {'deviceName': deviceName, 'manufacturer': manufacturer, 'model': model, 'product': product, 'bootloaderVersion': bootloaderVersion, 'hardware': hardware, 'serial': serial, 'radioVersion': radioVersion, 'release': '{0} ({1})'.format(version.RELEASE, version.CODENAME)}
 except Exception as e:
  return {'deviceName': None, 'manufacturer': None, 'model': None, 'product': None, 'bootloaderVersion': None, 'hardware': None, 'serial': None, 'radioVersion': None, 'release': None}

def getInfoBuild ( ) : try : build = autoclass ( 'android.os.Build' ) version = autoclass ( 'android.os.Build$VERSION' ) deviceName = build . DEVICE manufacturer = build . MANUFACTURER model = build . MODEL product = build . PRODUCT bootloaderVersion = build . BOOTLOADER hardware = build . HARDWARE try : serial = build . SERIAL except Exception as e : serial = None radioVersion = build . getRadioVersion ( ) return { 'deviceName' : deviceName , 'manufacturer' : manufacturer , 'model' : model , 'product' : product , 'bootloaderVersion' : bootloaderVersion , 'hardware' : hardware , 'serial' : serial , 'radioVersion' : radioVersion , 'release' : '{0} ({1})' . format ( version . RELEASE , version . CODENAME ) } except Exception as e : return { 'deviceName' : None , 'manufacturer' : None , 'model' : None , 'product' : None , 'bootloaderVersion' : None , 'hardware' : None , 'serial' : None , 'radioVersion' : None , 'release' : None }
returns {devicename: .