Taken that I find almost impossible to believe you've got a virus for a linux-based OS, have you tried to restore to original software from the appropriate menu? I think it does not ask you for any USB device in this case, although I've never tried this way.
And about normal flashing procedure, have you disconnected any other USB devices?