Can I flash an RUU coming from Cyanogen on an HTC One M8?
None... Just put your phone in fastboot mode and run the RUU. Although the Motorola flasher in me always does a factory reset first for safety.