The development community for the XA1 is smaller than for the "Z" or "XZ" series, but there are several stable options available on forums like XDA Developers. 1. LineageOS (Unofficial)
If your ROM doesn't include Google apps (Play Store, Gmail), you will need to flash an OpenGApps package immediately after the ROM. sony xperia xa1 custom rom
If you want every possible setting at your fingertips, Resurrection Remix is the way to go. It combines the best features from various ROM projects into one package, allowing you to customize everything from the status bar clock to the animation speeds. 3. AOSP (Android Open Source Project) The development community for the XA1 is smaller