Thanks for the zip file these are the ones im already using and im getting the error logs I shared earlier.
I have as I said defined the manifest.xml entries and got the libreference-ril.so (renamed to libreference-ril-quectel.so) and libril.so (renamed to libril-quectel.so) and placed them in vendor/lib4/. Did the patchelf to remove dependency on libril.so and added libril-quectel.so to libreference-ril-quectel.so. Then I did patchelf to change the SONAME of libril-quectel.so from libril to libril-quectel. Modified my rild.rc file to call with correct parameters and I can get AT command sworking but no services are running for which I shared the logs.
Please let me know if you need any more logs or if im missing anything.
This is my run through.
Added to manifest.xml
android.hardware.radio.config
2
IRadioConfig/default
android.hardware.radio.data
2
IRadioData/slot1
android.hardware.radio.messaging
2
IRadioMessaging/slot1
android.hardware.radio.modem
2
IRadioModem/slot1
android.hardware.radio.network
2
IRadioNetwork/slot1
android.hardware.radio.sim
2
IRadioSim/slot1
android.hardware.radio.voice
2
IRadioVoice/slot1
Added to PRODUCT_PACKAGES
PRODUCT_PACKAGES +=
libreference-ril-quectel
ql-ril-conf
libril-quectel
Telecom
TelephonyProvider
telephony-common
TeleService
messaging
Dialer
rild
chat
ip-up
ip-down
android.hardware.radio.config-V2-ndk
android.hardware.radio.data-V2-ndk
android.hardware.radio.messaging-V2-ndk
android.hardware.radio.modem-V2-ndk
android.hardware.radio.network-V2-ndk
android.hardware.radio.sim-V2-ndk
android.hardware.radio.voice-V2-ndk
android.hardware.radio.ims-V2-ndk
android.hardware.radio.config-V1-ndk
android.hardware.radio.data-V1-ndk
android.hardware.radio.messaging-V1-ndk
android.hardware.radio.modem-V1-ndk
android.hardware.radio.network-V1-ndk
android.hardware.radio.sim-V1-ndk
android.hardware.radio.voice-V1-ndk
android.hardware.radio.ims-V1-ndk
Did the build and got
Some part of logs not all.
AT commands work and i can see sim registeration.
08-26 09:00:07.189 739 741 D ATC : AT> AT+CPIN?
08-26 09:00:07.194 739 745 D ATC : AT< +CPIN: READY
08-26 09:00:07.194 739 745 D ATC : AT< OK
08-26 09:00:07.194 739 741 D ATC : AT> AT+CFUN?
08-26 09:00:07.196 739 745 D ATC : AT< +CFUN: 1
08-26 09:00:07.196 739 745 D ATC : AT< OK
08-26 09:00:07.256 739 741 E RILC : newSmsOnSimInd: radioService[0]->mRadioIndication == NULL
08-26 09:00:07.256 739 741 D SETUP_DATA_CALL: data_call_ops_detect:906 netcard is wwan0
08-26 09:00:07.257 739 741 D ATC : AT> AT+QCFG=“speed”
08-26 09:00:07.258 739 745 D ATC : AT< ERROR
08-26 09:00:07.260 739 741 D ATC : AT> AT+QIMSCFG=“ims_status”
08-26 09:00:07.265 739 745 D ATC : AT< ERROR
08-26 09:00:07.265 739 741 D ATC : AT> AT+QENG=“servingcell”
08-26 09:00:07.271 739 745 D ATC : AT< +QENG: “servingcell”,“NOCONN”,“LTE”,“FDD”,234,30,354305,387,1761,3,3,3,523B,-122,-18,-87,-8,5
08-26 09:00:07.271 739 745 D ATC : AT< OK
08-26 09:00:07.271 739 741 D ATC : AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?
08-26 09:00:07.277 739 745 D ATC : AT< +COPS: 0,0,“EE KPN”,7
08-26 09:00:07.277 739 745 D ATC : AT< +COPS: 0,1,“EE KPN”,7
08-26 09:00:07.277 739 745 D ATC : AT< OK
08-26 09:00:07.277 739 741 D ATC : AT> AT+QENDC
08-26 09:00:07.279 739 745 D ATC : AT< ERROR
Line 4203: [ 83.692805][ T199] servicemanager: Found android.hardware.radio.data.IRadioData/slot1 in device VINTF manifest.
Line 4204: [ 83.705848][ T199] servicemanager: Found android.hardware.radio.messaging.IRadioMessaging/slot1 in device VINTF manifest.
Line 4205: [ 83.722035][ T199] servicemanager: Found android.hardware.radio.modem.IRadioModem/slot1 in device VINTF manifest.
Line 4206: [ 83.733697][ T199] servicemanager: Found android.hardware.radio.network.IRadioNetwork/slot1 in device VINTF manifest.
Line 4207: [ 83.746553][ T199] servicemanager: Found android.hardware.radio.sim.IRadioSim/slot1 in device VINTF manifest.
Line 4208: [ 83.757781][ T199] servicemanager: Found android.hardware.radio.voice.IRadioVoice/slot1 in device VINTF manifest.
Line 4209: [ 83.769282][ T199] servicemanager: Could not find android.hardware.radio.ims.IRadioIms/slot1 in the VINTF manifest.
Line 4210: [ 83.784259][ T199] servicemanager: Found android.hardware.radio.modem.IRadioModem/slot1 in device VINTF manifest.
Line 4211: [ 83.796187][ T199] 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).
Line 4212: [ 83.823621][ T1] init: Control message: Could not find ‘aidl/android.hardware.radio.modem.IRadioModem/slot1’ for ctl.interface_start from pid: 199 (/system/bin/servicemanager)
Line 4213: [ 83.841363][ T1401] 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.
Line 4214:
The device does not show Call & SMS and no SIM. All options graded out
Regards