PINE64
Instructions to change the IMEI - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Hardware (https://forum.pine64.org/forumdisplay.php?fid=122)
+--- Thread: Instructions to change the IMEI (/showthread.php?tid=16752)



Instructions to change the IMEI - kwdevel - 05-31-2022

The other thread was closed before I had a chance to respond, so I'm just going to leave this here instead.
This works on the PinePhone Pro (Explorer). I have not tested on other devices. This works on the Quectel EG25-G modem.

FYI, I'm using Mobian, so you have to stop the modem-manager first or it will cause a conflict with minicom (terminal suddenly stops responding).
This feature is NOT documented in the PDF from Quectel, but it still works.

In a console:
Code:
systemctl stop ModemManager.service

Now you can run minicom without it hanging.
Code:
minicom -b 115200 -D /dev/ttyUSB2

Inside minicom, to get your current IMEI:
Code:
AT+CGSN
860195057712345

To change your IMEI:
Code:
AT+EGMR=1,7,"860195057754321"
OK

You can confirm it changed by running:
Code:
AT+CGSN
860195057754321

That's it.