I deleted my OS by accident using TWRP. So i tried to reinstall the OS using Odin and it failed. Now it has come up with this message on my phone: "An error has occured while updating the device software. Use teh Emergency recovery function in the Smart Switch PC software."
So now i opened up...