I was trying to flash TWRP onto my Android tablet (Lenovo TB-X306F), but something went wrong and it failed. Now, every time I boot, no matter what I do (sending adb commands or pressing physical buttons), it goes to the (now broken) recovery.
I'd like to know if there's a way to forcibly boot into the bootloader so I can use fastboot and flash the stock recovery (I have the original images for everything).
I tried flashing it using
flash_image recovery /path/to/recovery.img through
adb shell (which is accessible within that "zombie" recovery), but it failed with:
failed with error: -1. I've looked up online and couldn't find the meaning of such error, but I suspect it's related to trying to flash the recovery while being in the recovery?
Thank you in advance.