this thread is intended to be a "one stop shop" for rooting any variation of the HTC One.
currently,the known method of rooting is to unlock the bootloader via htcdev,then use a custom recovery to install superuser root files. htcdev's directions can be a lil confusing,so hopefully this will clear it up if youve never rooted a phone,worked with the command window,or are just confused about how to set things up with your PC/mac/linux machine.
PLEASE NOTE that the unlock process will erase your personal data. this was done purposely,for your protection.
the general steps are simple:
1)unlock the bootloader (for non-developer editions)
2)either temporarily or permantly install a custom recovery
3)use that custom recovery to install "superuser" root files.
for your convenience,a general index of this thread:
-brief explanation of what you're going to do and what your options are post #1
-tips and tricks to backup data pre-root post #5
-unlock and install recovery with windows post #2
-unlock and install recovery with linux post #3
-unlock and install recovery with a mac post #4
-tips and tricks to backup data post root post #6
before you start download a couple of files
-supersu from this thread
(the download link you want is about halfway down the page,and labled UPDATE-SuperSU-v1.25.zip
-go to HTCdev - Unlock Bootloader
and register an account