Originally Posted by albertobom
Make a clean install of everything do not restore backups.
I did. I had unlocked the bootloader and was running Cyanogenmod before. Did a complete wipe (data + cache) then re-locked the bootloader in order to let Sony PC Companion "repair" the phone by doing a complete reset.
If this keeps up I'll go back to Cyanogenmod.