sonyxperiadev / bug_tracker

Empty repository that is used as a bugtracker for Open Devices project
52 stars 13 forks source link

ERROR: No such file or directory: Cannot find framework matrix at FCM version 4.: No such file or directory - AOSP 14 - PDX225 #838

Open raffles496 opened 1 month ago

raffles496 commented 1 month ago

Platform: Android 14 Device: XQCC54 Kernel version: 5.4 Android version: 14

Description After following the steps to compile AOSP 14 described by SONY on its official website, I encounter this error in the final steps.

Symptoms No such file or directory: Cannot find framework matrix at FCM version 4.

How to reproduce Following the official steps for compiling AOSP 14.

Additional context

[ 10% 1/10 19s remaining] build out/target/product/pdx225/gen/ETC/vendor_manifest.xml_intermediates/manifest.xml
INFO: Couldn't find AIDL metadata for: vendor.qti.hardware.radio.qtiradio.IQtiRadioStable in file device/sony/common/vintf/vendor.hw.qtiradio_ds.xml. 
Check spelling? This is expected for prebuilt interfaces.
[ 50% 5/10 19s remaining] build out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible.log
FAILED: out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible.log
/bin/bash -c "(echo \"PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS=\" > out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/check_v
intf_compatible.log ) && (echo -n -e 'Deps: \\n  ' >> out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible.log
 ) && (sed 's/ /\\n  /g' <<< \"out/target/product/pdx225/system/etc/vintf/compatibility_matrix.202404.xml out/target/product/pdx225/system/etc/vintf/c
ompatibility_matrix.5.xml out/target/product/pdx225/system/etc/vintf/compatibility_matrix.6.xml out/target/product/pdx225/system/etc/vintf/compatibili
ty_matrix.7.xml out/target/product/pdx225/system/etc/vintf/compatibility_matrix.8.xml out/target/product/pdx225/system/etc/vintf/compatibility_matrix.
device.xml out/target/product/pdx225/system/etc/vintf/manifest.xml out/target/product/pdx225/system/etc/vintf/manifest/android.frameworks.stats-servic
e.xml out/target/product/pdx225/system/etc/vintf/manifest/android.system.keystore2-service.xml out/target/product/pdx225/system/etc/vintf/manifest/and
roid.system.net.netd-service.xml out/target/product/pdx225/system/etc/vintf/manifest/android.system.suspend-service.xml out/target/product/pdx225/syst
em/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service.xml out/target/product/pdx225/system/etc/vintf/manifest/manifest_media_c2_soft
ware_hidl.xml out/target/product/pdx225/system/etc/vintf/manifest/manifest_services.xml out/target/product/pdx225/system_ext/etc/vintf/manifest.xml ou
t/target/product/pdx225/system_ext/etc/vintf/manifest/android.hidl.allocator@1.0-service.xml out/target/product/pdx225/system_ext/etc/vintf/manifest/h
wservicemanager.xml out/target/product/pdx225/vendor/apex/com.android.hardware.cas.apex out/target/product/pdx225/vendor/etc/vintf/compatibility_matri
x.xml out/target/product/pdx225/vendor/etc/vintf/manifest.xml out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.boot@1.1.xml out/ta
rget/product/pdx225/vendor/etc/vintf/manifest/android.hardware.cas@1.2-service.xml out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardwar
e.gnss@2.1-service-qti.xml out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml out/target/produc
t/pdx225/vendor/etc/vintf/manifest/android.hardware.health@2.1.xml out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.sensors@2.1-mu
ltihal.xml out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.usb@1.2-service.xml out/target/product/pdx225/vendor/etc/vintf/manifes
t/android.hardware.wifi-service.xml out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml out/target/product/pdx225/ve
ndor/etc/vintf/manifest/android.hardware.wifi.supplicant.xml out/target/product/pdx225/vendor/etc/vintf/manifest/vendor.qti.hardware.display.allocator
-service.xml out/target/product/pdx225/vendor/etc/vintf/manifest/vendor.qti.hardware.display.composer-service.xml out/target/product/pdx225/obj/PACKAG
ING/check_vintf_all_intermediates/apex/apex-info-list.xml\" >> out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compa
tible.log ) && (echo -n -e 'Args: \\n  ' >> out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible.log ) && (cat
 <<< \" --dirmap /system:out/target/product/pdx225/system --dirmap /vendor:out/target/product/pdx225/vendor --dirmap /odm:out/target/product/pdx225/ve
ndor/odm --dirmap /product:out/target/product/pdx225/product --dirmap /system_ext:out/target/product/pdx225/system_ext --dirmap /apex:out/target/produ
ct/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex  --property ro.product.first_api_level=27\" >> out/target/product/pdx225/obj/PACKAGING/chec
k_vintf_all_intermediates/check_vintf_compatible.log ) && (echo \"For ODM SKU = EMPTY_ODM_SKU_PLACEHOLDER, vendor SKU = EMPTY_VENDOR_SKU_PLACEHOLDER\"
 >> out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible.log; ( out/host/linux-x86/bin/checkvintf --check-comp
at  --dirmap /system:out/target/product/pdx225/system --dirmap /vendor:out/target/product/pdx225/vendor --dirmap /odm:out/target/product/pdx225/vendor
/odm --dirmap /product:out/target/product/pdx225/product --dirmap /system_ext:out/target/product/pdx225/system_ext --dirmap /apex:out/target/product/p
dx225/obj/PACKAGING/check_vintf_all_intermediates/apex  --property ro.product.first_api_level=27 --property ro.boot.product.hardware.sku= --property r
o.boot.product.vendor.sku= >> out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible.log 2>&1 ) || (cat out/targ
et/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible.log && exit 1) )"
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS=
Deps: 
  out/target/product/pdx225/system/etc/vintf/compatibility_matrix.202404.xml
  out/target/product/pdx225/system/etc/vintf/compatibility_matrix.5.xml
  out/target/product/pdx225/system/etc/vintf/compatibility_matrix.6.xml
  out/target/product/pdx225/system/etc/vintf/compatibility_matrix.7.xml
  out/target/product/pdx225/system/etc/vintf/compatibility_matrix.8.xml
  out/target/product/pdx225/system/etc/vintf/compatibility_matrix.device.xml
  out/target/product/pdx225/system/etc/vintf/manifest.xml
  out/target/product/pdx225/system/etc/vintf/manifest/android.frameworks.stats-service.xml
  out/target/product/pdx225/system/etc/vintf/manifest/android.system.keystore2-service.xml
  out/target/product/pdx225/system/etc/vintf/manifest/android.system.net.netd-service.xml
  out/target/product/pdx225/system/etc/vintf/manifest/android.system.suspend-service.xml
  out/target/product/pdx225/system/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service.xml
  out/target/product/pdx225/system/etc/vintf/manifest/manifest_media_c2_software_hidl.xml
  out/target/product/pdx225/system/etc/vintf/manifest/manifest_services.xml
  out/target/product/pdx225/system_ext/etc/vintf/manifest.xml
  out/target/product/pdx225/system_ext/etc/vintf/manifest/android.hidl.allocator@1.0-service.xml
  out/target/product/pdx225/system_ext/etc/vintf/manifest/hwservicemanager.xml
  out/target/product/pdx225/vendor/apex/com.android.hardware.cas.apex
  out/target/product/pdx225/vendor/etc/vintf/compatibility_matrix.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.boot@1.1.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.cas@1.2-service.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.gnss@2.1-service-qti.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.health@2.1.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.sensors@2.1-multihal.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.usb@1.2-service.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.wifi-service.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.wifi.supplicant.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/vendor.qti.hardware.display.allocator-service.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/vendor.qti.hardware.display.composer-service.xml
  out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml
Args: 
   --dirmap /system:out/target/product/pdx225/system --dirmap /vendor:out/target/product/pdx225/vendor --dirmap /odm:out/target/product/pdx225/vendor/
odm --dirmap /product:out/target/product/pdx225/product --dirmap /system_ext:out/target/product/pdx225/system_ext --dirmap /apex:out/target/product/pd
x225/obj/PACKAGING/check_vintf_all_intermediates/apex  --property ro.product.first_api_level=27
For ODM SKU = EMPTY_ODM_SKU_PLACEHOLDER, vendor SKU = EMPTY_VENDOR_SKU_PLACEHOLDER
getFrameworkHalManifest: Reading VINTF information.
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest.xml': OK
List 'out/target/product/pdx225/system/etc/vintf/manifest/': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest/android.frameworks.stats-service.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest/manifest_media_c2_software_hidl.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest/android.system.net.netd-service.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest/manifest_services.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest/android.system.suspend-service.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest/android.system.keystore2-service.xml': OK
Fetch 'out/target/product/pdx225/product/etc/vintf/manifest.xml': NAME_NOT_FOUND
List 'out/target/product/pdx225/product/etc/vintf/manifest/': NAME_NOT_FOUND
Fetch 'out/target/product/pdx225/system_ext/etc/vintf/manifest.xml': OK
List 'out/target/product/pdx225/system_ext/etc/vintf/manifest/': OK
Fetch 'out/target/product/pdx225/system_ext/etc/vintf/manifest/android.hidl.allocator@1.0-service.xml': OK
Fetch 'out/target/product/pdx225/system_ext/etc/vintf/manifest/hwservicemanager.xml': OK
getDeviceHalManifest: Reading VINTF information.
Sysprop ro.boot.product.vendor.sku=
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest.xml': OK
List 'out/target/product/pdx225/vendor/etc/vintf/manifest/': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.health@2.1.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.wifi-service.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.boot@1.1.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.usb@1.2-service.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.sensors@2.1-multihal.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/vendor.qti.hardware.display.allocator-service.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.cas@1.2-service.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.wifi.supplicant.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/vendor.qti.hardware.display.composer-service.xml': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.gnss@2.1-service-qti.xml': OK
Sysprop ro.boot.product.hardware.sku=
Fetch 'out/target/product/pdx225/vendor/odm/etc/vintf/manifest.xml': NAME_NOT_FOUND
Fetch 'out/target/product/pdx225/vendor/odm/etc/manifest.xml': NAME_NOT_FOUND
List 'out/target/product/pdx225/vendor/odm/etc/vintf/manifest/': NAME_NOT_FOUND
Sysprop apex.all.ready is missing, default to ''
Get modified time 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml': OK
Fetch 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml': OK
Loaded APEX Infos from /apex/apex-info-list.xml
List 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/com.android.hardware.cas/etc/vintf/': OK
Fetch 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/com.android.hardware.cas/etc/vintf/android.hardware.cas-service.xml'
: OK
getDeviceHalManifest: Successfully processed VINTF information
getFrameworkHalManifest: Successfully processed VINTF information
Sysprop apex.all.ready is missing, default to ''
Get modified time 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml': OK
Sysprop apex.all.ready is missing, default to ''
Get modified time 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml': OK
Sysprop apex.all.ready is missing, default to ''
Get modified time 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml': OK
getFrameworkCompatibilityMatrix: Reading VINTF information.
List 'out/target/product/pdx225/system/etc/vintf/': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.202404.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.5.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.8.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.device.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.6.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.7.xml': OK
List 'out/target/product/pdx225/system_ext/etc/vintf/': OK
Fetch 'out/target/product/pdx225/system_ext/etc/vintf/manifest.xml': OK
List 'out/target/product/pdx225/product/etc/vintf/': NAME_NOT_FOUND
getFrameworkCompatibilityMatrix: Successfully processed VINTF information
getDeviceCompatibilityMatrix: Reading VINTF information.
Fetch 'out/target/product/pdx225/vendor/etc/vintf/compatibility_matrix.xml': OK
getDeviceCompatibilityMatrix: Successfully processed VINTF information
Sysprop apex.all.ready is missing, default to ''
Get modified time 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml': OK
Sysprop apex.all.ready is missing, default to ''
Get modified time 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml': OK
List 'out/target/product/pdx225/system/etc/vintf/': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.202404.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.5.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.8.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.device.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.6.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.7.xml': OK
List 'out/target/product/pdx225/system_ext/etc/vintf/': OK
Fetch 'out/target/product/pdx225/system_ext/etc/vintf/manifest.xml': OK
List 'out/target/product/pdx225/product/etc/vintf/': NAME_NOT_FOUND
Sysprop apex.all.ready is missing, default to ''
Get modified time 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml': OK
List 'out/target/product/pdx225/system/etc/vintf/': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.202404.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.5.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.8.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.device.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.6.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.7.xml': OK
List 'out/target/product/pdx225/system_ext/etc/vintf/': OK
Fetch 'out/target/product/pdx225/system_ext/etc/vintf/manifest.xml': OK
List 'out/target/product/pdx225/product/etc/vintf/': NAME_NOT_FOUND
Sysprop apex.all.ready is missing, default to ''
Get modified time 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml': OK
Skip checking unused HALs.
Sysprop apex.all.ready is missing, default to ''
Get modified time 'out/target/product/pdx225/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml': OK
List 'out/target/product/pdx225/system/etc/vintf/': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.202404.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.5.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.8.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/manifest.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.device.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.6.xml': OK
Fetch 'out/target/product/pdx225/system/etc/vintf/compatibility_matrix.7.xml': OK
List 'out/target/product/pdx225/system_ext/etc/vintf/': OK
Fetch 'out/target/product/pdx225/system_ext/etc/vintf/manifest.xml': OK
List 'out/target/product/pdx225/product/etc/vintf/': NAME_NOT_FOUND
The following HALs in device manifest are not declared in FCM <= level 4: 
  android.hardware.audio.effect@6.0::IEffectsFactory/default
  android.hardware.audio@6.0::IDevicesFactory/default
  android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default
  android.hardware.bluetooth.audio@2.0::IBluetoothAudioProvidersFactory/default
  android.hardware.bluetooth@1.0::IBluetoothHci/default
  android.hardware.boot@1.1::IBootControl/default
  android.hardware.camera.provider@2.5::ICameraProvider/external/0
  android.hardware.camera.provider@2.5::ICameraProvider/legacy/0
  android.hardware.cas.IMediaCasService/default (@1)
  android.hardware.cas@1.2::IMediaCasService/default
  android.hardware.configstore@1.1::ISurfaceFlingerConfigs/default
  android.hardware.drm@1.0::ICryptoFactory/default
  android.hardware.drm@1.0::IDrmFactory/default
  android.hardware.gatekeeper@1.0::IGatekeeper/default
  android.hardware.gnss@1.1::IGnss/default
  android.hardware.gnss@2.1::IGnss/default
  android.hardware.graphics.allocator@3.0::IAllocator/default
  android.hardware.graphics.allocator@4.0::IAllocator/default
  android.hardware.graphics.composer@2.4::IComposer/default
  android.hardware.graphics.mapper@3.0::IMapper/default
  android.hardware.graphics.mapper@4.0::IMapper/default
  android.hardware.health@2.1::IHealth/default
  android.hardware.keymaster@4.1::IKeymasterDevice/default
  android.hardware.light@2.0::ILight/default
  android.hardware.media.omx@1.0::IOmx/default
  android.hardware.media.omx@1.0::IOmxStore/default
  android.hardware.memtrack@1.0::IMemtrack/default
  android.hardware.nfc@1.2::INfc/default
  android.hardware.power@1.3::IPower/default
  android.hardware.radio.config@1.1::IRadioConfig/default
  android.hardware.radio@1.2::ISap/slot1
  android.hardware.radio@1.2::ISap/slot2
  android.hardware.radio@1.5::IRadio/slot1
  android.hardware.radio@1.5::IRadio/slot2
  android.hardware.renderscript@1.0::IDevice/default
  android.hardware.secure_element@1.2::ISecureElement/SIM1
  android.hardware.secure_element@1.2::ISecureElement/SIM2
  android.hardware.sensors@2.1::ISensors/default
  android.hardware.soundtrigger@2.2::ISoundTriggerHw/default
  android.hardware.tetheroffload.config@1.0::IOffloadConfig/default
  android.hardware.tetheroffload.control@1.0::IOffloadControl/default
  android.hardware.usb@1.2::IUsb/default
  android.hardware.vibrator@1.0::IVibrator/default
  android.hardware.wifi.IWifi/default (@2)
  android.hardware.wifi.hostapd.IHostapd/default (@2)
  android.hardware.wifi.supplicant.ISupplicant/default (@3)
  com.qualcomm.qti.dpm.api@1.0::IdpmQmi/dpmQmiService
  com.qualcomm.qti.imscmservice@2.2::IImsCmService/qti.ims.connectionmanagerservice
  com.qualcomm.qti.uceservice@2.3::IUceService/com.qualcomm.qti.uceservice
  com.quicinc.cne.api@1.1::IApiService/cnd
  vendor.display.color@1.5::IDisplayColor/default
  vendor.display.config@2.0::IDisplayConfig/default
  vendor.display.postproc@1.0::IDisplayPostproc/default
  vendor.nxp.nxpnfc@1.0::INxpNfc/default
  vendor.qti.data.factory@2.5::IFactory/default
  vendor.qti.hardware.data.connection@1.1::IDataConnection/slot1
  vendor.qti.hardware.data.connection@1.1::IDataConnection/slot2
  vendor.qti.hardware.data.iwlan@1.0::IIWlan/slot1
  vendor.qti.hardware.data.iwlan@1.0::IIWlan/slot2
  vendor.qti.hardware.data.latency@1.0::ILinkLatency/default
  vendor.qti.hardware.display.allocator@3.0::IQtiAllocator/default
  vendor.qti.hardware.display.allocator@4.0::IQtiAllocator/default
  vendor.qti.hardware.display.composer@3.0::IQtiComposer/default
  vendor.qti.hardware.display.mapper@3.0::IQtiMapper/default
  vendor.qti.hardware.display.mapper@4.0::IQtiMapper/default
  vendor.qti.hardware.qseecom@1.0::IQSEECom/default
  vendor.qti.hardware.radio.am@1.0::IQcRilAudio/slot1
  vendor.qti.hardware.radio.am@1.0::IQcRilAudio/slot2
  vendor.qti.hardware.radio.ims@1.7::IImsRadio/imsradio0
  vendor.qti.hardware.radio.ims@1.7::IImsRadio/imsradio1
  vendor.qti.hardware.radio.internal.deviceinfo@1.0::IDeviceInfo/deviceinfo
  vendor.qti.hardware.radio.lpa@1.1::IUimLpa/UimLpa0
  vendor.qti.hardware.radio.lpa@1.1::IUimLpa/UimLpa1
  vendor.qti.hardware.radio.qcrilhook@1.0::IQtiOemHook/oemhook0
  vendor.qti.hardware.radio.qcrilhook@1.0::IQtiOemHook/oemhook1
  vendor.qti.hardware.radio.qtiradio.IQtiRadioStable/slot1 (@4)
  vendor.qti.hardware.radio.qtiradio.IQtiRadioStable/slot2 (@4)
  vendor.qti.hardware.radio.qtiradio@1.0::IQtiRadio/slot1
  vendor.qti.hardware.radio.qtiradio@1.0::IQtiRadio/slot2
  vendor.qti.hardware.radio.qtiradio@2.7::IQtiRadio/slot1
  vendor.qti.hardware.radio.qtiradio@2.7::IQtiRadio/slot2
  vendor.qti.hardware.radio.uim@1.2::IUim/Uim0
  vendor.qti.hardware.radio.uim@1.2::IUim/Uim1
  vendor.qti.hardware.radio.uim_remote_client@1.0::IUimRemoteServiceClient/uimRemoteClient0
  vendor.qti.hardware.radio.uim_remote_client@1.0::IUimRemoteServiceClient/uimRemoteClient1
  vendor.qti.hardware.radio.uim_remote_server@1.0::IUimRemoteServiceServer/uimRemoteServer0
  vendor.qti.hardware.radio.uim_remote_server@1.0::IUimRemoteServiceServer/uimRemoteServer1
  vendor.qti.ims.callinfo@1.0::IService/default
  vendor.qti.ims.factory@1.1::IImsFactory/default
  vendor.qti.ims.factory@2.2::IImsFactory/default
  vendor.qti.imsrtpservice@3.0::IRTPService/imsrtpservice
  vendor.qti.qesdhal@1.1::IQesdhal/default
  vendor.somc.hardware.miscta@1.0::IMisctaGlobal/default
  vendor.somc.hardware.modemswitcher@1.0::IModemSwitcher/default
ERROR: No such file or directory: Cannot find framework matrix at FCM version 4.: No such file or directory
03:28:15 ninja failed with: exit status 1
mlehtima commented 1 month ago

I did some debugging of this and Android dropped including the compatibility_matrix.3.xml and compatibility_matrix.4.xml files. Changing the target-level to 5 in device/sony/common/vintf/manifest.xml removes quite many of the errors. I also noticed that nothing appears to be installing the vendor_framework_compatibility_matrix.xml file located in vendor/qcom/opensource/core-utils and adding that to DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE solves quite many of the issues left after changing the target-level but not all. What is still left is

The following HALs in device manifest are not declared in FCM <= level 5:
  android.hardware.cas.IMediaCasService/default (@1)
  android.hardware.configstore@1.1::ISurfaceFlingerConfigs/default
  android.hardware.light@2.0::ILight/default
  android.hardware.power@1.3::IPower/default
  android.hardware.vibrator@1.0::IVibrator/default
  android.hardware.wifi.IWifi/default (@2)
  android.hardware.wifi.hostapd.IHostapd/default (@2)
  android.hardware.wifi.supplicant.ISupplicant/default (@3)
  vendor.nxp.nxpnfc@1.0::INxpNfc/default
  vendor.qti.hardware.radio.qtiradio@2.7::IQtiRadio/slot1
  vendor.qti.hardware.radio.qtiradio@2.7::IQtiRadio/slot2
  vendor.qti.ims.factory@2.2::IImsFactory/default
  vendor.somc.hardware.miscta@1.0::IMisctaGlobal/default
  vendor.somc.hardware.modemswitcher@1.0::IModemSwitcher/default
ERROR: files are incompatible: The following instances are in the device manifest but not specified in framework compatibility matrix:
    android.hardware.configstore@1.1::ISurfaceFlingerConfigs/default
    android.hardware.light@2.0::ILight/default
    android.hardware.power@1.3::IPower/default
    android.hardware.vibrator@1.0::IVibrator/default
    vendor.nxp.nxpnfc@1.0::INxpNfc/default
    vendor.qti.hardware.radio.qtiradio@2.7::IQtiRadio/slot1
    vendor.qti.hardware.radio.qtiradio@2.7::IQtiRadio/slot2
    vendor.qti.ims.factory@2.2::IImsFactory/default
    vendor.somc.hardware.miscta@1.0::IMisctaGlobal/default
    vendor.somc.hardware.modemswitcher@1.0::IModemSwitcher/default

Out of these android.hardware.configstore is not available in any compatibility matrix and appears to be obsolete. Some hardware interfaces i.e. android.hardware.light, android.hardware.power and android.hardware.vibrator are now AIDL-only and the custom implementations probably need to be adapted to be AIDL. The remaining vendor instances probably need be added to that vendor_framework_compatibility_matrix.xml file. Not sure about those android.hardware.cas and android.hardware.wifi ones.

raffles496 commented 1 month ago

@mlehtima Thanks for you support and tips. Edit my "device/sony/common/vintf/manifest.xml" changing of target-level to 5 and manually adding the instances to my "vendor/qcom/opensource/core-utils/vendor_framework_compatibility_matrix.xml". After this steps, the error previously dissappear, and the compilation finishim with this files:

The problem now is that after the flashing of this IMGs the phone not boot, is stuck on SONY logo, also somes IMGs is impossible of flashing given that mark an error.

jerpelea commented 1 month ago

as the guide suggests depending on the device not all images are available or should be flashed

raffles496 commented 1 month ago

as the guide suggests depending on the device not all images are available or should be flashed

Exactly, I read it in the guide, the problem is that I am not sure which ones I need and which ones I should discard or if the compilation simply has errors and that is why the Smartphone does not start.

raffles496 commented 1 month ago

I have made a new build hoping this will help solve any errors, the build finishes without errors but it does report several "warnings" during the process. Then I run a "fastboot flashall" letting the system choose which IMGs to flash, the process is done without errors, but now the only difference is that the Smartphone goes from the Sony logo and gets stuck on the "Android" boot logo . Is there any way to know what is preventing the system from starting on the Smartphone?

$ fastboot flashall
--------------------------------------------
Bootloader Version...: xboot
Baseband Version.....: 
Serial Number........: HQ626A6D77
--------------------------------------------
Checking 'product'                                 OKAY [  0.001s]
Setting current slot to 'a'                        OKAY [  0.022s]
Sending 'boot_a' (98304 KB)                        OKAY [  2.150s]
Writing 'boot_a'                                   OKAY [  0.295s]
Sending 'dtbo_a' (24576 KB)                        OKAY [  0.546s]
Writing 'dtbo_a'                                   OKAY [  0.066s]
Sending 'vendor_boot_a' (98304 KB)                 OKAY [  2.157s]
Writing 'vendor_boot_a'                            OKAY [  0.295s]
Sending 'vbmeta_a' (8 KB)                          OKAY [  0.001s]
Writing 'vbmeta_a'                                 OKAY [  0.002s]
Sending 'vbmeta_system_a' (4 KB)                   OKAY [  0.001s]
Writing 'vbmeta_system_a'                          OKAY [  0.002s]
Sending 'super' (4 KB)                             OKAY [  0.001s]
Updating super partition                           OKAY [  0.018s]
Resizing 'system_a'                                OKAY [  0.004s]
Resizing 'system_ext_a'                            OKAY [  0.004s]
Resizing 'vendor_a'                                OKAY [  0.005s]
Resizing 'product_a'                               OKAY [  0.004s]
Resizing 'system_a'                                OKAY [  0.006s]
Sending sparse 'system_a' 1/4 (262140 KB)          OKAY [  5.750s]
Writing 'system_a'                                 OKAY [  0.786s]
Sending sparse 'system_a' 2/4 (262140 KB)          OKAY [  5.736s]
Writing 'system_a'                                 OKAY [  0.716s]
Sending sparse 'system_a' 3/4 (262140 KB)          OKAY [  5.770s]
Writing 'system_a'                                 OKAY [  0.719s]
Sending sparse 'system_a' 4/4 (64276 KB)           OKAY [  1.421s]
Writing 'system_a'                                 OKAY [  0.241s]
Resizing 'system_ext_a'                            OKAY [  0.003s]
Sending 'system_ext_a' (176948 KB)                 OKAY [  3.874s]
Writing 'system_ext_a'                             OKAY [  0.593s]
Resizing 'vendor_a'                                OKAY [  0.005s]
Sending 'vendor_a' (148640 KB)                     OKAY [  3.259s]
Writing 'vendor_a'                                 OKAY [  0.530s]
Resizing 'product_a'                               OKAY [  0.005s]
Sending sparse 'product_a' 1/2 (262140 KB)         OKAY [  5.743s]
Writing 'product_a'                                OKAY [  0.789s]
Sending sparse 'product_a' 2/2 (24252 KB)          OKAY [  0.540s]
Writing 'product_a'                                OKAY [  0.143s]
Rebooting                                          OKAY [  0.000s]
Finished. Total time: 42.362s