[Xperia Z1 Compact Original Android Development] derf elot:
Hi,

yes, for that reason I have forked a bunch of Lineage/AOSP repos to apply the recent security fixes.

That issue you describe sounds like you might have done a build between Jan 25 and Jan 29. I was struggling with one CVE fix in the kernel. I thought I finally fixed it but then also noticed very strange behavior after finally flashing the ROM and using the phone for a bit :) These things happen (though rarely). Normally I make a build on the day I work on the security updates and test it. So I think you were just unlucky that time.

I have split my manifest into two parts, one for Sony things and one for replacing LOS/AOSP stuff. Note, I build for both the Z1C and Z3c.

Sony:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- common Sony stuff -->
<project name="derfelot/android_kernel_sony_msm8974" path="kernel/sony/msm8974" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_device_sony_msm8974-common" path="device/sony/msm8974-common" remote="github" revision="cm-12.1"/>
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.1"/>
<project name="LineageOS/android_device_sony_common" path="device/sony/common" remote="github" revision="cm-12.1"/>
<project name="LineageOS/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="github" revision="cm-12.1"/>
<project name="LineageOS/android_hardware_sony_thermanager" path="hardware/sony/thermanager" remote="github" revision="cm-12.1"/>

<!-- blobs -->
<project path="vendor/sony" name="TheMuppets/proprietary_vendor_sony" remote="github" revision="cm-12.1"/>

<!-- z1c -->
<project name="derfelot/android_device_sony_amami" path="device/sony/amami" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_device_sony_rhine-common" path="device/sony/rhine-common" remote="github" revision="cm-12.1"/>

<!-- z3c -->
<project name="derfelot/android_device_sony_z3c" path="device/sony/z3c" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_device_sony_shinano-common" path="device/sony/shinano-common" remote="github" revision="cm-12.1"/>

</manifest>

Lineage/AOSP:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- Remove the outdated CM stuff -->

<remove-project name="LineageOS/android_frameworks_av" />
<remove-project name="LineageOS/android_frameworks_base" />
<remove-project name="LineageOS/android_frameworks_ex" />
<remove-project name="LineageOS/android_frameworks_opt_net_wifi" />
<remove-project name="LineageOS/android_hardware_qcom_audio" />
<remove-project name="LineageOS/android_hardware_qcom_media" />
<remove-project name="LineageOS/android_packages_services_Telephony" />
<remove-project name="LineageOS/android_system_core" />
<remove-project name="platform/external/libnl" />
<remove-project name="LineageOS/android_frameworks_native" />
<remove-project name="LineageOS/android_external_tremolo" />
<remove-project name="platform/external/libhevc" />
<remove-project name="LineageOS/android_external_libvpx" />
<remove-project name="LineageOS/android_packages_apps_ContactsCommon" />
<remove-project name="platform/external/libopus" />
<remove-project name="LineageOS/android_build" />

<!-- Add own repos -->

<project name="derfelot/android_build" path="build" remote="github" revision="cm-12.1" >
<copyfile src="core/root.mk" dest="Makefile" />
</project>

<project name="derfelot/android_frameworks_av" path="frameworks/av" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_frameworks_base" path="frameworks/base" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_frameworks_ex" path="frameworks/ex" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_frameworks_opt_net_wifi" path="frameworks/opt/net/wifi" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_hardware_qcom_audio" path="hardware/qcom/audio/default" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_hardware_qcom_audio" path="hardware/qcom/audio-caf/msm8974" remote="github" revision="cm-12.1-caf-8974" />
<project name="derfelot/android_hardware_qcom_media" path="hardware/qcom/media/default" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_hardware_qcom_media" path="hardware/qcom/media-caf/msm8974" remote="github" revision="cm-12.1-caf-8974" />
<project name="derfelot/android_packages_services_Telephony" path="packages/services/Telephony" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_system_core" path="system/core" remote="github" revision="cm-12.1"/>
<project name="derfelot/android_platform_external_libnl" path="external/libnl" remote="github" revision="cm-12.1" />
<project name="derfelot/android_frameworks_native" path="frameworks/native" remote="github" revision="cm-12.1" />
<project name="derfelot/android_external_tremolo" path="external/tremolo" remote="github" revision="cm-12.1" />
<project name="derfelot/android_external_libhevc" path="external/libhevc" remote="github" revision="cm-12.1" />
<project name="derfelot/android_external_libvpx" path="external/libvpx" remote="github" revision="cm-12.1" />
<project name="derfelot/android_packages_apps_ContactsCommon" path="packages/apps/ContactsCommon" remote="github" revision="cm-12.1" />
<project name="derfelot/android_platform_external_libopus" path="external/libopus" remote="github" revision="cm-12.1" />
</manifest>

Good luck