How do I get out of a boot loop with an iPhone with a broken power button? How do I get out of a boot loop with an iPhone with a broken power button?

Things I have tried that didn't work:


I've tried draining the battery and then restarting it;
I've tried connecting it to the computer but the computer doesn't recognize it as a device.


It's an iPhone 4 running iOS 7 if that additional information helps.
ok, now i have this same problem but have found a solution that is not for the people who are shallow to technology...

Step 1: Connect your iPhone 30-Pin cable to your computer. (lightning adapter for iPhone 5 and up)

Step 2: Wait for the device to begin another loop.

Step 3: When another loop begins, hold the home button, volume up button, and plug the charger in.

Step 4: Fix whatever is making the device loop.