The following HALs in device manifest are not declared in FCM <= level 7:
android.hardware.radio@1.4::IRadio/slot1
ERROR: files are incompatible: android.hardware.radio@1.4::IRadio/slot1 is deprecated in compatibility matrix at FCM Version 7; it should not be served.
android.hardware.radio@1.4::IRadio/slot1 is deprecated in compatibility matrix at FCM Version 7; it should not be served.
android.hardware.radio@1.4::IRadio/slot1 is deprecated in compatibility matrix at FCM Version 7; it should not be served.
The following instances are in the device manifest but not specified in framework compatibility matrix:
android.hardware.radio@1.4::IRadio/slot1
Suggested fix:
1. Update deprecated HALs to the latest version.
2. Check for any typos in device manifest or framework compatibility matrices with FCM version >= 7.
3. For new platform HALs, add them to any framework compatibility matrix with FCM version >= 7 where applicable.
4. For device-specific HALs, add to DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE or DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE.: Success
INCOMPATIBLE
can i know what’s the version of IRadio is need to use for Android 13 (kernel 5.15) under arm64 architecture.
Thank you for your reply. My AOSP has been successfully built. After adding android.hardware.radio in compatibility_matrix.7.xml and libreference-ril.so, how can I check if my GNSS is working?, There occurring some of error in logcat and I tried some debug commands to check if GNSS is working or not I’m using IRadio 1.4 libreference-ril.so
init: Control message: Could not find 'android.hardware.radio@1.4::IRadio/slot1' for ctl.interface_start from pid: 309 (/system/bin/hwservicemanager)
[ 206.055586][ T1] init: Service 'ril-daemon' (pid 2851) exited with status 1
[ 206.063107][ T1] init: Sending signal 9 to service 'ril-daemon' (pid 2851) process group...
[ 206.072294][ T1] libprocessgroup: Successfully killed process cgroup uid 0 pid 2851 in 0ms
[ 206.081475][ T1] init: process with updatable components 'ril-daemon' exited 4 times in 4 minutes
[ 206.093570][ T1] init: processing action (sys.init.updatable_crashing=1) from (/system/etc/init/flags_health_check.rc:10)
[ 206.105694][ T1] init: starting service 'exec 52 (/system/bin/flags_health_check UPDATABLE_CRASHING)'...
[ 206.121815][ T1] init: SVC_EXEC service 'exec 52 (/system/bin/flags_health_check UPDATABLE_CRASHING)' pid 2853 (uid 1000 gid 1000+0 context default) started; waiting...
mek_8q:/ # getprop | grep ril
[init.svc.ril-daemon]: [restarting]
[init.svc.vendor.ril-daemon]: [running]
[init.svc_debug_pid.ril-daemon]: [3258]
[init.svc_debug_pid.vendor.ril-daemon]: [670]
[ro.boottime.ril-daemon]: [40271719250]
[ro.boottime.vendor.ril-daemon]: [40656888750]
[ro.radio.noril]: [yes]
[sys.init.updatable_crashing_process_name]: [ril-daemon]
[ 256.087130][ T1] init: starting service 'ril-daemon'...
[ 256.170126][ T1] init: Service 'ril-daemon' (pid 3299) exited with status 1
[ 256.177521][ T1] init: Sending signal 9 to service 'ril-daemon' (pid 3299) process group...
[ 256.186616][ T1] libprocessgroup: Successfully killed process cgroup uid 0 pid 3299 in 0ms
[ 256.755692][ T1] init: Control message: Could not find 'android.hardware.radio@1.4::IRadio/slot1' for ctl.interface_start from pid: 309 (/system/bin/hwservicemanager)
[ 257.756863][ T1] init: Control message: Could not find 'android.hardware.radio@1.4::IRadio/slot1' for ctl.interface_start from pid: 309 (/system/bin/hwservicemanager)
[ 258.758560][ T1] init: Control message: Could not find 'android.hardware.radio@1.4::IRadio/slot1' for ctl.interface_start from pid: 309 (/system/bin/hwservicemanager)
[ 259.760414][ T1] init: Control message: Could not find 'android.hardware.radio@1.4::IRadio/slot1' for ctl.interface_start from pid: 309 (/system/bin/hwservicemanager)
[ 260.761878][ T1] init: Control message: Could not find 'android.hardware.radio@1.4::IRadio/slot1' for ctl.interface_start from pid: 309 (/system/bin/hwservicemanager)
mek_8q:/ # ps -elf | grep ril
radio 670 1 0 11:24:22 ? 00:00:00 rild
root 3856 461 8 11:28:30 ttyLP0 00:00:00 grep ril
1|mek_8q:/ # getprop | grep phone
1|mek_8q:/ #
1|mek_8q:/ # ls -la /vendor/lib64/*radio*
-rw-r--r-- 1 root root 366088 2024-09-19 11:21 /vendor/lib64/android.hardware.broadcastradio@2.0.so
-rw-r--r-- 1 root root 1897000 2024-09-19 11:21 /vendor/lib64/android.hardware.radio@1.0.so
-rw-r--r-- 1 root root 1310256 2024-09-19 11:21 /vendor/lib64/android.hardware.radio@1.1.so
mek_8q:/ # ls -la /vendor/lib64/*ril*
-rw-r--r-- 1 root root 53576 2024-09-19 11:32 /vendor/lib64/libreference-ril.so
-rw-r--r-- 1 root root 306120 2024-09-19 11:32 /vendor/lib64/libril.so
-rw-r--r-- 1 root root 14648 2024-09-19 11:21 /vendor/lib64/librilutils.so
130|mek_8q:/ # logcat -b radio -v time
[ 579.755984][ T320] logd: logdr: UID=0 GID=0 PID=4306 b tail=0 logMask=2 pid=0 start=0ns deadline=0ns
--------- beginning of radio
01-01 00:00:48.367 D/RILD ( 654): **RIL Daemon Started**
01-01 00:00:48.367 D/RILD ( 654): **RILd param count=3**
01-01 00:00:48.381 E/RILD ( 654): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
01-01 00:00:48.800 D/RILD ( 670): **RIL Daemon Started**
01-01 00:00:48.817 D/RILD ( 670): **RILd param count=1**
01-01 00:00:48.817 D/RILD ( 670): RIL_Init starting sleep loop
01-01 00:00:53.153 D/RILD ( 742): **RIL Daemon Started**
01-01 00:00:53.154 D/RILD ( 742): **RILd param count=3**
01-01 00:00:53.156 E/RILD ( 742): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
01-01 00:00:58.164 D/RILD ( 750): **RIL Daemon Started**
01-01 00:00:58.164 D/RILD ( 750): **RILd param count=3**
01-01 00:00:58.166 E/RILD ( 750): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
01-01 00:01:03.182 D/RILD ( 785): **RIL Daemon Started**
01-01 00:01:03.183 D/RILD ( 785): **RILd param count=3**
01-01 00:01:03.185 E/RILD ( 785): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
01-01 00:01:08.199 D/RILD ( 806): **RIL Daemon Started**
01-01 00:01:08.199 D/RILD ( 806): **RILd param count=3**
01-01 00:01:08.202 E/RILD ( 806): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
01-01 00:01:13.206 D/RILD ( 808): **RIL Daemon Started**
01-01 00:01:13.206 D/RILD ( 808): **RILd param count=3**
01-01 00:01:13.208 E/RILD ( 808): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
09-19 11:24:53.818 D/RILD ( 871): **RIL Daemon Started**
09-19 11:24:53.821 D/RILD ( 871): **RILd param count=3**
09-19 11:24:53.826 E/RILD ( 871): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
09-19 11:24:58.882 D/RILD ( 882): **RIL Daemon Started**
09-19 11:24:58.883 D/RILD ( 882): **RILd param count=3**
09-19 11:24:58.885 E/RILD ( 882): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
09-19 11:25:03.846 D/RILD ( 903): **RIL Daemon Started**
09-19 11:25:03.846 D/RILD ( 903): **RILd param count=3**
09-19 11:25:03.848 E/RILD ( 903): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
09-19 11:25:08.787 D/RILD ( 928): **RIL Daemon Started**
09-19 11:25:08.789 D/RILD ( 928): **RILd param count=3**
09-19 11:25:08.795 E/RILD ( 928): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
09-19 11:25:13.877 D/RILD ( 945): **RIL Daemon Started**
09-19 11:25:13.879 D/RILD ( 945): **RILd param count=3**
09-19 11:25:13.884 E/RILD ( 945): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
09-19 11:25:18.879 D/RILD ( 962): **RIL Daemon Started**
09-19 11:25:18.882 D/RILD ( 962): **RILd param count=3**
09-19 11:25:18.886 E/RILD ( 962): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
09-19 11:25:23.831 D/RILD ( 973): **RIL Daemon Started**
09-19 11:25:23.832 D/RILD ( 973): **RILd param count=3**
09-19 11:25:23.834 E/RILD ( 973): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
09-19 11:25:28.925 D/RILD ( 999): **RIL Daemon Started**
09-19 11:25:28.926 D/RILD ( 999): **RILd param count=3**
09-19 11:25:28.935 E/RILD ( 999): dlopen failed: dlopen failed: library "android.hardware.secure_element@1.0.so" not found: needed by /vendor/lib64/hw/libreference-ril.so in namespace (default)
09-19 11:25:33.839 D/RILD ( 1021): **RIL Daemon Started**
after this error and also tried this process in IRadio1.6 version occuring same error
After adding the android.hardware.secure_element@1.0.vendor in device.mk file library "android.hardware.secure_element@1.0.so" not found error is gone, after this the new error has been occur "android.hardware.radio.config@1.0.so" not found: after solving this another error occurs "android.hardware.radio.config@2.0.so" not found: , so what are the dependencies need to add in device.mk file.
Thank you, after adding this error has been gone, but I can repeatedly see some error in my logcat [ 402.372017][ T1] init: Control message: Could not find 'android.hardware.radio@1.4::IRadio/slot1' for ctl.interface_start from pid: 319 (/system/bin/hwservicemanager)
Am I need to set the [ro.radio.noril]: [yes] for a inbuild rild available in AOSP source code, inbuild libreference-ril.so is generating in the following path vendor/lib64/ libreference-ril.so ,so how can i check the version of this libreference-ril.so
Sorry for the late reply I tried the default NDK version of ril IRadio and I changed the version of IRadio1.4 to 1.1 in mainfest.xml file for the default NDK libreference-ril.so but I still facing the RIL_SAP_Init not defined or exported in /vendor/lib64/libreference-ril.so: undefined symbol: RIL_SAP_Init same error I will attach the log below for your reference putty.txt (66.7 KB)
I mean that you could you she the default libril.so but use the libreference-ril.so from Quectel.
And set the IRadio to 1.1.
And the libreference-ril.so should be based on the NDK but not the IRadio 1.5 or 1.6.
If still not work you could try the IRadio 1.6.
If want to try the IRadio 1.6 you should try the libril.so and libreference-ril.so both.
Puth the libril.so into the vendor/lib64.