- dotTech - https://dottech.org -

How to unroot HTC Desire 816 and re-lock bootloader [Guide]

htc-desire-816 [1]Did you root your HTC Desire 816 smartphone but would now like to return back to the stock ROM and re-lock the bootloader so your device is the same way it was when you first got it out of the box? You can now do that easily by installing Fastboot and the RUU Stock firmware file on your computer.

Here’s everything you need to unroot HTC Desire 816 smartphones using the RUU stock firmware package, Fastboot and your command line.

REQUIREMENTS

BEFORE WE BEGIN

HOW TO UNROOT HTC DESIRE 816 SMARTPHONES

  1. Download the Fastboot file you need from this link [2].
  2. Download the stock RUU ROM you need to flash from here [3].
    – do not extract the ROM zip file.
  3. Extract Fastboot to your desktop and have the Fastboot folder open.
  4. Hold Shift and right-click inside the Fastboot folder where it’s an empty white area and choose to open the command prompt window from the menu.
  5. Type the following command in the command prompt: adb reboot fastboot
  6. Wait for the device to boot up in fastboot mode.
  7. Type your next command: fastboot oem lock
  8. You should now find the HTC Desire 816 has the bootloader locked back up. Now it’s time to flash your stock ROM.
  9. Unplug the Desire 816 from the computer and reconnect it; you might need to re-enable the USB Debugging Mode.
  10. From the command prompt, type this command: adb reboot fastboot
  11. Wait for the Desire 816 to reboot back in fastboot mode.
  12. Type the next command: fastboot flash zip filename.zip
    – change the “filename” part of the code with the real file name of your ROM zip file.
  13. The command prompt will now flash that stock ROM back on your HTC Desire 816 device.

Reboot the smartphone and it should now be running just the same as it was out of the box. Note that you can no longer install your rooted apps from the Google Play Store and other sources online until you root the device again. Luckily for you, you can root and unroot as many times as you like!