Chosen Solution
So after i updated my iphone 8 to ios 12.2, my phone started going on an infinite bootloop i tried everything dfu mode recovery mode no avail. sometimes when it comes off battery I can actually get it to the start screen and even set it up, but when it loses battery/ shuts off its bootloop again. I even removed battery and plugged it in with charger and it still bootlooped. I dont understand the problem AHHHH
Could be just a bad battery. Try getting that replaced and see how that goes. iPhone will just flash apple logo on and off with battery disconnected so it needs a working battery for the iPhone to turn on.
Get New Battery. that’s your problem
If you haven’t already fixed this, I have found that disconnecting the front proximity sensor altogether works, however, you lose the selfie camera feature…..