SIM detection issue on RM530N

Hello,
we are encountering an issue with the RM530N-GL module (RM530NGLAAR05A01M4G) during quectel RIL integration with AOSP 10 on Qualcomm Kona platform. The SIM card is not being detected, even though:

  • the SIM is fully functional and works in other devices,
  • the same issue appears with other SIM cards,
  • the issue persists across different USB adapters (also with additional external power).

We noticed the following:

  • AT+CPIN? returns +CME ERROR: 10, or +CPIN: NOT INSERTED depending on the selected slot,
  • switching SIM slot using AT+QUIMSLOT changes the response (from NOT READY to NOT INSERTED), but SIM still not working,
  • AT&F resets successfully but doesn’t help,
  • after setting AT+CFUN=0, the module restarts with CFUN=1 automatically,
  • QSIMDET always reports 1,0.

The module was working without problems before and SIM detection has never failed. We suspect the issue may have been caused by either a wrong configuration applied automatically by AOSP during quectel RIL integration or possibly by a hard USB power-off.

Would you be able to provide a firmware update package (with some doc/steps to flash) for this module, or suggest any recovery method or config reset that could resolve the issue?

AT+CPIN?returns+CME ERROR: 10, or +CPIN: NOT INSERTED depending on the selected slot,
It seems like a hardware problem. Which slot do you use?

Please provide the logcat .
logcat -b all

We are currently using SIM slot 1, where the command AT+CPIN? consistently returns +CME ERROR: 10. When we switch to SIM slot 2 using AT+QUIMSLOT=2 (which is currently empty), the response changes to +CPIN: NOT INSERTED, which appears to be the expected behavior.

To rule out hardware issues:

  • We have cleaned the SIM contacts and reseated the card multiple times.
  • We have reproduced the issue using multiple USB adapters and also with external power supply.
  • We tested all commands using Quectel QCOM v1.6 on Windows 10, to exclude any possible misbehavior from our AOSP 10 environment.

Despite all this, SIM detection still fails with valid, working SIM cards, even those confirmed to operate correctly in other devices.

We do not have original logs from AOSP, as the issue became apparent only gradually through unexpected module behavior. It is possible the problem was triggered by a misconfiguration or improper power cycling (e.g., forced USB disconnection).

Could this be caused by an internal modem state or persistent configuration error? Would you recommend a firmware update, or is there another way to reset the modem to a clean state?

Any insight or recommendations would be greatly appreciated.

So the problem now is that there is a problem with hot-swapping the SIM card, right?
When the device is just turned on, the SIM is recognized, but when we remove the SIM card and reinsert it, it is not detected?
I just think this problem has nothing to do with Android.

Does it work well on Windows10 with QCOM V1.6?

  • SIM card is permanently inserted in the USB adapter — hot swapping is not used.
  • The issue occurs consistently in Windows 10 using Quectel QCOM v1.6. We are intentionally diagnosing it in Windows first to avoid potential AOSP-related issues.

Please disable the SIM detect and check it again.
AT+QSIMDET=0,0
And then restart the device and check the SIM state.

Many thanks for your support. Your recommendation resolved the issue, and the module now seems to be fully functional again.

RDY

+CPIN: NOT READY

+CFUN: 1
AT+QSIMDET=0,0

OK
AT+CFUN=1,1

OK

RDY

+CFUN: 1

+QENDC: 0,0,0,0,0

+QENDC: 0,0,0,0,0

+QIMSSRVSTAT: 0,0,0

+CPIN: SIM PIN
AT+CPIN=XXXX

OK

+CPIN: READY

+QUSIM: 1

+QIND: SMS DONE

+QIND: PB DONE