Default crashing and phone restarting

I just installed a new ROM and now when I boot my phone it says " was terminated" (well, in German) and it restarts. This goes on forever. I wanted to reboot my phone into recovery via adb but is says "device offline". How can I reboot into recovery?