you should never try to flash through usb hub, always connect your device directly (unless you want to fail miserabely). And of course there is a 3rd way to fix it without reflashing, but you need special hardware to do so.