Don't factory reset - at least not yet. Path forward:
- remove Xposed, Safestrap and any other app that has hooks into the system (basically anything that
requires root access). Retain Fire OS 13.3.x, root and SuperSu.
- download 3.2.5
here; print upgrade instructions
- disconnect from wifi and remove all wifi profiles
- disable/remove OTA blocker (if installed)
- upgrade to 3.2.5 using previously referenced instructions
- reroot using
HDX toolkit (optionally block OTA with the same tool if you plan to enable wifi; must be unblocked for next step)
- downgrade to 13.1.0 (
here) following instructions in lower part of post. DO NOT MESS WITH BUILD.PROP!
- install twrp (
here). Disregard bootloader unlock and 3.2.3.2 firmware guidance for now
- upgrade boot loader to 3.2.3.2 (
here)
- flash Nexus 2.0.5 or CM11 (you can't get to CM12 without additional steps)
This is just a rough outline; you need to do your homework for each step. Read the relevant threads and take note of cautions and gotchas. Be aware there is significant risk associated with some steps that can yield a hard brick. Plan your actions and don't take any step without an understanding of expected and unexpected outcomes. Post questions in the forums if you are unsure.
A more expansive version of the above along with bootloader unlock guidance can be found
here. Good luck!