[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
I successfully builded except this module(WfdCommon).

A lot of err about selinux. Like this:

01-05 20:20:35.899 542 542 W init : type=1400 audit(0.0:5): avc: denied { write } for name="/" dev="mmcblk0p76" ino=2 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0
01-05 20:20:36.001 1140 1140 W init : type=1400 audit(0.0:40): avc: denied { execute } for name="vendor.lineage.livedisplay@2.0-service-sdm" dev="mmcblk0p71" ino=113 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
01-05 20:20:36.239 789 789 W init : type=1400 audit(0.0:6): avc: denied { execute_no_trans } for path="/vendor/bin/toybox_vendor" dev="mmcblk0p71" ino=261 scontext=u:r:init:s0 tcontext=u:object_r:vendor_toolbox_exec:s0 tclass=file permissive=0
01-05 20:20:36.439 826 826 W init : type=1400 audit(0.0:8): avc: denied { execute } for name="android.hardware.power@1.2-service-qti" dev="mmcblk0p71" ino=104 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
01-05 20:20:36.459 836 836 W init : type=1400 audit(0.0:9): avc: denied { execute } for name="vendor.lineage.trust@1.0-service" dev="mmcblk0p71" ino=114 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
01-05 20:20:36.669 857 857 W tftp_server: type=1400 audit(0.0:10): avc: denied { dac_override } for capability=1 scontext=u:r:rfs_access:s0 tcontext=u:r:rfs_access:s0 tclass=capability permissive=0
01-05 20:20:36.669 857 857 W tftp_server: type=1400 audit(0.0:11): avc: denied { dac_read_search } for capability=2 scontext=u:r:rfs_access:s0 tcontext=u:r:rfs_access:s0 tclass=capability permissive=0
01-05 20:20:36.819 902 902 W sensors.qti: type=1400 audit(0.0:12): avc: denied { write } for name="tad" dev="tmpfs" ino=3379 scontext=u:r:sensors:s0 tcontext=u:object_r:tad_socket:s0 tclass=sock_file permissive=0
01-05 20:20:36.839 1 1 W init : type=1400 audit(0.0:13): avc: denied { setattr } for name="scheduler" dev="sysfs" ino=39006 scontext=u:r:init:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
01-05 20:20:37.069 937 937 W thermal-engine: type=1400 audit(0.0:17): avc: denied { read } for name="virtual" dev="sysfs" ino=13871 scontext=u:r:thermal-engine:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0

I don't know how make selinux rules >_>

Another errors & fails:

01-05 20:20:35.840 607 607 I SurfaceFlinger: Enter boot animation
01-05 20:20:35.844 607 607 E /system/bin/surfaceflinger: Failed to get IAshmemDeviceService.
01-05 20:20:36.037 748 748 F art_apex: Device is not fsverity-enabled.
01-05 20:20:36.074 1149 1149 F linker : CANNOT LINK EXECUTABLE "/system/vendor/bin/cnd": library "libqti_vndfwk_detect.so" not found
01-05 20:20:36.309 1194 1194 W libc : Unable to set property "qemu.hw.mainkeys" to "0": error code: 0x18
01-05 20:20:36.314 1172 1172 E QMI_FW : QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-6
01-05 20:20:36.615 1047 1047 W /apex/com.android.media.swcodec/bin/mediaswcodec: Could not read additional policy file '/vendor/etc/seccomp_policy/mediaswcodec.policy'
01-05 20:20:36.616 1047 1047 W /apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[1047]: failed to get path of fd 4: No such file or directory
01-05 20:20:36.616 1047 1047 W /apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[1047]: allowing syscall: connect
01-05 20:20:36.616 1047 1047 W /apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[1047]: allowing syscall: fcntl
01-05 20:20:36.616 1047 1047 W /apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[1047]: allowing syscall: sendto
01-05 20:20:36.616 1047 1047 W /apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[1047]: allowing syscall: socket
01-05 20:20:36.616 1047 1047 W /apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[1047]: allowing syscall: writev
01-05 20:20:36.617 1047 1047 W /apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[1047]: logging seccomp filter failures
01-05 20:20:36.618 841 890 E libdevice_security_static: devsec_tee.cpp:59 QSEECom_start_app failed -1
01-05 20:20:36.618 841 890 D libdevice_security_static: devsec_tee.cpp:107 devsec_tee_send() ended. result 4 - GENERIC_ERROR
01-05 20:20:36.618 841 890 D libdevice_security_static: get_rooting_status.cpp:83 do_devsec_get_rooting_status() ended. result 4 - GENERIC_ERROR
01-05 20:20:36.618 841 890 D libdevice_security_static: devsec_interface.cpp:89 devsec_get_rooting_status() ended. result 4 - GENERIC_ERROR
01-05 20:20:36.619 849 849 E MSM-irqbalance: WARNING: Cannot find matching virq for hwirq(22).
01-05 20:20:36.675 857 857 E tftp_server: pid=857 tid=857 tftp-server : ERR :[tftp_os_la.c, 312] lchown fail for path /mnt/vendor/persist/rfs/msm/slpi uid 2903 gid 2903 error -1
01-05 20:20:36.675 857 857 E tftp_server: pid=857 tid=857 tftp-server : ERR :[tftp_os_la.c, 312] lchown fail for path /mnt/vendor/persist/rfs/msm uid 2903 gid 2903 error -13
01-05 20:20:36.675 857 857 E tftp_server: pid=857 tid=857 tftp-server : ERR :[tftp_os_la.c, 312] lchown fail for path /mnt/vendor/persist/rfs uid 2903 gid 2903 error -13
01-05 20:20:36.698 857 857 I tftp_server: pid=857 tid=857 tftp-server : INF :[tftp_os_la.c, 126] mkdir failed: [13] [/mnt/vendor/persist/rfs/mdm/mpss] [Permission denied]
01-05 20:20:36.698 857 857 E tftp_server: pid=857 tid=857 tftp-server : ERR :[tftp_server_folders_la.c, 256] Failed to auto_dir for(/mnt/vendor/persist/rfs/mdm/mpss/) errno = -13 (Permission denied)
01-05 20:20:36.698 857 857 I tftp_server: pid=857 tid=857 tftp-server : INF :[tftp_os_la.c, 126] mkdir failed: [13] [/mnt/vendor/persist/rfs/mdm/mpss/] [Permission denied]
01-05 20:20:36.698 857 857 I tftp_server: pid=857 tid=857 tftp-server : INF :[tftp_os_la.c, 126] mkdir failed: [13] [/mnt/vendor/persist/rfs/mdm/adsp] [Permission denied]
01-05 20:20:36.698 857 857 E tftp_server: pid=857 tid=857 tftp-server : ERR :[tftp_server_folders_la.c, 256] Failed to auto_dir for(/mnt/vendor/persist/rfs/mdm/adsp/) errno = -13 (Permission denied)
01-05 20:20:36.698 857 857 I tftp_server: pid=857 tid=857 tftp-server : INF :[tftp_os_la.c, 126] mkdir failed: [13] [/mnt/vendor/persist/rfs/mdm/adsp/] [Permission denied]
01-05 20:20:36.698 857 857 I tftp_server: pid=857 tid=857 tftp-server : INF :[tftp_os_la.c, 126] mkdir failed: [13] [/mnt/vendor/persist/rfs/mdm/slpi] [Permission denied]
01-05 20:20:36.698 857 857 E tftp_server: pid=857 tid=857 tftp-server : ERR :[tftp_server_folders_la.c, 256] Failed to auto_dir for(/mnt/vendor/persist/rfs/mdm/slpi/) errno = -13 (Permission denied)
01-05 20:20:36.698 857 857 I tftp_server: pid=857 tid=857 tftp-server : INF :[tftp_os_la.c, 126] mkdir failed: [13] [/mnt/vendor/persist/rfs/mdm/slpi/] [Permission denied]
01-05 20:20:36.698 857 857 I tftp_server: pid=857 tid=857 tftp-server : INF :[tftp_os_la.c, 126] mkdir failed: [13] [/mnt/vendor/persist/rfs/mdm/tn] [Permission denied]
01-05 20:20:36.698 857 857 E tftp_server: pid=857 tid=857 tftp-server : ERR :[tftp_server_folders_la.c, 256] Failed to auto_dir for(/mnt/vendor/persist/rfs/mdm/tn/) errno = -13 (Permission denied)
01-05 20:20:36.698 857 857 I tftp_server: pid=857 tid=857 tftp-server : INF :[tftp_os_la.c, 126] mkdir failed: [13] [/mnt/vendor/persist/rfs/mdm/tn/] [Permission denied]
01-05 20:20:36.699 817 817 I ServiceManagement: Registered android.hardware.drm@1.0::ICryptoFactory/default (start delay of 273ms)
01-05 20:20:36.699 817 817 I ServiceManagement: Removing namespace from process name android.hardware.drm@1.0-service to drm@1.0-service.
01-05 20:20:36.699 817 817 I : Registration complete for android.hardware.drm@1.0::ICryptoFactory/default.
01-05 20:20:36.700 857 857 I tftp_server: pid=857 tid=857 tftp-server : INF :[tftp_os_la.c, 126] mkdir failed: [13] [/mnt/vendor/persist/rfs/mdm/cdsp] [Permission denied]
01-05 20:20:36.700 857 857 E tftp_server: pid=857 tid=857 tftp-server : ERR :[tftp_server_folders_la.c, 256] Failed to auto_dir for(/mnt/vendor/persist/rfs/mdm/cdsp/) errno = -13 (Permission denied)
01-05 20:20:36.701 857 857 I tftp_server: pid=857 tid=857 tftp-server : INF :[tftp_os_la.c, 126] mkdir failed: [13] [/mnt/vendor/persist/rfs/mdm/cdsp/] [Permission denied]
01-05 20:20:36.701 857 857 E tftp_server: pid=857 tid=857 tftp-server : ERR :[tftp_server.c, 740] Attempting to continue.... some paths maybe inaccessible.
01-05 20:20:37.001 931 968 E /vendor/bin/adsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/apps_std_imp.c:729:Error 45: fopen failed for adsp_avs_config.acdb. (No such file or directory)
01-05 20:20:37.059 931 968 E /vendor/bin/adsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/apps_std_imp.c:729:Error 45: fopen failed for custom_sm_ecns_1.so.1. (No such file or directory)
01-05 20:20:37.059 931 968 E /vendor/bin/adsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/apps_std_imp.c:729:Error 45: fopen failed for custom_sm_ecns_2.so.1. (No such file or directory)
01-05 20:20:37.060 1117 1117 D QSEECOMAPI: QSEECom_get_handle sb_length = 0xc00
01-05 20:20:37.060 1117 1117 D QSEECOMAPI: App is not loaded in QSEE
01-05 20:20:37.060 1117 1117 E QSEECOMAPI: path or fname is NULL
01-05 20:20:37.060 1117 1117 E QSEECOMAPI: Error::Loading image failed with ret = -1
01-05 20:20:37.060 1117 1117 E libsuntory: suntory_get_enc_message.cpp:80 QSEECom_start_app failed, result -1
01-05 20:20:37.060 1117 1117 D libsuntory: suntory_get_enc_message.cpp:151 SuntoryUtil_GetEncapsulatedMessage() ended. result -1 - SUNTORY_RESULT_GENERIC_ERROR
01-05 20:20:37.060 1117 1117 E OEMCrypto: OEMCrypto_Initialize:226 SuntoryUtil_GetEncapsulatedMessage failed result -1. errno = 0
01-05 20:20:37.064 842 867 E idd-api : add_event: send failed, socket 6, errcode -2 (No such file or directory)
01-05 20:20:37.064 1117 1117 E libsuntory: suntory_get_blob.cpp:69 get_suntory_blob failed
01-05 20:20:37.064 1117 1117 D libsuntory: suntory_get_blob.cpp:75 SuntoryUtil_GetBlob() ended. result -1 - SUNTORY_RESULT_GENERIC_ERROR
01-05 20:20:37.064 931 968 E /vendor/bin/adsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/apps_std_imp.c:729:Error 45: fopen failed for custom_qm_ecns_2.so.1. (No such file or directory)
01-05 20:20:37.064 1117 1117 E OEMCrypto: _OEMCryptoCommon_getWVKeyBlob:107 _OEMCryptoCommon_getWVKeyBlob: GetBlob length retValSuntory = -1. errno = 0
01-05 20:20:37.066 931 968 E /vendor/bin/adsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/apps_std_imp.c:729:Error 45: fopen failed for capi_v2_dummy_ecns.so.1. (No such file or directory)
01-05 20:20:37.066 931 968 E /vendor/bin/adsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/apps_std_imp.c:729:Error 45: fopen failed for capi_v2_voice_imc_tx.so.1. (No such file or directory)
01-05 20:20:37.149 813 813 E audiohalservice: Could not get passthrough implementation for android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default
01-05 20:20:37.149 813 813 W audiohalservice: Could not register Bluetooth audio offload 1.0
01-05 20:20:37.154 800 800 W Zygote : Class not found for preloading: android.app.-$$Lambda$ActivityThread$ZXDWm3IBeFmLnFVblhB-IOZCr9o
01-05 20:20:37.156 937 1065 E LimitsPwr: Unable to open file /sys/class/uio/uio1/name
01-05 20:20:37.156 937 1065 E LimitsPwr: UIO mapping failed
01-05 20:20:37.164 937 1063 I ThermalEngine: vdd_restriction[MODEM]:0 is recorded and waiting for completing QMI registration
01-05 20:20:37.165 937 1063 I ThermalEngine: Mitigation:vdd_restriction[ADSP]:0
01-05 20:20:37.165 937 1063 I ThermalEngine: hotplug_ktm_disable_cb: write out 0
01-05 20:20:37.203 1117 1117 I OEMCrypto: initSystemTime:27 baseTime = 418837
01-05 20:20:37.204 1117 1117 I OEMCrypto: initSystemTime:36 baseRTC = 9
01-05 20:20:37.207 1117 1117 D QSEECOMAPI: QSEECom_get_handle sb_length = 0xc00
01-05 20:20:37.207 1117 1117 D QSEECOMAPI: App is not loaded in QSEE
01-05 20:20:37.207 1117 1117 E QSEECOMAPI: path or fname is NULL
01-05 20:20:37.207 1117 1117 E QSEECOMAPI: Error::Loading image failed with ret = -1
01-05 20:20:37.207 1117 1117 E libsuntory: suntory_get_enc_message.cpp:80 QSEECom_start_app failed, result -1
01-05 20:20:37.207 1117 1117 D libsuntory: suntory_get_enc_message.cpp:151 SuntoryUtil_GetEncapsulatedMessage() ended. result -1 - SUNTORY_RESULT_GENERIC_ERROR

Full log: