This happened to me with the original ROM that came with my phone when I bought it almost a year ago. Don't think our issues are related though...
My issue was I was using an iGo charger I got from RadioShack and had the wrong iTip on it. I was using the a32 tip when I should have been using a a53. They are both mini usb tips outputting 5v but the a53 has a much higher amperage which this phone needs.
I exchanged the tip and has been working fine since. Not sure if this is the same type of charger you are using but that was my issue!