Even if you format the storage, the system files would be in the same place. However, try to press Volume Down + Power button until the phone enters Recovery menu. Select Wipe Data with volume buttons and confirm it with Power button. Wait a few minutes and the phone should boot again.