Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[HOWTO] Convert your LGOG to a Nexus 4

OP rohan32

15th January 2013, 12:58 AM   |  #1  
rohan32's Avatar
OP Retired Forum Moderator / Recognized Developer
Flag New Jersey
Thanks Meter: 5,048
 
1,986 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:

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.

Quote:

-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.


Quote:

Instructions:
1) Go here: http://forums.team-nocturnal.com/sho...6971#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/...-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.

Quote:

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/dona....php?u=3950620

Quote:

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

Last edited by rohan32; 30th November 2013 at 04:12 PM.
The Following 119 Users Say Thank You to rohan32 For This Useful Post: [ View ]
15th January 2013, 12:59 AM   |  #2  
rohan32's Avatar
OP Retired Forum Moderator / Recognized Developer
Flag New Jersey
Thanks Meter: 5,048
 
1,986 posts
Join Date:Joined: Nov 2011
Donate to Me
More
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!
Last edited by rohan32; 15th January 2013 at 05:26 AM.
The Following 33 Users Say Thank You to rohan32 For This Useful Post: [ View ]
15th January 2013, 12:59 AM   |  #3  
XsMagical's Avatar
Senior Member
Flag Ft. Myers
Thanks Meter: 6,440
 
5,627 posts
Join Date:Joined: Apr 2011
Donate to Me
More
This is what developing is all about!!
The Following 12 Users Say Thank You to XsMagical For This Useful Post: [ View ]
15th January 2013, 01:00 AM   |  #4  
ChongoDroid's Avatar
Senior Member
Flag Vancouver
Thanks Meter: 2,444
 
5,059 posts
Join Date:Joined: Jul 2010
More
CCCCCCombo BREAKER...


you just killed the game rohan
The Following 5 Users Say Thank You to ChongoDroid For This Useful Post: [ View ]
15th January 2013, 01:02 AM   |  #5  
CKrzacz's Avatar
Member
Flag Jacksonville
Thanks Meter: 1
 
36 posts
Join Date:Joined: Dec 2012
Donate to Me
More
Can not wait to get to work tomorrow and try this and help workout some of the glitches... an early thumbs up and good job with this! Definitely glad to see this kind of development going for the phone! Team Nocturnal you guys are awesome!
Last edited by CKrzacz; 15th January 2013 at 01:07 AM.
15th January 2013, 01:03 AM   |  #6  
Senior Member
Thanks Meter: 19
 
113 posts
Join Date:Joined: Nov 2010
OMG OMG OMG!!!!! flashing now!!!!
15th January 2013, 01:05 AM   |  #7  
droidiac13's Avatar
Senior Member
Flag Twin Cities, MN
Thanks Meter: 1,159
 
2,718 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Great work everyone!

Sent from my LG-E970 using Tapatalk 2
The Following 3 Users Say Thank You to droidiac13 For This Useful Post: [ View ]
15th January 2013, 01:06 AM   |  #8  
BoostedSR20's Avatar
Senior Member
Flag Hagerstown, Maryland
Thanks Meter: 174
 
1,589 posts
Join Date:Joined: Jul 2007
More
Mmmm gonna keep an eye on this one.

Way to make use of the phone man, this is just wacky stuff.
Last edited by BoostedSR20; 15th January 2013 at 01:09 AM.
15th January 2013, 01:09 AM   |  #9  
ChongoDroid's Avatar
Senior Member
Flag Vancouver
Thanks Meter: 2,444
 
5,059 posts
Join Date:Joined: Jul 2010
More
Who said ports can't be fully functional..
The Following 3 Users Say Thank You to ChongoDroid For This Useful Post: [ View ]
15th January 2013, 01:09 AM   |  #10  
rohan32's Avatar
OP Retired Forum Moderator / Recognized Developer
Flag New Jersey
Thanks Meter: 5,048
 
1,986 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by BoostedSR20

Mmmm gonna keep an eye on this one.

Way to make use of the phone man, this is just wacky stuff.

Thanks for selling it!

The Following 5 Users Say Thank You to rohan32 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes