Be for doing any thing to root your HTC One M9 You have to install TWRP Recovery Follow this guide HERE1-Download SuperSU zip →
BETA-SuperSU-v2.48.zip2-Put your
HTC One M9 in recovery mode.
To do this: Turn off the phone completely and press the Volume Down & Power buttons to boot into bootloader mode. In bootloader screen, highlight the recovery mode using volume buttons and select it by pressing the power button.
3- In recovery, select Install button and flash the
BETA-SuperSU-v2.48.zip to install the zip file.
4-Reboot the device once the flashing is finished successfully.
5-Open the SuperSU app from the app drawer and
update the SuperSU binary if required.