Dial *#*#3646633#*#* to enter (MTK Engineering Mode). If that code fails, try *#*#54298#*#* or use an app like "MTK Engineering Mode" from the Play Store.
If the tablet still boots but has no IMEI, try backing up the current NVRAM using or WonderShare MobileGo – though modern Android versions make this difficult. For future safety, always back up the NVRAM immediately after a successful stock ROM flash. lenovo tb-8504x imei repair
Fortunately, there are several methods to repair or restore the IMEI on your Lenovo TB-8504X: Dial *#*#3646633#*#* to enter (MTK Engineering Mode)
AT+EGMR=1,7,"Your_15_Digit_IMEI_1"