[Q] any help

i have htc one m8 and iwant to go back to rom stok or original room
how can ido that / frist ihave unloked and have room not good amd camera not work with it
so can any body tell me how can backe to rom original

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?