Thanks my phone finally worked. I followed the steps mentioned above.To remind you
1- Download HTC sync manager and open it
2- download HTC One m8 Rom(ruu) from HTC support
3- make sure you downloaded your phone specific ruu(mine is unlocked/developer version
4- connect phone to PC and put your...