1、使用手机主板+系统定制商+cup指令集+设备参数+显示屏参数+修订版列表等数据生成IMEI号
/** * Pseudo-Unique ID, 这个在任何Android手机中都有效 解决手机中IMEI获取不到情况,兼容所有手机 */ public static String getIMEINew(Context context) { //we make this look like a valid IMEI String m_szDevIDShort = "35" + Build.BOARD.length()%10 + Build.BRAND.length()%10 + Build.CPU_ABI.length()%10 + Build.DEVICE.length()%10 + Build.DISPLAY.length()%10 + Build.HOST.length()%10 + Build.ID.length()%10 + Build.MANUFACTURER.length()%10 + Build.MODEL.length()%10 + Build.PRODUCT.length()%10 + Build.TAGS.length()%10 + Build.TYPE.length()%10 + Build.USER.length()%10 ; //13 digits return m_szDevIDShort; }