Yesterday i tired to install Miui 6 on my HTC One M8, so I did everything usual, backup, wipe, install... but it didnt work so i tried Philz recovery and the installation worked perfectly, but it was stuck in boot screen and MIUI didnt work. So i wanted to restore my backup, but to do this i needed TWRP. In Philz recovery i found no way to flash .img so i took a zipped version of twrp and i flashed it but i when i go into recovery it throws me back into the fastboot screen. I already tried to flash a recovery through hboot (0P6BIMG) but it says: wrong cid number, installation failed. Now my question is how can i get a recovery with s-on? PLEASE HELP ME!!!!!
edit: i cant do if through fastboot usb, cause i cant enable usb debugging