Flash stock rom of your device, root and make sure you're flashing the correct rom for your device and/or doing the correct methods. Make sure you have your IEMI backed up before flashing.
[Insert typical XDA signature here]
Press thanks if I have helped! =]
Karbonn A2+, highly modified stock rom.
Ace s5830i, TWResurrection rom.
Moto E xt1022 stock.
Google answers, XDA replies.