X2 stuck in boot loop

I was setting a wallpaper last night, and my phone restarted itself. Upon start up, it stuck in boot loop. Done A factory reset worked fine until I went to set a Facebook account, it crashed again. It's not rooted at all, btw.