Quectel EG25-G - +CME ERROR: 100

Hello I am trying to diagnose and fix and issue with EG25-G not searching or connecting to networks. I am trying to connect to Mint Mobile. I’ve tried multiple firmwares (currently EG25GGBR07A08M2G_30.006.30.006) and have also tried using biktorgj_quectel_eg25_recovery and the community firmwares as well. Here’s a list of commands I’ve ran and their responses:


AT
	OK
ATE1
	OK
ATI
	Quectel
	EG25
	Revision: EG25GGBR07A08M2G
	OK
AT+CPIN?
	+CPIN: READY
	OK
AT+COPS?
	+COPS: 2
	OK
AT+COPS=?
	+CME ERROR: 100
AT+QCFG="usbnet"
	+QCFG: “usbnet”,0
	OK
AT+QCFG="band"
	+QCFG: "band",0xbff,0x1e00b0e18df,0x0
	OK
AT+CGDCONT?
	+CGDCONT: 1,"IPV4V6","fast t-mobile com","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
	+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
	+CGDCONT: 3,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
	+CGDCONT: 4,"IPV4V6","tmus","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
	+CGDCONT: 5,"IPV4V6","fast t-mobile com","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
	+CGDCONT: 6,"IPV4V6","Wholesale","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
	+CGDCONT: 7,"IP","fast t-mobile com","0.0.0.0",0,0,0,0
	OK
	(I had to remove the . from urls above)
AT+CSQ
	+CSQ: 23,99
	OK
AT+QCSQ
	+QCSQ: "LTE",63,-99,111,-16
	OK
AT+CGATT?
	+CGATT: 0
	OK
AT+QNWINFO
	+QNWINFO: "FDD LTE","311480","LTE BAND 13",2300
	OK
AT+QCFG="nwscanseq"
	+QCFG: "nwscanseq",0403010502
	OK
AT+QCFG="nwscanmode"
	+QCFG: "nwscanmode",0
	OK
AT+CREG?
	+CREG: 0,0
	OK
AT+COPS?
	+COPS: 2
	OK
AT+CEREG?
	+CEREG: 0,0
	OK

bruh my issue is how do i send AT commands to the device?

There are several ways that I have found to achieve that. All of this information I found by searching around online and in various forums.

By using atinout utility (you may have to build from source):

sudo su
./atinout - /dev/EG25.AT out.txt << EOF
> AT+COMMAND
> EOF
cat out.txt

Alternative method using atinout:
echo "AT+COMMAND" | sudo ./atinout - /dev/ttyUSB2 -

Using mmcli to communicate with modem 0:
mmcli -m 0 --command='AT+COMMAND'
This can be simplified if your device only contains one modem into the following:
mmcli -m any --command='AT+COMMAND'

If you are encountering the same issue as me in my original post and this information helps you I hope you will share the fix.