I am unable to use the following command on an HTC One M7
# fastboot oem unlock
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.001s]
finished. total time: 0.001s
Why do I get this error and how to unlock my bootloader?
In addition
# fastboot flashing unlock
...
FAILED (remote: not allowed)
finished. total time: 0.000s
fastboot flashing unlock
instead as this is the new version of the command.