[HOWTO] Convert your LGOG to a Nexus 4

Search This thread

antonizoon

Member
Jun 1, 2012
41
30
github.com
Since this is a very dangerous thread and usually advised against, why hasn't this thread been locked and/or deleted yet?

This thread deserves to stay open, since there are still a lot of people who have successfully converted their E970 phones out there (like me), and use this thread as an information sharing point.

At the very least, this conversion is a wonder of the XDA community, achieved at very high costs; and stands as a testament to our abilities.

---------- Post added at 11:44 PM ---------- Previous post was at 11:30 PM ----------

To clear up the fear and misinformation: LGNPST is an extremely powerful tool. But with great power comes great responsibility. It runs at the lowest levels, so there is no safety net to save you if you screw up. If your phone gets bricked, you will need to send it to a JTAG service to reprogram the EPROM for $50.

Also, due to LG's confusing naming schemes, this mod is only compatible with AT&T E970 LG Optimus G models. No other models are supported.

However, if you are extremely careful and perform the procedure correctly, your E970 will be functionally equivalent to a Nexus 4, with the benefits of an SDCard slot and LTE antennas (which was very tantilizing in the past).

After you pass the LGNPST trial by fire, there is no danger. (Just don't use LGOG ROMs anymore)

But I would absolutely not recommend it to any new user, it is far easier and safer to convert the Nexus 4 ROM you want to the LGOG. If you want an SDcard slot, buy a GPE SGS4 or Xperia Z2 Phablet.
 
Last edited:

lbertking

Member
Apr 25, 2013
30
0
Ica
WHY HAVE ABANDONED THIS MOD IS ONLY MINIMUM PROBLEMS ARE EASIER TO FIX ME THIS SEEMS TO PUBLISH INFINITE MOD ROM ALWAYS HAVE ANY INCORRECT:crying::crying::crying::crying::crying:
 

plaster

Senior Member
Nov 11, 2007
522
106
Houston
The only reason I say it should be locked, is so it can sink. Every 6 months or so, it floats to the surface like any other corpse. It was useful at first. Now, any ported Roms will be buggy and their performance level will pale in comparison to native OG ROMs.

Sent from my AT&T LG Optimus G
 

RohanAJoshi

Senior Member
Mar 17, 2011
2,455
1,671
Pune
OnePlus 8 Pro
Yes I got a perfectly working n4 port with lollipop. Maybe no LTE but I don't care about that.

What do you want to know ? I just followed the porting procedure and flashed all zips manually (not factory image). No OTA

but how did you got things working ?
like SD card, led and volume button ?
and how is performance ?
how is camera ?
can we flash any rom or kernel made for n4 after port ?
without any problem ?
as i read, fixed zip only for cm10.1,
and also kernels are way old..
 

Ejvyas

Senior Member
I just followed all instructions in this thread and these 2 threads:
http://forum.xda-developers.com/showthread.php?t=2117576
http://forum.xda-developers.com/showthread.php?t=2160124

I had to apply these once 1 1/2 yrs back.

Once this is done, I am just flashing latest lollipop zip and apply http://forum.xda-developers.com/showthread.php?t=2117576 on top of it. I use Xposed and Gravitybox on top of it.
I am able to flash any N4 roms. Tried AOSP, CM and a couple more.
Performance is very good but can't compare it to LGOG since I never used LGOG. I did this in the first month of my brand new phone!


as i read, fixed zip only for cm10.1,
and also kernels are way old..
--> I did not understand what you said but I can flash any N4 ROMs. I cant use the Google factory images. I can only use the zips that are published in N4 forums and flash it using TWRP. Also, OTA updates will not work (obvious)
 

RohanAJoshi

Senior Member
Mar 17, 2011
2,455
1,671
Pune
OnePlus 8 Pro
I just followed all instructions in this thread and these 2 threads:
http://forum.xda-developers.com/showthread.php?t=2117576
http://forum.xda-developers.com/showthread.php?t=2160124

I had to apply these once 1 1/2 yrs back.

Once this is done, I am just flashing latest lollipop zip and apply http://forum.xda-developers.com/showthread.php?t=2117576 on top of it. I use Xposed and Gravitybox on top of it.
I am able to flash any N4 roms. Tried AOSP, CM and a couple more.
Performance is very good but can't compare it to LGOG since I never used LGOG. I did this in the first month of my brand new phone!


as i read, fixed zip only for cm10.1,
and also kernels are way old..
--> I did not understand what you said but I can flash any N4 ROMs. I cant use the Google factory images. I can only use the zips that are published in N4 forums and flash it using TWRP. Also, OTA updates will not work (obvious)

so, if we apply external sd card fix once, we did not need to do anything about it again ?
does not matter full wipe etc ?
sorry, i am clearing all my thoughts..
.
and what about kernel ?
if we flash kernels made for n4, do we get external sd card support ?
 
Last edited:

Ejvyas

Senior Member
so, if we apply external sd card fix once, we did not need to do anything about it again ?
does not matter full wipe etc ?
sorry, i am clearing all my thoughts..
.
and what about kernel ?
if we flash kernels made for n4, do we get external sd card support ?

I always do wipe cache, wipe data/factory reset, wipe dalvik cache . i know its not what you call full wipe but worked for me.
 

RohanAJoshi

Senior Member
Mar 17, 2011
2,455
1,671
Pune
OnePlus 8 Pro

Moody66

Senior Member
Nov 6, 2013
1,571
452
56
Uhrichsville
I just followed all instructions in this thread and these 2 threads:
http://forum.xda-developers.com/showthread.php?t=2117576
http://forum.xda-developers.com/showthread.php?t=2160124

I had to apply these once 1 1/2 yrs back.

Once this is done, I am just flashing latest lollipop zip and apply http://forum.xda-developers.com/showthread.php?t=2117576 on top of it. I use Xposed and Gravitybox on top of it.
I am able to flash any N4 roms. Tried AOSP, CM and a couple more.
Performance is very good but can't compare it to LGOG since I never used LGOG. I did this in the first month of my brand new phone!


as i read, fixed zip only for cm10.1,
and also kernels are way old..
--> I did not understand what you said but I can flash any N4 ROMs. I cant use the Google factory images. I can only use the zips that are published in N4 forums and flash it using TWRP. Also, OTA updates will not work (obvious)

You arent running lillipop with xposed. Not possible. Dunno why anyone bothers with thus anymore. We have all versions of android.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 118
    What does this do?
    It essentially converts your Optimus G into a full-blown Nexus 4 8gb. It remaps all partitions to the Nexus 4, overwrites all AT&T firmware with Nexus stuff, all the Nexus partitions, etc. Even the bootloader is overwritten by the Nexus 4 bootloader. Bootsplash becomes Google's logo, etc. Essentially it replaces every single thing on your current phone with its Nexus 4 equivalent. With this, you can flash anything from the Nexus 4 forums, including all of their ROMs, kernels, and more with little to no issues. You can even run stock AOSP Nexus 4. Essentially, it converts your entire phone into a Nexus 4. Nothing is needed to install Nexus 4 zips: its just like normal. But after you run the process, everything you do will be from the Nexus 4: things like recovery will have to be their Nexus 4 versions, etc. Besides the external look, your phone will essentially become a Nexus 4.

    So to be clear, it converts your phone into a Nexus 4 and allows you to use every single thing they have.

    -LTE will not work until you flash the AT&T modem (instructions coming soon about this)
    -Volume keys are switched in mako ROMs (so, volume up is really volume down, volume down is really volume up)
    -SDCard isn't mounting properly
    -Only 8gb of the 16gb of internal storage is displayed as being available
    -Capacitive buttons aren't working, on screen buttons only for now (the capacitive buttons dont even light up or activate... its as if they arent even there)
    -Probably more

    WARNING: THIS IS SO UBER-HACKY IT IS INCREDIBLE. This device was never meant to do this, and its essentially one giant hack. The device was never meant to run with Nexus 4 partitions. In addition, flashing anything via LGNPST is always risky, so YMMV. Be cautious, and don't blame anyone but yourself if something goes wrong. You are the one taking the chance in flashing this. This replaces every single one of your partitions with a Nexus 4 partition. It is far more risky than just a normal ROM flash. Be careful and backup whatever you need.

    I CANNOT EMPHASIZE THIS ENOUGH. IF YOU ARE A NOOB AND HAVE NO CLUE WHAT YOU ARE DOING BESIDES NORMAL ROM FLASHING, DONT FLASH THIS. YOU WILL BRICK. THIS IS EXTREMELY DANGEROUS.


    Instructions:
    1) Go here: http://forums.team-nocturnal.com/sh...vert-your-LGOG-to-a-Nexus-4?p=16971#post16971 and find the download link on the page
    2) Extract the .tot file out of the zip file you just downloaded
    3) Rename the .tot file to have a file extension of .bin
    (so now the name should be LGE960AT-00-V10c-NXS-XX-OCT-25-2012-JVP15Q-USER+0.bin)
    4) Install LGNPST if you haven't already, and the necessary drivers
    5) Start LGNPST
    6) Connect your phone by putting it into download mode and connecting via USB cable
    You can do this by holding Power + Volume Up + Volume Down
    7) Wait until your device is recognized by your PC
    8) Where it says DLL File select the lgnpst_ls970.dll one
    9) In the file selector below that, select the .bin file you renamed before
    10) Start the flashing process
    11) Let it complete. It should hit 85% and then come up with an error saying the device was disconnected; thats fine, just close out of LGNPST
    At this point your phone should be booting with the Google Nexus boot animation
    12) Wait for it to boot up. If it doesn't boot in 5 minutes or so, or you just want to start fresh, continue on. If it boots up and you are happy with it, continue to the "Further Notes" section of this guide.
    13) If it isn't booting, get into the Nexus bootloader by holding Volume Up + Power.
    14) Make sure that "FASTBOOT MODE" is in red on the bootloader and connect your phone again
    15) Run the following fastboot command:
    fastboot -w
    This will wipe ALL of your data. Essentially it is a factory reset.
    16) Press the power button to select "START" in the bootloader and cross your fingers
    17) It should boot now all the way through.

    Further Notes:
    - You can now flash anything Nexus and it should work aside from the issues mentioned above
    - Flashing other kernels isn't really recommended; I've had some touch issues with some of them, but there should be no harm in trying
    - To install a custom recovery:
    Download any Nexus 4 recovery you want (I prefer TWRP)
    Reboot into the bootloader using Power + Volume Up
    Run this command:
    fastboot flash recovery <path-to-recovery.img>

    How do I return to stock?
    Download this zip: http://downloads.codefi.re/thecubed...are/LGE970AT-00-V10o-ATT-US-SEP-29-2012-0.zip
    Follow the same procedure as above in flashing the .bin in LGNPST
    It should return your device to 100% factory state

    Future Notes:
    I will continue to work on this method. I will be working on a modified mako tree and fix all the issues that are currently present (hopefully) as mako is fully open source. I have already fixed the volume keys bug (was an easy one, thanks SnowLeopardJB) and I think I also have fixed SDCard mounting. LTE still has to be tested as I am not in an LTE area, but if it isn't working (which it 99.9999% wont be) there's an easy fix for it, from what I hear as well. I'll post workarounds tomorrow when I get some time.

    Donate.png
    Donate to Team Codefire's Members and Devs! They are:
    g33k3r - Donate to Lmarazzi86 [at] gmail [dot] com on paypal!
    Shelnutt2
    kmdm
    synergy
    jcase
    sextape
    xboxfanj

    Donate to Team Nocturnal: http://forum.xda-developers.com/donatetome.php?u=3950620

    Thanks_to.png
    xboxfanj for the original idea
    SnowLeopardJB for testing on AT&T
    sextape for the original tot from the Nexus 4 and LGNPST
    XsMagical from Team Nocturnal for buying me this phone
    Droidiac13 from Team Nocturnal for buying me this phone
    ChongoDroid from Team Nocturnal for buying me this phone
    Shelnutt2 for being a boss
    And all the rest of Team Codefire for their fantastic work on unlocking this device
    33
    This would have been nothing without xboxfanj. Please find him and thank him. I am simply continuing down this path to fix the outstanding bugs this has.
    Also thank g33k3r! He was the first one to try it on AT&T and got it working!
    25
    Hi there everyone.

    Sorry to be the bearer of bad news, but we will *not* be supporting this method with Team Codefire. Project FreeGee will not support this hack either, as this makes changes to your device's GPT partitioning table-- which if the bootloader decides to use the backup GPT (at the true end of the EMMC) it will completely erase your primary GPT and overwrite it with the backup GPT (which includes the ATT Optimus G partition layout).

    This will cause your device to no longer boot, *permanently*, as LGNPST mode is in SBL3, which is referenced to by the N4 firmware's primary GPT (at the beginning of your EMMC).

    There are ways for us to detect that you have done the conversion, and we will *not* be supporting your device in any way/shape/form if you manage to brick it with this method.

    READ THIS WARNING:

    Nexus 4 ROMS ARE NOT MADE FOR THIS DEVICE's PARTITOIN TABLE AND GPU!

    IF YOU TRY TO FLASH A NEXUS 4 ROM (.zip through clockwork/etc) YOU WILL OVERWRITE YOUR "rpm" PARTITION, RENDERING YOUR DEVICE UNBOOTABLE.


    There's a reason we didn't publicize this when we found this during the initial rooting of the Optimus G, as it has a *very* high risk of brickage.

    Also, we cannot link to LGNPST here publicly. I do not want a letter from LG's lawyers in my inbox, as it is a stolen piece of software.



    On a lighter note, let it be known that we all appreciate the hard work and ingenuity of XDA and the public in general-- we'd just prefer if we're all on the same page. I'd rather have one community united rather than multiple microcommunities that are disjoint in their agreements and official stances.

    Please contact us ( IOMonster, or Shellnutt2, or g33k3r ) before releasing software that has a great potential to harm user's devices.

    I wholeheartedly recommend that people not use this, but support this developer in his development process-- let's focus our efforts on something more productive, and less dangerous.

    Thanks,

    TheCubed (aka IOMonster)
    18
    So.. I guess those folks have just been uhh... on vacation for 3 weeks while the last 62 pages happened, right? :silly:

    That's the problem with the world today, everyone is entitled to an opinion even when it's wrong. A 50%-working ROM from an entirely different hardware platform gets more recognition, acclaim and effort than something 95% complete for the same platform. And people wonder why they call them 'hacks'.

    I'm a high school junior who has 6 Advanced Placement Classes in school, and also I've had the SATs this past January. Unfortunately, this isn't going to get me anywhere in life, I do it for fun. I don't get paid, I don't get anything from this besides pursing a hobby of mine. For the past 3 weeks, I had midterms for those 6 AP Classes, along with my other 3 classes, and I had SATs, a test that determines where I go in my life. Excuse me for caring about what my future is going to be instead of bringing you guys a tiny fix for your phone that otherwise would have been perfectly fine running stock, which is what your phone would have been without any of the other awesome developers here on XDA. If you notice my other XDA activity, you will realize that I usually update my things really often, but for the past month I've not released anything for the multitude of devices I work with, for these very same reasons.

    And please, show me the 95% complete AOSP ROM you are talking about for the phone? I personally don't see one yet. It has not gotten any recognition besides a few sites, and no one told them to post it, the sites posted it themselves. Get off your high horse. No one is asking you to install this. In fact, please, I beg you to NOT install this, since you seem to hate it so much.

    Good day, sir.
    18
    This rewrites your partitions so you will lose everything and it could brick you. To go back to stock or a stock based ROM, you will need to LGNPST a stock build.

    While it is amazing to see AOSP, it is very risky and I would recommend waiting until a more reliable method (which the other team, which I am part of, is working on). However, if you cannot resist the urge and flash it, whatever happens is your responsibility. If you brick, don't say I/we didn't warn you.