Default recovery issues

I just got the lg g2, and rooted my phone. I tried to install twrp recovery but once i open up recovery i get the following error.

Secure booting error
Error: Boot Certification Verify

I have tried installing cmw, and get the same thing. I do not know what I am doing wrong. I have the att version running stock 4.2.2, jdq39b, software d80010o. can anyone please help me. I flashed it via flahify, also tried flashing it by running this command for twrp

su

dd if=/sdcard/recoveryfilename.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery