Resetting jailbroken device in settings caused boot loop I recently jailbroke my phone and for some reason my phone wasn't syncing my music from my iTunes library. I restarted my phone and lost my jailbreak tweaks. As my phone restarted the Cydia icon was still on my phone.

I went into settings and erased my iPhone. I saw the Apple logo and then it went into a black screen with a spinning circle. It's been on it for almost an hour. What can I do in a situation like this?
Resetting a jailbroken iOS device using the option in settings will cause no end of bad things, usually resulting in a device stuck in a boot loop, which appears to have been the case here.

You'll have to restore your device in iTunes. Connect your device to iTunes, then hold power and home until the screen turns off and back on with the Apple logo, then let go of power but keep holding home. Once the device appears in iTunes, restore it.