Cannot get 5G mode on OpenWRT with ModemManager

Hello I am having lots of trouble getting my RM520n-GL to work properly on openWRT

The modem when I talk to it in minicom with AT commands says its connected to a 5Gnr network.

AT
OK
AT+QNWINFO
+QNWINFO: "TDD NR5G","310260","NR5G BAND 41",521310

mmcli says different I factory reset the modem and then it’s been doing this, I have no clue how to fix it

root@OtisPoint:~# mmcli -m 0
  --------------------------------
  General  |                 path: /org/freedesktop/ModemManager1/Modem/0
           |            device id: 1a1a8668c456c480be8f925f5357c98e63bc4cad
  --------------------------------
  Hardware |         manufacturer: Quectel
           |                model: RM520N-GL
           |    firmware revision: RM520NGLAAR01A08M4G
           |            supported: gsm-umts, lte
           |              current: gsm-umts, lte
           |         equipment id: 868371052848773
  --------------------------------
  System   |               device: /sys/devices/platform/soc/11200000.usb/usb2/2-1
           |              physdev: /sys/devices/platform/soc/11200000.usb/usb2/2-1
           |              drivers: option1
           |               plugin: quectel
           |         primary port: ttyUSB2
           |                ports: ttyUSB2 (at)
  --------------------------------
  Numbers  |                  own: (my phone number here)
  --------------------------------
  Status   |       unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (10), sim-puk2 (10)
           |                state: disabled
           |          power state: on
  --------------------------------
  Modes    |            supported: allowed: 2g, 3g, 4g; preferred: none
           |              current: allowed: 2g, 3g, 4g; preferred: none
  --------------------------------
  IP       |            supported: ipv4, ipv6, ipv4v6
  --------------------------------
  3GPP     |                 imei: 868371052848773
           | packet service state: detached
  --------------------------------
  3GPP EPS | ue mode of operation: csps-2
  --------------------------------
  SIM      |     primary sim path: /org/freedesktop/ModemManager1/SIM/0
  --------------------------------
  Bearer   |                paths: /org/freedesktop/ModemManager1/Bearer/0

Thank you for any help

Dear @LanAriesEchos
Please check modemmanager is the latest version.
mmcli -m 0 --hardware
mmcli -m 0 --status
mmcli --version

Modem Manager is up-to-date – hardware and – just give a no action specify error Here are the outputs also I will give the AT log of it booting up to see if that will help further please note in these outputs the sim is not inserted.

Commands output:

root@OtisPoint:~# mmcli -L
    /org/freedesktop/ModemManager1/Modem/0 [Quectel] RM520N-GL
root@OtisPoint:~# mmcli -m 0 --hardware
error: no actions specified
root@OtisPoint:~# mmcli -m 0 --status
error: no actions specified
root@OtisPoint:~# mmcli --version
mmcli 1.22.0
Copyright (2011 - 2023) Aleksander Morgado
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

root@OtisPoint:~# 

AT output:

Revision: RM520NGLAAR01A08M4G

OK

+WS46: (12,22,25,28,29,30,31)

OK

ERROR

ERROR

RM520N-GL

OK

868371052848773

OK

ERROR

+CGDCONT: (1-42),"IP",,,(0-3),(0-4),(0-1),(0-1),,,,,,,,,(0-1),,(0-1),,,(0-1)
+CGDCONT: (1-42),"PPP",,,(0-3),(0-4),(0-1),(0-1
+CME ERROR: 10

ERROR

+CLCK: 0

OK

+CLCK: 0

OK

868371052848773

OK

ERROR

It seems they are not communicating correctly?

I got it working it somehow got switched to PCIe mode instead of USB mode. I didn’t think that was an option on mine.