If you can't access your reMarkable 1 through the UI or via SSH, follow the steps from https://github.com/ddvk/remarkable-uuuflash