Occuring error in manifest.xml after adding the IRadio for quectel EC20

Hi Biao Wang,

I encountered an issue when I tried to use IRadio 1.1 by replacing libreferance-ril.so. The following error appeared in the logcat: "dlopen /system/lib64/libnetutils.so failed: dlopen failed: library /system/lib64/libnetutils.so needed or dlopened by /vendor/lib64/hw/libreference-ril.so is not accessible for the namespace (default)." After that, when I attempted to replace the libril.so and libreference-ril.so for IRadio 1.6, I couldn’t replace the libril.so file. It kept generating the default libril.so file from the source code of rild. Do you have any idea about how to stop the regeneration of this file?

Thanks,
subash

Do you have the ril for IRadio 1.6, and what is the version?

It is a technical problem to replace the libril.so with the one provided by Quectel.
As I tried, you could compile the rild first and even use the PRODUCT_COPY_FILES to copy the prebuilt rild into the Android image.

1 Like

Hi Biao Wang,

Yes, I have the IRadio 1.6 version of libril.so and libreference-ril.so. I tried using the PRODUCT_COPY_FILES inside the device.mk and android.mk (ril/libril) but encountered an error. Is there any other way to copy the libril.so file?, is there any way to change the path of ril?

Thanks,
subash

For example

PRODUCT_COPY_FILES +=
device/nxp/common/4g/rild:vendor/bin/hw/rild

1 Like

Hi Biao Wang,

I can’t unable to locate the inbuilt AOSP libril.so file generation, When I removed the libil source code in my AOSP, I encountered numerous errors in my build so First I will try in Android automotive 11 version PRODUCT_COPY_FILES is working in this version of android, I am using the libreference-ril.so (1.1) for a IRadio 1.1. After this, my ec200u can detect my SIM, and when I make a call to this SIM, it rings. However, I can’t get internet access. I will attach the log below.

gsm_1_1.txt (348.7 KB)

Thanks,
subash

At least I think that we can see the mobile in the Android.
It is hard to get the root cause.
Just from the log, I just guess that it miss the APN info.
D/DCT-C-0 ( 946): trySetupData: X No APN found retValue=false

If you try to provide the log, it is better to use the logcat -b all.

1 Like

Hi Biao Wang,

Note: It’s for Android automotive

gsm_1_1.txt (1.2 MB)

Thanks,
subash.

Just from the log, it seems that you need set the APN for 404940.

You can try click the mobile data button and check the log again.

1 Like

Hi Biao Wang,

There is no mobile data option available in Android automotive Is there any other way?

Thanks,
subash.

Please check the networkAttributes

1 Like

Hi Biao Wang,

if(serial->dev->descriptor.idVendor==cpu_to_le16(0x05C6)&&serial->dev->descriptor.idProduct == cpu_to_le16(0x9215)&& serial->interface->cur_altsetting->desc.bInterfaceNumber >= 4)
	return -ENODEV;

Am i need to change the VID and PID In option.c under the option_probe function

127|mek_8q:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 2c7c:0901

I added the networkattributes in my config.xml file and other required files mentioned below but i can’t see mobile data option in my UI

Thanks,
subash.

And also I can’t see the /dev/cdc-wdmX in my dev partition but I can see the qmi_wwan in /sys/bus/usb/drivers/

You already could see the /dev/ttyUSBx and the usb0. For EC200U we do not need the qmi and cdc-wdm driver and there would not generate the /dev/cdc-wdmX. cdc-wdm would work for QMI and MBIM driver.

Maybe the place is incorrect. You should check the overylays and frameworks folder also.

1 Like

Hi @Bean.Wang-Q

I will attach the screenshot of the config.xml folder directory below and changes added in xml file below
Screenshot from 2024-10-08 10-37-09

I’m using android automotive OS so i added the following changes in overlay_car and also added this changes in overlay folder
config.txt (2.3 KB)

Thanks,
subash

Maybe you can check the /system/priv-app, make sure the Telephony is built-in.

PRODUCT_PACKAGES += \
    Telecom \
    TelephonyProvider \
    telephony-common  \
    dhcptool \
    rild    \
    messaging \
    Dialer  \
    TeleService  
1 Like

Hi @Bean.Wang-Q

I already added this but it doesn’t work,I need a support in EC20 GSM i added the.so file and service in a desire location how can i get a latitude and longitude in a logcat? Is there any debug method to find a gsm is working or not

Thanks,
Subash

It is another topic. You need the android.hardware.gnss and GPS apk.

1 Like

Hi @Bean.Wang-Q

If there is no EC200 module on the evaluation board, and I add the network attributes, will I still be able to see the mobile network option on my evaluation board?

Thanks,
subash

Yes. Even without the EC200U we should be able to see the mobile network in the settings.

1 Like