Now that you have rooted your HTC One M8, if you ever want to go back to stock, the guide below should do the trick. This post will help remove any traces of your rooting adventures, just in case you need to take your M8 into a service center and wanted to avoid voiding your warranty.
I. Before You Begin
1. Charge your device to 75% or more to prevent unwanted shutdowns.
2. Back up everything you feel is important, although data loss is very unlikely.
3. You need to be rooted using our guide for the procedure below to work. If not, do not try this as things may go wrong and you might end up with a nonworking device.
4. Make sure you have the necessary drivers installed before you start.
II. Necessary Downloads
III. Unrooting the Verizon HTC One M8
1. Extract adb-fastboot.zip to a folder on your desktop.
2. On your device, go to Settings > Apps and uninstall the WeakSauce app.
3. Then, go to Settings > Apps and uninstall the Supersu app.
4. Enable USB debugging on your device. To do this, go to Settings > Development options and tick the USB debugging checkbox. If you do not find Development options listed under Settings, go to Settings > About phone and keep tapping on the build number until you see the message ‘you are now a developer.’ You should now see Development options listed under Settings.
5. Connect your device to your PC. If there are drivers being installed at this point, let them do so before continuing.
6. Hold the Shift key and right-click on any blank space in the adb-fastboot folder and click on Open command window here to open up a cmd prompt window.
7. Run the following command:
You Verizon HTC One M8 is now unrooted!