Bootlooping is a dark, ominous phenomenon that is often misunderstood. There are many possible causes and some phones never recover. It sounds like your issue is hardware because the phone has issues with other ROMs. Here are some of the known causes and known remedies:
Old, damaged or defective battery
Your battery may have an issue that prevents it from providing continuous power. The short/spike is causing your phone to reset because it has no power. Not all batteries slowly fade away, sometimes they just burn out.
Try a known, good battery with a full charge. Most retailers will let you return a battery on the spot, so you won't be out anything if this isn't your problem.
Cracked solder joint
We take it for granted that our trusty phone that has more computing power than a PC from a decade ago and fits into our pockets is perfect in every way and the elves who built it in some far-off land knew what they were doing but the fact is these are mass-produced devices and bad solder joints do happen. Now, the joint worked for a while, but either through having enough current passed through it over time or some random kinetic event the joint no longer holds a component firmly in place and when current is passed through it it heats up slightly, expands and breaks the electrical connection and causes your phone to reboot.
Put your phone in a plastic sandwich bag (to protect it from moisture) then put that bag in the freezer overnight. Try to boot it the next morning. This is a temporary solution that may allow you to recover your contacts/bookmarks/files but won't salvage your phone.