Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Jul 10, 2024 · 5 comments
Labels

Comments

@raffles496
Copy link

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/[email protected] 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/[email protected] out/ta
rget/product/pdx225/vendor/etc/vintf/manifest/[email protected] out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardwar
[email protected] 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/[email protected] out/target/product/pdx225/vendor/etc/vintf/manifest/[email protected]
ltihal.xml out/target/product/pdx225/vendor/etc/vintf/manifest/[email protected] 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/[email protected]
  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/[email protected]
  out/target/product/pdx225/vendor/etc/vintf/manifest/[email protected]
  out/target/product/pdx225/vendor/etc/vintf/manifest/[email protected]
  out/target/product/pdx225/vendor/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml
  out/target/product/pdx225/vendor/etc/vintf/manifest/[email protected]
  out/target/product/pdx225/vendor/etc/vintf/manifest/[email protected]
  out/target/product/pdx225/vendor/etc/vintf/manifest/[email protected]
  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/[email protected]': 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/[email protected]': 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/[email protected]': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/[email protected]': OK
Fetch 'out/target/product/pdx225/vendor/etc/vintf/manifest/[email protected]': 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/[email protected]': 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/[email protected]': 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: 
  [email protected]::IEffectsFactory/default
  [email protected]::IDevicesFactory/default
  [email protected]::IBiometricsFingerprint/default
  [email protected]::IBluetoothAudioProvidersFactory/default
  [email protected]::IBluetoothHci/default
  [email protected]::IBootControl/default
  [email protected]::ICameraProvider/external/0
  [email protected]::ICameraProvider/legacy/0
  android.hardware.cas.IMediaCasService/default (@1)
  [email protected]::IMediaCasService/default
  [email protected]::ISurfaceFlingerConfigs/default
  [email protected]::ICryptoFactory/default
  [email protected]::IDrmFactory/default
  [email protected]::IGatekeeper/default
  [email protected]::IGnss/default
  [email protected]::IGnss/default
  [email protected]::IAllocator/default
  [email protected]::IAllocator/default
  [email protected]::IComposer/default
  [email protected]::IMapper/default
  [email protected]::IMapper/default
  [email protected]::IHealth/default
  [email protected]::IKeymasterDevice/default
  [email protected]::ILight/default
  [email protected]::IOmx/default
  [email protected]::IOmxStore/default
  [email protected]::IMemtrack/default
  [email protected]::INfc/default
  [email protected]::IPower/default
  [email protected]::IRadioConfig/default
  [email protected]::ISap/slot1
  [email protected]::ISap/slot2
  [email protected]::IRadio/slot1
  [email protected]::IRadio/slot2
  [email protected]::IDevice/default
  [email protected]::ISecureElement/SIM1
  [email protected]::ISecureElement/SIM2
  [email protected]::ISensors/default
  [email protected]::ISoundTriggerHw/default
  [email protected]::IOffloadConfig/default
  [email protected]::IOffloadControl/default
  [email protected]::IUsb/default
  [email protected]::IVibrator/default
  android.hardware.wifi.IWifi/default (@2)
  android.hardware.wifi.hostapd.IHostapd/default (@2)
  android.hardware.wifi.supplicant.ISupplicant/default (@3)
  [email protected]::IdpmQmi/dpmQmiService
  [email protected]::IImsCmService/qti.ims.connectionmanagerservice
  [email protected]::IUceService/com.qualcomm.qti.uceservice
  [email protected]::IApiService/cnd
  [email protected]::IDisplayColor/default
  [email protected]::IDisplayConfig/default
  [email protected]::IDisplayPostproc/default
  [email protected]::INxpNfc/default
  [email protected]::IFactory/default
  [email protected]::IDataConnection/slot1
  [email protected]::IDataConnection/slot2
  [email protected]::IIWlan/slot1
  [email protected]::IIWlan/slot2
  [email protected]::ILinkLatency/default
  [email protected]::IQtiAllocator/default
  [email protected]::IQtiAllocator/default
  [email protected]::IQtiComposer/default
  [email protected]::IQtiMapper/default
  [email protected]::IQtiMapper/default
  [email protected]::IQSEECom/default
  [email protected]::IQcRilAudio/slot1
  [email protected]::IQcRilAudio/slot2
  [email protected]::IImsRadio/imsradio0
  [email protected]::IImsRadio/imsradio1
  [email protected]::IDeviceInfo/deviceinfo
  [email protected]::IUimLpa/UimLpa0
  [email protected]::IUimLpa/UimLpa1
  [email protected]::IQtiOemHook/oemhook0
  [email protected]::IQtiOemHook/oemhook1
  vendor.qti.hardware.radio.qtiradio.IQtiRadioStable/slot1 (@4)
  vendor.qti.hardware.radio.qtiradio.IQtiRadioStable/slot2 (@4)
  [email protected]::IQtiRadio/slot1
  [email protected]::IQtiRadio/slot2
  [email protected]::IQtiRadio/slot1
  [email protected]::IQtiRadio/slot2
  [email protected]::IUim/Uim0
  [email protected]::IUim/Uim1
  [email protected]::IUimRemoteServiceClient/uimRemoteClient0
  [email protected]::IUimRemoteServiceClient/uimRemoteClient1
  [email protected]::IUimRemoteServiceServer/uimRemoteServer0
  [email protected]::IUimRemoteServiceServer/uimRemoteServer1
  [email protected]::IService/default
  [email protected]::IImsFactory/default
  [email protected]::IImsFactory/default
  [email protected]::IRTPService/imsrtpservice
  [email protected]::IQesdhal/default
  [email protected]::IMisctaGlobal/default
  [email protected]::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
@raffles496 raffles496 added the bug label Jul 10, 2024
@mlehtima
Copy link

mlehtima commented Jul 10, 2024

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)
  [email protected]::ISurfaceFlingerConfigs/default
  [email protected]::ILight/default
  [email protected]::IPower/default
  [email protected]::IVibrator/default
  android.hardware.wifi.IWifi/default (@2)
  android.hardware.wifi.hostapd.IHostapd/default (@2)
  android.hardware.wifi.supplicant.ISupplicant/default (@3)
  [email protected]::INxpNfc/default
  [email protected]::IQtiRadio/slot1
  [email protected]::IQtiRadio/slot2
  [email protected]::IImsFactory/default
  [email protected]::IMisctaGlobal/default
  [email protected]::IModemSwitcher/default
ERROR: files are incompatible: The following instances are in the device manifest but not specified in framework compatibility matrix:
    [email protected]::ISurfaceFlingerConfigs/default
    [email protected]::ILight/default
    [email protected]::IPower/default
    [email protected]::IVibrator/default
    [email protected]::INxpNfc/default
    [email protected]::IQtiRadio/slot1
    [email protected]::IQtiRadio/slot2
    [email protected]::IImsFactory/default
    [email protected]::IMisctaGlobal/default
    [email protected]::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
Copy link
Author

@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:

  • boot.img
  • dtb.img
  • dtbo.img
  • product.img
  • ramdisk.img
  • super_empty.img
  • system.img
  • system_ext.img
  • userdata.img
  • vbmeta.img
  • vbmeta_system.img
  • vendor.img
  • vendor_boot.img
  • vendor_boot-debug.img
  • vendor_boot-test-harness.img
  • vendor_ramdisk.img
  • vendor_ramdisk-debug.img
  • vendor_ramdisk-test-harness.img

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
Copy link
Collaborator

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

@raffles496
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants