Thanks a lot , this worked perfectly .
"I rooted my device and after that I tried to install the custom ROM. (Peach sun rise ) I screwed up some things and was getting error .
E:short write of /tmp/sideload/package.zip
I tried flashing many other custom roms but same error . It looked like my phone is gone but these steps were life saver.