[GUIDE] Root, unlock, and install a custom firmware!

Search This thread

carrett

Senior Member
Dec 17, 2011
374
250
Los Angeles, CA
The aim of this guide is to enable you to install a custom firmware on your Optimus G while being as clear, accurate and succinct as possible. This guide is intended for use by Windows users with an AT&T Optimus G (AKA LGE970).

I've presented the following sections in a specific order for a reason: you need to root to unlock, and you need to unlock to install a custom firmware. If you're currently running what the manufacturer gave you, you need to start with rooting, then unlocking, then trying other firmwares. Be careful, good luck, and have fun!

How to "root" your Optimus G

  1. (Optional if you have another means of un-RARing) Download and install 7-zip from here. You need this to open certain types of archives (specifically .rar, but you might also want to open .tar, .bz2, or other types of archives in the future). This program is supremely awesome in its ability to open almost any archive you throw at it. It's also unobtrusive and efficient.
  2. Download and install LG USB Drivers from here. Without these drivers, your computer won't be able to effectively communicate with your phone. This is vital for the steps we will be taking.
  3. Enable USB debugging by going to Settings->(General)->Developer options" and checking the box next to "USB debugging." You will get warnings. You can probably ignore them. This setting will allow you to run commands on your phone from your computer (via USB). For more info on the Android Debug Bridge, click here.
  4. Download and extract (using 7-zip (or whatever)) the root exploit from here.
  5. Connect your phone to the computer with your USB cable.
  6. Put the phone into "Charge Only" mode at Settings->General->PC connection->USB connection type
  7. Open CurrentRoot.bat and follow its prompts. You will need to change from "Charge Only" to "Media sync (MTP)" mode. The setting is in the same place.
  8. Run SuperSU (now in your apps drawer) it and make sure it works. This program allows others to gain access to superuser privileges. For more info on rooting and what kind of stuff it lets you do, click here and/or use Google.

If that didn't work for you, try following instructions from the thread where this root method came from.


How to unlock the bootloader

The bootloader is the first program your phone runs and its main job is to load the operating system. The stock bootloader is locked and will only run versions of Android that LG and AT&T want it to. Since our goal is to install and run custom firmwares, we must circumvent this locked bootloader. Luckily, thecubed and Shellnut2 have found a way to do this for us. What you want to do is buy Shelnutt's app. There are several reasons you should throw down some cash on this:
  1. It's way easy to use
  2. It'll make backups of your stock recovery/bootloader for you, it'll also make restoring these backups easy
  3. The money is for a good cause

If you're still confused, visit thecubed's thread. He is the man, thank him a billion times. Then thank him again for being a nice guy.

For the convenience of those interested, here is the more laborious/error prone/manual way to unlock (NOTE: this method does NOT work if you've updated to Jelly Bean, you need to use the app):

  1. If you haven't already, download and install 7-Zip and the LG USB drivers, and make sure you have USB Debugging turned on (see above).
  2. Download the latest version of the bootloader unlock here (latest version has the highest version number).
  3. Ensure that your screen is on and unlocked (I'd go to "Settings->Display->Screen timeout" and set the timeout to never to make sure the screen doesn't go off during this process). Your screen must remain on because SuperSU will ask you to grant superuser privileges to the unlock script and you want to be able to tap "Yes" when the time comes.
  4. Connect your phone to the computer with your USB cable, and run the freegee.bat script in extracted files on your computer. Do NOT run this script as administrator. The install will fail if you do. Follow the prompts. You can ignore "No space left on the device" errors, but "adb.exe not found" or "tar: invalid magic" errors are not negligible and indicate either you skipping a step, a funky download, or something very bad.
  5. Once the script finishes, make sure you have a populated "backups" folder in the folder where freegee.bat lives. The backups folder contains your original stock/locked bootloader, which you might want if you ever want to revert to stock.
  6. If you're sure the script ran successfully, power off the phone. Next, hold down the power and volume up keys simultaneously to enter fastboot mode. You should see a screen that looks like this:
    2RO9w.jpg

In fastboot mode, there is a menu, but it's hidden. To navigate it, remember that volume up moves the cursor up, volume down moves it down, and power selects the currently highlighted option. The options are, in order:

  1. Start - boot the phone normally [highlighted by default]
  2. Restart Bootloader - reboot into bootloader
  3. Recovery Mode - enter ClockworkMod recovery (more on this later)
  4. Power Off - (duh)

Here is a video of thecubed showing you how to get to ClockworkMod from the bootloader (like a boss):



Using Team Win Recovery Project

Team Win Recovery Project (AKA TWRP) is a recovery, which basically allows you to install new firmwares and apply updates/modifications to already-installed firmwares (and a bunch of other things, like mounting and formatting portions of your phone's memory). It is the default recovery option when you use the Freegee app to unlock your phone (the other is Clockworkmod, which is so similar I won't be writing a separate guide on how to use it). Navigating TWRP is fairly self explanatory. Many great guides on how to use TWRP have been written and can be found via Google. Here is the first search result that came up for me. It's a pretty good guide.

One thing I will vehemently recommend is that you make a backup every time you install a new firmware. Personally, I backup apps and texts with Titanium Backup and my current firmware via TWRP (the linked guide explains how to make a backup in TWRP). Backups are a good idea and people should always make them. ALWAYS.


Installing custom firmwares

Follow the firmware author's instructions EXACTLY. These guys know what they are doing, certainly more than you or I. Check out the development threads for ROMs to try out.

Note: Be sure that if you are installing ROMs that require the Jelly Bean OTA update that you have taken that update.
There are two ways to do this: receive the update as intended (Over The Air) or use LGNPST (guide on using that under FAQ 3.a of this post) or autoprime's awesome tool, TeenyBin.

FAQs
  1. How do I upgrade FreeGee? The easiest thing to do is simply install the new version of FreeGee the way you did the old one. It will work. Make sure you keep your original locked bootloader in a different, safe place though, just in case you ever want to revert to stock (if you try to return your phone, for example).
  2. How do I disable that pesky OTA update notification? This comes courtesy of shawnchalfant and adfurgerson (visit ad's thread for more details): go into Titanium Backup and freeze the following programs: com.lge.lgfota.permission 4.0.4-91f513f88d AND com.lge.omadmclient 3.2.21
  3. How can I re-lock and un-root my phone?
    • How to LGNPST to restore a factory image.
      Obtain the following files: AutoLGNPST-tSilenzio.zip (available on IRC), and the firmware. Unzip AutoLGNPST-tSilenzio.zip and follow the instructions in "READ ME FIRST.txt" (mad props to tSilenzio for automating this process).

    • Here's the laborious/error prone/manual method for LGNPST-ing back to stock.
      You need to obtain the following files: LGNPST-PhantomPhreak53.zip, LGNPST_ACG_2.2.3_Lab.zip, and the firmware. Follow the following steps (please note: I am less experienced with this process and find it much more tedious. Also, IMHO, I don't think the people you're returning the phone to will care if you leave some minor traces of your unlocking shenanigans. I think the process above this is more than sufficient and simpler). Credits go to Jhoopes517 for this process, he showed me how to do it in his thread.
      1. (Install LG USB drivers)
      2. Extract LGNPST_ACG_2.2.3_Lab.zip, run the installer. Open file explorer to C:\Program Files\LG Electronics\LGNPST and replace the current LGNPST_ACG.exe with the one in the extracted folder (if you are on a 64-bit version of windows, go to C:\Program Files (x86)\LG Electronics\LGNPST)
      3. Extract LGNPST-PhantomPhreak53.zip and run LGNPST_GenericModels_Ver_5_0_12_0.exe and then run LGNPST_Components_Ver_5_0_20_0.exe
      4. In file exlorer, navigate to C:\LG Electronics\LGNPST and copy over the "Models" folder from the extracted Phantom zip folder
      5. Run cmd as administrator and execute the following

        Code:
        regsvr32 "C:\LG Electronics\LGNPST\Models\LGNPST_LS970.dll"
      6. Extract LGE970AT-01-V20j-310-410-MAR-08-2013.zip and change the extension of the .tot file to .bin
      7. Connect phone to computer, power off, and then power on, holding down the power button and both volume buttons
      8. Run the newly replaced LGNPST_ACG.exe from step 2. Select the DLL from step 5 and the .bin from step 6.
      9. Press Start
      10. If LGNPST errors out at 85%, turn your phone off and hold the power button until the phone powers on, then release. DO NOT disconnect the cable before LGNPST is done doing its thing. Your phone may reboot. This is OK.
    • (If you are using Shelnutt's app, simply use the button in the app to re-lock and install the stock stuff).
    • Here's the laborious/error prone/manual method for re-locking the phone and installing the stock recovery/bootloader/kernel.
      Remember the backups of the locked bootloader that you kept? You're going to need them. Obviously, you'll need USB Debugging enabled and LG USB drivers installed. Copy them to your phone's "Internal Storage" in a folder, in this example it's called "backups." Connect the phone to your computer via USB, open a command line (cmd) and type the following:

      Code:
      cd C:/some/folder/where/you/have/adb.exe/eg/your/freegee/download
      adb shell
      su
      dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery
      dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/boot
      dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/aboot
      dd if=/sdcard/backups/aboot-att-backup.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot
      dd if=/sdcard/recovery-att-backup of=/dev/block/platform/msm_sdcc.1/by-name/recovery
      dd if=/sdcard/boot-att-backup.img of=/dev/block/platform/msm_sdcc.1/by-name/boot

      dd basically copies from the if= location and writes to the of= location. The first three dd steps write a bunch of zeros to the recovery, boot, and aboot partitons, the last three write the backups to aboot, recovery, and boot. If you want to know more, read all about dd here and/or Google. If you lost your backups, you can try writing mine.

      Now you've restored the stock bootloader and recovery, but your phone is still rooted. To unroot it, open SuperSU, go to its settings, and tap "Full unroot." Do a factory reset (Settings->General->Backup & reset->Factory data reset) and you should be good to return the phone to AT&T (or whatever).

    Be careful with these last two methods if you have removed any bloatware or installed a custom firmware, you may prefer to LGNPST back to stock (LGNPST is almost always a safe way to return to stock).
  4. Haha I wish I had seen this earlier. I had screenshots before and after so I could see exactly what was removed but I had just deleted them. From memory, it doesn't seem like too much was removed. All the AT&T apps are gone but it appears LG's apps are still here.

    Here is a list of apps I had shortly after factory reset on stock for people to compare with theirs. I have struck out the ones I was able to remove without my phone blowing up. Let me know if you safely removed one and I'll strike it out. Also let me know if I missed any or included an app which isn't part of stock. Thanks!

    AAT
    Adobe Flash Player 11.1
    Adobe Reader
    Amazon Kindle

    Android keyboard
    Android live wallpapers
    Android system
    Aspect ratio correction
    AT&T address book
    AT&T code scanner
    AT&T family map
    AT&T hot spots
    AT&T locker
    AT&T messages
    AT&T navigator
    AT&T ready2go
    AT&T smart wi-fi

    Bluetooth share
    Browser
    Bt/wifi test
    Bubbles
    Calculator
    Calendar
    Calendar storage
    Calendar widget
    Camera
    Car home
    Certificate installer
    City ID
    Clock
    com.android.backupconfirm
    com.android.providers.partnerbookmarks
    com.android.providers.settings
    com.android.sharedstoragebackup
    com.lge.lgdrm.permission
    com.lge.lgfota.permission
    com.lge.lockscreen
    com.lge.omadmclient
    Contacts
    Contacts storage
    DeviceHelp
    Download manager
    Downloads
    DRM protected content storage
    DRM service
    Email
    Email widget

    EmailServices
    Face unlock
    Facebook
    Favorite contacts widget
    File manager
    File networking
    FileShare
    Finance
    Gallery
    GestureOverlayService
    Gmail
    Google account manager
    Google backup transport
    Google calendar sync
    Google contacts sync
    Google partner setup
    Google play books
    Google play magazines
    Google play movies & tv
    Google play music

    Google play services
    Google play store
    Google search
    Google services framework
    Google text-to-speech engine
    Google+
    Home
    Home selector
    Home theme - Biz
    Home theme - cozywall
    Home theme - marshmallow
    HTML viewer
    Key chain
    Lg keyboard
    Lg tag+
    Lg voicecommand speechpack
    Lgapduservice
    Lgatcmd service
    Lgsmartcard service
    Lgsystemserver
    Live tv
    Live wallpaper picker
    Local search
    Lock screen settings
    Maps
    Marionette
    Market feedback agent
    Media home
    Media storage
    Messaging
    Multi-photo live wallpaper
    Music
    Music
    Musicfx
    My uploads
    MyAT&T
    Network location
    News
    NFC service
    Nfsservicemanager
    Note pad
    Note pad widget
    On-screen phone
    Package access helper
    Package installer
    Phone
    Phone/messaging storage
    Photo frame
    Playready cert test
    Polaris office 4.0
    Power control widget
    Quickmemo
    Search applications provider
    Settings
    Setup wizard
    Shutdown monitor
    Sim toolkit
    Smartshare
    Social+

    Streaming player
    System ui
    Talk
    Task manager
    Today+ widget
    Tom's diner
    Twitter
    User dictionary
    Usermode
    Vidclip
    Video wiz
    Videos
    Voice command
    Voice search
    Voicemail
    VPN client
    Vpndialogs
    Wap service
    Weather
    Widevine keybox test
    Wiper app
    Wise screen
    World clock widget
    YouTube
    Yp mobile
  5. I can't root. What do I do?
    Double check that you have followed all the steps in this guide (USB drivers, correct settings, etc.) If your software version ends in "c," you need to LGNPST to the version that ends in "o" (see the section on LGNPST in this post).
  6. Why shouldn't I run the Nexus 4 conversion?
    See this post by thecubed. Don't be impatient, a legit, safe ROM is forthcoming here. Messing with partition tables is needlessly risky.
  7. My shiny new firmware has no APNs and I don't get mobile data! What do I do?
    Use the APN settings in this post. They have always worked for me. If they don't try setting the "APN" variable to "pta" instead of "Phone."
... (ask me more questions!)

I hope you found this useful. Obviously this is a work in progress. I am way open to suggestion, please leave a comment below! If you liked this post, hit the thanks button and/or rate this thread so that others know this guide is legit. Thanks!
 
Last edited:

Kiserai

Senior Member
May 31, 2010
253
19
Spokane, WA
Very nice, man. This is great for people who don't want to have to hop between threads for all the different information.

I recommend we sticky it.
 

sawdey21

Member
Nov 20, 2012
48
20
Rochester
this is definitely appreciated. i was looking for a guide when i first rooted and unlocked, just to read along with making sure i was doing it right. more just to double check my process than actually needing it.
 
  • Like
Reactions: TnT_

karelson

Senior Member
Nov 21, 2012
146
15
can you please also post a guide on how to lock back the device and unroot.
and also how to update to a new version of freegee if it comes out.

Please
?

Thank you.
 

martyotaku

Senior Member
Jul 7, 2007
746
18
NYC
Google Pixel 6 Pro
Carrett can u do a guide for going back to stock? Flashing a stock Rom....got the files I need just have no clue what to do. .need to return my phone.thanx

Sent from my LG-E970 using xda premium
 

carrett

Senior Member
Dec 17, 2011
374
250
Los Angeles, CA
i need a step by step for LGNPST back to stock if possible please

I have never LGNPST-d my way back to stock, nor do I plan on doing it. If you are already unlocked, my advice to you is to obtain APKs of any bloat you removed, reinstall them, and follow my method for relocking and unrooting. That being said, you may be able to find someone willing to walk you through LGNPST-ing in IRC. I will try to figure out how to do it and if I feel confident I'll write a how-to. If someone wants to supply me with a howto, I'd be happy to include it in the OP and credit them (assuming their how-to makes sense and I can easily follow it).

Honestly though, it seems like a pointless exercise when you have CWM and su.

Sorry I can't be more accommodating.
 

aznracer62

Senior Member
Nov 6, 2010
411
114
Honolulu, Hawaii
I have never LGNPST-d my way back to stock, nor do I plan on doing it. If you are already unlocked, my advice to you is to obtain APKs of any bloat you removed, reinstall them, and follow my method for relocking and unrooting. That being said, you may be able to find someone willing to walk you through LGNPST-ing in IRC. I will try to figure out how to do it and if I feel confident I'll write a how-to. If someone wants to supply me with a howto, I'd be happy to include it in the OP and credit them (assuming their how-to makes sense and I can easily follow it).

Honestly though, it seems like a pointless exercise when you have CWM and su.

Sorry I can't be more accommodating.

I kinda need LGNPST. Somewhere during rooting, my phone just wouldn't turn back on. It did that screen flicker thing and the buttons flicker, but it stayed there for about 10+ minutes. So i figured, i wanted to start fresh with factory settings again. When i try to run LGNPST, it goes to 67% then the phone leaves download mode and then LGNPST says it's been disconnected and that i should restart my phone and then it can continue. Problem is that the phone can't even boot up at all.

I even tried the unbrick guide from the other optimus g forum but i can't get ahold of the .KDZ file. I'm not even sure if that process can work on an AT&T optimus g. Spoke to people on IRC and said that it sounds like a hardware issue. If i can't get this thing to boot, i'm going back to BestBuy to exchange for another one.
 

carrett

Senior Member
Dec 17, 2011
374
250
Los Angeles, CA
I kinda need LGNPST. Somewhere during rooting, my phone just wouldn't turn back on. It did that screen flicker thing and the buttons flicker, but it stayed there for about 10+ minutes. So i figured, i wanted to start fresh with factory settings again. When i try to run LGNPST, it goes to 67% then the phone leaves download mode and then LGNPST says it's been disconnected and that i should restart my phone and then it can continue. Problem is that the phone can't even boot up at all.

I even tried the unbrick guide from the other optimus g forum but i can't get ahold of the .KDZ file. I'm not even sure if that process can work on an AT&T optimus g. Spoke to people on IRC and said that it sounds like a hardware issue. If i can't get this thing to boot, i'm going back to BestBuy to exchange for another one.

The folks in IRC know much more about lgnpst than I do. There's no secret that's being withheld, and unfortunately my best guess is that the lgnpst experts in IRC are right and it is a hardware issue. The good news is that you don't have to tell Best Buy the events leading up to your phone's demise and they probably won't be able to tell what they were either (we're talking about Best Buy employees here; most don't give two craps about their job).
 

carrett

Senior Member
Dec 17, 2011
374
250
Los Angeles, CA
Found a how to for a different lg phone here. Not certain that it will work for ours but it's worth a try. If it works for you, let me know and I'll add it the OP for others.
 

aznracer62

Senior Member
Nov 6, 2010
411
114
Honolulu, Hawaii
Found a how to for a different lg phone here. Not certain that it will work for ours but it's worth a try. If it works for you, let me know and I'll add it the OP for others.

I've tried something similar to that. Basically that's just an older version of LGNPST but when you use it, it says verizon wireless on it, well the one i downloaded at least. And you're right, took it to best buy and they didn't ask about it. I have up to January 24 to exchange it again in case it happens again. If the guys on IRC say it's hardware after explaining exactly what i did, it's the hardware. Gotta admit, i'm new to LG. I came from a line of Samsungs. Usually if anything goes wrong id just reflash with Odin or Heimedall and everything's back to normal again. LGNPST does the same function? From what i've read it serves the same purpose.

Anyway, take 2 on this guide. Deleting everything LG from my computer and starting fresh. One thing that i did notice when rooting, cmd gave me an error saying i'm missing backup_restore.apk (or something of similar name).
 

Top Liked Posts

  • There are no posts matching your filters.
  • 135
    The aim of this guide is to enable you to install a custom firmware on your Optimus G while being as clear, accurate and succinct as possible. This guide is intended for use by Windows users with an AT&T Optimus G (AKA LGE970).

    I've presented the following sections in a specific order for a reason: you need to root to unlock, and you need to unlock to install a custom firmware. If you're currently running what the manufacturer gave you, you need to start with rooting, then unlocking, then trying other firmwares. Be careful, good luck, and have fun!

    How to "root" your Optimus G

    1. (Optional if you have another means of un-RARing) Download and install 7-zip from here. You need this to open certain types of archives (specifically .rar, but you might also want to open .tar, .bz2, or other types of archives in the future). This program is supremely awesome in its ability to open almost any archive you throw at it. It's also unobtrusive and efficient.
    2. Download and install LG USB Drivers from here. Without these drivers, your computer won't be able to effectively communicate with your phone. This is vital for the steps we will be taking.
    3. Enable USB debugging by going to Settings->(General)->Developer options" and checking the box next to "USB debugging." You will get warnings. You can probably ignore them. This setting will allow you to run commands on your phone from your computer (via USB). For more info on the Android Debug Bridge, click here.
    4. Download and extract (using 7-zip (or whatever)) the root exploit from here.
    5. Connect your phone to the computer with your USB cable.
    6. Put the phone into "Charge Only" mode at Settings->General->PC connection->USB connection type
    7. Open CurrentRoot.bat and follow its prompts. You will need to change from "Charge Only" to "Media sync (MTP)" mode. The setting is in the same place.
    8. Run SuperSU (now in your apps drawer) it and make sure it works. This program allows others to gain access to superuser privileges. For more info on rooting and what kind of stuff it lets you do, click here and/or use Google.

    If that didn't work for you, try following instructions from the thread where this root method came from.


    How to unlock the bootloader

    The bootloader is the first program your phone runs and its main job is to load the operating system. The stock bootloader is locked and will only run versions of Android that LG and AT&T want it to. Since our goal is to install and run custom firmwares, we must circumvent this locked bootloader. Luckily, thecubed and Shellnut2 have found a way to do this for us. What you want to do is buy Shelnutt's app. There are several reasons you should throw down some cash on this:
    1. It's way easy to use
    2. It'll make backups of your stock recovery/bootloader for you, it'll also make restoring these backups easy
    3. The money is for a good cause

    If you're still confused, visit thecubed's thread. He is the man, thank him a billion times. Then thank him again for being a nice guy.

    For the convenience of those interested, here is the more laborious/error prone/manual way to unlock (NOTE: this method does NOT work if you've updated to Jelly Bean, you need to use the app):

    1. If you haven't already, download and install 7-Zip and the LG USB drivers, and make sure you have USB Debugging turned on (see above).
    2. Download the latest version of the bootloader unlock here (latest version has the highest version number).
    3. Ensure that your screen is on and unlocked (I'd go to "Settings->Display->Screen timeout" and set the timeout to never to make sure the screen doesn't go off during this process). Your screen must remain on because SuperSU will ask you to grant superuser privileges to the unlock script and you want to be able to tap "Yes" when the time comes.
    4. Connect your phone to the computer with your USB cable, and run the freegee.bat script in extracted files on your computer. Do NOT run this script as administrator. The install will fail if you do. Follow the prompts. You can ignore "No space left on the device" errors, but "adb.exe not found" or "tar: invalid magic" errors are not negligible and indicate either you skipping a step, a funky download, or something very bad.
    5. Once the script finishes, make sure you have a populated "backups" folder in the folder where freegee.bat lives. The backups folder contains your original stock/locked bootloader, which you might want if you ever want to revert to stock.
    6. If you're sure the script ran successfully, power off the phone. Next, hold down the power and volume up keys simultaneously to enter fastboot mode. You should see a screen that looks like this:
      2RO9w.jpg

    In fastboot mode, there is a menu, but it's hidden. To navigate it, remember that volume up moves the cursor up, volume down moves it down, and power selects the currently highlighted option. The options are, in order:

    1. Start - boot the phone normally [highlighted by default]
    2. Restart Bootloader - reboot into bootloader
    3. Recovery Mode - enter ClockworkMod recovery (more on this later)
    4. Power Off - (duh)

    Here is a video of thecubed showing you how to get to ClockworkMod from the bootloader (like a boss):



    Using Team Win Recovery Project

    Team Win Recovery Project (AKA TWRP) is a recovery, which basically allows you to install new firmwares and apply updates/modifications to already-installed firmwares (and a bunch of other things, like mounting and formatting portions of your phone's memory). It is the default recovery option when you use the Freegee app to unlock your phone (the other is Clockworkmod, which is so similar I won't be writing a separate guide on how to use it). Navigating TWRP is fairly self explanatory. Many great guides on how to use TWRP have been written and can be found via Google. Here is the first search result that came up for me. It's a pretty good guide.

    One thing I will vehemently recommend is that you make a backup every time you install a new firmware. Personally, I backup apps and texts with Titanium Backup and my current firmware via TWRP (the linked guide explains how to make a backup in TWRP). Backups are a good idea and people should always make them. ALWAYS.


    Installing custom firmwares

    Follow the firmware author's instructions EXACTLY. These guys know what they are doing, certainly more than you or I. Check out the development threads for ROMs to try out.

    Note: Be sure that if you are installing ROMs that require the Jelly Bean OTA update that you have taken that update.
    There are two ways to do this: receive the update as intended (Over The Air) or use LGNPST (guide on using that under FAQ 3.a of this post) or autoprime's awesome tool, TeenyBin.

    FAQs
    1. How do I upgrade FreeGee? The easiest thing to do is simply install the new version of FreeGee the way you did the old one. It will work. Make sure you keep your original locked bootloader in a different, safe place though, just in case you ever want to revert to stock (if you try to return your phone, for example).
    2. How do I disable that pesky OTA update notification? This comes courtesy of shawnchalfant and adfurgerson (visit ad's thread for more details): go into Titanium Backup and freeze the following programs: com.lge.lgfota.permission 4.0.4-91f513f88d AND com.lge.omadmclient 3.2.21
    3. How can I re-lock and un-root my phone?
      • How to LGNPST to restore a factory image.
        Obtain the following files: AutoLGNPST-tSilenzio.zip (available on IRC), and the firmware. Unzip AutoLGNPST-tSilenzio.zip and follow the instructions in "READ ME FIRST.txt" (mad props to tSilenzio for automating this process).

      • Here's the laborious/error prone/manual method for LGNPST-ing back to stock.
        You need to obtain the following files: LGNPST-PhantomPhreak53.zip, LGNPST_ACG_2.2.3_Lab.zip, and the firmware. Follow the following steps (please note: I am less experienced with this process and find it much more tedious. Also, IMHO, I don't think the people you're returning the phone to will care if you leave some minor traces of your unlocking shenanigans. I think the process above this is more than sufficient and simpler). Credits go to Jhoopes517 for this process, he showed me how to do it in his thread.
        1. (Install LG USB drivers)
        2. Extract LGNPST_ACG_2.2.3_Lab.zip, run the installer. Open file explorer to C:\Program Files\LG Electronics\LGNPST and replace the current LGNPST_ACG.exe with the one in the extracted folder (if you are on a 64-bit version of windows, go to C:\Program Files (x86)\LG Electronics\LGNPST)
        3. Extract LGNPST-PhantomPhreak53.zip and run LGNPST_GenericModels_Ver_5_0_12_0.exe and then run LGNPST_Components_Ver_5_0_20_0.exe
        4. In file exlorer, navigate to C:\LG Electronics\LGNPST and copy over the "Models" folder from the extracted Phantom zip folder
        5. Run cmd as administrator and execute the following

          Code:
          regsvr32 "C:\LG Electronics\LGNPST\Models\LGNPST_LS970.dll"
        6. Extract LGE970AT-01-V20j-310-410-MAR-08-2013.zip and change the extension of the .tot file to .bin
        7. Connect phone to computer, power off, and then power on, holding down the power button and both volume buttons
        8. Run the newly replaced LGNPST_ACG.exe from step 2. Select the DLL from step 5 and the .bin from step 6.
        9. Press Start
        10. If LGNPST errors out at 85%, turn your phone off and hold the power button until the phone powers on, then release. DO NOT disconnect the cable before LGNPST is done doing its thing. Your phone may reboot. This is OK.
      • (If you are using Shelnutt's app, simply use the button in the app to re-lock and install the stock stuff).
      • Here's the laborious/error prone/manual method for re-locking the phone and installing the stock recovery/bootloader/kernel.
        Remember the backups of the locked bootloader that you kept? You're going to need them. Obviously, you'll need USB Debugging enabled and LG USB drivers installed. Copy them to your phone's "Internal Storage" in a folder, in this example it's called "backups." Connect the phone to your computer via USB, open a command line (cmd) and type the following:

        Code:
        cd C:/some/folder/where/you/have/adb.exe/eg/your/freegee/download
        adb shell
        su
        dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery
        dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/boot
        dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/aboot
        dd if=/sdcard/backups/aboot-att-backup.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot
        dd if=/sdcard/recovery-att-backup of=/dev/block/platform/msm_sdcc.1/by-name/recovery
        dd if=/sdcard/boot-att-backup.img of=/dev/block/platform/msm_sdcc.1/by-name/boot

        dd basically copies from the if= location and writes to the of= location. The first three dd steps write a bunch of zeros to the recovery, boot, and aboot partitons, the last three write the backups to aboot, recovery, and boot. If you want to know more, read all about dd here and/or Google. If you lost your backups, you can try writing mine.

        Now you've restored the stock bootloader and recovery, but your phone is still rooted. To unroot it, open SuperSU, go to its settings, and tap "Full unroot." Do a factory reset (Settings->General->Backup & reset->Factory data reset) and you should be good to return the phone to AT&T (or whatever).

      Be careful with these last two methods if you have removed any bloatware or installed a custom firmware, you may prefer to LGNPST back to stock (LGNPST is almost always a safe way to return to stock).
    4. Haha I wish I had seen this earlier. I had screenshots before and after so I could see exactly what was removed but I had just deleted them. From memory, it doesn't seem like too much was removed. All the AT&T apps are gone but it appears LG's apps are still here.

      Here is a list of apps I had shortly after factory reset on stock for people to compare with theirs. I have struck out the ones I was able to remove without my phone blowing up. Let me know if you safely removed one and I'll strike it out. Also let me know if I missed any or included an app which isn't part of stock. Thanks!

      AAT
      Adobe Flash Player 11.1
      Adobe Reader
      Amazon Kindle

      Android keyboard
      Android live wallpapers
      Android system
      Aspect ratio correction
      AT&T address book
      AT&T code scanner
      AT&T family map
      AT&T hot spots
      AT&T locker
      AT&T messages
      AT&T navigator
      AT&T ready2go
      AT&T smart wi-fi

      Bluetooth share
      Browser
      Bt/wifi test
      Bubbles
      Calculator
      Calendar
      Calendar storage
      Calendar widget
      Camera
      Car home
      Certificate installer
      City ID
      Clock
      com.android.backupconfirm
      com.android.providers.partnerbookmarks
      com.android.providers.settings
      com.android.sharedstoragebackup
      com.lge.lgdrm.permission
      com.lge.lgfota.permission
      com.lge.lockscreen
      com.lge.omadmclient
      Contacts
      Contacts storage
      DeviceHelp
      Download manager
      Downloads
      DRM protected content storage
      DRM service
      Email
      Email widget

      EmailServices
      Face unlock
      Facebook
      Favorite contacts widget
      File manager
      File networking
      FileShare
      Finance
      Gallery
      GestureOverlayService
      Gmail
      Google account manager
      Google backup transport
      Google calendar sync
      Google contacts sync
      Google partner setup
      Google play books
      Google play magazines
      Google play movies & tv
      Google play music

      Google play services
      Google play store
      Google search
      Google services framework
      Google text-to-speech engine
      Google+
      Home
      Home selector
      Home theme - Biz
      Home theme - cozywall
      Home theme - marshmallow
      HTML viewer
      Key chain
      Lg keyboard
      Lg tag+
      Lg voicecommand speechpack
      Lgapduservice
      Lgatcmd service
      Lgsmartcard service
      Lgsystemserver
      Live tv
      Live wallpaper picker
      Local search
      Lock screen settings
      Maps
      Marionette
      Market feedback agent
      Media home
      Media storage
      Messaging
      Multi-photo live wallpaper
      Music
      Music
      Musicfx
      My uploads
      MyAT&T
      Network location
      News
      NFC service
      Nfsservicemanager
      Note pad
      Note pad widget
      On-screen phone
      Package access helper
      Package installer
      Phone
      Phone/messaging storage
      Photo frame
      Playready cert test
      Polaris office 4.0
      Power control widget
      Quickmemo
      Search applications provider
      Settings
      Setup wizard
      Shutdown monitor
      Sim toolkit
      Smartshare
      Social+

      Streaming player
      System ui
      Talk
      Task manager
      Today+ widget
      Tom's diner
      Twitter
      User dictionary
      Usermode
      Vidclip
      Video wiz
      Videos
      Voice command
      Voice search
      Voicemail
      VPN client
      Vpndialogs
      Wap service
      Weather
      Widevine keybox test
      Wiper app
      Wise screen
      World clock widget
      YouTube
      Yp mobile
    5. I can't root. What do I do?
      Double check that you have followed all the steps in this guide (USB drivers, correct settings, etc.) If your software version ends in "c," you need to LGNPST to the version that ends in "o" (see the section on LGNPST in this post).
    6. Why shouldn't I run the Nexus 4 conversion?
      See this post by thecubed. Don't be impatient, a legit, safe ROM is forthcoming here. Messing with partition tables is needlessly risky.
    7. My shiny new firmware has no APNs and I don't get mobile data! What do I do?
      Use the APN settings in this post. They have always worked for me. If they don't try setting the "APN" variable to "pta" instead of "Phone."
    ... (ask me more questions!)

    I hope you found this useful. Obviously this is a work in progress. I am way open to suggestion, please leave a comment below! If you liked this post, hit the thanks button and/or rate this thread so that others know this guide is legit. Thanks!
    2
    FreeGee works on both,you can unlock the bootloader on ICS and JB. Read his change log on Google Play.
    2
    OP updated, now uses the improved rooting method that should work on any stock (just did it successfully on OTA JB).
    2
    Haha I wish I had seen this earlier. I had screenshots before and after so I could see exactly what was removed but I had just deleted them. From memory, it doesn't seem like too much was removed. All the AT&T apps are gone but it appears LG's apps are still here.


    Here is a list of apps i have on stock for people to compare with theirs. Let me know if you safely removed one and I'll start a "known safe to remove" list and add it to FAQ. Also let me know if I missed any or included an app which isn't part of stock. Thanks!

    AAT
    Adobe Flash Player 11.1
    Adobe Reader
    Amazon Kindle

    Android keyboard
    Android live wallpapers
    Android system
    Aspect ratio correction
    AT&T address book
    AT&T code scanner
    AT&T family map
    AT&T hot spots
    AT&T locker
    AT&T messages
    AT&T navigator
    AT&T ready2go
    AT&T smart wi-fi

    Bluetooth share
    Browser
    Bt/wifi test
    Bubbles
    Calculator
    Calendar
    Calendar storage
    Calendar widget
    Camera
    Car home
    Certificate installer
    City ID
    Clock
    com.android.backupconfirm
    com.android.providers.partnerbookmarks
    com.android.providers.settings
    com.android.sharedstoragebackup
    com.lge.lgdrm.permission
    com.lge.lgfota.permission
    com.lge.lockscreen
    com.lge.omadmclient
    Contacts
    Contacts storage
    DeviceHelp
    Download manager
    Downloads
    DRM protected content storage
    DRM service
    Email
    Email widget

    EmailServices
    Face unlock
    Facebook
    Favorite contacts widget
    File manager
    File networking
    FileShare
    Finance
    Gallery
    GestureOverlayService
    Gmail
    Google account manager
    Google backup transport
    Google calendar sync
    Google contacts sync
    Google partner setup
    Google play books
    Google play magazines
    Google play movies & tv
    Google play music

    Google play services
    Google play store
    Google search
    Google services framework
    Google text-to-speech engine
    Google+
    Home
    Home selector
    Home theme - Biz
    Home theme - cozywall
    Home theme - marshmallow
    HTML viewer
    Key chain
    Lg keyboard
    Lg tag+
    Lg voicecommand speechpack
    Lgapduservice
    Lgatcmd service
    Lgsmartcard service
    Lgsystemserver
    Live tv
    Live wallpaper picker
    Local search
    Lock screen settings
    Maps
    Marionette
    Market feedback agent
    Media home
    Media storage
    Messaging
    Multi-photo live wallpaper
    Music
    Music
    Musicfx
    My uploads
    MyAT&T
    Network location
    News
    NFC service
    Nfsservicemanager
    Note pad
    Note pad widget
    On-screen phone
    Package access helper
    Package installer
    Phone
    Phone/messaging storage
    Photo frame
    Playready cert test
    Polaris office 4.0
    Power control widget
    Quickmemo
    Search applications provider
    Settings
    Setup wizard
    Shutdown monitor
    Sim toolkit
    Smartshare
    Social+

    Streaming player
    System ui
    Talk
    Task manager
    Today+ widget
    Tom's diner
    Twitter
    User dictionary
    Usermode
    Vidclip
    Video wiz
    Videos
    Voice command
    Voice search
    Voicemail
    VPN client
    Vpndialogs
    Wap service
    Weather
    Widevine keybox test
    Wiper app
    Wise screen
    World clock widget
    YouTube
    Yp mobile
    1
    this is definitely appreciated. i was looking for a guide when i first rooted and unlocked, just to read along with making sure i was doing it right. more just to double check my process than actually needing it.