Custom ROM installation requires a full data wipe. Back up your photos, contacts, and messages.
Ensure your phone is at least 60% charged to prevent it from shutting down during the process. How to Install a Custom ROM on Sony Xperia XA1 sony xperia xa1 custom rom
Flashing a ROM involves risks, including the potential to "brick" your device. Ensure you have the following ready: Custom ROM installation requires a full data wipe