Is it safe to factory reset my rooted HTC One M8?
Preform backup just in case. Yes factory reset will return it to factory status. If you have custom recovery then just wipe data and cache's. If you have SuperSu system mode do a full factory wipe.