So I tried installing a rom and did a factory reset deleting everything (including the OS). I did root the phone but something went wrong so I factory reset it. Now when I press the power button I get the "google" black screen and nothing. I then shut it down and went to the bootloader. I stupidly forgot to recover my old stuff like an idiot and now the phone has OS.
Can you help me with a step by step guide to restore this phone?