Can't "Wipe data/Factory reset" due to broken power button Alright, so a little background:
lately my Epic 4G touch has been acting up (restarting when it feels like it, power button won't work, going from 100% power to 20%, etc) and I decided to take appropriate action. I first purchased a new battery (as my previous one was "bloated" and had water damage) hoping that would fix my problems. Unfortunately it only reduced how often the problems occurred. My next course of action is to do a factory reset on my phone (it's rooted running CM 10) and get a new one from Sprint (I have insurance) which I did following this tutorial. Everything went well - as far as I can tell - but I am experience a boot loop as mentioned in the video. The remedy is to wipe the /data partition, which is where I'm stuck.

The problem:
As mentioned, my power button is broken, but in a very odd way. I can use my power button to get into Recovery Mode, but after that it almost never works (and if it does it's as if I'm holding the power button and my phone restarts after about 5 seconds). So due to this I can't select "Wipe data/factory reset" from Recovery Mode. I tried using adb to wipe my data partition, but since my phone is no longer rooted I get "Permission denied" and any attempt to use root or su (obviously) fail. I'm not sure what my options are at this point, is there anyway I can wipe the /data partition without root or a power button?
You could try booting into fastboot mode, and then use fastboot -w. This command wipes userdata and cache, and thus should be equivalent to a factory-reset. For more information, there's a List of fastboot commands, and of course our fastboot tag-wiki.