yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] Core Memory:
Linux GPIO Interfaces

"GPIO Interfaces

This provides an overview of GPIO access conventions on Linux."

http://www.kernel.org/doc/Documentation/gpio.txt
[T-Mobile LG G2x] laod:
I decided to try this rom out and it's pretty nice. However I need radio so I switched back. If you guys need a stable fast and customizable rom then I HIGHLY recommend using Singh-ui + mazouts gb kernel. It's very buttery. So far its the best rom + kernel combination I've found. Oh and good job Adam and mazout, keep up the good work ;)
[T-Mobile LG G2x] projectzro:
Hey Corememory i see in the dev thread someone offered to utilize there i7. i know you said you would need to use it, but what if you were to use remote desktop (VNC)? i use it all the time on my phone over 4G without any slowdowns on my computer. the only thing that i see is slow is the display on my phone. i dont know just throwing it out there http://www.crossloop.com/mktg/learnmore_remote_access?src=hp for example

is free
[T-Mobile LG G2x] Core Memory:
Thanks for the suggestion. I think that others, such as mazout360 and adampk, are better equipped and already set up and doing whatever development work can be done. I am looking into sources of information and others who have done similar work, especially with decompiling vendor RILs which operate on Qualcomm radio/modem chips. It ain't easy.
[T-Mobile LG G2x] grayson.mott:
I am currently working on decompiling lge-ril.so.asm that was posted by adampk via IDA Pro. The code *should* be reversable and verbose, at that point we would be able see exactly whats going on...
[T-Mobile LG G2x] Core Memory:
Very helpful.
[T-Mobile LG G2x] natescape:
Phone function?

Wait, does the text below mean that the phone won't function as a phone?
[T-Mobile LG G2x] Bulletblitz27:
Yes.
[T-Mobile LG G2x] justjackyl:
where is a facepalm button when needed. lol :banghead:

"my mind draws lots of blanks actually"
[T-Mobile LG G2x] abced123:
how is this ROM compared to the AOSP one from EaglesBlood ?
[T-Mobile LG G2x] natescape:
Hey, I'm new to this rooting/flashing thing. I was just shocked that it'd be out there if it rendered the phone unable to call. :silly:
[T-Mobile LG G2x] TwitchyEye:
On any other phone...maybe
[T-Mobile LG G2x] Xura08:
Did you read anything? This has FULL hardware acceleration so right off the bat it will be faster. Its a more complete version, it's what ICS/JB should be, but of course the radio is still a problem.
[T-Mobile LG G2x] lotherius:
Try it and see! You'll love it! The call quality is great!!!

No need to read any of the prior posts either, we're all just here to answer any questions you have, nothing better to do!
[T-Mobile LG G2x] natescape:
If/when this build gets done, I'll run it immediately. Unfortunately, my family and I have FOUR G2x's. I installed EaglesBlood on my phone and my son's phone as an experiment, but (as I'm learning here and in real life) it's kinda buggy. Wish I could lend a hand, but I don't know jack about this.

Nice!
[T-Mobile LG G2x] tootone:
I don't always endorse trolling, but when I do it's because dumb!
[T-Mobile LG G2x] FourM:
It would be amazing if the Wifi Calling app would work on the JB roms. I don't care about cell service. I'm mostly on Wifi wherever I am at. :fingers-crossed:

I saw Maz talking about getting the GB kernel working with HWA since the radio works there. that would be even better!
[T-Mobile LG G2x] jlev31415:
Unfortunately, Wi-Fi calling requires a working radio because T-Mobile uses info from the SIM card to authenticate the phone. Also, the GB and JB kernels have a large number of differences. Getting the GB kernel to work work properly with CM10.1 would require a tremendous amount of work, and I can't imagine it ever being bug-free. The CM10.1 builds from adampk are clean and so close to being 100% working, it would be a waste of effort to drop everything at this point and start from ground zero on the GB kernel just to end up with a buggy hybrid OS. Sorry to crush your dreams... ;)
[T-Mobile LG G2x] Core Memory:
For now, be happy with a good GB ROM and overclock kernel and dual boot an ICS or JB ROM and kernel without cell service.
[T-Mobile LG G2x] dEris:
Nothing is bug free.
[T-Mobile LG G2x] Core Memory:
http://www.history.navy.mil/photos/images/h96000/h96566k.jpg
[T-Mobile LG G2x] apolkosnik:
I've linked #8 based on android 4.2.2 in the dev thread, let me know if it's any worse.
[T-Mobile LG G2x] adamiscool:
I feel it's way better. Nice and smooth. Thanks!

Sent from my LG-P999
[T-Mobile LG G2x] truth1675:
wifi troubles

I recently flashed this kernal on Mazout's dual boot cm10.1 rom and I have the bug that several other users have reported of having the wifi not activating when I try to toggle it both from the setting and the quick setting panel. The only consistent fix seems to be completely re-flashing the kernal and wiping cache and fixing permissions but the problem starts up again usually with in a hour. I'm going to redownload the kernal and see if that helps. If any one has a solution I would love to know what it is. Thanks!
[T-Mobile LG G2x] adamiscool:
When you're dual booting, you have to update the boot1.img and/or boot2.img ...since we're in the 10.1 thread, I assume you're talking about this rom and kernel combination.

Here's what I did: using switch system app, boot from cm7/calling rom into 10.1. If you don't flash kernel, this is probably when you're seeing wifi not working. Reboot into recovery, wipe cache, flash kernel. Boot back into 10.1 into recovery. Wifi works now, or it should.

<tangent> You say you lose wifi again after a while. Does this include you switching to your call rom, then back to 10.1 when you lose wifi? If so, that's the same problem I had and it's because the kernel isn't "sticking" and reverts to some other kernel, be it the one you installed previously or the stock kernel for that rom...anywho...</tangent>

With wifi working in 10.1, go into recovery and do a nandroid backup. Once that is complete, you need to connect to a PC and navigate to the clockworkmod backup folder for the backup you just made. In there you'll find a boot.img. This is going to be your new boot2.img that you can replace in the /system/boot folder of step2_rom1.zip file. Ok, so once you've replaced the old with the new boot2.img run the system switch app to begin booting into your call rom. Once screen goes black, press power + vol down to get to the call rom's recovery. Here's where it gets tricky (as if it wasn't tricky enough already)...when flashing the updated step2_rom1.zip, it seems to do a factory reset on its own. I don't know if it's just me, but I seem to remember it doing this. If you've got titanium backups, then it won't take long to recover apps and stuff, but flash that step2 and when you switch into 10.1 you should have working wifi without having to constantly reflash the kernel. :D:confused::eek::banghead::beer:

Hope this helps...if not, that was surely some rambling.
[T-Mobile LG G2x] truth1675:
Ill give that a try when I can thanks for the help I think you are right about the kernel not "sticking" as I cannot change cpu governors either.
[T-Mobile LG G2x] adamiscool:
You should try changing the governor before making that new boot.img because I think even that won't stick. Hope all goes well
[T-Mobile LG G2x] Yuvin:
Updated OP with Adam's Build #8
[T-Mobile LG G2x] netsnation:
Can anybody here who uses this kernel/ROM combo tell me if it is worth having to dual boot or go without Data, SMS, and calling to use the features of the ROM?? Like Video recording, HWA, fully functional, etc... :silly:
[T-Mobile LG G2x] k7raid:
Adamiscool's process works.

Thank you adamiscool, It works perfectly now. I used your process from your post, and it worked flawlessly.

Praise to all of the devs, I cannot believe how far you have brought this device. I am now on cm7.2/cm10.1 Mazout360's V0122, the switching works flawlessly.
[T-Mobile LG G2x] netsnation:
[I just figured I would post this here too in case anybody wants to try this as well so we can try and get RIL working!!]

----------------------------------------------------------------------------------------

I was looking at CM10 RIL fixes and I came upon this this: http://xdaforums.com/showthread.php?t=1660293 (Yes, it is CM7 but it says it should work on all LG Devices due to similar lib, and it says should work for ICS and JB as well)

The thread got me looking through files, and I compared the CM10.1 (4.2.1 JB) ROM for Optimus 2x or P990 and I found that all the files were the same, and obviously that is good. Then I thought about trying to find the RIL problem through my phone itself. So I opened Terminal and I typed in some file locations and the first one I tried was system/bin/radiooptions. I found that file was instructed to be in the ROM in the thread I posted above ^^^. So I got this and I tried following the commands, but it said the commands failed or were disabled. Either this is because Mazout said he disabled the RIL to save battery life (because it isn't working) or it could be something, and I just figured I would post this.

Here is link to the screenshot: https://www.dropbox.com/s/7v3h1scrrmwk9p2/2013-03-09 17.50.06.png
[T-Mobile LG G2x] lotherius:
Hilarious.
[T-Mobile LG G2x] :
Why hilarious?
[T-Mobile LG G2x] towelboy:
My thoughts too
[T-Mobile LG G2x] netsnation:
Yeah why hilarious? I know I am new here but I just wanted to contribute..
[T-Mobile LG G2x] adamiscool:
Not sure if it's in this thread or in the dev one, but early in the research phase I'm pretty sure (and correct me if I'm wrong) they found the P990 has a completely different modem? In essence, hardware in P999 is just different enough from P990 to not be compatible.

Sent from my LG-P999
[T-Mobile LG G2x] netsnation:
Oh I know they are different, I was just comparing the CM 10 files to see if it was missing anything for the radio which it wasn't
[T-Mobile LG G2x] Core Memory:
Yes, the radio/modem and the wiring to it are different.
[T-Mobile LG G2x] ssuds:
Why are you shooting down people trying to help? The more the merrier. Thanks for the contribution man
[T-Mobile LG G2x] Xura08:
Has there been any progress? My phone is slow as dirt and I'm stuck with it till August when my upgrade is ready...
[T-Mobile LG G2x] netsnation:
We still don't have working Radio/Battery Indicator, but at least we have HWA and Video Camera.
[T-Mobile LG G2x] Core Memory:
And dual boot.
[T-Mobile LG G2x] towelboy:
Sorry for the impatience but is there any new findings and news? @maz @adam
[T-Mobile LG G2x] justjackyl:
Booooo!

:thumbdown:

"Well, bust my buttons! Why didn't you say that in the first place? That's a horse of a different color!"
[T-Mobile LG G2x] jnhsd0319:
I'm having "Setup wizard has stopped" error and "gapps have stopped" error after first boot.

I've flashed version 7 and gapps from the OP. I've tried this a few times and it is still giving me the same errors.

Help please?

Thank you (:

** followed all the steps too..
[T-Mobile LG G2x] Mazout360:
Try the version in my thread (single boot version) the boot FCs that happens on some P999s should be fixed.
[T-Mobile LG G2x] Stewart Smith:
Difference between su660 p990 and p999

Noob question..

Under LG 2x discussions they mention that a ROM based for p990 can run on a su660 phone if one changes partitions etc.

- Can this also work for p999 phones?

I mean changing partitions so the phone thinks its a p990...

http://xdaforums.com/show....php?t=2156816
[T-Mobile LG G2x] Darkknight512:
Yes it is possible but you will have the same problems as listed above, no radio or battery indicator. The kernel is missing the code to use it properly.
[T-Mobile LG G2x] Stewart Smith:
How about ROM and Kernel from Samsung Galaxy R - they also use Tegra 2 chipset - could development from this phone be merged into G2x development?
[T-Mobile LG G2x] Darkknight512:
No, the hardware is not configured or connected the same.
[T-Mobile LG G2x] iamtejas:
XT885

You posted this from a Virgin RAZR V, is that your daily driver? And if so, were you able to successfully flash CM10 onto your RAZR V?
[T-Mobile LG G2x] garzonetto:
Is there any hope for the G2x?
[T-Mobile LG G2x] lotherius:
It's a very durable phone. Makes for a great hammer.
[T-Mobile LG G2x] apolkosnik:
Gorilla glass is thick in this one!
[T-Mobile LG G2x] Yuvin:
Makes a good MP3 player. Makes up for the lack of external storage on my Nexus 4... ;D
[T-Mobile LG G2x] adamiscool:
Seems everyone has foregone this thread and just post in the dev thread again. It's quite frustrating to see new posts have been made there, only to see it's someone just saying thanks or asking whether there's any progress being made...the latter being an xda forum 101 "what not to do"
[T-Mobile LG G2x] lotherius:
Honestly I'm beginning to think that the dev thread should be closed until if/when new discoveries are made. All we're getting now are people posting about how eager they are, and how they've made a great new discovery of a piece of documentation at nVidia's developer site, or how great it is that they found code from another Tegra device that could be used.
[T-Mobile LG G2x] Core Memory:
Closing this thread wouldn't accomplish anything as another thread would be started that would have similar posts. If there's something significant/useful it will also appear. BTW, I was just contacted by Qualcomm to participate in a survey about how their developer support can be improved. If possible, I am going to ask for open source mdm6600 drivers for all versions of Android.
[T-Mobile LG G2x] netsnation:
A user posted in the DEV thread that some XDA users could be able to help with a Radio-working JB thread. He said they made 20 Radio-non-working builds (An LG phone, somehow related to G2x if I remember his post) and were able to crack the code and figure it out. ATM I don't recall the usernames.
[T-Mobile LG G2x] Core Memory:
I completed the Qualcomm Developer survey and requested Open Source drivers for all their radios/modems for every version of Android. I specifically mentioned the mdm6600 and that phones which are equipped with it, including the LG G2X, haven't been updated from GB to ICS and JB. I wrote quite a bit more about the need for Qualcomm to better support Open Source for Android and Linux. I hope they do something useful about it.
[T-Mobile LG G2x] capncybo:
:good: Thank you, if the do something like that it would be amazing :D
[T-Mobile LG G2x] Pain-N-Panic:
Why would anybody flash a rom that does everything except the most basic functions like calling and texting lol
[T-Mobile LG G2x] SefEXE:
Well, some people don't need them.

SON! YOUR FLASHER SPIRIT IS TOO LOW! I FORBID YOU TO FLASH IN THIS RACE!
[T-Mobile LG G2x] adamiscool:
I quite like at least having dual boot. Playing with jelly bean is nice, but I don't use it a lot. But, it's at least there to experiment with and, dare i say, eventually I'll maybe have the ability to contribute. It reminds me of dual booting with my computer. I used to have winXP as a 'daily driver' and had vista installed on a separate partition because I wasn't entirely sure vista would be any good (which it absolutely wasn't, of course) ...yeah, so there's that.

Sent from my LG-P999
[T-Mobile LG G2x] justjackyl:
Yep. Same here. I have not yet performed this procedure but I plan to as it's fun to expirement. Also we are now running into the era where apps are not suppporting anything under 4.0.x, and we do have working wifi, so atleast I can play newer games and apps, and online even. So I am going to flash to have a mini-CM10 tablet.

My last pro about this situation is CM10/JB just have better coding implemented in areas such as memory management, and you'd be surprised how fluid a newer OS can run on an older device. I had this similar situation on my Iconia A100 tablet. Stock HC 3.2 ran ok, official update to 4.0.3 ICS and was just awful. I now run a custom ROM AOKP BlackBean 4.1.2 and is simply amazing and fluid.

Can't wait to try CM10 on my G2x.
[T-Mobile LG G2x] towelboy:
Guys I have given up on our phone getting a fully working jellybean. As soon as I leave this piece of rock I will bawl tears of joy and sing songs of the angels :beer:
[T-Mobile LG G2x] Bulletblitz27:
Took you this long? I'm just hoping for a descent Hackfest build at this point.
[T-Mobile LG G2x] projectzro:
LOL!! im putting a bullet in mine when i get a new phone :D
[T-Mobile LG G2x] towelboy:
Send us a picture, most likely I will too :D
[T-Mobile LG G2x] adamiscool:
Now guys, don't be too harsh on the ol' g2x. Just sell it or just keep it. I would keep if I wasn't already getting a hundred doll hairs for it.

Sent from my HTC One
[T-Mobile LG G2x] Ravinxx:
You're getting ripped off' I would give you 200 doll hairs for it.
[T-Mobile LG G2x] adamiscool:
Seriously?? And I don't mean doll hairs.
[T-Mobile LG G2x] towelboy:
How is the One coming along :rolleyes:
[T-Mobile LG G2x] adamiscool:
It goes well! I'm enjoying it, but there is a little learning curve with new button layout and UI. It's very powerful, buttery, and snappy. It'll last me a long time, I'm sure.

Sent from my HTC One (M7)
[T-Mobile LG G2x] Ravinxx:
Nah I was hoping you just had some kind of crazy doll hair fetish. 200 doll hairs isnt really a lot to pay for a phone, that's only like, half a Barbie.
[T-Mobile LG G2x] adamiscool:
Well played, sir. Well played.

Sent from my HTC One (M7)
[T-Mobile LG G2x] xp99:
Any progress on this?
[T-Mobile LG G2x] adamiscool:
Sick 'em jackyl

Sent from my HTC One (M7)
[T-Mobile LG G2x] bochart:
Anyone looking for a thread with more recent activity (but even less optimism) might want to check out the LG G2X support forum here: http://gsfn.us/t/2ud28.

The LG employee is at least vocal, which is something. He's claiming that LG would actually take note if folks sign on to the petition initiated in that thread. Which is here: https://www.change.org/petitions/lg-and-t-mobile-update-the-lg-g2x-lg-p999-to-android-4-x.
[T-Mobile LG G2x] quantez:
Download issue

After flashing I cant Download files because it says "no sd card" card not inserted and is need to download files, but when i look in the storage settings it shows my card and it has space free.
[T-Mobile LG G2x] Mazout360:
Fork device_p999 from my github and it should work!
[T-Mobile LG G2x] xp99:
How would I go about doing that? Is it local_manifest.xml that I edit? If so, what am I changing in it?
[T-Mobile LG G2x] mansa_noob:
You should sync the right branch. Use -b flag with git command.

-- The noob says:

This just in... my IQ has increased 50 points thanks to the g2x!
[T-Mobile LG G2x] xp99:
Here is the command I use to initialize the git repo:

$ repo init -u git://github.com/CyanogenMod/android.git -b jellybean

I got that from here:

http://xdaforums.com/showthread.php?t=1971645

Ok I think I find it :)

Here's the command to initialize the git repo to use mazout360's instead:

$ repo init -u git://github.com/Mazout360/android.git -b jellybean
[T-Mobile LG G2x] xp99:
And now I get a new error while building:

make: *** No rule to make target `frameworks/base/core/java/android/content/pm/PackageCleanItem.aidl', needed by `/home/user/cm10.1/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/content/pm/IPackageManager.java'. Stop.
[T-Mobile LG G2x] 0b095:
Guys whenever i install this rom the phone does not charge... it gets super hot if i plug in phone to charger..what can we do in this situation?
[T-Mobile LG G2x] xp99:
I would turn it off when you want to charge it then. It can't read the battery percentage so it won't know when to stop charging. That could be dangerous.
[T-Mobile LG G2x] 0b095:
I did not get what you mean by saying ''Turn it off,'' do you mean the phone itself (if that's what you mean, when I do that same thing happens with an charging icon triangle on it)? The phone gets hot instantly even though when the battery is dead, so I can never charge my phone while running this ROM. That is the only problem, everything other than this is just fine so I want to solve this problem...
[T-Mobile LG G2x] xp99:
I don't think its the rom then. When you turn the phone off, it's no longer using the custom rom. At that point it's in a low power mode outside of this rom. Looks like a hardware problem then.
[T-Mobile LG G2x] xp99:
Ok found out there are some missing files. So I copied the files:

PackageInfo.aidl
PackageInfo.java

from this github:

https://github.com/android/platform_frameworks_base/tree/master/core/java/android/content/pm

Now I get this:

make: *** No rule to make target `/home/user/cm10.1/out/target/common/obj/JAVA_LIBRARIES/libGoogleAnalyticsV2_intermediates/javalib.jar', needed by `/home/user/cm10.1/out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar'. Stop.
[T-Mobile LG G2x] xp99:
I finally got it built. Here is my local_manifest.xml

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

Now I get what mazout360 meant by using his repo device_p999.

But it won't boot up. It shows 2 lg icons side by side on the very top but that's it. Oh well, it was nice learning about all this.
[T-Mobile LG G2x] apolkosnik:
Heh... You were so close... All you needed was some debugging and it would work. Most likely you were missing the binary blobs from P990, for most things except radio.
[T-Mobile LG G2x] celerityceo:
Are you still working on this mod?

I currently have a G2X phone on which I have successfully run cm-7.2 for several months and would love to upgrade to cm-10.1.x. Have been playing around with unofficial 20130221, which runs very smoothly, but.... Wireless works fine and there is an internet connection via the browser and Zoiper for VoIP calls. However, no T-Mobile network is available. Though i can't believe you haven't explored this, one programmer friend says the RIL/baseband conflict is the issue. GetRIL shows the the LG-P999-V21y RIL doesn't match. It recommends baseband M6600A-SCAUTNZ-2.0.9720T 1. Might the audio work if this were fixed.

Comments, or suggestions? Or, i this a lost cause?
[T-Mobile LG G2x] buru898:
The g2x is dead. The best it'll get is gingerbread.
[T-Mobile LG G2x] Freakthis08:
Fixed. Plus it's still a decent device. I use my g2x as a mini tablet for my son. So it still has worth for my family.

Sent from my SGH-M919
[T-Mobile LG G2x] Core Memory:
You're a poet.
[T-Mobile LG G2x] Mazout360:
We would not be at this point without the work of adampk on the OS mostly :p
[T-Mobile LG G2x] n30wav3:
Two more posts to go ;)
[T-Mobile LG G2x] Wakesk8er02:
Thanks for everyone's help and time being spent with this. Tried the rom out today and the speed blew me away. Can't wait for the finished product. Keep up the good work! :good:
[T-Mobile LG G2x] plarmann:
Hello, is there any kernel that allows oc/uv? I love this ROM.
[T-Mobile LG G2x] noahk423:
Is there a need? Its super smooth already.
[T-Mobile LG G2x] AndroidKills:
Hahah a Kernel question already? Sheesh thats like 50 steps ahead of us.,
[T-Mobile LG G2x] Yuvin:
I may be mistaken, but I think there isn't one out currently. Like noahk423 said above, why would anyone need to overclock on this rom that is just buttery smooth? If you want to save battery and underclock, you can go to the "Performance" section in the Settings and set the maximum clock lower to underclock the device.
[T-Mobile LG G2x] mk2rimar:
How do wee flash this....download the 2 zip's and flash one after the other????
[T-Mobile LG G2x] plarmann:
I know Lol. Just wondering. I can over clock to 1200 easily and it will make video play back so much smoother.
[T-Mobile LG G2x] Yuvin:
You download the larger zip file (The Rom) and flash that in CWM along with Jelly Bean Gapps.