This is due to shorted power button.
The power button has 3.2V that is the power on voltage if you press the button you will short the 3.2V to the ground and the phone start up.
If this is shorted so permanently will run the power on and off sequence in loop.
The best way is to replace the...