Whenever I boot it up it says "Unfortunately, System UI has stopped.". It does allow me to hit ok, however when I hit ok I have about 1 second before it pops up again. Due to the passcode lock on my phone I am unable to get past the lockscreen as it wipes the input box everytime the popup box pops up. Despite the System UI apparently failing everything does seem to be functional behind the pop up. In the 1 second periods between pop ups I am able to interact with it. The status bar and the buttons on the bottom are not visible, however the rest of the lockscreen (including widgets) is.
The phone is rooted, however I had not gotten around to installing a custom bootloader yet. Debugging is enabled, however the device is listed as "offline" according to "adb devices". Due to this I am unable to install TWRP so as to flash the zip to disable xposed.
All of the above is still true in safe mode, the exact same thing happens.
Does anyone know how to fix this? I would prefer to keep the data on it, however if nothing else a factory reset would be fine.