Check device variant by using ro.boot.hwc and ro.boot.proudct.hardware.sku, and set the correct model based on value of ro.product.marketname on stock ROM