Skip to content

Instantly share code, notes, and snippets.

@Anime4000
Last active April 18, 2025 14:22
Show Gist options
  • Save Anime4000/e9213bd4eaef502e4675d736c564fb5c to your computer and use it in GitHub Desktop.
Save Anime4000/e9213bd4eaef502e4675d736c564fb5c to your computer and use it in GitHub Desktop.
Mikrotik LTE Change IMEI

Change Mikrotik LTE IMEI

Query which mode

/interface lte at-chat lte1 input="AT*PROD\?"

Enter Non-production mode

/interface lte at-chat lte1 input="AT*PROD=1"

Delete old IMEI

/interface lte at-chat lte1 input="AT*MRD_IMEI=D"

Chnage new IMEI

/interface lte at-chat lte1 input="AT*MRD_IMEI=W,0101,11JAN1970,android_phone_imei"

Enter production mode

/interface lte at-chat lte1 input="AT*PROD=0"

Reboot!

@pexxie
Copy link

pexxie commented Dec 3, 2023

Thank you for this.
This worked "as is" for me originally, but perhaps after firmware updates; no longer did. An alternative non-production mode does work.

Updated version of the steps which I now use is below.
LHG-LTE6 (RBLHGR&R11e-LTE6).
RouterOS v7.18.2.
Modem firmware R11e-LTE6_V025. (downgraded for stability)

Enter alternative non-production mode

/interface lte at-chat lte1 input="AT*PROD=2"

Delete old IMEI

/interface lte at-chat lte1 input="AT*MRD_IMEI=D"

Set new IMEI

/interface lte at-chat lte1 input="AT*MRD_IMEI=W,0101,11JAN1970,android_phone_imei"

Return to production mode

/interface lte at-chat lte1 input="AT*PROD=0"

Power cycle LTE modem

/interface lte at-chat lte1 input="AT+reset"

@khapa77
Copy link

khapa77 commented Jan 19, 2024

Excuse me, can I recovery original IMEI?

@Anime4000
Copy link
Author

Excuse me, can I recovery original IMEI?

No, it's permanent

@mocadova
Copy link

Please help me... I have a Quectel LTE 18 / EG18-EA modem in my Mikrotik, and need to change the IMEI.

@MrDeepFreeze
Copy link

I am trying these commands on an LHG LTE but all I get in return is...
output: ERROR
Why?

@Anime4000
Copy link
Author

maybe newer revision already different command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment