I got stuck in recovery mode while updating a custom firmware which didn't work and I tried RecBoot to get out of recovery mode but it seems to have made my iphone connect/disconnect every second. I've tried the following to get out of recovery mode but none have worked so far

Recboot
iLiberty - Go For It button is grayed out
iReb - Doesn't do a thing when buttons are pressed
iRecovery - Cannot find iPhone even though lusblib is installed and it sees the phone is attached
QuickPWN - app stops working as soon as it's started the icon is clicked under Win7

hard reset of iphone doesn't do anything.