Don't worry you device is not bricked...
Google Android Revolution HD 41.0 for HTC one. Download that ROM.
Second you will have to install android SDK to be able to access adb.exe and fastboot.exe...
Now once you installed the SDK move the ROM ARHD to where adb.exe is located.
run command prompt "CMD" from your computer until you are in the folder where you have you adb.exe
Now on your phone get into recovery TWRP and select advance, in advance the is an option called adb sideload click on it and at the bottom slide the button to initiate that mode.
Back to the computer in which you should be in CMD type command "adb devices" and make sure your device shows up. After successfully seen your device there type "adb sideload file-rom.zip and press enter, make sure the file-rom.zip is the exact name of the ROM you are trying to push into the phone.
Sent from my HTC One using xda app-developers app