[T-Mobile LG G2x] Core Memory:
How to determine the imei number and reset it for the g2x/p999 phone

I've changed the procedure. Follow it step by step. Check off the steps as you complete them. Hopefully, you won't have any problems.

HOW TO DETERMINE THE IMEI NUMBER AND RESET IT FOR THE G2X/P999 PHONE

1) Download RSterm:

http://www.roundsolutions.com/techdocs/#tools

2) Unzip RSterm to your computer desktop

3) Right-Click on “RSterm”, click on “Properties”, and Unblock it and set it up to run as Administrator.

Do not run RSterm yet.

Set up the phone as follows:

4) In the phone’s Settings -> Applications -> Development -> enable USB debugging

5) Access the phone's hidden menu using the phone keypad (dialer), enter: 1809#*999#

6) In Port Setting enable CP USB (do not enable Retain ...) then press: OK

7) Plug your phone into the USB port and wait a few seconds until the USB drivers install.

8) Access the LGE Mobile USB Modem driver through Control Panel -> Device Manager -> LGE Mobile USB Modem -> Advanced -> Advanced Port Settings

9) Click on the box next to “Append to Log” so that a checkmark is in that box.

10) Click on: Query Modem

The window above “Query Modem” should fill up with (the following data is from my phone, your phone’s Revision may be and IMEI will be somewhat different):

“ATQ0V1E0 - OK

AT+GMM - 0

AT+FCLASS=? - +FCLASS: (0-1)

AT#CLS=? - COMMAND NOT SUPPORTED

AT+GCI? - COMMAND NOT SUPPORTED

AT+GCI=? - COMMAND NOT SUPPORTED

ATI1 - Manufacturer: QUALCOMM INCORPORATED

Model: 0

Revision: M6600A-SCAUTNZ-2.0.9720T 1 [MAR 11 2012 10:00:00] MP:TRULGE_08.09.02R_MDM

IMEI: 0127XXXXXXXXXXXXXXX (I’ve X’d out my IMEI for security reasons)

+GCAP: +CGSM,+DS,+ES

ETC…”

If that doesn’t happen, then the Port Setting has probably reverted back to “AP USB” and will need to be changed back to “CP USB”. Check the phone’s screen and see if the Port Setting is still at “CP USB”. If it’s not (back on “AP USB”) redo steps 4 to this step.

11) Click on: View log

The phone’s current IMEI is listed in the information.

a) If the IMEI is the same as the original one, that means it hasn’t really changed from the original IMEI and it should be OK after the phone is reflashed with a .kdz update file. Flash the phone with a .kdz file by using the offline method.

b) If the IMEI is not the same as the original one, that means it needs to be changed back to the original one. If the IMEI has to be changed, continue from step 12 (the next step).

12) In the terminal port setting, get the LGE Mobile USB Modem COM Port number by accessing the USB driver through Control Panel -> Device Manager -> LGE Mobile USB Modem -> Advanced -> Advanced Port Settings -> COM Port Number

Write down the port number.

13) Close the LGE Mobile USB Modem Properties window.

14) Locate RSterm on your computer desktop and run it.

15) In RSterm, where it states "Serial Port setup", through the scroll box, select the LGE Mobile USB Modem Port Number you wrote down and click: Open

16) Set RSterm to "Local echo" and, in the terminal RSterm terminal window, type: AT

RSterm should respond with “OK”

If it doesn't respond with “OK”, it is probably because the selected port is incorrect. Recheck the port setting and select the correct one. If it is correct or the LGE Mobile USB Modem Port is not listed in Device Manager, recheck that the phone’s Port Setting accessed through the phone's hidden menu is still set to “CP USB” (step 2), if “CP USB” isn’t still selected, close RSterm and reselect “CP USB”, determine the port setting, then run RSterm again from step 14.

17) Click on some of the Modem command buttons on the left side of RSterm which send AT commands to the modem but click on only the following ones which do not change any settings:

AT, AT+CPIN?, AT+CREG?, AT+CGATT?, AT+CGMR

The modem should respond with either “OK” or information about the modem.

18) If the response was “OK” or information about the modem, to read the phone’s current IMEI number, type: AT imei

19) To enter an IMEI, type: AT imei=x,x,x,x,x,x,x,x,x,x,x, where x,x,x... is your original IMEI number.

20) To check that it changed, read the current IMEI, type: AT imei

21) If the IMEI is now the same as what you entered, exit RSterm.

22) Reboot the phone.