I’ve follow the setup guide to porting Android 10 RIL driver, also remove qcom telephony_injection.xml.
But still cannot set mobile network, check IMEI in settings.
01-01 02:25:43.926 706 706 D TelephonyManager: No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)
01-01 02:25:43.926 706 706 D TelephonyManager: /proc/cmdline=
01-01 02:25:45.397 1231 1231 D RILD : **RIL Daemon Started**
01-01 02:25:45.397 1231 1231 D RILD : **RILd param count=6**
01-01 02:25:45.472 1231 1231 D use-Rlog/RLOG-RIL RILU: find quectel module /sys/bus/usb/devices/1-1.3 idVendor=2c7c idProduct=0800
01-01 02:25:45.472 1231 1231 D use-Rlog/RLOG-RIL RILU: find_usb_device is 1
01-01 02:25:46.473 1231 1231 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.2/ttyUSB2
01-01 02:25:46.473 1231 1231 D use-Rlog/RLOG-RIL RILU: ttyAT = ttyUSB2
01-01 02:25:46.473 1231 1231 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.3/ttyUSB3
01-01 02:25:46.473 1231 1231 D use-Rlog/RLOG-RIL RILU: ttyPPP = ttyUSB3
01-01 02:25:46.473 1231 1231 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.0/ttyUSB0
01-01 02:25:46.473 1231 1231 D use-Rlog/RLOG-RIL RILU: ttyDM = ttyUSB0
01-01 02:25:46.473 1231 1231 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.1/ttyUSB1
01-01 02:25:46.473 1231 1231 D use-Rlog/RLOG-RIL RILU: ttyGPS = ttyUSB1
01-01 02:25:46.474 1231 1231 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.4/usbmisc/cdc-wdm0
01-01 02:25:46.474 1231 1231 D use-Rlog/RLOG-RIL RILU: qmichannel = cdc-wdm0
01-01 02:25:46.484 1231 1431 I use-Rlog/RLOG-RIL RILC: mainLoop Start
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: vendor is 0x17cb
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: device is 0x1101
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: **************1********************
01-01 02:25:46.485 1231 1431 I chatty : uid=0(root) /vendor/bin/hw/rild identical 1 line
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: **************1********************
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: vendor is 0x17cb
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: device is 0x010b
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: **************1********************
01-01 02:25:46.485 1231 1431 I chatty : uid=0(root) /vendor/bin/hw/rild identical 1 line
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: **************1********************
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: find_pci_device is 0
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: find quectel module /sys/bus/usb/devices/1-1.3 idVendor=2c7c idProduct=0800
01-01 02:25:46.485 1231 1431 D use-Rlog/RLOG-RIL RILU: find_usb_device is 1
01-01 02:25:47.486 1231 1431 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.2/ttyUSB2
01-01 02:25:47.486 1231 1431 D use-Rlog/RLOG-RIL RILU: ttyAT = ttyUSB2
01-01 02:25:47.486 1231 1431 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.3/ttyUSB3
01-01 02:25:47.486 1231 1431 D use-Rlog/RLOG-RIL RILU: ttyPPP = ttyUSB3
01-01 02:25:47.487 1231 1431 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.0/ttyUSB0
01-01 02:25:47.487 1231 1431 D use-Rlog/RLOG-RIL RILU: ttyDM = ttyUSB0
01-01 02:25:47.487 1231 1431 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.1/ttyUSB1
01-01 02:25:47.487 1231 1431 D use-Rlog/RLOG-RIL RILU: ttyGPS = ttyUSB1
01-01 02:25:47.487 1231 1431 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.4/usbmisc/cdc-wdm0
01-01 02:25:47.487 1231 1431 D use-Rlog/RLOG-RIL RILU: qmichannel = cdc-wdm0
01-01 02:25:47.487 1231 1431 D use-Rlog/RLOG-RIL RILC: quectel at port is /dev/ttyUSB2
01-01 02:25:47.487 1231 1431 D use-Rlog/RLOG-RIL RILC: s_device_path is /dev/ttyUSB2
01-01 02:25:47.488 1231 1431 D use-Rlog/RLOG-RIL RILC: open device /dev/ttyUSB2 correctly
01-01 02:25:47.488 1231 1431 E use-Rlog/RLOG-RIL ATC: at_open s_tild_reader = 492957879632
01-01 02:25:47.488 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> ATE0Q0V1
01-01 02:25:47.505 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.006 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> ATI
01-01 02:25:48.008 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< Quectel
01-01 02:25:48.008 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< RM500Q-GL
01-01 02:25:48.008 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< Revision: RM500QGLABR11A06M4G
01-01 02:25:48.008 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.008 1231 1321 D use-Rlog/RLOG-RIL RILC: ql_product_version is RM500QGLABR11A06M4G
01-01 02:25:48.008 1231 1321 D use-Rlog/RLOG-RIL RILC: Quectel Product Revision: RM500QGLABR11A06M4G
01-01 02:25:48.008 1231 1321 D use-Rlog/RLOG-RIL RILC: Unknow Platform
01-01 02:25:48.009 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+QGPSCFG="outport","usbnmea"
01-01 02:25:48.016 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.017 1231 1542 D use-Rlog/RLOG-RIL tty2tcp: swap_sources ( s:rild-nmea <> c:11 ) fifo_size=4096
01-01 02:25:48.017 1231 1542 D use-Rlog/RLOG-RIL tty2tcp: create_socket_server( rild-nmea )
01-01 02:25:48.017 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CSUB;+CVERSION
01-01 02:25:48.017 1231 1542 D use-Rlog/RLOG-RIL tty2tcp: local server: rild-nmea sockfd = 14
01-01 02:25:48.017 1231 1542 D use-Rlog/RLOG-RIL tty2tcp: create_socket_server( serverfd=14 )
01-01 02:25:48.017 1231 1542 D use-Rlog/RLOG-RIL tty2tcp: rild_socket_add [1]=14
01-01 02:25:48.018 1231 1544 D use-Rlog/RLOG-RIL tty2tcp: open /dev/ttyUSB1 ttyfd = 15
01-01 02:25:48.018 1231 1544 D use-Rlog/RLOG-RIL GPS: ql_gps_read_nmea open gps device /dev/ttyUSB1 successfully, fd = 15
01-01 02:25:48.019 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< SubEdition: V03
01-01 02:25:48.019 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< VERSION: RM500QGLABR11A06M4G
01-01 02:25:48.019 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< Nov 2 2021 22:13:12
01-01 02:25:48.019 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< Authors: Quectel
01-01 02:25:48.019 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.019 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> ATE0Q0V1
01-01 02:25:48.021 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.021 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> ATS0=0
01-01 02:25:48.023 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.023 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+QURCCFG="URCPORT","usbat"
01-01 02:25:48.024 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.024 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT&D2
01-01 02:25:48.025 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.025 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CMEE=1
01-01 02:25:48.026 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.026 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CREG=2
01-01 02:25:48.026 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.026 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CGREG=2
01-01 02:25:48.027 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.027 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+C5GREG=2
01-01 02:25:48.028 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.028 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT^DSCI=1
01-01 02:25:48.028 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.029 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CFUN?
01-01 02:25:48.029 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< +CFUN: 1
01-01 02:25:48.029 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.029 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CPIN?
01-01 02:25:48.030 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< +CME ERROR: 13
01-01 02:25:48.030 1231 1544 D use-Rlog/RLOG-RIL ATC: AT> AT+QGPSXTRADATA?
01-01 02:25:48.033 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< +QGPSXTRADATA: 0,"1980/01/06,00:00:00"
01-01 02:25:48.033 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.033 1231 1544 E use-Rlog/RLOG-RIL GPS: ql_xtradata_inject_time :1980/1/6, 0:0:0
01-01 02:25:49.030 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CFUN?
01-01 02:25:49.033 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< +CFUN: 1
01-01 02:25:49.033 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:49.033 1231 1321 I use-Rlog/RLOG-RIL RILC: [setRadioState]:oldState=1, newState=2
01-01 02:25:49.033 1231 1321 W RILC : RIL_onUnsolicitedResponse called before RIL_register
01-01 02:25:49.033 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CPIN?
01-01 02:25:49.034 1231 1231 D use-Rlog/RLOG-RIL RILC: dlopen /vendor/lib64/hw/radio.quectel.module.so failed: dlopen failed: library "/vendor/lib64/hw/radio.quectel.module.so" not found
01-01 02:25:49.034 1231 1231 D RILD : RIL_Init rilInit completed
01-01 02:25:49.034 1231 1231 I RILC : SIM_COUNT: 1
01-01 02:25:49.034 1231 1231 E RILC : RIL_register: RIL version 12
01-01 02:25:49.034 1231 1231 I RILC : s_registerCalled flag set, 1
01-01 02:25:49.034 1231 1231 D RILC : registerService: starting android::hardware::radio::V1_1::IRadio slot1
01-01 02:25:49.035 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< +CME ERROR: 13
01-01 02:25:49.035 1231 1321 I use-Rlog/RLOG-RIL RILC: [setRadioState]:oldState=2, newState=3
01-01 02:25:49.037 1231 1231 I RILC : RILHIDL called registerService
01-01 02:25:49.037 1231 1231 D RILD : RIL_Init RIL_register completed
01-01 02:25:49.037 1231 1231 D RILD : RIL_register_socket started
01-01 02:25:49.037 1231 1231 D RIL_UIM_SOCKET: Adding socket with id: 0
01-01 02:25:49.037 1231 1231 I RILC : RIL_register_socket: calling registerService
01-01 02:25:49.037 1231 1231 D RIL_SAP : registerService: starting ISap slot1 for slotId 0
01-01 02:25:49.038 1231 1231 D RIL_SAP : registerService: started ISap slot1 status 0
01-01 02:25:49.038 1231 1231 D RILD : RIL_register_socket completed
01-01 02:25:49.038 1231 1321 E RILC : radioStateChangedInd: radioService[0]->mRadioIndication == NULL
01-01 02:25:49.038 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+COPS=3,2;+COPS?
01-01 02:25:49.039 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< +COPS: 2
01-01 02:25:49.039 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:49.039 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CSQ
01-01 02:25:49.040 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< +CSQ: 6,99
01-01 02:25:49.040 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:49.040 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+COPS=3,2;+COPS?
01-01 02:25:49.041 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< +COPS: 2
01-01 02:25:49.041 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:49.041 1231 1321 E RILC : currentSignalStrengthInd: radioService[0]->mRadioIndication == NULL
01-01 02:25:49.041 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CGREG?
01-01 02:25:49.042 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< +CGREG: 2,0
01-01 02:25:49.042 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
12-18 11:23:03.427 707 707 D TelephonyManager: No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)
12-18 11:23:03.427 707 707 D TelephonyManager: /proc/cmdline=
12-18 11:23:04.224 1312 1312 E TelephonyManager: IMSI error: Subscriber Info is null
12-18 11:23:04.929 1312 1863 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:04.957 1312 1312 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:04.991 1312 1312 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:05.001 1312 1974 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:05.021 1312 1312 D TelephonyRegistry: systemRunning register for intents
12-18 11:23:05.491 1312 1312 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:05.896 2173 2173 D TelephonyComponentFactory: validated paths: null
12-18 11:23:05.896 2173 2173 D TelephonyComponentFactory: Total components injected: 0
12-18 11:23:05.896 2173 2173 D TDC : updateOrInsert: inserting: Modem { uuid=modem, state=0, rilModel=0, rat={}, maxActiveVoiceCall=1, maxActiveDataCall=1, maxStandby=1 }
12-18 11:23:05.896 2173 2173 D TDC : updateOrInsert: inserting: Sim { uuid=sim, modemUuid=modem, state=0 }
12-18 11:23:05.902 2173 2173 D CdmaSSM : subscriptionSource from settings: 0
12-18 11:23:05.903 2173 2173 I PhoneFactory: Cdma Subscription set to 0
12-18 11:23:05.903 2173 2173 I PhoneFactory: Network Mode set to 22
12-18 11:23:05.903 2173 2173 D TelephonyComponentFactory: makeRIL
12-18 11:23:05.903 2173 2173 D RILJ : RIL: init preferredNetworkType=22 cdmaSubscription=0) [SUBnull]
12-18 11:23:06.053 1930 1930 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
12-18 11:23:06.101 1312 1951 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:06.185 1312 1312 D TelephonyRegistry: notifyCellLocationForSubscriber: subId=0 cellLocation=Bundle[{cid=-1, lac=-1, psc=-1}]
12-18 11:23:06.187 1312 1312 D TelephonyRegistry: notifyCellLocationForSubscriber: subId=1 cellLocation=Bundle[{cid=-1, lac=-1, psc=-1}]
12-18 11:23:07.559 1312 1883 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:09.487 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> at+qcfg="aprstlevel"
12-18 11:23:09.509 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< +QCFG: "ApRstLevel",0
12-18 11:23:09.509 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
12-18 11:23:09.509 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> at+qcfg="modemrstlevel",0
12-18 11:23:09.512 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK
12-18 11:23:09.512 1231 1321 D use-Rlog/RLOG-RIL ATC: AT> AT+QSCLK=1
12-18 11:23:09.516 1231 1514 D use-Rlog/RLOG-RIL ATC: AT< OK