HTC one m7 serious problem
Don't use adb sideload...instead, I use the following method ; 


Open recovery (latest version of twrp recommended) but do not enter fastboot mode, stay  in main recovery screen
run cmd and enter the following codes under fastboot folder > adb push rom.zip /data/media/0   with this code we copy rom.zip into main folder in phone storage.


!!! You can rename your ROM.zip whatever you want, but in this case you should use its new name in command.


Flash your rom.zip by using your recovery