How To Unroot the T-Mobile G2X and Return it to Stock

Have a T-Mobile G2X and need to send it in for warranty? Or perhaps you just want to start over from scratch with the whole rooting thing? Either way, you need to get back to stock. Well, here’s how to revert your T-Mobile G2X back to the way it was out of the box when you got it.

I. Before You Begin

1. You MUST have done our How To Root and Load a Custom Recovery procedure for this to work properly.

2. This will return your G2X back to stock and erase all data on the phone.

II. Revert System and Data to Stock

1. Download the stock Nandroid Backup and save it to your computer.

Stock G2X Nandroid Backup (Original post with downloads)

2. Turn off your phone, then turn it back on by holding down volume down and power until you get to recovery mode.

3. Once in recovery mode, head to backup and restore then click on backup to perform a backup.

4. Once it says backup complete select back to get to the main menu, then select reboot system now.

5. Once the phone reboots, plug it in via USB cable and mount the sd card so we can transfer files to it.

6. Open the sd card on your computer and make sure there is a folder inside called “clockworkmod” and inside that folder is one called “backup”.

7. Extract the Stock Backup .zip file somewhere on your computer (so that it creates a new folder with the same name as the .zip file “LG-P999-V10f”)

8. Copy and paste the folder called “LG-P999-V10f” to inside the backup folder on the sd card that we found in step 6.

9. Unplug the device from the computer.

10. Turn off the device then turn it back on by holding down volume down and power until you get into recovery mode.

11. Once you get into recovery mode, scroll to Backup and Restore and select Restore.

12. Then choose the backup you just saved to it and wait for it to restore.

13. Once it is done, hit Wipe Data > Factory Reset.

14. Once the wipe is complete, hit reboot system now. Your phone should reboot to the setup screen you had when you first turned on the device.

III. Restore the Stock Recovery Image

1. Remove the battery from your device (if you put it back in).

2. Right click OneClickRecoveryFlasher.exe inside the NvFlasher folder inside the file you extracted from our How To Flash a Recovery Image procedure and select Run As Administrator (if such an option doesn’t exist, just select Open).

3. Now, hold Volume Up and Volume Down (and keep holding them through the next couple of steps).

4. Plug the phone in via USB Cable (with the volume up and volume down still being held).

5. While still holding the volume up and volume down buttons, click on Flash Stock Recovery on your computer.

6. Once it says “S/W Upgrade – Please wait while upgrading…”, you can let go of the volume up and volume down and just wait for it to finish flashing in the command prompt. (If you get ANY errors in the command prompt window, unplug the device, reopen the flasher and try again until it goes through with no errors).

7. Once it is done, it’ll say press any key to continue in the command prompt window on the computer. That means it is done, press enter then unplug your device from the computer.

8. Put your battery back in.

IV. Unroot the Phone

1. Open the SuperOneClick program you used to root the phone in our How To Root procedure.

2. Plug the device in and click the Unroot button in SuperOneClick and wait for it to finish.

3. So long as you have no errors, check in your device’s app drawer and make sure Superuser Permissions is no longer there. So long as it is gone, you are all set.

4. You are now back to completely stock and can send your phone in for warranty or head back to our How To’s to reroot and start over.

If this procedure helped you, please consider donating to the original developer or at least sending them a thank you.

Now that you are rooted, head here to learn some of the fun things you can do!

For all the devices we have rooting procedures for, head here.


Something Wrong? If you notice an issue with the procedure (broken link, steps out of date, etc.), use this form to let us know! Otherwise, if you just are having trouble with the procedure, reach out to us on Twitter, Facebook, or Google+.

  • Anonymous

    for some reason superoneclick wont let me unroot. it keeps giving me an error. i followed every other step correctly, just can not unroot…any insight would be appreciated.

    • Guest.

      Once you flashed the nandroid backup (LG-P999-V10f) you wiped data/factory reset right? If so, after you boot up your phone go to settings>applictions>development and CHECK the Usb debugging option.
      Now right click on superoneclickroot on your computer and run as administrator and click unroot and voila!
      Unrooted stock 2.2.2 froyo with stock recovery Ready to be returned to T-Mobile..

      • Anonymous

        Thanks for the reply buddy, but I actually sold the phone back in July lol but sincerely thank you ;)

  • Soulhopefaith

    worked great. Thanks!

  • please help

    I keep getting an MD5 mismatch when I restore the stock folder, any help?

    • Dmclp87

      Rename the  LG stock folder to what it says on step 8 of part II

    • 13_kevi_felt

      After you extract the .zip file, you will have a “LG-P999-V10f”, BUT you can’t just put that in the recovery. Open that folder up; there should be another “LG-P999-V10f” folder in that one along with a “_MACOSX” folder. Take the second LG folder and put just that into the backup. It was the _MAC folder that was messing it up.

  • juan

    hey unlockr first of all let me say that u do a nice work on ur videos. ok so my question is i rooted my g2x and install the clockworkmod recovery and made a backup of my stock rom i havent flash nothing els so can i just wipe data and falow the steps frome ther on to go back to stock recovery or do i still have to do the hole prosces on your video. thanks in advance for your help ill apreciate your answer.

  • Krouri

    Thank you so much!

  • http://www.facebook.com/people/Jess-Jay-Arkades/1781546896 Jess Jay Arkades

    for some reason its not showing the lg-p999-v10f folder in the backups!! please help me.

    • http://TheUnlockr.com David Cogen

      Jump on Twitter and reply to @TheUnlockr and I’ll try to help. This procedure was just updated so could be an issue with the file.

    • Dfaasfas

      you have to extract the zip file

  • Jerry Mcgee

    on my ext..sd card is “clockworkmod/backup/ zip file
    I get MD5 mismatch everytime, tried everything I can think of, am I missing something? 

  • Maxter500

    At part III step 5 it says usb device is not plugged in even though it is. What do I do?

  • willy gonzalez

    if i have android 2.3.3 how i can install the CMW?

  • Jorgereyes13

    wow this help me to get from 2.3.3 back to 2.2.2 witch is great benchmark hits at 25000 and i got the good old camera that we had

  • Bek9021

    It worked for me. Thank you 1000 times!!!  

  • Bethmiller419

    my new gx2 got left alone with someone who i believe tried to do a reset when i turned it on instead of my device name it saye lg-p999 and everything was different what should i do now

  • Thor6577

    Does it work if i have a Windows comp? Sry im a noob D: