Quectel EC200U-CN module Android integration failed

Hi,

Following the Quectel_Android_RIL_Driver_User_Guide_V2.0 document to port the Quectel EC200U-CN module in the Android 10/11.

Quectel technical team gave the Android RIL driver which contains the files such as libril.so, libreference-ril.so and we copied the file into the specific Android folder (followed the Quectel_Android_RIL_Driver_User_Guide_V2.0 guide), but the GSM was not working.

05-16 21:38:03.726 406 424 D ATC : AT> at+qcfg=“modemrstlevel”,0
05-16 21:38:03.747 406 2921 D ATC : AT< +CME ERROR: 3

We have an issue with the “Quectel_Android_RIL_Driver_V3.5.66” driver files to integrate in the Android 10/11 for the IMX8QXP board.

Can you please give the proper Android 10/11 RIL driver files for the EC200U-CN module so that we can port & test the GSM/GPRS in our unit.

Regards,
SanthanaKumarS
Contact number: +91-7845658274
MailID: santhana_kumar@zumisolutions.com

Hi @Santhana
I have told my colleague about this problem and he will help you.

Thanks. We will wait for you.

Hi @Santhana

Could you tell me which exact Android version it is.
And what the IRadio you have set? And did you put the libril.so into /vendor/lib64 yet?

Some log might print like

05-16 21:38:03.726 406 424 D ATC : AT> at+qcfg=“modemrstlevel”,0
05-16 21:38:03.747 406 2921 D ATC : AT< +CME ERROR: 3

But it doesn’t matter.
Quectel RIL supports all the Quectel modems. Some AT commands might not be usable for some other modems.

Please provide the android log by providing the quectel_debug_log.

sent quectel_debug_log to bean.wang@quectel.com @Santhana

Android version is 11 & Processor board is IMX8QXP

IRadio configuration is 1.0

And did you put the libril.so into /vendor/lib64 yet?
Yes we put those libraries.

If you use the libril.so provided by Quectel, you need set the IRadio to 1.5

like

    <hal format="hidl">
        <name>android.hardware.radio</name>
        <transport>hwbinder</transport>
        <fqname>@1.5::IRadio/slot1</fqname>
        <fqname>@1.2::ISap/slot1</fqname>
    </hal>

Quectel provided the library version “Quectel_Android_RIL_Driver_V3.5.66” & they provided ony for the Android 10 but not 11.

Can you please provide you the Android RIL driver for the Android 11?

The libs in Android 10 should match the IRadio 1.4 and the libs in Android12 should match the IRadio 1.5.

It depends on which IRadio version you would like to set.

@Santhana

Followed the Quectel_Android_RIL_Driver_User_Guide_V2.0 document, but they mentioned the Radio1.0.

For Android 11 & version of driver is Quectel_Android_RIL_Driver_V3.5.66 . This will work for our Android 11 with Quectel EC200U-CN module.

For Android 11, IRadio 1.0 could not work well.
You at least set it to IRadio 1.1 as follow:

  <hal format="hidl">
        <name>android.hardware.radio</name>
        <transport>hwbinder</transport>
        <fqname>@1.1::IRadio/slot1</fqname>
        <fqname>@1.2::ISap/slot1</fqname>
    </hal>

And you don’t need to copy the libril.so into the /vendor/lib64.
The native one could only support IRadio 1.1 and the source code is in hardware/ril/libril.

And if you would like to set the IRadio to 1.1, please do not copy the libril.so and please use the libreference-ril.so in RIL_NDK folder.

I can configured your steps & i will test and give the feedback to you.

Signal strength was shown in Android 11 but the ppp interface was not working

Can you please tell the steps to configure the PPP for this module?

Till now the problem is not how to set up data call over ppp.
The Android didn’t set up data call yet.
You can search some keyword like:

trySetupData
SETUP_DATA
SST
DCT

I sent the logs in your email and the user guide doesnt have the ppp integration steps. Can you please tell what files shoulf be important and as well as the service name?

Attached the logs to you for the below ones.

trySetupData
SETUP_DATA
SST
DCT

The log says the below one

  1. No APN

Placed the apns-conf.xml file in the system/etc directory, but the Android GUI was not showing.

  1. Data call failed.

LTE & data connection symbol was not showing.

Regards,

SanthanaKumarS
GPRS.pdf (22.1 KB)

Hi,

From the log, it cannot find a valid APN for the SIM card and it failed to set up data call.

In the Android GUI, Access point name was not displayed & not able to select it.

The log is not complete and I even don’t know the IMEI of it.

using the command “logcat -b radio” to capture the logs, but IMEI number was not displayed but the SIM card “Airtel” signal strength was displayed.

Do you know which APN it should used?

I don’t know what APN used in the board.

Could show the result of:

130|mek_8q:/ #
content://telephony/carriers/ --where “apn=‘yourAPN’” <
No result found.
mek_8q:/ #

APN file placed in the below directory

130|mek_8q:/ # ls -la /system/etc/apns-conf.xml
-rw-r–r-- 1 root root 642877 2023-05-23 16:33 /system/etc/apns-conf.xml
mek_8q:/ #

Regards,
SanthanaKumarS