LG Optimus g Stock Rom 4.4.2 Booting Status WIP

Do you guys like the LG 4.4.2 Stock UI and do you want it on your N4?


  • Total voters
    28
Status
Not open for further replies.
Search This thread

wulsic

Senior Member
Aug 21, 2013
1,880
2,316
24
Nijmegen
OnePlus 8 Pro
NOTE

This is an port of the optimus g stock ROM, it doesnt fully work yet and doesnt had all the apps because of the 828mb system partition and the optimus g had 2gigabyte. It isnt for daily use yet because of the random reboots and no GSM and maybe soms fcs

If you go back to some other rom again dont forget to flash the good modem again or it will end in a bootloop or not cellular/wifi
Also if you backed up a rom with your data in twrp or CWM same story i also needed to flash the good modem to get out of bootloop.

DISCLAIMER
Code:
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, or dead SD cards,
 * nuclear war, pinguin invasions or that you are getting fired because the alarm app failed.
 * before flashing it! YOU are choosing to make these modifications, and if
 * If you point your finger at me for messing up your device, I will laugh at you. Hard
 */

Since this is the same case as miui you need to change modem.So steps are below.
Download the files from the link below.
  • Download the zip files
  • WIPE DATA/FACTORY RESET
  • Format/System
  • flash the rom zip from recovery
  • flash the 4.4 gapps zip from recovery or your own. You can use mine or from Banks.
  • Flash the Modem from recovery
  • Reboot
Downloads:
Rom
https://drive.google.com/file/d/0B1u3mnq0nstfXzBIejI3TURDYUU
Modem
https://drive.google.com/file/d/0B1u3mnq0nstfOVdmWEl2bHQ1SlU/

Back Camera doesnt work
GSM Network/cellular doesnt work
NFC
Random reboots sometimes
Tell me more

Screenshots will be coming later since i need to do homework for tomorrow. but you must imagine LG UI with a gel launcher
This rom is really for daily use yet. It sometimes random reboots after a LONG time dun know why yet and GSM/cellular doesnt work.


Credits:

LG for their rom
Google for android
eugenioxx for reminding me for a fix for wifi
22sl22 for Shrinking the System
blttalas for Shrinking the System
Cyanogenmod for their kernel
All the great users which are supporting this project and keeping me going to finish it.
 
Last edited:

wulsic

Senior Member
Aug 21, 2013
1,880
2,316
24
Nijmegen
OnePlus 8 Pro
Yes i will look what i can do to get the basic of the system booting so withoit the lg bloatware cause our system partition was only 512mb and their is about 1.5gb i think. But maybe there is also an way to get all the apps but then out of the system folder somewhere.

Verstuurd vanaf mijn Nexus 4 met Tapatalk
 

22sl22

Senior Member
May 21, 2012
3,530
3,277
London
Yes i will look what i can do to get the basic of the system booting so withoit the lg bloatware cause our system partition was only 512mb and their is about 1.5gb i think. But maybe there is also an way to get all the apps but then out of the system folder somewhere.

Verstuurd vanaf mijn Nexus 4 met Tapatalk

I'll see if I can extract the img files. I'll post here if successful :good:

Sent from my Note 2014 using Tapatalk
 

wulsic

Senior Member
Aug 21, 2013
1,880
2,316
24
Nijmegen
OnePlus 8 Pro
Yeah i also extracted it but i didnt had permission for all files to extract. I will download and look into it.
I am now deodexing everything.
Verstuurd vanaf mijn Nexus 4 met Tapatalk
 

prog19

Senior Member
Apr 29, 2012
573
186
I will love to test it. My GF have the optimus g still in warranty (so she doesnt let me unlock the bootloader) and i would use rom show her how the phone will feel one month from now when the update arrives in brazil.

Sent from my Nexus 4 using XDA Premium HD app
 
Last edited:

wulsic

Senior Member
Aug 21, 2013
1,880
2,316
24
Nijmegen
OnePlus 8 Pro
I know why she wants it if you have warranty with an phone glass on the back and on the front its pretty risky but i will look into all these things tomorrow after i am done with school or later today.

Verstuurd vanaf mijn Nexus 4 met Tapatalk
 
  • Like
Reactions: hp420 and prog19

22sl22

Senior Member
May 21, 2012
3,530
3,277
London
I used his FlymeOS port for Nexus S to make a Nexus S 4G port...worked great!! Give it a shot and keep us updated. If it boots without bricking I'll test for you!

Right now iv'e done most of it, followed to the letter including using libs and things from source.

I'm stuck on recompiling the boot img, the option isn't showing in the kitchen for the some reason :confused: :confused:

EDIT: I did it, compiled boot img successfully

Gonna de odex and root now :good:
 
Last edited:

prog19

Senior Member
Apr 29, 2012
573
186
Right now iv'e done most of it, followed to the letter including using libs and things from source.

I'm stuck on recompiling the boot img, the option isn't showing in the kitchen for the some reason :confused: :confused:

EDIT: I did it, compiled boot img successfully

Gonna de odex and root now :good:

We will be able to use this as a second rom in multirom ?(assuming that the first rom has the kexec-hardboot patch, like franco or hells)
 

wulsic

Senior Member
Aug 21, 2013
1,880
2,316
24
Nijmegen
OnePlus 8 Pro
22sl22 i wish you goodluck with your project we will see who will be the first who gets it good running. I examined the kernel and most paths are just the same so it should be not really an problem. I was busy with removing unneccesary crapware to see if its booting but i will continue later todat so around 2 or 3 o clock i think cause i have tomorrow an test and i am tired from learning. 22sl22 you maybe cant deodex something from weatherbut then just remove it deodex or odex doesnt really matter now first the priority is to see does it boot and work but you also need to have an good updater-script so take one from an rom and see or it has something like assert get prop and remove it. Not neccesary but i always do it cause i know i have that device.

22sl22 think about the size of the system folder. Cause our system partition is 828 mb i believed. So yeah you cant get all apps or you need something like app2ad or symlink to somewhere on the device.

Verstuurd vanaf mijn Nexus 4 met Tapatalk
 
  • Like
Reactions: TheNerd:]

22sl22

Senior Member
May 21, 2012
3,530
3,277
London
22sl22 i wish you goodluck with your project we will see who will be the first who gets it good running. I examined the kernel and most paths are just the same so it should be not really an problem. I was busy with removing unneccesary crapware to see if its booting but i will continue later todat so around 2 or 3 o clock i think cause i have tomorrow an test and i am tired from learning. 22sl22 you maybe cant deodex something from weatherbut then just remove it deodex or odex doesnt really matter now first the priority is to see does it boot and work but you also need to have an good updater-script so take one from an rom and see or it has something like assert get prop and remove it. Not neccesary but i always do it cause i know i have that device.

22sl22 think about the size of the system folder. Cause our system partition is 828 mb i believed. So yeah you cant get all apps or you need something like app2ad or symlink to somewhere on the device.

Verstuurd vanaf mijn Nexus 4 met Tapatalk

Iv'e never made a rom before so you will probably get up and running first. I have trimmed down the system a bit but I will look to cut it down some more.

Mine says 'some symlinks failed' So I will work on it tomorrow, good luck with your test :good:
 

Attachments

  • 20140522_233805.jpg
    20140522_233805.jpg
    240.6 KB · Views: 336
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    My idea was good I have installed this app from playstore:
    https://play.google.com/store/apps/details?id=com.woodslink.android.wiredheadphoneroutingfix&hl=it
    I have full working audio speaker (when headphone isn't plugged in ) and headphone (whene it's real plugged in)
    I'll see later for sound (now we have a woalkaround so it has not the priority to fix)
    I'll look at ril (main important thing that must be fix before)

    Here is a short video of the phone with the rom (audio test and internet/wifi testing):

    https://www.youtube.com/watch?v=qB36rk88Zt4&feature=youtu.be

    EDIT: for lg lover people I have made lg3 laucher work smooth

    Here some screenshoots
    10
    @wulsic I got it down to 813mb!! System Partition size is 827 mb for nexus 4, now I just need fix those damn symlinks :( :(

    Edit: Going to try to flash now again i founded out that my updater script coding was outdated.
    Edit2: Its coming to the LG Logo lets see how far it goes. Maybe i still need to change something in the Boot.img
    EDIT3: Good news Got it booting with some basic apps and Fc keyboard -.- but it got booted so **** yeah! @22sl22 do you got it booted already? if not i will send you my updater-script and binary if you need it.
    Now i am going to get the wifi working and those kind of things.
    I will ask to move this thread to android development.

    Wifi Signal Etc not working probably not an good path to the modem from the nexus 4. i will post later screenshots if you dont believe me. I am not sharing it yet cause wifi and those crap doesnt work yet and we need to get an way to get all applications or basic on the partition.
    Long boot then the Oldbasic android letters so i think its in some emergency mode but i will find out whats the problem!
    9
    NOTE

    This is an port of the optimus g stock ROM, it doesnt fully work yet and doesnt had all the apps because of the 828mb system partition and the optimus g had 2gigabyte. It isnt for daily use yet because of the random reboots and no GSM and maybe soms fcs

    If you go back to some other rom again dont forget to flash the good modem again or it will end in a bootloop or not cellular/wifi
    Also if you backed up a rom with your data in twrp or CWM same story i also needed to flash the good modem to get out of bootloop.

    DISCLAIMER
    Code:
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, or dead SD cards,
     * nuclear war, pinguin invasions or that you are getting fired because the alarm app failed.
     * before flashing it! YOU are choosing to make these modifications, and if
     * If you point your finger at me for messing up your device, I will laugh at you. Hard
     */

    Since this is the same case as miui you need to change modem.So steps are below.
    Download the files from the link below.
    • Download the zip files
    • WIPE DATA/FACTORY RESET
    • Format/System
    • flash the rom zip from recovery
    • flash the 4.4 gapps zip from recovery or your own. You can use mine or from Banks.
    • Flash the Modem from recovery
    • Reboot
    Downloads:
    Rom
    https://drive.google.com/file/d/0B1u3mnq0nstfXzBIejI3TURDYUU
    Modem
    https://drive.google.com/file/d/0B1u3mnq0nstfOVdmWEl2bHQ1SlU/

    Back Camera doesnt work
    GSM Network/cellular doesnt work
    NFC
    Random reboots sometimes
    Tell me more

    Screenshots will be coming later since i need to do homework for tomorrow. but you must imagine LG UI with a gel launcher
    This rom is really for daily use yet. It sometimes random reboots after a LONG time dun know why yet and GSM/cellular doesnt work.


    Credits:

    LG for their rom
    Google for android
    eugenioxx for reminding me for a fix for wifi
    22sl22 for Shrinking the System
    blttalas for Shrinking the System
    Cyanogenmod for their kernel
    All the great users which are supporting this project and keeping me going to finish it.
    8
    @Marsou77 well i am trying it now but i need help or other rom devs need to get attention to this thread too. Maybe we need to wait till at&t optimus g gets kitkat since they are more the same with hardware. Till now i got it booting apps are working some and some partly but i need to have an idea to get everything working since the system partition is only 828 mb and the dump is 1,3 or 1,6 gb.
    I am also busy with school and some cm10 project for the galaxy fame but i will try to get things working. Thanks for following the thread too.

    Rom devs feel free to help or to create your own but please share it with the community.
    Problems now are
    Not working wifi
    Everything related to radio are not working. Audio isnt working bluetooth and nfc i didnt tested. Screenshot works touch works and front camera works. If i go to back camera then the camera app fc.
    I also made this thread to get some attention on that a device of almost everything the same hardware can get this ported since the lg project from 4.1.2 was another thing since its now 4.4.2
    Btw for the ones who want it and also continue with it so we have 2 people who can make some progress me and somebody else that you guys dont need to depend on me only i will upload my meta-inf and boot.img
    Verstuurd vanaf mijn Nexus 4 met Tapatalk

    I also wanted to say that i could take the time tomorrow after school I will reflash my build and logcat to see where the problems are to attempt to solve them.
    7
    support for the rom come back :(
    Well i dont own the phone anymore and it would be easier if some dev woul take it over and i suspected that somebody would do it but yeah they wouldnt...
    But today i also talked to a betatester of a cm11 port for the galaxy fame with what i am busy with and he also talked to me about that he had the n4 so i will see tomorrow about the rom porting. I will try to fix things like modem also but i guess i need to use a cyanogenmod 4.4.2 kernel then. I will do my best guys[emoji1]

    EDIT: I have downloaded the roms now again the official kitkat rom/My optimus G port rom and the Cm11 4.4.2 rom as lib provider and for other files also. I will start tomorrow again on this project and I will see to base the kernel now maybe on cm11 or what cause the phone gets abit hot with my bit edited Optimus G kernel. Its safe to flash you know but you probably need multirom then also.