[GH-ISSUE #24] Stuck in DM mode only RM520N-GL #18

Open
opened 2026-03-13 14:07:39 +03:00 by kerem · 10 comments
Owner

Originally created by @DMD770 on GitHub (Oct 16, 2025).
Original GitHub issue: https://github.com/4IceG/RM520N-GL/issues/24

Hello!

i know this is very strange request. but are you able to provide me full firmware that will "reset" the usbconfig? my issue is that im effectively stuck in DM mode only and i cannot get out of it. i can use qflash properly and it will say "Pass" and generic firmware works but in my computer, i only get Com1 Communcation, Com 4 - DM port. i have no AT exposed or anything else. so im trying to figure out how to get AT working.

let me know!

Originally created by @DMD770 on GitHub (Oct 16, 2025). Original GitHub issue: https://github.com/4IceG/RM520N-GL/issues/24 Hello! i know this is very strange request. but are you able to provide me full firmware that will "reset" the usbconfig? my issue is that im effectively stuck in DM mode only and i cannot get out of it. i can use qflash properly and it will say "Pass" and generic firmware works but in my computer, i only get Com1 Communcation, Com 4 - DM port. i have no AT exposed or anything else. so im trying to figure out how to get AT working. let me know!
Author
Owner

@4IceG commented on GitHub (Oct 16, 2025):

Hi,

Have you checked out these at commands?

AT+QCFG="data_interface",0,0   // data: USB, AT/diag: USB
then
AT+CFUN=1,1                    // modem restart
or factory reset
AT+QPRTPARA=3 // Reset modem to factory default
<!-- gh-comment-id:3412646716 --> @4IceG commented on GitHub (Oct 16, 2025): Hi, Have you checked out these at commands? ``` AT+QCFG="data_interface",0,0 // data: USB, AT/diag: USB then AT+CFUN=1,1 // modem restart or factory reset AT+QPRTPARA=3 // Reset modem to factory default ```
Author
Owner

@DMD770 commented on GitHub (Oct 16, 2025):

Thank you for the response!

i have attempted it. basically the issue i have is im locked OUT of AT mode, and i have no other COM exposed except Communcation (Com1) and DM Mode (com5). i have no AT access at all due to the frigging USB mode.

Image and hardware ID = USB\VID_2C7C&PID_0801&REV_0504&MI_00. which mean it is in DM/EDM
<!-- gh-comment-id:3412653064 --> @DMD770 commented on GitHub (Oct 16, 2025): Thank you for the response! i have attempted it. basically the issue i have is im locked OUT of AT mode, and i have no other COM exposed except Communcation (Com1) and DM Mode (com5). i have no AT access at all due to the frigging USB mode. <img width="244" height="68" alt="Image" src="https://github.com/user-attachments/assets/15043d1d-2ef1-4748-913c-f77801cf366c" /> and hardware ID = USB\VID_2C7C&PID_0801&REV_0504&MI_00. which mean it is in DM/EDM
Author
Owner

@4IceG commented on GitHub (Oct 16, 2025):

COM1 does not allow sending at commands?

<!-- gh-comment-id:3412664931 --> @4IceG commented on GitHub (Oct 16, 2025): COM1 does not allow sending at commands?
Author
Owner

@DMD770 commented on GitHub (Oct 16, 2025):

no COM1 wont allow command, it wont even take anything (i am assuming this is what allow communication via like MIBM) not AT commands. from what i look, for any AT command to work, you need AT com port.

<!-- gh-comment-id:3412669868 --> @DMD770 commented on GitHub (Oct 16, 2025): no COM1 wont allow command, it wont even take anything (i am assuming this is what allow communication via like MIBM) not AT commands. from what i look, for any AT command to work, you need AT com port.
Author
Owner

@4IceG commented on GitHub (Oct 16, 2025):

Have you tried different firmware versions?
Can you check if ModemManager supports the modem? I'm not sure, but maybe MM can switch modem ports.

<!-- gh-comment-id:3412683474 --> @4IceG commented on GitHub (Oct 16, 2025): Have you tried different firmware versions? Can you check if ModemManager supports the modem? I'm not sure, but maybe MM can switch modem ports.
Author
Owner

@DMD770 commented on GitHub (Oct 16, 2025):

Yes, i originally had "RM520NGLAAR03A03M4G_JP", and was trying to change usb mode so i can get it to work with GL-Inet router, and that effectively killed the AT modes and all other except DM and communication port. So i asked for a firmware which i did get and i have "RM520NGLAAR03A03M4G_A0.301.A0.301" and it flashed properly, i still have cellular connection to it. i just want to be able to enter AT mode so i can switch the modes. i tried ModemManager, it wouldn't not pull it up because it cannot find it (im assuming it need to have a correct VID, and VID i have is 2c7c:0801 which is DM only, so i basically forced the driver and i get cellular wan but that only in window. wont work in linux.

so that why im asking if you have any knowledge how to "force" reset the usb without AT commands as im stuck in DM only mode.

supposed to look like this:

Image

which i dont have at all except DM port.

<!-- gh-comment-id:3412707567 --> @DMD770 commented on GitHub (Oct 16, 2025): Yes, i originally had "RM520NGLAAR03A03M4G_JP", and was trying to change usb mode so i can get it to work with GL-Inet router, and that effectively killed the AT modes and all other except DM and communication port. So i asked for a firmware which i did get and i have "RM520NGLAAR03A03M4G_A0.301.A0.301" and it flashed properly, i still have cellular connection to it. i just want to be able to enter AT mode so i can switch the modes. i tried ModemManager, it wouldn't not pull it up because it cannot find it (im assuming it need to have a correct VID, and VID i have is 2c7c:0801 which is DM only, so i basically forced the driver and i get cellular wan but that only in window. wont work in linux. so that why im asking if you have any knowledge how to "force" reset the usb without AT commands as im stuck in DM only mode. supposed to look like this: <img width="526" height="230" alt="Image" src="https://github.com/user-attachments/assets/243e2794-941a-439b-859b-392e4f254cd7" /> which i dont have at all except DM port.
Author
Owner

@4IceG commented on GitHub (Oct 16, 2025):

Very strange, uploading new FW to the modem should restore default port settings. Test other FW. I have no more ideas.

<!-- gh-comment-id:3412732969 --> @4IceG commented on GitHub (Oct 16, 2025): Very strange, uploading new FW to the modem should restore default port settings. Test other FW. I have no more ideas.
Author
Owner

@DMD770 commented on GitHub (Oct 16, 2025):

I have tried other FW, the issue is that i believe it because we have the "lite" version of firmware (public release). which wont reset the port setting. i believe we need the "full" or dev release.

<!-- gh-comment-id:3412734890 --> @DMD770 commented on GitHub (Oct 16, 2025): I have tried other FW, the issue is that i believe it because we have the "lite" version of firmware (public release). which wont reset the port setting. i believe we need the "full" or dev release.
Author
Owner

@4IceG commented on GitHub (Oct 16, 2025):

I have a different opinion on this. I've changed modem's firmware many times, even having to restore it once, and modem always reverted to its default settings.

It's possible your modem has modified firmware, and modem will only work with that firmware.

<!-- gh-comment-id:3412785965 --> @4IceG commented on GitHub (Oct 16, 2025): I have a different opinion on this. I've changed modem's firmware many times, even having to restore it once, and modem always reverted to its default settings. It's possible your modem has modified firmware, and modem will only work with that firmware.
Author
Owner

@DMD770 commented on GitHub (Oct 16, 2025):

If it is modified firmware, which originally it was "RM520NGLAAR03A03M4G_JP" but now i got the generic firmware "RM520NGLAAR03A03M4G_A0.301.A0.301" from quectel themelve directly. so in theory it should be unlocked but i think what is happening is the "NV" partition, is having a "bad sector" or somehow keeping that file persist thoughout the flashing... according to what i understand the flash does not effectively reset the modem setting.

<!-- gh-comment-id:3412795110 --> @DMD770 commented on GitHub (Oct 16, 2025): If it is modified firmware, which originally it was "RM520NGLAAR03A03M4G_JP" but now i got the generic firmware "RM520NGLAAR03A03M4G_A0.301.A0.301" from quectel themelve directly. so in theory it should be unlocked but i think what is happening is the "NV" partition, is having a "bad sector" or somehow keeping that file persist thoughout the flashing... according to what i understand the flash does not effectively reset the modem setting.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/RM520N-GL#18
No description provided.