I have to most weird problem.
I do not know if it's an hardware fault.
My phone gets into a bootloop on battery insertion.
If I connect the USB cable, it restarts and turns on. Even Odin mode gets interrupted, so I cannot flash a ROM.