All, so I have the same device HTC One Mini 2, in UAE, warranty expired, and I wanted to flash the new CM 12.1 (5.1) lollipop.
Lucikly the device is working, still but this is what happened.
I unlocked the device bootloader using the fastboot method, then I tried the TWRP as CWM didn't support this model, now the TWRP happens properly but the device wont boot into recovery instead device restarts normally. The device wont reset, neither from the GUI nor from the fastboot. I did the relock again. the S-On still exists, tried removing but it didn't work. I placed the update file, from HTC Dev site (155MB), another one 1.19GB in to the SD root, the device responds to it, as in reading the file, progress bar shows on top Right corner but then just shows, press power to reboot.
Now the issue is that I cant root it, I cant reset it. Now I really want that CM 5.1 lollipop update or I just want it Stock but I am not able to flash it with either of the files, if somebody may be able to guide me properly.
Please, I have been on this since 11:00 till just now 21:00, today.
Any help would nice.