The phone was running in an infinite loop of the "Google logo, circling dots, optimizing all apps".
I tried to safe mode option where it was suggested to reset to factory setting using volume button and power button press during booting. However the buttons did not respond.
I took this to the...