Some times android shows invalid imei after Flash, But no need to worry, you can solve it in a couple of minutesjust download the App below
After Download app just install it and follow the instructions.
Open it and Click on Engineer Mode>Engineer Mode MTK>Connectivity>CDS Information>Radio Information
if you want to repair SIM 1 imei click on phone 1
if you want to repair sim 2 imei click on phone 2
if you selected phone 1 just type after AT+(Space)EGMR=1,7,"imei"
if you selected phone 2 type after AT+(space)EMGR=1,10,"imei"
And click on send at command
Now Reboot the Phone
Congratulation problem has been solved
if you need any help contact me
Contact
WhatsApp or Call:+923414666497