Here's a link to the XDA Thread about this:
[GUIDE] LG OPTIMUS G Korean version ROOTING - xda-developers
If you go to post #53 there's an English version of the batch file that makes this slightly easier to do, and the instructions in the same post work flawlessly. I can confirm this works on the AT&T version and other people in the thread have confirmed that it works on other versions too. Just search the thread for your carrier/model number to see if anybody has confirmed it, but it seems to work for every variant of Optimus G so far.
[GUIDE] LG OPTIMUS G Korean version ROOTING - xda-developers
If you go to post #53 there's an English version of the batch file that makes this slightly easier to do, and the instructions in the same post work flawlessly. I can confirm this works on the AT&T version and other people in the thread have confirmed that it works on other versions too. Just search the thread for your carrier/model number to see if anybody has confirmed it, but it seems to work for every variant of Optimus G so far.