yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] apolkosnik:
With all due respect... Just a quick note to the armchair devs:

Reversing the RIL is not a problem, the problem is that the RIL can't talk to the radio's modem (it uses these pesky AT commands like the old school modems) and revising the Gingerbread RIL won't fix it. The problem is the proper setup of the device parameters, powering it on and so on.
[T-Mobile LG G2x] bluenote73:
Is there any promising lines of enquiry actively being pursued or are things at a stand still at this point?
[T-Mobile LG G2x] apolkosnik:
I've not had much time last couple of weeks, but when I have time I'm trying to figure out what's going on in the original GB kernel and 3.x
[T-Mobile LG G2x] tehSecret:
Just wanted to stop in and say thanks for all the hard work fellas. The task at hand is obviously not an easy one. I enjoy reading all the info and efforts being churned out. When the project gets wrapped up , I'm personally donating a beer or two for each dev. Having a CM10.1 on a g2x will be a direct slap in the face of the programmers and developers at lg/nvidia. And also goes to show that we are incredibly lucky to have such great Devs working on our abandon ware. Thanks Adampk, mazout, big red , coremem, and anybody else deserving credit.

Sent from my Nexus 4 .
[T-Mobile LG G2x] Pecata:
I know you guys are working hard and I appreciate the countless hours and dedication you guys put into this project.

I know the problem is you can't get radio to work on this and I don't think this will help with it but here is what I found-just wanted to share it with you-I am not a developer so I can only hope this would help with something...

http://www.linuxandlife.com/2013/04/nvidias-3d-tegra-driver-now-open-sourced.html
[T-Mobile LG G2x] tootone:
This is specifically drivers for 3d capabilities, I mean the article specifically addresses this:

" This small series of patches adds support for the 3D engine found on Nvidia Tegra SoCs"

But, if 3d support will help the RIL then I am wrong.
[T-Mobile LG G2x] mansa_noob:
Hi all,

Just curious if we have been trying to get this to work with the new baseband only (or with the old one only) but not both. Can someone confirm? If we have only been trying with the new baseband maybe we will have better luck with the old one???

I don't have any qualms about asking SuperOneDumb questions :cyclops:
[T-Mobile LG G2x] netsnation:
That wouldn't work. Its the RIL that's broken not the baseband. Plus I think if you use the old baseband a popping sound occurs when making calls (I believe so, may just be if the ROM is running old baseband.)

Sent from Android Jellybean via Tapatalk 2
[T-Mobile LG G2x] mansa_noob:
Actually if I understand it right RIL is Kernel to Radio, which is where the baseband would come in.

Doesn't hurt to try unless someone already has without success.
[T-Mobile LG G2x] xp99:
3d support has nothing to do with the RIL.
[T-Mobile LG G2x] tootone:
I know, that's what i said.
[T-Mobile LG G2x] dylanear:
Anyone care to be kind enough to say if the lack of accurate battery metering is included in the list of "some stuff" on the updated first post?? Unclear what the statis of that issue is from searching the topic in this thread.

"#7 CM10.1 (4.2.1) - some things are still broken."

MIght try using this old phone as a media player if that's sorted out.

EDIT >>Please excuse the post<< Delete at will mods. Didn't mean to add to the clutter.
[T-Mobile LG G2x] tootone:
Yes, this and everything else that is broken are the things that are broken. None of them will fixed without the ril being fixed. Please use the search feature next time, this is a development thread and already cluttered.
[T-Mobile LG G2x] rosevilletoyota:
All is lost on the G2X..
[T-Mobile LG G2x] CrazyDelta:
Well, it did sound like at one point the devs were narrowing in on the problem. I still have my fingers crossed.
[T-Mobile LG G2x] tootone:
Its best not to feed the trolls. Adam and mazout are doing their thing. If they get it, then mad props to them. If not i appreciate all their effort. I just wish people showed their appreciation by being patient, rather than whining in the dev thread.
[T-Mobile LG G2x] n30wav3:
They did their best.... i think more than the best...it is obvious the area which is proprietary cannot be touched.....logically I would say the only thing that may be done only if compared to working on RIL was to convert the hackfest to a fully working one by working on the things not relating to radio (HWA acceleration etc) and upgrading the hackfest to latest sources.... not sure if that is in the plan but theoretically could be far more easier than working on Radio
[T-Mobile LG G2x] apolkosnik:
I just wanted to say that I'm still alive. I've actually just kicked off a fresh build with some stuff to test. I've also added GAN Virtual Ethernet Device, so it might be a bit closer on a wifi-calling front. We'll see what's up in the morning when the whole thing (ROM and the kernel) finishes building on my microserver.
[T-Mobile LG G2x] BurnOmatic:
nice thanks for your work, ive been watching this thread closely,.
[T-Mobile LG G2x] xp99:
Were ya able to make progress?
[T-Mobile LG G2x] apolkosnik:
The thing I tried didn't seem to work, and I'm busy with personal things now.
[T-Mobile LG G2x] xp99:
Not a problem, whenever you got free time.
[T-Mobile LG G2x] envisiblenbk:
92 pages worth of effort :( thanks to all the developers who tried :D
[T-Mobile LG G2x] xp99:
How is it that we're no closer then we were when we started? I'd like to know if all of the following has been done:

1. Is there any proprietary binary only modules that gingerbread used on this phone having to do with the ril?

2. Do we know the process that the radio is activated in kernel 2.6.32?

3. Is the ril checking for anything specific in kernel 2.6.32 vs 2.6.39? For example, is it as simple as checking if the version number is 2.6.32 and if so load as normal, other wise don't load?

4. Is part of the ril encrypted? Do we know how it functions?

5. Is there anyone else working on this beside the one guy that responded to me?

6. Does loading in a debug build of the kernel for gingerbread vs the kernel for jellybean with log cat enabled help us at all?
[T-Mobile LG G2x] SpaceRanger69:
It's simple. LG and nVidia basically bent you over like a harlet and had their way with you. nVidia by not providing the source code for their drivers, and LG for a horrendous job of writing their part of the code.

I'm not going to go item by item, but I will say that if you have read every single post in this thread you will come to the realization that there were countless individuals (Adampk, Mazout being the main contributors) that went out of their way trying just about everything under the sun, to get this god-damned device to work with ICS/JB. They went through the SPI code with a fine-toothed comb and came up with jack-squat. Reality of the situation is that we have a great tablet ROM with no working radio (for JB).

All the developers working on this deserve thanks and appreciation. Thank you for trying (it's clear nVidia and LG didn't).
[T-Mobile LG G2x] vastphoto:
Does this mean it's time for us to give up on this device and move on?

Thanks to all the developers who put in a lot of time and effort.

Both LG and nVidia have lost me business!
[T-Mobile LG G2x] churd83:
I know I did. Sg4 baby!
[T-Mobile LG G2x] AndroidKills:
Yes it's clear that nvidia and lg totally hyped the phone and failed to deliver.

off topic : At this point a 2 year contract shouldve been over, so moving on would be ideal...
[T-Mobile LG G2x] churd83:
If your contract is up in this year you can switch to new plan and get a new phone at deposite with monthly payment. No need to wait for contract to end
[T-Mobile LG G2x] piyush7243:
I also switched to Find 5 but still miss my LG

Sent from Oppo Find 5
[T-Mobile LG G2x] SpaceRanger69:
Depends on what you call "Giving up". CM7 (Gingerbread) runs strong on our device. If you want to latest and greatest experience though, you won't find it here on the G2X. Yes, we have ICS and JB ROM's but there are major holes in each platform (for this device). CM7 got me along for over 2 years with this device. I am forever thankful for getting me off of Froyo and into Gingerbread-land.

I have since moved on to another device. If I get 2+ years out of it I'd be happy as well (So far, so good). My G2X is now nothing more than a mini-tablet that my kids use. It too serves its purpose.
[T-Mobile LG G2x] vastphoto:
When I said "give up" I meant any hope of getting a working phone with ICS or JB.

Thanks.
[T-Mobile LG G2x] churd83:
Yea. Buy a new phone with Ics or jb preinstalled
[T-Mobile LG G2x] :
I bought a Nexus 4 in March and so far so good. Glad I made the jump, the performance is great. I am very thankful to the community here though who got me up from 2.2 to 2.3 while I had the phone. I do prefer vanilla Android though so in the future I plan to stick to Nexus devices.
[T-Mobile LG G2x] towelboy:
Hey guys, I should've never went with the one x+ because it has the nvidia tegra 3 and they never released sources.

Our phone is stuck on android 4.1.2, no working cm10.1, a very limited amount of developers, and cannot S-OFF

Instead of avoiding LG, I believe its nvidia.
[T-Mobile LG G2x] :
Agreed. My Nexus 4 made by LG is amazing. No Nvidia in it. :P Qualcomm does the GPU.
[T-Mobile LG G2x] redmonke255:
It's because the openness of android is an illusion. Never buy an android that isn't nexus, it's always the same thing.
[T-Mobile LG G2x] King-Nai:
The old HTC phones were awesome dev phones, but they were analogous to the Nexus line.

Anyway, my goal was to get back on the dev machine and help out here, but to my dismay, my G2x USB just died on me. The port is now missing a pin.

If anyone is still devving out there, send me a message, I have a few tests I would like you to try.

~Nai
[T-Mobile LG G2x] Mazout360:
Same here. Found out that the board config file was missing some clock settings for the slave SPI. Would need a beta tester to try it though.
[T-Mobile LG G2x] piyush7243:
I can do that

Sent from Oppo Find 5
[T-Mobile LG G2x] n30wav3:
Same here
[T-Mobile LG G2x] xBIGREDDx:
Wow, ok, and here I've just moved on to the HTC One.

I've still got my G2x though, so I'm down for running tests.
[T-Mobile LG G2x] sambodie:
I got an HTC One also. Gave my wife the G2x, can't get it back for testing. Hope the Devs finally crack the ICS/JB impass.
[T-Mobile LG G2x] qwertyx7:
I just upgraded from my g2x, so it's sitting on my desk unused. I'm down to use it to test stuff if you're willing to tell me how! :D
[T-Mobile LG G2x] mansa_noob:
Still have two of these bricks, so most certainly can test whatever you throw at me ;)

-- The noob says:

From first-hand experience, a smartphone is incapable of making you smarter!
[T-Mobile LG G2x] qwertyx7:
Just kidding! I can't help out...

Just checked ADB with my phone, and it turns out it is no longer recognized by the computer as a device when plugged in (even while in recovery mode with USB mount on).
[T-Mobile LG G2x] SpaceRanger69:
I have one to test as well...
[T-Mobile LG G2x] apolkosnik:
Really? Can you say which ones?
[T-Mobile LG G2x] xp99:
I can try it out. My g2x is still fully functional.
[T-Mobile LG G2x] Mazout360:
Thanks to everyone offering to test. The thing is... you'll need a build with a working rild binary "out-of-the-box" or you'll have to change some libraries and maybe edit some build.prop entries. I'll compile one whenever I'll have some time to and post it here.

As per this commit : https://github.com/gslate-cm9/andro...mmit/fc3ed120a0b2aa18032a1008f6becb417b35bfea

They added a duplicate of sbc1 to 4 for the slave SPI on the g-slate (still a dual SPI setup with a MDM6600 chip). Not sure if that's the reason why the radio wouldn't work though. Do you still think this issue is solely kernel related ?
[T-Mobile LG G2x] Core Memory:
I have one of the original Motorola brick cell phones and a G2X brick (which isn't bricked) which are Bric-à-brac http://encyclopedia.thefreedictionary.com/bric-a-brac
[T-Mobile LG G2x] mansa_noob:
LOL. Learnt something new (again).

-- The noob says:

This just in... my IQ has increased 50 points thanks to the g2x!
[T-Mobile LG G2x] apolkosnik:
It didn't work.
[T-Mobile LG G2x] bochart:
Can someone summarize what sources would be needed to get a working RIL? And what's different between the Optimus 2X and the G2X that made CM10.1 possible on the p990?

I have an ongoing e-mail exchange with some executive assistant at T-Mobile, and am just curious whether I can get a straight answer on whether they'll help. Fool's errand, I know ...
[T-Mobile LG G2x] tonyp:
The P990 got a baseband chip by Infineon, the P999 (afaik) has a Qualcomm MDM6600.

I think the big problem here are the missing hardware-specific p999 ics blobs (as there's no ics rom where you could extract them from) - the p990 ones aren't compatible due to the different underlying hardware.

Save the time and energy, they won't help.

Even if they would want to (which is very unlikely given their and LGs history) they probably couldn't.

Seriously, no one there cares about a couple geeks at xda who want to update their 3 year old phone rather than buying a new one.
[T-Mobile LG G2x] mog44net:
This x 4096.

Phone gets a stable cm7 rom with adw launcher to get me by in until I can get off contact with tmobile, then it's off to my 6 year old to play music and angry birds until it gets dropped into a deep dark hole for things that get my hopes up but end up just being a waste of $
[T-Mobile LG G2x] Li'l Android:
Is there a way to partition the phone so that the "broken" features work from an earlier CM and the rest of the device working from CM10.1. Maybe have a toggle app for the broken items. Is that at all possible?
[T-Mobile LG G2x] n30wav3:
So what u really wanna say is if its possible to combine the hackfest with p990 cm10.1 .... yup theoretically possible ... and u wont even need to re-partition if u work on the hackfest side BUT we are down on resources to work with. This requires quite a bit of time and effort. Not to mention the freaken RIL battery leak on hackfest might haunt u forever
[T-Mobile LG G2x] Li'l Android:
No, not necessarily hackfest. I was thinking more like CM7.2 for the broken stuff.
[T-Mobile LG G2x] lotherius:
Do you mean dual boot? Been done. Thread somewhere nearby.
[T-Mobile LG G2x] n30wav3:
Yeah its done already... m on dual boot right now. But i dun think he is asking for dual boot. He is thinking of both cm7.2 and 10.1 to co-exist together by using an app.. which I think is not possible. The only thing I can think of is using cm7.2 or 10.1 on a virtual environment on android (an extremely wild idea which maybe possible sometime in the future but not now) boy m seeing unicorns..

EDIT: come to think of it again... two different OS working from two different partitions at the same time.... e.g using phone app from cm7.2 while the launcher on cm10.1 ....hmmmmm..... how will u boot two OS at the same time with just one kernel slot?... even windows doesn't have that functionality without virtualization... u r talking about a hypervisor on android such as ESXi etc... again possible in the near future.... not now
[T-Mobile LG G2x] xp99:
No this isn't possible at all. Everything that we need working is on the kernel level. And virtualization won't work because that then means we will either have a delay in getting stuff like the radio working, no longer real time, and real time is needed here. And if we base it on the radio working, then all the graphical enhancements like buttery smooth graphics, will be virtualized and will only be just as good as it was on gingerbread.

That is what the hackfest for cm9 on this phone was, no hardware acceleration and poor battery life, but a working radio. It's not wanted here. The person asking for this doesn't have a clue on how hardware works.
[T-Mobile LG G2x] n30wav3:
That's what I meant when I said only possible in near future..... right now its not possible to virtualize on android and on ARM as we do using vmware ESXi or hyper v on windows Linux and Intel amd. But probably this will be possible in the near future as its possible on every other multifunctional OS and hardware. Not to mention with everything going cloud, that's gonna happen. Sadly u have to admit now that this P999 EOLed on gingerbread
[T-Mobile LG G2x] xp99:
I don't think you know how virtualization works. Buttery smooth graphics and low latency audio with a working radio all need to be done in real time. Virtualization only works for stuff that doesn't need to be done in real time.
[T-Mobile LG G2x] n30wav3:
Are u sure I dun know? I specifically used the term Hypervisors. These are virtualization softwares specifically made to provide real time processing between a host and client. The clients on hypervisor directly communicate with the hardware rather than a virtual layer of hardware. That's the whole reason each and every enterprise is opting for virtualization as there is NO performance hit. It only depends on the capability of hypervisor which hardware piece it wants the client to communicate directly. That's how cloud is possible. Heck android itself works on a dalvik's virtual machine on a cell phone that's why u need dalvik cache to be created. Its only a matter of time when such a hypervisor will be created for android
[T-Mobile LG G2x] xp99:
Hypervisors require hardware support to do virtualization. And the hardware in this phone does not support hardware virtualization.

And so the only way is to try this in software, which means no buttery smooth graphics and no low latency audio. I wouldn't want that.
[T-Mobile LG G2x] rosevilletoyota:
Need Help ASAP! thanks

I was drunk last night I forgot my passcode! My phone is rooted using CM7. Is there a way I can unlock my phone with out losing my data. PLease help thanks
[T-Mobile LG G2x] piyush7243:
No way and how could u lose ur passion in one day by drinking
[T-Mobile LG G2x] rosevilletoyota:
Have you ever gotten really drunk and wake up and wonder what happened? It happens to people. SO DONT QUESTION ME. By the way the answer there is no way is a cop out. If you dont know the answer dont reply.
[T-Mobile LG G2x] piyush7243:
The answer is still no way and please don't crap this developer thread.
[T-Mobile LG G2x] bluenote73:
What is it about the g2x that attracts goofballs?

Try posting in the correct forum next time.

Try googling next time.

Try anything else next time.

Look here for a start:

http://android.stackexchange.com/questions/24402/how-to-bypass-lock-screen-in-cyanogenmod-7-2
[T-Mobile LG G2x] giveen:
Hi, I just wanted to introduce myself.

My name is Giveen and I am a developer for the Dell Streak 7. The only developer, really.

I have ported CM9, CM10, and CM10.1 to it. Its a Tegra 2 Ventana device. I noticed your CM10.1 port and wanted to help a bit. My phone died and I have a G2X on the way, should be here tomorrow.

I am very familiar with Tegra 2 products, and just wanted to let you know, I am probably going to start working from your more recent stuff.

It looks like your current bugs are radio and battery indicator. Is that correct? What is the RIL you are using?

Your kernel is a lot newer than mine I use on my devices (2.6.36.4) so that may take a few minutes to get use to.
[T-Mobile LG G2x] Core Memory:
You're a breathe of fresh air, any new developer and development is very welcome here.

Yes, the non-working radio is the most serious problem, it is the only thing that prevents the phone from fully working, then the battery indicator and other, minor, problems.

The RIL used is the one that's specifically compatible with whatever version of Android is used. There's no RIL for ICS which is, apparently, a major if not the only thing preventing the radio working.
[T-Mobile LG G2x] giveen:
Do you know which company produced the radio chip? Typical Tegra RIL's are Huwaeii or ath6kl
[T-Mobile LG G2x] apolkosnik:
It's qualcomm MDM6200. Go through the thread to find some docs that you can use.

Good luck.
[T-Mobile LG G2x] giveen:
Yeah, slowly making my way through this thread, lol.
[T-Mobile LG G2x] TwitchyEye:
It reads like a Shakespearean tragedy.
[T-Mobile LG G2x] giveen:
Why is storage not setup like a CM10.1 device with emulated storage?

Could you take a hard look at my init script I/we wrote for my device and let me know why you can't do it like this?

https://github.com/ChristophHaag/an...eak7/blob/aokp/prebuilts/root/init.streak7.rc

https://github.com/ChristophHaag/android_device_dell_streak7/blob/aokp/prebuilts/root/fstab.streak7

https://github.com/ChristophHaag/an.../blob/aokp/prebuilts/root/init.streak7.usb.rc

Granted my device is not a phone, BUT it is a GSM 4G capable device and ventana.

Also GPS, try writing it like this

write /sys/class/gpio/export 123
write /sys/class/gpio/gpio123/value 0
write /sys/class/gpio/gpio123/direction out
chown gps system /sys/class/gpio/gpio123/value
chmod 0664 /sys/class/gpio/gpio123/value
mkdir /data/gps
chown gps system /data/gps
chmod 770 /data/gps
chown gps system /dev/ttyHS3
chmod 0660 /dev/ttyHS3

vs

### LGE GPS
# gps permissions
chown system system /sys/devices/platform/gps_gpio/poweron
chown system system /sys/devices/platform/gps_gpio/reset
chown system system /dev/ttyHS3
mkdir /data/gps
chmod 777 /data/gps
mkdir /data/gps/var
chmod 777 /data/gps/var
mkdir /data/gps/var/run
chmod 777 /data/gps/var/run
mkdir /data/gps/log
chmod 777 /data/gps/log
mkdir /data/cache
chmod 777 /data/cache
chown system system /system/bin/glgps
chown system system /system/etc/gps_brcm_conf.xml
chown system system /system/etc/cert/
chown system system /system/etc/cert/537a0176.0
chown system system /system/etc/cert/c9dbfc2e.0
chown system system /system/etc/cert/ddc328ff.0
chown system system /system/etc/cert/7651b327.0
chown system system /system/etc/cert/583a21ed.0
chown system system /system/etc/cert/72fa7371.0
chown system system /system/etc/cert/c33a80d4.0
[T-Mobile LG G2x] :
Help us, Giveen. You're our only hope!
[T-Mobile LG G2x] giveen:
Please don't say that. I'm decent, not great. And what has been done here so far is great. A nearly complete rom with just a couple bugs. I just wish the RIL was a stand one, not a dual-network chip, and at least the GPS is something I might be familiar with just looking at the init.

I'm redownloading my source, but I work in something slightly different usually (AOKP), going to take a while to download, and I am getting use to my phone, and I still need to pull logs, run various commands on the device, and examine the kernel.
[T-Mobile LG G2x] PrettyPistol555:
Very very welcome.

IMO G2X was a huge disaster that T-Mobile handled terribly. #neveragain #tmobile #LG #G2X

It's been years but my ass is still sore....
[T-Mobile LG G2x] giveen:
my source is download. Had to make changes (shown on my github ) to get it to compile and still some errors to fix before it will finish
[T-Mobile LG G2x] Core Memory:
The radio chip is actually a Qualcomm mdm6600 although some of the documentation shows it as an mdm6200. Attempts have been made on decompiling the RIL and determining the designated io pin numbers for getting the radio working. Something significant changed with ICS that is preventing any success with getting the radio working. The same is true for all other phones with the same Tegra 2 and the mdm6200/6600 radio chip. It is a nefarious plot against owners of those phones. Mazout360 has done a lot of work on this.

---------- Post added at 10:17 PM ---------- Previous post was at 10:16 PM ----------

So sore that you can't sit down?
[T-Mobile LG G2x] giveen:
Ug, what a disaster waiting for me.
[T-Mobile LG G2x] lotherius:
Challenge accepted? :)

I've got a Nexus 4 on the way. However, an update for the G2X would be nice as it's not gonna be worth much for resale....
[T-Mobile LG G2x] giveen:
N/M found it in the common.....

Can someone explain the difference with the radio between the P990 and the P999? I can't get a solid answer with Google.