Help rooted and think i deleted the operating system

will do. Thank you so much for your help. Its 3.30am here so may fall asleep if i do will continue as soon as i wake up. I am never going to mess with my phone again!!