RG500QE in Arcadyan AW1000

Hi, I have router 5g Arcadyan AW1000 with modem Quectel RG500Q-EA.
I uploaded new firmware for this router with the qmi_wwan_q driver.
Unfortunately, after the quectel-cm -s internet command, the modem does not register on the network. In regular qmi mode, everything works fine.

[07-13_18:16:35:265] Find /sys/bus/usb/devices/4-1 idVendor=0x2c7c idProduct=0x800, bus=0x004, dev=0x003
[07-13_18:16:35:266] Auto find qmichannel = /dev/cdc-wdm0
[07-13_18:16:35:266] Auto find usbnet_adapter = wwan0
[07-13_18:16:35:266] netcard driver = qmi_wwan_q, driver version = V1.2.6
[07-13_18:16:35:266] qmap_mode = 1, qmap_version = 9, qmap_size = 31744, muxid = 0x81, qmap_netcard = wwan0_1
[07-13_18:16:35:266] Modem works in QMI mode
[07-13_18:16:35:270] cdc_wdm_fd = 7
[07-13_18:16:36:271] QmiWwanInit message timeout
[07-13_18:16:37:645] Get clientWDS = 14
[07-13_18:16:37:676] Get clientDMS = 1
[07-13_18:16:37:709] Get clientNAS = 4
[07-13_18:16:37:741] Get clientUIM = 1
[07-13_18:16:37:773] Get clientWDA = 1
[07-13_18:16:37:805] requestBaseBandVersion RG500QEAAAR13A01M4G
[07-13_18:16:37:836] qmap_settings.rx_urb_size = 31744
[07-13_18:16:37:837] qmap_settings.ul_data_aggregation_max_datagrams  = 11
[07-13_18:16:37:837] qmap_settings.ul_data_aggregation_max_size       = 4096
[07-13_18:16:37:837] qmap_settings.dl_minimum_padding                 = 0
[07-13_18:16:37:965] requestGetSIMStatus SIMStatus: SIM_READY
[07-13_18:16:38:029] requestGetProfile[pdp:1 index:1] ///0/IPV4V6
[07-13_18:16:38:029] requestSetProfile[pdp:1 index:1] internet///0/IPV4
[07-13_18:16:38:093] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[07-13_18:16:38:125] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[07-13_18:16:38:157] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[07-13_18:16:38:157] ip link set dev wwan0 down
[07-13_18:16:38:161] ip addr flush dev wwan0_1
[07-13_18:16:38:165] ip link set dev wwan0_1 down
[07-13_18:16:53:197] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[07-13_18:17:08:237] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[07-13_18:17:23:276] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW

Is there any solution to this problem?

requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW

It means that it is not registerred.
You can check the AT command

AT+CFUN?
AT+COPS?
AT+QENG="servingcell"
AT+CEREG?
AT+C5GREG?

When I restart the router I have this:

AT+CFUN?
+CFUN: 0
OK

AT+COPS?
+COPS: 0
OK

AT+QENG="servingcell"
OK

AT+CEREG?
+CEREG: 0,0
OK

AT+C5GREG?
+C5GREG: 2,0
OK

I discovered that in order to connect, I need to execute the following command:

killall quectel-cm
uqmi -d /dev/cdc-wdm0 --set-device-operating-mode online
quectel-cm -s internet&

The modem connects and works properly.
After such an operation, the AT commands give the following response:

AT+CFUN?
+CFUN: 1
OK

AT+COPS?
+COPS: 0,2,"26006",7
OK

AT+QENG="servingcell"
+QENG: "servingcell","NOCONN","LTE","FDD",260,06,28175C,212,1474,3,4,4,D2,-92,-8,-66,19,3,-50,-
OK

AT+CEREG?
+CEREG: 0,1
OK

AT+C5GREG?
+C5GREG: 2,0
OK

Using uqmi is the only way I found to get the modem to register on the network. As I wrote, the modem works properly on a regular QMI.

It means that it is not registerred.
Is it a private network sim card?

No, this is not a private network.
I tested it on two sim cards from different networks.
Is there any AT command to register the modem on the network?
Equivalent to this:

uqmi -d /dev/cdc-wdm0 --set-device-operating-mode online

Or how to reset your modem to factory settings?

You can send AT+CFUN=1 to the module first and then start quectel-CM.

I checked this command, it doesn’t help.
My modem has firmware:

AT+QGMR
RG500QEAAAR13A01M4G_01.200.01.200
OK

Is there any other AT command that resets the modem to factory defaults?