[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Dan Smith:
Hi everyone,

I'd like to share my experience with installing LineageOS 15.1 on my brand-new H3113 (on which I may have gotten rid too fast of a stock ROM, but that's my problem). I have gone through a lot of trouble installing it, so it may summarize what was already being said here and maybe add some new elements.

Recovery, bootloader and TWRP :

The XA2 is Treble-enabled (A/B) device, so it doesn't have a recovery partition. TWRP can be run temporarily each time using fastboot boot twrp-xxx.img and will be overriden by LineageOS Recovery anyway after installation.

Only the TWRP version modified by LuK1337 (see message #2) will work with this ROM, or else you'll get a Error 18 : kDownloadPayloadPubkeyVerificationError during installation.

Following strictly the installation instructions seem to work (notably regarding wiping, formatting and installing). However, I'm still very confused about A/B switching and what exactly happens with them when you install from TWRP (but that's probably room for another topic)

I had once doubts about my B partition, so I followed (in TWRP terminal) the 'dd' instructions given at message #305. It didn't solve my problems, but didn't break anything either.

Booting LineageOS ROM:

On my first attempts with the last build from 2018-08-14, the system was booting without asking for the SIM PIN, and arrived directly to the LineageOS configuration screen with an handful of recurring messages saying that "Bluetooth keeps stopping" or other apps as well. The phone was mostly unstable, had no means of communication (GSM, Bluetooth, Wi-Fi), and kept on spamming popups and "soft-rebooting" OS.

Some of my later attempts were met with an endless loading animation (LineageOS curve with one ball repeadily going from right to left).

I finally managed to get it working (with proper communication and without spamming messages) at first with the one-before-last build from 2018-07-31.

After I lost count of how many of complete wipes, formats and installation of diverse builds I performed in hope getting the problems below to be solved, I finally managed to install 2018-08-14 under the same conditions.

The LineageOS ROM itself :

The ROM contents is everything I expected of it : a clean, up-to-date Android without bloatware. I don't (want to) use Google Apps and I can get everything I need using F-Droid, so this is what I was looking for when choosing this phone. I didn't need to install anything (GApps, root...) apart from the ROM itself.

The hardware support looks OK for my device : Wi-Fi, Bluetooth, GPS, Camera appear to be working on a first sight. This is much appreciated as the device is quite recent.

The 3 important issues that are still troubling me :

Calls are silent. On 2018-07-10, 2018-07-31, 2018-08-14, when calling voicemail, I don't get any sound on earpiece, speaker, earphones or even recording. logcat doesn't look to issue messages specific to the time I try calling.

Screen locking setting, whether from the LineageOS welcome wizard or from the settings thereafter, make the application crash the very first time it's configured. As a result, things set themselves so the lock screen is unlocked by swiping, but any further attempt to change the settings results in being asked for the device PIN... which appears to be unknown (I tried several combinations). I confirm this on 2018-07-31, but I'm quite resilient to try on newer versions until we known what is going on.

Device encryption appears to be on, but no password is ever asked on booting. And because of the problem above, I would not risk myself to trying set a device PIN to see if it gets things working better.

Needless to say, I'm particularly troubled by the first issue. But for the rest, this is nevertheless a very good and promising ROM for such a recent device.