Default [Q] how open debug mod on when no rom

i factory reset my phone (HTC ONE) and i think debug mod off.And I tried install rom but ı cant(fail rom).NOW phone havent rom and unlocked.i tried adb sideload and adb cannot find my device.fastboot can find my device.İ can open CWM but havent backup.İ NEED HELP BROTHERS

NOW. İM SEARCING 1.29.401.17 RUU