yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] buru898:
Or he's just waiting to make a stable/better O2X build, then just port it over like that. Just like some people have stated before that it's stupid for him to be troubleshooting the same problems twice and have even more people complaining about something not working.
[T-Mobile LG G2x] apolkosnik:
<*****slap/>
[T-Mobile LG G2x] jeep447:
I popped a pants wheelie while I was reading all of this! Just thought I'd share that with everyone. LOL :D

Sent from my Motorola StarTAC
[T-Mobile LG G2x] DupleX01:
There is a new ICS test leak for the European(P990) version.

http://xdaforums.com/showthread.php?t=1955212
[T-Mobile LG G2x] BigDig:
Damn it! The guys with P990 are having so much fun :( Stock.....CM10....
[T-Mobile LG G2x] draky:
Wow, I can't wait!
[T-Mobile LG G2x] joeyxl:
goddammit! wheres the love for us?....

anyways its good to see LG making official ROM's for these phones. with both the su660 and the P990 being released, i don't see why not we can pick bits and pieces and make a fully working ROM. our only issue is Baseband, which means we have to make sure it can talk to either V21y or below. Bluetooth will probaliy have same issues.

that, or were next in line for a official ROM!
[T-Mobile LG G2x] khanh1289:
I recently got a replacement phone from asurion and it came with march 2012 baseband. I don't know if the HWA is fixed or tonyp did something but my browser and FB app works just fine rotating without having to disable to HWA. Video recording still doesn't work though.
[T-Mobile LG G2x] Mazout360:
If anybody have some time, a logcat would be required to know what's happening when the phone boots with the hackfest and the zImage posted earlier...I'm still working on it but a CM10 port to P999 would be easier to work with, which I don't have time to do right now.

I managed yesterday to boot with a tweaked kernel that I've compiled but it kept hot-rebooting and almost nothing (except bluetooth..lol) was working correctly. It looked quite good though.
[T-Mobile LG G2x] apolkosnik:
Uploading to devhost my first try at the CM10 rom with the kernel I've posted in the OP. I wonder if it'll even boot.
[T-Mobile LG G2x] cricketAC:
RC closed it. Lol. The CM10 Thread. Sigh. This means delay or perhaps no light for P999 CM10.
[T-Mobile LG G2x] Mazout360:
If nothing happens, then well do the kernel ourselves...no way a phone with such potential should stay with gingerbread
[T-Mobile LG G2x] lotherius:
Either that or he got tired of all the drama.
[T-Mobile LG G2x] DupleX01:
The second one. He updated the OP stating he got sick of all the whining and the unconstructive repeating cr*ap blocking constructive feedback. Honestly, no wonder!
[T-Mobile LG G2x] johnwazhere:
Lost hope:(
[T-Mobile LG G2x] Core Memory:
LG is working on a P990 release of ICS. Apparently, the leak works well so there's still hope for JB developed by others.
[T-Mobile LG G2x] peshal:
Thanks for the effort. I will flash the rom and report. If we can even get the adb logcat going, we can get the rom to boot. I tried all night yesterday. Strangely the touchscreen drivers were working which suggest the kernel might actually be working. We can also try to port the p990 ics leak compiling a kernel from the official su660 sources. There is huge potential in that as well. However i was just wondering how to get the gingerbread bootloader in the new kernel. We dont want locked bootloaders. Any ideas are appreciated.

Update: The Rom doesnt boot. Actually is gets stuck at the first LG logo. No touch response as well.
[T-Mobile LG G2x] langdawg:
Not surprised in the slightest. So many people in that thread asking the same answered questions over and over. Was really painful to follow.
[T-Mobile LG G2x] LostInNorth805:
I flashed it and it doesn't boot. Could not get a logcat, wasn't near my computer.
[T-Mobile LG G2x] apolkosnik:
Thanks for testing, just kicked off another kernel build. This time from a different defconfig.
[T-Mobile LG G2x] xp99:
Both the p990 and p999 support 2g frequencies, so they're a quad band phone. But when it comes to 3g frequencies, the p999 is an aws device. See definition here:

https://en.wikipedia.org/wiki/Advanced_Wireless_Services

Which is why it only works in the US on t-mobile, in terms of 3g frequencies.

In the US, there are 2 models:

The p990, or optimus 2x:

http://www.gsmarena.com/lg_optimus_2x-3598.php

And the g2x, which is the p999:

http://www.gsmarena.com/t_mobile_g2x-3888.php

The p990 already has ics.
[T-Mobile LG G2x] giveen:
Thank you.

Yeah, I saw that the P990 had ICS, and that is basically how the G2X got their ports.

Currently I was able to compile my build, but I need to chose a different kernel as I was trying to use a 3.x kernel but I'll go ahead and use this 2.6.39 kernel.

I am also merging away from using the star-common system as I have no intention of making a p990 rom, so I am merging the common stuff into the p999.
[T-Mobile LG G2x] apolkosnik:
Good luck with this exercise, there is not much point in splitting P999 from P990. For most part the difference would be with the configuration files and binary blobs, and in the kernel you got shedload of conditionals. If you really want, you can also look for how it's done on g-slate (P909 or something like that, one of those has also mdm6600)
[T-Mobile LG G2x] giveen:
I did notice that in my build certain files did not copy over correctly. Also I am re-writing some files and putting it in a tree hierarchy that makes sense to my brain. I need to rewrite the init files and the fstab files using Android 4.2.2 style.
[T-Mobile LG G2x] apolkosnik:
Sounds good, just wanted to try to save you some time fighting windmills. ;)
[T-Mobile LG G2x] giveen:
yup: Its also partially for me to understand how things relate to each other.
[T-Mobile LG G2x] :
We all definitely appreciate you taking a sober second look at this. Many of us G2x people have moved on to bigger and better devices, but this is still a powerful little phone that obviously works fine with Jellybean. If we can only get the phone functionality working it would be a usable device that we could have as a backup or to give to a family member. When they got 7.2 on the phone, my brother was elated that I could upgrade us to Gingerbread and get some functionality out of the phone. If we can extend it out a bit longer with some Jellybean that'd be amazing!
[T-Mobile LG G2x] giveen:
Slow progress on my end, the LGE java file is giving me compile issues even after I found out you were suppose to move it manually to the correct frameworks build directory.
[T-Mobile LG G2x] xp99:
Here is my local_manifest.xml that I can build from. But it doesn't boot up. But at least you can finish compiling.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_lge_p990" path="device/lge/p990" remote="github" revision="jellybean" />
<project name="apolkosnik/android_device_lge_star-common" path="device/lge/star-common" remote="github" revision="jellybean" />
<project name="apolkosnik/lge-kernel-star" path="kernel/lge/star" remote="github" revision="jellybean" />
<project name="Mazout360/device_p999" path="device/lge/p999" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="jellybean" />
</manifest>
[T-Mobile LG G2x] lotherius:
Now that I have a Nexus 4 I might actually be able to try this. The g2x certainly isn't worth much on eBay.
[T-Mobile LG G2x] giveen:
I've been getting a lot of Java errors with compiling my build and been busy getting my Linux+ cert.
[T-Mobile LG G2x] HeXaLox:
Thanks for helping out with the dead community...there is still hope for the g2x :) so many people ditched the phone but it can still be usable lol I for one have got your back :)
[T-Mobile LG G2x] giveen:
My java error should be taken care of after talking with AOKP main developers. Needed to cherrypick a commit from 4.3.

If I get a compile going, I also intend to build a TWRP build as well.
[T-Mobile LG G2x] Freakthis08:
If you need a tester I have my G2x sitting on my desk as an extra device or a mini tablet for my son. Just PM me!

Glad to see things processing! Keep us updated! :)
[T-Mobile LG G2x] giveen:
Will do. Compile is complete. Need to check to see if ota package completed and upload.
[T-Mobile LG G2x] Yuvin:
I'm still here and my poor G2X is sitting next to my HTC Hero gathering dust. I would love to beta-test for you - if you need me to.
[T-Mobile LG G2x] giveen:
Hm, a bit stuck in making ota

ERROR: couldn't find <type 'property'> in build.prop
[T-Mobile LG G2x] bountyman334:
dont give up on hope... ill beta test it....just pm me the link
[T-Mobile LG G2x] xp99:
this may have an answer for ya:

http://xdaforums.com/showthread.php?t=2341457
[T-Mobile LG G2x] sunster:
Another tester here if required.
[T-Mobile LG G2x] giveen:
Didn't work. Sent a PM off to the OP to ask him what his script looks like.
[T-Mobile LG G2x] mike666:
Thank you for working on this. I would like to test your ROM when radio will be working. PM if you need more testers. Thumbs down for greedy LG.
[T-Mobile LG G2x] tvisforme:
I could help test as well, if needed.
[T-Mobile LG G2x] giveen:
Odd, booted my build, got stuck at a weird LG boot logo that is on both sides
[T-Mobile LG G2x] apolkosnik:
Almost there... I bet this is due to the original GB binary blobs from P999, I usually swap them with the ICS blobs from P990, and throw in the RIL related blobs from P999.
[T-Mobile LG G2x] giveen:
That might be it, I grabbed the lge vendor pack from your git, I'll switch out with the P990 stuff. As soon as I finish my daily lessons for my Linux+ cert *gag*
[T-Mobile LG G2x] giveen:
And I have boot, now time to get down to the real work

http://pastebin.com/CcJHhq3N
[T-Mobile LG G2x] plarmann:
I just want to say thank you for sticking around and helping us :)
[T-Mobile LG G2x] giveen:
apolkosnik,

Was your git completely up to date? Are you missing anything before I continue anymore work? I've already notice a couple things and I want to rule them out.
[T-Mobile LG G2x] giveen:
NM found it.
[T-Mobile LG G2x] giveen:
I've been working on TWRP, because its easier to use rather than clicking a bunch of little buttons. At least for my fat hands.

It looks like I"m going to have to resize the recovery partition. A bit annoying but not difficult as I've done it many times before with the Dell Streak 7.
[T-Mobile LG G2x] giveen:
So basically here is my daily build.

http://goo.im/devs/giveen/p999/cm_p999-ota-eng.giveen.zip

I'm investigating RIL right now. I know that the LGE implementation is utter crap and I hate the direction I may have to look to. I corrected the appropriate RIL's based of ICS files, and corrected the arguments in build.prop but no service as of yet.

I had done an Eagle'sblood 3.0.x kernel build as well, but it failed to boot, not sure why, so I reverted back and made this build.
[T-Mobile LG G2x] apolkosnik:
Libbridge.so is missing...
[T-Mobile LG G2x] giveen:
Yup, put it in, now I am getting an error about

E/RILSWITCH( 97): dlopen failed: Cannot load library: soinfo_relocate(linker.cpp:1013): cannot locate symbol "RIL_RequestDataCleanup" referenced by "lge-ril.so"...

I tried to force rild to start with the needed arguments and it spit back this as well.

---------- Post added at 03:29 PM ---------- Previous post was at 03:18 PM ----------

This is the latest build

http://goo.im/devs/giveen/p999/cm_p999-ota-eng.giveen_build2.zip
[T-Mobile LG G2x] giveen:
FYI,

I submitted and got accepted to start working with CM on their auto-installer for our G2x

https://plus.google.com/110558071969009568835/posts/Q3ewmAc8b8Q
[T-Mobile LG G2x] buru898:
People are still working on getting 4.0 working ;p?
[T-Mobile LG G2x] giveen:
Besides the huge bug, it actually works pretty smooth.

---------- Post added at 05:04 AM ---------- Previous post was at 04:43 AM ----------

LOL they told me later that they don't have a working image for us, what utter crap, lol. Why even accept me then?
[T-Mobile LG G2x] giveen:
I apologize about the lack of update guys, I've been really busy with a new job that is fulltime right now but will convert to part time in a few weeks.
[T-Mobile LG G2x] Freakthis08:
Don't worry about it. You are still here and that is what matters. Thanks for your work and update.

Sent from my SGH-M919
[T-Mobile LG G2x] jpyumul:
+1...

Keeping an eye at all times on this thread.
[T-Mobile LG G2x] :
I may sounds like a total jerk right now, but any plans on integrating 4.4 into this once it's launched? Has some neat optimizations, apparently ones that will help with performance on lower end devices.

http://androidandme.com/2013/10/news/huge-leak-details-changes-coming-to-android-4-4-kitkat/
[T-Mobile LG G2x] bluenote73:
You're right about how you sound.
[T-Mobile LG G2x] lotherius:
Maybe not a jerk, but perhaps someone who needs to accept reality. The G2X and its developer community are KAPUT... DEAD.... YA MURIO.

Buy a new phone or be happy with what you have.
[T-Mobile LG G2x] :
I'm quite happy with my Nexus 4. I don't think I'll need to buy a new phone any time soon.

I wouldn't call the community here dead quite yet. The developer generously taking another shot at this phone is evidence of that.
[T-Mobile LG G2x] lotherius:
Another shot? The last update on this was in February. New developers come along and think they can lick the problem, and find out the same thing everyone else has - the G2X simply can't go any farther.

The Nexus 4 has nothing to do with this. I've a Nexus 4 myself now as well. The G2X is a paperweight. And a slow/sluggish one at that.
[T-Mobile LG G2x] NissanskylineN1:
Its not even that slow.... someone took a piss in your cereal this morning? If you choose your running apps carefully, it will be smooth and nice.
[T-Mobile LG G2x] giveen:
You are probably right, I throw what little time I have at it, and I can't get it to read the SIM.
[T-Mobile LG G2x] xp99:
were you able to initialize the radio and read the battery percentage?
[T-Mobile LG G2x] giveen:
I got battery indicator work right off from the start, but radio turns on, unable to read from SIM, then shuts off the radio.
[T-Mobile LG G2x] lotherius:
LG pissed in my wheaties every day for 2 years. The little life I did get out of the phone was thanks to the great work of everyone here.

Sadly, similar to the experience other devs have. The key is there, but it's a needle in a haystack without blobs or documentation. If someone is able to prove me wrong, I'll be the first to eat my words.
[T-Mobile LG G2x] booma428:
Never mind

sent from the 2nd gen beast
[T-Mobile LG G2x] ventovic:
Not slow to me

I agree, it's not that slow. I've been running a different rom on my G2X for a year now with no problems except for taking video, which I don't use and I'm happy with the speed of the phone. Now I'm a type of person that don't mind waiting a few seconds for some apps to load.
[T-Mobile LG G2x] xp99:
oh well that's some progress that you got battery indicator working. What sim are you trying it with? t-mobile?
[T-Mobile LG G2x] giveen:
I have GoSmart Mobile, which is a T-Mobile subbrand
[T-Mobile LG G2x] xp99:
you probably did this already, but did you check if that sim works with a gingerbread rom for the phone?
[T-Mobile LG G2x] :
Alright, I finally posted 10 times, so I can post my idea here.

I read the Android KitKat (4.4) will have driver support for drivers from older Android versions. I am thinking that it will let you put the RIL Driver from Gingerbread directly on to Kitkat. If that is not true, then I think at least KitKat would let you easily port your current work on 4.2.2 to it.

I am not completely sure about what I'm saying, so if I'm wrong at least I tried.
[T-Mobile LG G2x] xp99:
Please post the url that you read this at.

Now if true, that means google has once again expanded the linux kernel. I would guess they did this through a linux kernel module that adds in older out of date api's that were dropped in newer linux kernel's, essentially making an abi, which linus has refused to do whenever asked about it. Now it wouldn't support every kernel module out there, but they could have gotten the vast majority of proprietary kernel modules *shakes fist at nvidia* to work that needed it. This is only a guess.

But if you don't have a url, please don't post rumours.
[T-Mobile LG G2x] :
I wanted to post the link to where I read the information about Kit Kat along with my post, but I could not find it, which is why I ended my post with "I am not completely sure about what I'm saying."

So, I must have misread.

But in my search, I did find a page that says Kit Kat will be based on the Linux 3.8 Kernel instead of Linux 3.4. This will allow many phones with less memory to be able to run Kit Kat. This new Kernel also is Energy Efficient and good for battery life.

http://www.pcadvisor.co.uk/features/google-android/3445512/android-44-kitkat-release-date-features/

http://www.androidcentral.com/google-working-experimental-38-linux-kernel-android

Or course, these are still rumors, but I just want to clear up the confusion in what I said. I guess we have to wait until Kit Kat comes out to see what it has to offer for us.
[T-Mobile LG G2x] Zombienick420:
Your second link correct me if im wrong but doesnt it state that google 3.8 linux is for open source nvidia tegra drivers? I thought nvidia never made the lg p999 drivers open source an thats why we dont have a radio working for the g2x on jellybean yet..

---------- Post added at 07:58 PM ---------- Previous post was at 07:19 PM ----------

https://android.googlesource.com/kernel/common/+/experimental/android-3.8

Dont know if it would help with the development but here is the open source code for linux 3.8 its experimental. Im not sure what would be found in there for our poor p999
[T-Mobile LG G2x] xp99:
So now that kit kat's source code is released into aosp. Maybe we can get it too for this phone.
[T-Mobile LG G2x] :
Careful, I got called a jerk for bringing that up!
[T-Mobile LG G2x] :
Well, you kind of called yourself a jerk when you brought that up. The other person just agreed.
[T-Mobile LG G2x] giveen:
FYI, I've given up. And I hate saying that. It boils down to what is hidden inside the proprietary RIL.

The LGE java wrapper should work after talking with several of my contacts and they have examined it as well. So basically it boils down to LGE not giving us what we need.

KitKat would be great, and we could probably get it to boot, but whats the point with no radio?
[T-Mobile LG G2x] :
Well, thanks for trying. I don't regret donating $10 to you, though.

I guess the G2X is fine on Gingerbread.
[T-Mobile LG G2x] giveen:
I appreciate the donation and trust me, I'm really disappointed myself. This is a similar issue I came across with the Dell Streak 7, I could only advance so far before proprietary stuff got in my way.

For curiosity sake, I might throw a ROM together just to see how smoothly it runs, and I'm sure there are those out there who want to see it as well.
[T-Mobile LG G2x] afung01:
Any new rom to this device is good. Thanks for the effort. Looking forward to your new rom.
[T-Mobile LG G2x] xp99:
We appreciate what you did. At least you got the battery percentage reading working. So even with no radio support, we can still use it as a full fledged mp3 player.
[T-Mobile LG G2x] buru898:
All those thanks that were given away in this entire thread...
[T-Mobile LG G2x] n30wav3:
Atleast it cleared one thing. Android is not that open source after all once you include the driver dependencies which are proprietary ....

I would say there should be an open driver project for Android....but then again, who would buy new devices then.....

g2x never had a large community or user base as o2x... just the Tmobile , Wind and Videotron mainly ... and in a market which upgrades the phone way to often.. (or slides towards Apple camp) putting effort towards a new Rom and giving license fees for new drivers for a 3-4 year old phone was always a bad idea if you are a manufacturer
[T-Mobile LG G2x] Yuvin:
Hm, I do wonder how hard it would be to port a KitKat ROM from the P990 guys over to the G2X, without the baseband working ofc. I'm curious as to how snappy the G2X will be.
[T-Mobile LG G2x] apolkosnik:
Should not be too difficult, my build errors out on wifi driver, I'll try to get something out once I figure out what I need to fix.
[T-Mobile LG G2x] giveen:
apolkonsnik, look at my github entry for my dell streak 7

https://github.com/ChristophHaag/android_device_dell_streak7/tree/aokp-kitkat/wifi

You'll need this.
[T-Mobile LG G2x] apolkosnik:
Thanks, I saw that one on tonnyp's repo too. I'll try to find some time later today to see if anything besides that is borked.
[T-Mobile LG G2x] apolkosnik:
Building of 4.4.1 errors out on some audio related part. I've taken the device part from tonyp's repo and made adjustments for p999.
[T-Mobile LG G2x] apolkosnik:
Got past through the issues with the audio.h. Got to have patience when it builds on my crappy N40L.
[T-Mobile LG G2x] giveen:
If you ever need me to compile for you, let me know. I have a FX-8350, and can compile in about 20-30 minutes.
[T-Mobile LG G2x] adamiscool:
Did I see mention of 4.4? I got rid of my g2x a while ago, but know someone who I will be helping get a custom rom running. I imagine we still dont have much from LG concerning the modem, though ?

Sent from my HTCONE
[T-Mobile LG G2x] giveen:
If we do get it up and running, it wont have radio support.
[T-Mobile LG G2x] vastphoto:
So we might have a really smooth gaming device?!? I guess better that than the paper weight that it currently is.

Thanks.
[T-Mobile LG G2x] apolkosnik:
Right now, the build breaks on linking of libc. It can't find the thingy for memcpy_chk or__strcpy_chk.
[T-Mobile LG G2x] apolkosnik:
I've fixed up the libc issues with 4.4.1 build. There is still some work to do before it's ready for testing.
[T-Mobile LG G2x] giveen:
Could you update your github?
[T-Mobile LG G2x] apolkosnik:
All the stuff is cloned from cm11 and tonyp's repos for p990. I got bionic changes up. I still have to find some time to put the p999 device and the kernel fix. The whole build finished successfully, but I still have to test it.

It seems that TWRP recoveries are not cool enough for 4.4.x( I ran into that issue on my other devices too...), flashing the rom fails due to some recursive error, and the most I saw were the two LG logos ;). Clockworkmod 5.8.1.3 nor 6.0.3.1 (yeah, I bastardized the p990 one to work on p999) recovery can't do it either... We really need to get the latest CWM in order to get the KitKats. I think, I just read (http://xdaforums.com/showthread.php?t=2516253) that the kernel used by the recovery has to have SELINUX enabled (and CONFIG_EXT4_FS_SECURITY=y) in the defconfig to be able to flash kitkat roms.

I'm reusing the kernel from that old 10.1 rom with one small fix (my github kernel tree is already updated, you'll need to fix up defconfig yourself for now).
[T-Mobile LG G2x] apolkosnik:
you can try CWM 6.0.3.1

You can try CWM 6.0.3.1 if you are brave enough ;)

recovery-clockwork-6.0.3.1-p999.img - 4.00 MB
[T-Mobile LG G2x] apolkosnik:
cm11 first build (untested)

This is my first successfuly compiled cm11 ROM, but I don't have a recovery that can flash it or test it. Any ideas?

cm-11-20131213-UNOFFICIAL-p999.zip - 193.04 MB
[T-Mobile LG G2x] bmw2k1:
Good looks bro. Did you get it to run?
[T-Mobile LG G2x] mansa_noob:
How about side loading it?

As the story says, a kiss turned my G2X into an HTC Ruby!
[T-Mobile LG G2x] apolkosnik:
I haven't tried to sideload.
[T-Mobile LG G2x] tmp_do:
may be for tests u soult use fastboot and nvflash for directly write images in nand?
[T-Mobile LG G2x] apolkosnik:
Ok, did it yesterday.
[T-Mobile LG G2x] giveen:
Sweet, thanks, I want to take a look at it, also I recommend we add this in

http://source.android.com/devices/low-ram.html
[T-Mobile LG G2x] apolkosnik:
Another 4.4.2 build cm-11-20131215-UNOFFICIAL-p999.zip - 193.19 MB

Oh, and sideload fails the same way as regular flashing.