Flashing ROMs with adb sideload
Flash CF-Auto-Root in downloading mode then a recovery right after. Boot into recovery and flash a new ROM, obviously make sure it is the correct ROM and correct CF-Auto-Root file before you flash it. You might want to make a backup NAND file. With my experience the rooting applications you download onto your phone such as "King Root" tend to fail more times then they succeed..