Easiest way would be unlocking the bootloader and installing a recovery. From there, you can do full backups, erase your data partition and restore backups. To save those backups, the best would be to install a micro SD card.
Sent from my Desire X using XDA Premium 4 mobile app
Current device: Oneplus One 64 GB Sandstone Black
No support via PM! Please ask in a public thread, I'll help you as much as I can.