Today I tried updating my Samsung Galaxy Y using Kies. While updating, my PC rebooted. When I turned on my phone, it said that firmware upgrade failed and that I should connect it to Kies and run emergency firmware recovery. I did that, but Kies gave me an error after 4 hours, and my phone was still the way it was. It boots into download and recovery mode and switches off, but I can't do anything else.