I did as you said. Formatted the phone but now I am getting stuck at the google logo loading phase. I waited for almost 40 mins so I know for sure that something is def wrong.
Reflash the ROM. If you are using orangefox recovery then flash rom twice with out wipe in second time