: Unlocking the bootloader on older Sony devices often wipes the TA partition , which contains proprietary DRM keys for camera enhancements and display technology. Without a backup, your camera quality may permanently degrade.
Sony Xperia XA1 is a legacy device with a dedicated community, though finding an "official" custom ROM can be tricky as it isn't formally supported by teams like LineageOS. However, because it supports Project Treble