[Sony Xperia XA1 ROMs, Kernels, Recoveries, & Other] CherryDT:
EDIT: I updated my list. It was missing a few steps.

I was trying to root my G3426 with latest firmware 48.1.A.2.50 and it was very difficult. I wanted to ask if there is any chance to get this very nice looking kernel in a version for this configuration?

Anyway, my current way was the following (and except for root it has no features... RIC still active, no DRM fix, etc.):

You need:

- boot.img for G3416 Oreo

- Platform tools r26 for fastboot and adb

- Androxyde's Flashtool

- Git for Windows

- SuperSU v2.82 Beta

1) Unlock bootloader (backup DRM keys first! don't make my mistake, I didn't know this and now I lost the keys) - Google how to do it, it's not hard, but you need r26 and not r28 of platform tools (that's why I linked r26 above - otherwise you can get an "unknown parameter" error)

2) Download the G3416 (yes, different model) Oreo file from this thread: https://androidfilehost.com/?w=files&flid=281701 - Note that it is marked 48.1.A.2.50 but this is actually wrong, it's 48.1.A.0.129! For our purposes it is okay though.

3) Boot into fastboot mode (turning off, then vol-up while connecting) and try direct-booting to this img file with "fastboot boot boot.img". Wait for a white LED to come on a few seconds after the boot started, then press volume-up immediately.

--> If this works immediately (white LED, turning orange after pressing volume-up, TWRP recovery showing up soon afterwards), you can skip directly to step 18!

--> If this does not work (no white LED) and instead causes a reboot after a while, continue:

4) Get Androxyde's flashtool. Now it doesn't support G3426 out of the box, so we have to modify it. First, start it once and wait for it to sync. Then close it again.

5) Download and install Git for Windows

6) Open Git bash

7) Enter: cd ~/.flashTool/devices/G34XX

8) Enter: sed -i -e 's/G3423/G3423,G3426/' G34XX.properties

9) Enter: git commit -am "Patch for G3426"

10) Close Git bash

11) Download the stock firmware with Androxyde's flashtool (if you don't know the CDA, start the phone again, go to dialer, enter *#*#7373423#*#* and go into "Service Info -> Software Info", there you see it under "Customization Version".

12) Boot into fastboot again, flash the boot.img file with "fastboot flash boot boot.img", reboot.

13) Wait for the white LED to come on and press volume-up to enter recovery.

14) Do nothing there, just reboot again! Press volume-down during the reboot in order to get into flash mode.

15) In Androxyde's flashtool, flash the stock firmware, but check all checkboxes in the right column ("exclude") except for "CACHE" and "KERNEL"! If you forget this, you will lose all data!

16) Reboot, use vol-up to get to fastboot.

17) Boot into the boot.img with "fastboot boot boot.img", press volume-up at the white LED (the same as step 3 - but this time it should really work)

18) You will see a password prompt in TWRP, cancel it.

19) Confirm writing to system partition.

20) Download SuperSU v2.82 Beta from here: http://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip

21) Connect the computer, push the ZIP file via ADB: "adb push SR5-SuperSU-v2.82-SR5-20171001224502.zip /tmp"

22) In TWRP, choose "Install", go up to the root folder, descend into "tmp" and select the ZIP file and confirm.

23) Reboot (do NOT install TWRP app) - it's OK that this may take a bit or reboot a second time.

Voilà! You should now see an app "SuperSU"! Open it and make sure that no error is shown about missing root.

Note: Don't think you can simply install the boot.img and call it a day, because it is not really compatible (cellular, speaker and fingerprint is broken). We just need it to get TWRP.

~Cherry