检测MTK平台的Android设备是否校验了NVRAM database file

// 用ate工具校准过的话,工具会往序列号的字段写入标致位.
// 没有校准:序列号的60、61位为空,校准失败为00,校准成功为10
boolean isCorrectNVRAM() {
	String barCode = getSystemProperties("gsm.serial");
	if (barCode != null && barCode.length() >= 62)
		return barCode.substring(60, 62).equals("10");
	return false;
}

猜你喜欢

转载自blog.csdn.net/llxxhm/article/details/82531369