Recovery mode loop after attempting DFU mode
So I used PwnageTool to make custom firmware for my iPhone 3GS (3.1, old bootrom, never jailbroken before). Everything went well, then I plugged my phone in and attempted to put it into DFU mode. It failed, and went into a recovery mode loop instead. Now iTunes wants to restore and update my software, DEFINITELY not something I want. I tried clicking alt+restore to select the custom firmware, but to no avail. How do I get it out of this loop, or as a last resort install new firmware (preferably without updating my baseband)? I've tried all the button combinations possible, and even iRecovery for Linux.
Another question. God seems to have it out for me this week, because as soon as I returned home, guess whose PC's hard drive decided to crap out? So I lost all of my backups. I can live without my app and contact backups, but I lost my entire music collection, now it's only on my iPhone. Is there any way to recover my files, considering that it's only in recovery mode?
Thanks in advance.