我司rockchip平台的Android系统目前全面升级Android14,之前所用的ril库在Android14上不适用了,劳烦发一份最新的Android移植文档和相关驱动及库文件。谢谢!邮箱地址:95501331@qq.com
请协助一下,目前文档只有Quectel_Android_RIL_Driver_User_Guide_V2.0.pdf 没有高版本Android的相关信息
请查收
Quectel_Android_RIL_Driver_V4.0.8_aidl_20241113_01.zip。
感谢答复,按照如下图文档加入aidl相关的代码后会有编译报错,请帮忙看看有没有什么建议:
报错信息如下:
read kernel configs from out/target/product/giada_dn74/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt
Get modified time 'out/target/product/giada_dn74/apex/apex-info-list.xml': OK
Get modified time 'out/target/product/giada_dn74/apex/apex-info-list.xml': OK
Get modified time 'out/target/product/giada_dn74/apex/apex-info-list.xml': OK
Get modified time 'out/target/product/giada_dn74/apex/apex-info-list.xml': OK
List 'out/target/product/giada_dn74/system/etc/vintf/': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.5.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.7.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/manifest.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.4.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.device.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.6.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.8.xml': OK
List 'out/target/product/giada_dn74/system_ext/etc/vintf/': OK
Fetch 'out/target/product/giada_dn74/system_ext/etc/vintf/manifest.xml': OK
List 'out/target/product/giada_dn74/product/etc/vintf/': NAME_NOT_FOUND
Get modified time 'out/target/product/giada_dn74/apex/apex-info-list.xml': OK
List 'out/target/product/giada_dn74/system/etc/vintf/': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.5.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.7.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/manifest.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.4.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.device.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.6.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.8.xml': OK
List 'out/target/product/giada_dn74/system_ext/etc/vintf/': OK
Fetch 'out/target/product/giada_dn74/system_ext/etc/vintf/manifest.xml': OK
List 'out/target/product/giada_dn74/product/etc/vintf/': NAME_NOT_FOUND
Get modified time 'out/target/product/giada_dn74/apex/apex-info-list.xml': OK
Get modified time 'out/target/product/giada_dn74/apex/apex-info-list.xml': OK
Get modified time 'out/target/product/giada_dn74/apex/apex-info-list.xml': OK
Get modified time 'out/target/product/giada_dn74/apex/apex-info-list.xml': OK
List 'out/target/product/giada_dn74/system/etc/vintf/': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.5.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.7.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/manifest.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.4.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.device.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.6.xml': OK
Fetch 'out/target/product/giada_dn74/system/etc/vintf/compatibility_matrix.8.xml': OK
List 'out/target/product/giada_dn74/system_ext/etc/vintf/': OK
Fetch 'out/target/product/giada_dn74/system_ext/etc/vintf/manifest.xml': OK
List 'out/target/product/giada_dn74/product/etc/vintf/': NAME_NOT_FOUND
The following HALs in device manifest are not declared in FCM <= level 8:
android.hardware.radio.config.IRadioConfig/default (@1)
android.hardware.radio.data.IRadioData/slot1 (@1)
android.hardware.radio.messaging.IRadioMessaging/slot1 (@1)
android.hardware.radio.modem.IRadioModem/slot1 (@1)
android.hardware.radio.network.IRadioNetwork/slot1 (@1)
android.hardware.radio.sim.IRadioSim/slot1 (@1)
android.hardware.radio.voice.IRadioVoice/slot1 (@1)
ERROR: files are incompatible: The following instances are in the device manifest but not specified in framework compatibility matrix:
android.hardware.radio.config.IRadioConfig/default (@1)
android.hardware.radio.data.IRadioData/slot1 (@1)
android.hardware.radio.messaging.IRadioMessaging/slot1 (@1)
android.hardware.radio.modem.IRadioModem/slot1 (@1)
android.hardware.radio.network.IRadioNetwork/slot1 (@1)
android.hardware.radio.sim.IRadioSim/slot1 (@1)
android.hardware.radio.voice.IRadioVoice/slot1 (@1)
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 >= 8.
3. For new platform HALs, add them to any framework compatibility matrix with FCM version >= 8 where applicable.
4. For device-specific HALs, add to DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE or DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE.: Success
INCOMPATIBLE
09:19:19 ninja failed with: exit status 1
加上版本
<hal format="aidl">
<name>android.hardware.radio.config</name>
<version>2</version>
<fqname>IRadioConfig/default</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.radio.data</name>
<version>2</version>
<fqname>IRadioData/slot1</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.radio.messaging</name>
<version>2</version>
<fqname>IRadioMessaging/slot1</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.radio.modem</name>
<version>2</version>
<fqname>IRadioModem/slot1</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.radio.network</name>
<version>2</version>
<fqname>IRadioNetwork/slot1</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.radio.sim</name>
<version>2</version>
<fqname>IRadioSim/slot1</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.radio.voice</name>
<version>2</version>
<fqname>IRadioVoice/slot1</fqname>
</hal>
感谢答复,昨天试过加入版本已经ok了,目前有个问题是在不接模块时,有一个一直在的错误打印,这个问题导致机器跑重启时偶尔会出现卡在桌面.。错误日志如下:
03-12 00:58:10.542 231 2351 W libc : Unable to set property "ctl.interface_start" to "aidl/android.hardware.radio.modem.IRadioModem/slot1": error code: 0x20
03-12 00:58:12.310 231 231 I servicemanager: Since 'android.hardware.radio.modem.IRadioModem/slot1' could not be found, trying to start it as a lazy AIDL service. (if it's not configured to be a lazy service, it may be stuck starting or still starting).
03-12 00:58:12.312 1 1 E init : Control message: Could not find 'aidl/android.hardware.radio.modem.IRadioModem/slot1' for ctl.interface_start from pid: 231 (/system/bin/servicemanager)
03-12 00:58:12.312 2351 2351 I servicemanager: Tried to start aidl service android.hardware.radio.modem.IRadioModem/slot1 as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
03-12 00:58:11.541 2293 2293 W ServiceManagerCppClient: Waited one second for android.hardware.radio.modem.IRadioModem/slot1 (is service started? Number of threads started in the threadpool: 15. Are binder threads started and available?)
03-12 00:58:13.312 231 231 I servicemanager: Since 'android.hardware.radio.modem.IRadioModem/slot1' could not be found, trying to start it as a lazy AIDL service. (if it's not configured to be a lazy service, it may be stuck starting or still starting).
03-12 00:58:13.314 1 1 E init : Control message: Could not find 'aidl/android.hardware.radio.modem.IRadioModem/slot1' for ctl.interface_start from pid: 231 (/system/bin/servicemanager)
03-12 00:58:11.544 231 2352 W libc : Unable to set property "ctl.interface_start" to "aidl/android.hardware.radio.modem.IRadioModem/slot1": error code: 0x20
03-12 00:58:13.314 2352 2352 I servicemanager: Tried to start aidl service android.hardware.radio.modem.IRadioModem/slot1 as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
03-12 00:58:12.542 2293 2293 W ServiceManagerCppClient: Waited one second for android.hardware.radio.modem.IRadioModem/slot1 (is service started? Number of threads started in the threadpool: 15. Are binder threads started and available?)
03-12 00:58:14.314 231 231 I servicemanager: Since 'android.hardware.radio.modem.IRadioModem/slot1' could not be found, trying to start it as a lazy AIDL service. (if it's not configured to be a lazy service, it may be stuck starting or still starting).
03-12 00:58:12.546 231 2353 W libc : Unable to set property "ctl.interface_start" to "aidl/android.hardware.radio.modem.IRadioModem/slot1": error code: 0x20
03-12 00:58:14.316 1 1 E init : Control message: Could not find 'aidl/android.hardware.radio.modem.IRadioModem/slot1' for ctl.interface_start from pid: 231 (/system/bin/servicemanager)
03-12 00:58:14.317 2353 2353 I servicemanager: Tried to start aidl service android.hardware.radio.modem.IRadioModem/slot1 as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
03-12 00:58:13.545 2293 2293 W ServiceManagerCppClient: Waited one second for android.hardware.radio.modem.IRadioModem/slot1 (is service started? Number of threads started in the threadpool: 15. Are binder threads started and available?)
03-12 00:58:15.316 231 231 I servicemanager: Since 'android.hardware.radio.modem.IRadioModem/slot1' could not be found, trying to start it as a lazy AIDL service. (if it's not configured to be a lazy service, it may be stuck starting or still starting).
03-12 00:58:13.548 231 2354 W libc : Unable to set property "ctl.interface_start" to "aidl/android.hardware.radio.modem.IRadioModem/slot1": error code: 0x20
03-12 00:58:15.319 1 1 E init : Control message: Could not find 'aidl/android.hardware.radio.modem.IRadioModem/slot1' for ctl.interface_start from pid: 231 (/system/bin/servicemanager)
@BiaoWang-Q 大佬,对于这个问题有没有什么建议,谢谢。
现在接上模组和SIM卡是否已经可以使用了?
请提供完整Android日志