I want to help but I'm not understanding I asked what commands your using because you say fastboot is not working. And your comment is very confusing.
Sent from my HTC One_M8 using Tapatalk[/QUOTE
I'm thinking I m devices have root or bootloader problem. How do I install them in this way I