so when i turn my phone on the screen starts acting wierd and then the phone just shuts down (even if i have 100% battery)what can i do to fix the problem, does the warrranty cover the problem?
Do that what I suggested. You don't have to be able to turn on your phone for flashing its ROM. Anyway you should check the battery with a measure tool if you can do that.