[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Doman:
!!! KUDOS !!!

AICP-q10.0_apollo_20200731_1348 is the first the most customizable and fully working ROM for Xperia XZ2C, if not the only one at all. I have not tested all the goods yet, but the most important features are here:

* fully working TWRP v3.4.0.0 - no issues with touch every time! until now the only TWRP working for me was the one booted with fastboot, all the flashed TWRPs had either touch issues or SD card issues

* SafetyNet basicIntegrity passed! - ctsProfile can be easily fixed with MagiskHide Props Config and therefor we have a full SafetyNet passed along with Magisk, allowing the banking and all the other sensitive apps to work

* WIFI

* Bluetooth (audio and calling)

* GPS

* fingerprint

* camera (but not the Sony one :()

* encryption with TWRP decryption working

* SD card with exFAT

* notification LED

A few installations points from me

The ROM Installation was very easy and quick, but I was doing a total clean install. Here is what I did

1. Install Sony's stock ROM 52.1.A.3.49 with newflasher

2. Boot TWRP v3.4.0.0 stock version with fastboot

3. Flash AICP-q10.0_apollo_20200731_1348.zip (please note the messages, it should flash to "inactive slot B")

4. In TWRP select Reboot => Slot B => Recovery... to reboot the phone into recovery in Slot B

5. Flash Gapps

6. Format data (just in case, many times without format with other ROMs I got bootloop)

If you need fully working Magisk with full SafetyNet pass (steps are not logical and obvious but it works, tried it w few times):

1. Flash Magisk v20.1 or v20.3.... later versions breaks the basicIntegrity! If you have flashed later Magisk version simply use Magisk Unistaller zip in TWRP and flash v20.1 or v20.3

2. Boot the phone and update Magisk Manager to the latest version 8.0.2 (307) with an option inside the Magisk Manager

3. Go back to the TWRP and now you can flash Magisk v20.4 or v21.0 - this time flashing does not break the basicIntegrity and those versions are required to fix the ctsProfile

4. Install MagiskHide Props Config module in Magisk Manager

5. Install Terminal Emulator

6. Run terminal and enter the commands su followed by props

7. Change fingerprint to XZ2C with the following options: 1 => f => 27 => 20 => reboot

Ok, so what are the drawbacks? Well not much and more personal preferences I think:

1. Missing Sony's stock camera app. I tried to flash those zips below but I get "unknown error" when I try to launch the app. Do you think it would be possible to make the Sony camera work with your ROM?

https://androidfilehost.com/?w=search&s=semccamera

2. Missing custom navigation bar buttons. On the RR ROMs I used to work the most it was possible to add extra navigation buttons and assign customized actions for tap, long press, etc.

3. Slow auto brightness reaction (I can live with that)

4. Veeery low flashlight level (there was a solution for XZ1C to fix that, I have to dig a little bit to see if it can be done here as well)

5. Ambient Display - to show notifications on blocked screen

Please don't give up the project. There is not much going with the XZ2C custom development, the last and only "normal size" Android phone.

Do you think you can take a look at some of my "drawbacks" and try to fix them?

Do you think you will make some other ROMs for XZ2C in the future, like ResurrectionRemix, EvolutionX, HavocOS?