I have found a soulution here but it's for Nexus 6P and Android 5.1 but I think it will work in your case as well.
There's an internal problem with your device. Contact your manufacturer for details.
The problem occurs because of a check that Google implemented in Android 5.1 (and it seems stayed in after) which compares
/system/build.prop with the values found in
If they differ you get that error message. All one has to do to get rid of the error is to change the 3 values in
/vendor/build.prop according to the values in
On the link you can find a flashable zip. The magic is in the
/sbin/busybox egrep "^ro\.build\.(date(\.utc)?|fingerprint)=" /system/build.prop \
| /sbin/busybox sed -e"s/^ro\./ro.vendor./" \
So you need:
TWRP on your device
vendor-build-prop-fix-signed.zip to your device
- flash the zip but don't wipe anything
- reboot your phone
If it's not work (but it should be work), you can try this method.
It says you should download and flash/install the
vendor.img which matches your ROM's base.