When we first learned that HTC would be unlocking the bootloaders of its devices, enthusiasts everywhere relished the idea of complete device freedom. Later, HTC started to make true on its promise by unlocking its Verizon and AT&T bootloaders.
Unfortunately, though, all was not perfect with HTC’s unlock tool. Unlocking an HTC Sensation or EVO 3D using the official method results in being unable to flash to the boot partition via recovery. Instead, the more cumbersome fastboot protocol must be used.
Now thanks to XDA Recognized Developer Dees_Troy of TeamWin, we have a solution. The aptly titled HTC Dumlock allows users owners to use flash complete ROMs like normal—boot partition, included. In the words of the developer:
HTC Dumlock is a workaround for devices with HTC’s unlock that cannot flash boot from recovery. Put simply, we make backups of recovery and boot, then we flash the backup of recovery to boot. When you reboot normally, you’ll be in your recovery, but since your recovery is flashed to boot, you can make changes to boot. We’ve added some extra features to TWRP 2 to allow you to easily restore the backup of boot once you’ve booted your recovery with this method.
HTC Dumlock essentially runs 3 commands to work its magic. The commands would be similar to this:
dump_image recovery /sdcard/recovery.img
dump_image boot /sdcard/boot.img
flash_image boot /sdcard/recovery.img
Once you get back into recovery, the restore original boot looks kind of like this:
flash_image boot /sdcard/boot.img
[Thank you to Recognized Developers virus and TrevE and my fellow XDA Administrator Egzthunder1 for the tip!]