Trapped in fastboot mode with locked bootloader and corrupted custom ROM

See above:

(and it can be done from terminal-ADB)