Battery Full [Q] Boot failure Nexus 4

Hi there!

I have a friend who has this phone, Nexus 4, which has some problems..
Out of nowhere it startet to not start. It boot up fine, gets into Android, and the first thing it does is shutting it self down. I get the message "shutting down" and there is this "loading screen" as if I had done the shutdown sequence myself.. Which I am most definitely not doing!

I thought that deleting everything and doing a foctory reset would do the trick. This turned out to delete everything, including the OS. After that happened the red light of doom started showing up. It turns out the phone was completely drawn for battery, which I fixed by putting the battery in a "professional" charger. The same charger I power up my RC batteries with. When this was done it once again booted, and I got to flash a new 4.4.2 OS onto it.

And then it starts to shut itself down again..! Every single file is deleted and reseted. I have even switched out the battery with a new one. Just too be sure..! Does anyone have a trick I could try?

Thanks in advance!