5,595,000 Members 38,994 Now Online
XDA Developers Android and Mobile Development Forum

[HOWTO] Convert your LGOG to a Nexus 4

Tip us?
 
rohan32
Old
(Last edited by rohan32; 30th November 2013 at 03:12 PM.)
#1  
rohan32's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 5021
Posts: 1,986
Join Date: Nov 2011
Location: New Jersey

 
DONATE TO ME
Default [HOWTO] Convert your LGOG to a Nexus 4

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
#teamkang

Follow me on Twitter
@rohanXm
for the my latest development updates

Devices:
LG Nexus 4 (DD)
Asus Nexus 7 (DD)
HTC One XL
LG Optimus G
HTC G2
The Following 116 Users Say Thank You to rohan32 For This Useful Post: [ Click to Expand ]
 
rohan32
Old
(Last edited by rohan32; 15th January 2013 at 04:26 AM.)
#2  
rohan32's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 5021
Posts: 1,986
Join Date: Nov 2011
Location: New Jersey

 
DONATE TO ME
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!
#teamkang

Follow me on Twitter
@rohanXm
for the my latest development updates

Devices:
LG Nexus 4 (DD)
Asus Nexus 7 (DD)
HTC One XL
LG Optimus G
HTC G2
The Following 33 Users Say Thank You to rohan32 For This Useful Post: [ Click to Expand ]
 
XsMagical
Old
#3  
XsMagical's Avatar
Senior Member
Thanks Meter 6306
Posts: 5,564
Join Date: Apr 2011
Location: Ft. Myers

 
DONATE TO ME
This is what developing is all about!!
The Following 12 Users Say Thank You to XsMagical For This Useful Post: [ Click to Expand ]
 
ChongoDroid
Old
#4  
ChongoDroid's Avatar
Senior Member
Thanks Meter 2273
Posts: 4,887
Join Date: Jul 2010
Location: Vancouver
CCCCCCombo BREAKER...


you just killed the game rohan

XDA's D4RK KN1GHT

I'm Not Wearing Hockey Pads

SlothRoms
Android Techy
"Chongo for forum President- Because he's the hero xda deserves, but not the one it needs right now." - _MetalHead_
The Following 5 Users Say Thank You to ChongoDroid For This Useful Post: [ Click to Expand ]
 
CKrzacz
Old
(Last edited by CKrzacz; 15th January 2013 at 12:07 AM.)
#5  
CKrzacz's Avatar
Member
Thanks Meter 1
Posts: 31
Join Date: Dec 2012
Location: Jacksonville

 
DONATE TO ME
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!
Current
LG Optimus G - Stock
Dell XPS 10
Pantech Element


Past
Dell Streak 5 - PowerROM V3
Notion Ink Adam - BeastRom 2.2.1
 
cclark1894
Old
#6  
Senior Member
Thanks Meter 18
Posts: 109
Join Date: Nov 2010
OMG OMG OMG!!!!! flashing now!!!!
 
droidiac13
Old
#7  
droidiac13's Avatar
Senior Member
Thanks Meter 1145
Posts: 2,785
Join Date: Jul 2010
Location: Twin Cities, MN

 
DONATE TO ME
Great work everyone!

Sent from my LG-E970 using Tapatalk 2

If I've helped at all, PLEASE hit that thanks button.
The Following 3 Users Say Thank You to droidiac13 For This Useful Post: [ Click to Expand ]
 
BoostedSR20
Old
(Last edited by BoostedSR20; 15th January 2013 at 12:09 AM.)
#8  
BoostedSR20's Avatar
Senior Member
Thanks Meter 169
Posts: 1,569
Join Date: Jul 2007
Location: Hagerstown, Maryland
Mmmm gonna keep an eye on this one.

Way to make use of the phone man, this is just wacky stuff.
Samsung Galaxy S IV GT-I9500
Dell XPS 12
-----
My smartphone history
My cars, bikes, phones, and high powered lasers
 
ChongoDroid
Old
#9  
ChongoDroid's Avatar
Senior Member
Thanks Meter 2273
Posts: 4,887
Join Date: Jul 2010
Location: Vancouver
Who said ports can't be fully functional..

XDA's D4RK KN1GHT

I'm Not Wearing Hockey Pads

SlothRoms
Android Techy
"Chongo for forum President- Because he's the hero xda deserves, but not the one it needs right now." - _MetalHead_
The Following 3 Users Say Thank You to ChongoDroid For This Useful Post: [ Click to Expand ]
 
rohan32
Old
#10  
rohan32's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 5021
Posts: 1,986
Join Date: Nov 2011
Location: New Jersey

 
DONATE TO ME
Quote:
Originally Posted by BoostedSR20 View Post
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!
#teamkang

Follow me on Twitter
@rohanXm
for the my latest development updates

Devices:
LG Nexus 4 (DD)
Asus Nexus 7 (DD)
HTC One XL
LG Optimus G
HTC G2

The Following 5 Users Say Thank You to rohan32 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes