/vendor/mediatek/proprietary/bootable/bootloader/lk/app/mt_boot/mt_boot.c
#if defined(DROI_PRO_PD3P_WLF) ///项目名单独配置生效
extern char droi_barcode[64];
#endif
#if defined(DROI_PRO_PD3P_WLF)
offset = fdt_path_offset(fdt, "/droi_barcode");
if (offset < 0) {
dprintf(INFO, "%s:[%d] fdt_path_offset failed\n", __func__, __LINE__);
panic("ERROR: /droi_barcode node not exist\n");
}
/*/rm droi_barcode restore model
ret = fdt_setprop(fdt, offset, "droi_barcode", droi_barcode, 64);
if (ret) {
dprintf(INFO, "%s:[%d] fdt_setprop failed, ret=%d\n", __func__, __LINE__, ret);
}
//*/
#endif
注释掉即可!让barcode无效,重新写barcode再无意义。再写也无效了