I want to factory reset a mako with a broken screen and digitizer so I can sell it. The device is rooted and there is TWRP recovery and Cyanogenmod installed. As the screen and digitizer are broken I cannot control it via the touchscreen.
Therefore I bought an USB OTG cable, but it does not recognize the mouses and keyboards I plugged in while they work perfectly on another phone. I think USB debugging is disabled as I was able to download all the data by plugging the phone into USB.
fastboot erase userdata && fastboot erase cacheshould do then.