@crashnburn , it would be cool if you described your solution, instead of just telling us "I did it!"
@Alexiaomi , can you enter recovery? Does it have stock recovery or TWRP? If you have TWRP, you're all set, you can wipe data, cache and dalvik and be done with it. If not, I guess you can flash a stock ROM using MiFlash + EDL mode. I've never done it, but there are many knowledgeable guys in here who can tell you how to do it, plus there are several threads here telling how to do just that.
Best regards,