yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] morfic:
Correct, if it's not a problem on your rom, no need to flash.

Working on end of call death. *knocksonwood* either I was lucky with 4 of 4 calls not going dead after other end was hung up first or it's simply working now.

Waiting for confirmation, if I get thumbs up, i can link tomorrow.

For right now see it only as a status update of "Hey, i'm working on it"
[T-Mobile LG G2x] ZeroT| Demented:
Thats good enough for me
[T-Mobile LG G2x] morfic:
Please test the 1910c T15 and the 2010 ELP with regard to the end of call death fix.

Thanks,

Daniel
[T-Mobile LG G2x] fcisco13:
Will do thanks for your hard work.
[T-Mobile LG G2x] DJ "suMo*:
Latest ELP max seems to be A-ok in regard to end of call death fix..

Sent from T-Mobile G2x
[T-Mobile LG G2x] dismaljester:
I still had it happen one of three calls. Only if the screen is off when the call ends, if I hang up and the screen is on there is no problem.

--

Sent from my phone
[T-Mobile LG G2x] hmichaelkim:
Morf -

Tried flashing t15 again on a fresh install (wiped everything), still stuck on green android
[T-Mobile LG G2x] dds517:
Yea still getting dead screen on calls...
[T-Mobile LG G2x] SnipeySnake:
I switched from T15 to ELP and now when i turn it on, the android comes on for a couple seconds then a black screen is just there. Anyone know how to fix this?

Edit: I tried switching back to T15 and its still on bootloop. Can someone please help? I don't have any nandroid backups on the phone (i have them on my computer but idk how to put them on my phone if i cant get past the bootloop. :(

Edit2: Ok, i found a rom on my sd and flashed that, it was on the boot screen for about 3 minutes and then started up.
[T-Mobile LG G2x] samnir:
Anyone know if I have to just wait forever for the phone to boot up initially or is it stuck in a boot loop? Using whitehawx miui 10.21 (a2dp working)

Seeing the black screen bit when I touch the screen my led buttons light up.
[T-Mobile LG G2x] morfic:
No, that doesn't sound right.
[T-Mobile LG G2x] samnir:
Sigh my luck, thanks Morfic, ill figure it out.
[T-Mobile LG G2x] samnir:
11.21*** buuut yeah I can't seem to get the latest whitehawkx miui rom and the latest t15max to play nice together, I get the aforementioned situation. But Thanks for your hardwork anyways Morfic.
[T-Mobile LG G2x] fcisco13:
Newest morfic will not work on miui, newest is only for nightly, miui is behind cm7.
[T-Mobile LG G2x] samnir:
Ah that's right its based on nightly 168 or something :/ sighh
[T-Mobile LG G2x] gaww:
Just for future reference - you can mount your sd in recovery, and then copy/paste your nandroids back to the recovery folder in clockworkmod. You could also push them with ADB.

I would suggest you always have a recent nandroid on your device.
[T-Mobile LG G2x] hmichaelkim:
Any plans to add deep-idle? (Is it even possible on g2x?)
[T-Mobile LG G2x] Neejay:
Deep idle?
[T-Mobile LG G2x] fcisco13:
Uuuuu that sounds like inception, sleep within sleep....
[T-Mobile LG G2x] ZeroT| Demented:
Just read up on it and it sounds cool any thoughts of if its possible on g2x
[T-Mobile LG G2x] jamadio:
Search for it in the Nexus S forums, it's quite the read. Would love to see it implemented for the G2x.
[T-Mobile LG G2x] morfic:
IT's a chip state.

Ezekeel read the pdfs well and googled up someone's patch reimplementing it.

He then made it work on Nexus S

Anyone have a full Tegra2 documentation we can check for missing features?
[T-Mobile LG G2x] albertorodast2007:
Hey morf! Have some rest! Hahaha...
[T-Mobile LG G2x] Call_Me_Blur:
Same here on the 2010 ELP. No comment on the T15 though, my phone cant handle the OC :rolleyes:

They were working great (for me) a few versions ago, so I have confidence that Morf will find a solution.

Thanks Morfic! Keep up the good work!

(Also, a side question. Is there a chance we'll get a compromise between the ELP and the T15 for those whose phones aren't worthy of the fun edition?)
[T-Mobile LG G2x] jamadio:
I have a question/concern.

I'm running fitsnugly's Gigglebread and morfic's Trinity ELPmax 10202011 kernel.

I'm using SetCPU and after some time of usage, I'll notice that the CPU stays locked at the max (currently 1.1 Ghz) and won't go down in clock speed, no matter what I'm doing or not doing for that matter. I've done some research and there doesn't appear to be any rogue app hogging all the CPU cycles. And I'm not using any profile that requires it stay at 1.1 Ghz

A reboot fixes it, but its onset is random, even when just sitting in my pocket not being used.

Any ideas as to why or a fix for this?
[T-Mobile LG G2x] biggredd:
I am wondering which kernel I would use if I am running cm7 rc1 7.1.0.1. Sorry if this is a noob question but I am not sure since it is not a nightly
[T-Mobile LG G2x] DJ "suMo*:
Go to derkernel from op where it says Previous G2x Kernels for 2.3.5+ builds: Choose one of those.

Sent from T-Mobile G2x
[T-Mobile LG G2x] tweeklulz:
which nightly are you guys using with these? it says 173+ but it's up to 190 something now lol
[T-Mobile LG G2x] DJ "suMo*:
All you can do is a make a backup first and test with the latest Nightlies to see if there's any issues..

Sent from T-Mobile G2x
[T-Mobile LG G2x] morfic:
No need to update kernels all the time, issues needing fixing is another story, but to work on a rom you don't have to build them daily, not like cm updates them daily.

Worst case you reflash the nightly to get the stock kernel back.
[T-Mobile LG G2x] DJ "suMo*:
I always backup the latest Nightly before flashing a kernel. Just like you said, worst case, I do a restore.

Sent from T-Mobile G2x
[T-Mobile LG G2x] biggredd:
On nightly 193 I am getting the screen not coming back after a phone call. It happened mostly on calls longer than a minute.

Also stock cm7 kernal does not have the issue.

And I used the elp kernal
[T-Mobile LG G2x] fcisco13:
Known issue sod after screen goes off and other caller hangs up.
[T-Mobile LG G2x] morfic:
http://www.derkernel.com/ has new builds for G2x, please test.

Can not reproduce the SoD after hangup. (Test call length 2+ minutes as reports were referring to 1+ minute calls)

Changes:

Relaxed some UV, returned to min UV of 750mV, fixed T15 UV table while i was at it.

Made "core gating" more aggressive to save power throughout the day.

Releases are not "Max" releases for testing, to ensure "Max" does not interfere.
[T-Mobile LG G2x] Neejay:
didn't quite get a chance to test. I flashed the 1.1GHz kernel + wiped dalvik cache...and it just bootlooped.
[T-Mobile LG G2x] draky:
I can't get past the android screen even on a fresh wipe/install
[T-Mobile LG G2x] dismaljester:
Just had a sod with the new kernel after a call. Everything else about it seems great though.

--

Sent from my phone
[T-Mobile LG G2x] morfic:
http://morfic.euroskank.com/g2x/ELP-g2x-pt7.zip

Can you test this one please.

This is the longest streak of no in call SoD, it needs further testing to make sure it wasn't just a lucky streak.
[T-Mobile LG G2x] Neejay:
What'd you do to install it?
[T-Mobile LG G2x] morfic:
Perhaps an older nightly.

The pt7 test kernel has ramdisk based on n199.
[T-Mobile LG G2x] Neejay:
I just tried again with the pt7 test kernel while on 199 nightly and it installed just fine. I'll test out, thanks!
[T-Mobile LG G2x] morfic:
Ok, tester confirms, he can not trigger SoD on call.

I will build a T15 the same way before working back down to the most power saving yet stable build.

For now i just don't want a phone that you can't use as phone ;)
[T-Mobile LG G2x] dismaljester:
Sorry for not getting back to you sooner, I was at work. I was on a nightly from a couple days ago. And as far as installing, I wipe dalvik and cache then flash, and fix permissions.

I'm trying to pt7 one now.
[T-Mobile LG G2x] morfic:
head straight to www.derkernel.com for latest files.
[T-Mobile LG G2x] dismaljester:
usually I can replicate the sod in a few minutes after flashing a kernel, but this newest one seems to resist my charm. So far so good. I'll let you know tomorrow if I get any.
[T-Mobile LG G2x] morfic:
That makes 3 of us who fail to make it SoD.

Tempted to wager that you won't be able to break it.
[T-Mobile LG G2x] Solace50:
would it be possible to re-add voodoo support now since you have a more stable release?
[T-Mobile LG G2x] x0xhellx0x:
Just tested 10 min call all is good
[T-Mobile LG G2x] morfic:
Supercurio shared measurements he did.

It's what caused him to pull the voodoo patch as someone tried to get committed to cm and was removed from cm again.

I don't think that's benefiting anyone as is.
[T-Mobile LG G2x] Solace50:
kind of hard to understand that. do you mean it was publicly available then someone decided to try and get the commit merged into cm7 so he pulled the patch?
[T-Mobile LG G2x] fcisco13:
It was merged for a nightly or two then removed.
[T-Mobile LG G2x] morfic:
It was work in progress when it was merged into cm.

Not finished. So supercurio requested it gets removed.

He showed me measurements explaining his dissatisfaction with the patch, judging from the measurements, we wouldn't want the patch.

I have not seen progress of it since.
[T-Mobile LG G2x] abhinav.tella:
Bluetooth/WIFI Conflict Problem

Morfic is your AVP clock causing Bluetooth to conflict with WIFI to cause bluetooth not to turn on? I have had it on all your g2x kernels so for, though other than that latest is stable and good in all other ways.
[T-Mobile LG G2x] Neejay:
ah ha! I forgot I flashed this kernel yesterday. My bluetooth would turn on and connect to my earpiece, but every call I made had the speakerphone on.

I was trying to figure out what I'd done differently to cause bluetooth not to work.
[T-Mobile LG G2x] aajgar:
Do you have wifi calling enabled ? try disabling wifi calling first and then call using bluetooth. If bluetooth headset works then I think it is CM issue --> http://code.google.com/p/cyanogenmod/issues/detail?id=4411
[T-Mobile LG G2x] Neejay:
Yep! Reading that issue on the tracker sounds about right.

The irony in this is, I need wifi calling due to the reception I get in my house...I was trying to play BF3 with my friend.

ugh...
[T-Mobile LG G2x] abhinav.tella:
Bluetooth/WIFI Conflict Problem

I do not use wifi calling, as I deleted kineto but still get conflict between bluetooth and wifi... I do not get this problem on stock or Faux's rom, so I am guessing higher AVP clock might be the reason.... Problem is with wifi on bluetooth will not even turn on so I guess my problem is different from yours neejay.
[T-Mobile LG G2x] morfic:
AVP is actually stock, so the problem lies elsewhere.

next thing to attack.

Yes if it turns on but routes wrong, that's a separate issue.

For now, turn of wifi, enable BT, turn wifi back on.

Back at work, so it may take me a few to get this tracked down and fixed.

Once the other issues are fixed I may look into higher bus speeds but not sooner.

On that note, if too many have trouble running at 1.54 GHz I can drop to 1.50 to make it usable for more.

I'd rather not increase voltage to increase stability,DTT would just kick in sooner anyway.

Any other issues?

Battery life.

Snappyness.

Performance.

Anything?
[T-Mobile LG G2x] abhinav.tella:
Bluetooth/WIFI Conflict Problem

well morfic that was a fast response lol. Also my bad I thought AVP was still Oc'd. Glad to see this kernel get better each time, very stable with the latest one. Thanks for your hard work.

By the way morfic, out of curiosity anyway to remove UI/Browser scroll lag of CM7? Because it is not there in LG stock only CM7.. Is there anything kernel wise that can be done because in droid forums I heard some custom CM kernels fixed it for the DroidX I believe...
[T-Mobile LG G2x] dligon:
@morific what is this in regards to tegra http://tjworld.net/wiki/Android/Tegra/Linux/SourceCodeRepositoriesAndPatches
[T-Mobile LG G2x] morfic:
I fix lag on other phones by tuning ondemand governor, since we have no governor per se, this wouldn't work.

Didn't actually notice it, just remember that since resetting launcher pro to defaults I enjoyed G2x more.

I'll look for that later, although I am not noticing it here right now.
[T-Mobile LG G2x] fcisco13:
@morfic Is this possible to add to kernel???

http://tinyurl.com/7vrlbvx

Thanx.
[T-Mobile LG G2x] morfic:
Really cool mod.

I'd like to wager that it's possible.

I haven't looked close enough at touchkey drivers to promise anything.

And without reference code, I'd have to also check how you can check for the sliding on this phone.

Let me work on bt/wifi blocking going on first.
[T-Mobile LG G2x] fcisco13:
Thank you sir.
[T-Mobile LG G2x] morfic:
<morfic> you still use your free.fr email?

<supercurio> its still working

<supercurio> oh!

<supercurio> I didn't answered your mail yet

<supercurio> 473 unread messages in my mailbox, uh

<supercurio> ah yah

<supercurio> Voodoo Sound O2x & CM

<morfic> every time i quote you, i feel the need to double check i didn't say it wrong ;P

<supercurio> I don't remember exactly

<morfic> yeah P99x

<supercurio> what I can tell now

<supercurio> I managed to fine out how to write driver better

<morfic> the patch faux commited, from what i recall you disliked, linking me to some measurements you took and it wasn't hot at all to say it in a nice way

<supercurio> and I'll finally be able to write a proper driver

<supercurio> yah I was supposing it would take a lot less time

<morfic> you also took on a whole lot of new things since then

<supercurio> yes because I was stuck

<morfic> you needed to kick rocks, seems you did and they worked

<supercurio> and its by writing thathttps://github.com/project-voodoo/ld9040_voodoo_exynos_galaxysii/blob/master/ld9040_voodoo.c that I finally understood how to do that

<supercurio> after months slowly digesting the LDD3 book

<supercurio> I try to prioritise, but cannot get it always right

<supercurio> ok I'm back on code!

<supercurio> I want to finish the driver today

<morfic> sgs2 today, P99x tomorrow?

<supercurio> lol no I'll have to finish the design and write it

<supercurio> but now I can

Ok, so there is still no new voodoo sound code for P99x, but he had such a excited tone to him, I actually think we may get lucky, just when is the question.

With the previous code is outlook was rather gloomy.

Thought I share this since voodoo sound always comes up as a very sought after feature.
[T-Mobile LG G2x] albertorodast2007:
Nice!
[T-Mobile LG G2x] abhinav.tella:
Well with or without voodoo sound, can't wait to try out your next release, whenever it may come.
[T-Mobile LG G2x] Call_Me_Blur:
Just downloaded and did a quick test with the latest ELP. No call of death for me! :D Great job morph!
[T-Mobile LG G2x] jamadio:
Working excellently on my end morfic, great job!
[T-Mobile LG G2x] morfic:
I had so focused on ELP. I rarely took T15 to work.

Been taking it to work, 216/1200.

Impressed by how much ELP shaped T15.

Not flashing new kernels all time and just using phone really made me enjoy the G2x a lot the last few days.

Thinking one kernel might do it all as much of ELP spilled into the kernel in general.

Would anyone miss ELP?

But BT fix next. Just need a good junk of time in one stretch to work on it.
[T-Mobile LG G2x] hesher:
Ok, flashed this kernel 4 hours ago and already had a sleep of death. :( what can I do? Any recommended settings to get rid of this problem?
[T-Mobile LG G2x] gman87:
New elp kernel is amazing, With juice defender battery is down to 68% started day at 8 am and now its nearly 8 pm with moderate use. T15 kernel though is a bit unstable tried it out yesterday and all was well for about few hours phone temp was constant around 85-92. I left my phone in my pocket for for a while maybe a hour or two with out checking it and it had shut down. And my phone was pretty hot I booted it back up and the temp was 120+. I was using the previous T15 before I switched to the new elp kernel, and it ran stable for me for the most part.
[T-Mobile LG G2x] googleme1:
I mean, if the next kernel that isn't ELP incorporates the ELP voltages and lasts just as long I'll be fine with it
[T-Mobile LG G2x] morfic:
The spread would have to be done from stable 1.5GHz on down, so a little higher.

But if used only up to say 1.2GHz, voltages dropped to same level, they should perform the same.

Having said that, now where there is a T15max with "toggly BT while wifi is already on" (aka fixed BT not enabling) the building of two versions doesn't seem so bad anymore. ;P

I started ELP as a flash it and forget it kernel, so i'll just keep it and let it do its duty.

Both linked kernels are their max (the extra ram) versions.

EDIT: By the way, T15 is for now dropped to 1.500GHz from 1.560GHz and later 1.540GHz, to make this stable on more phones.
[T-Mobile LG G2x] jamadio:
Sorry, I'm a bit confused. You've been talking about how ELP has shaped T15, but what's different about your 11/19 ELP kernel from 11/15?
[T-Mobile LG G2x] morfic:
It has BT that you can enable when wifi is already on, aka a nuisance of a bug was fixed.

Both linked kernels are the "max versions" which come with a little more ram for the OS.

if everyone confirms BT is fixed, There will be 2 more builds w/o the max option.

T15 and ELP are much more alike than i remembered and you could setup T15 to be very similar to ELP.

But ELP has one thing that T15 doesn't have, you flash it, and go use it, no setup in setcpu or the like needed.

I guess i was mostly a philosophizer when i pondered that question.

Pondering, reminds me, anyone opposed to T15 booting up to 1200MHz?
[T-Mobile LG G2x] hesher:
I guess no one can help me with my random sleep of deaths :(
[T-Mobile LG G2x] fcisco13:
Can you reproduce it every time? Are you using latest kernel?
[T-Mobile LG G2x] morfic:
which kernel? (full filename)

what are you doing just before the SoD?

which rom?
[T-Mobile LG G2x] hesher:
filename is: ELP-g2x-15112011

doing normal stuff (texting, browsing etc) and then press the lock button, then I go to unlock, and it doesnt come out of sleep. I see the screen backlight or something go on. just no picture.

running CM7 nightly 199.

Its not reproducable everyime, but since installing it this afternoon, it has happened like 4 or 5 times.
[T-Mobile LG G2x] morfic:
ELP Is pre-UV, your phone may not be able to hack the lower voltages. Try T15max linked a few posts up.

set max to what you want to run and UV the frequency steps until you leave stable territory

note them down, compare them to default ELP.
[T-Mobile LG G2x] abhinav.tella:
New Kernel

Morfic, thanks for the new kernel. 1.2Ghz sounds good, but I guess you might have to put it in with high voltages as some phones require or might just get more complaints of instability either due to OC or heat from higher voltages causing shutdowns, which would be counter productive. Might just better to leave it at 1Ghz with stock voltages and let them OC... but thats just my opinion....

As for Bluetooth it does seem fixed!

Also can anyone post stock nv voltages?

currently im using stably T15-Max (19) with the following:

1000 @ 1000mv

750 @ 850mv

594 @ 800mv

432 @ 750mv

216 @ 675mv

Does the no more than 100mv per step, still apply?

Multiple sources mostly other atrix etc forums mention that if any voltage below 770mv is set in Tegra2 its set to a minimum of 770mv actual. Is there any merit to this?
[T-Mobile LG G2x] morfic:
From the original OC Patch by cpasjuste:

/* DEFAULT LG P990 VALUES */

// Maximum recommanded voltage increment per step (by nvidia) -> 100mV

// TEGRA_OC: mV[0]-> 750 (770 real)

// TEGRA_OC: mV[1]-> 800

// TEGRA_OC: mV[2]-> 850

// TEGRA_OC: mV[3]-> 875

// TEGRA_OC: mV[4]-> 950

// TEGRA_OC: mV[5]-> 1000

What you heard is correct, the regulator has a minimum voltage of 770mV defined, by default.

I had it down to 725mV, but limit it to 750mV right now.

So yes, the 675mV are 750mV

So far all tegra2 sources for G2x i looked at, noone has touched the regulator yet.

The max 100mV step applies, i will test in the next days if it plays nice with 125mV steps.

But 100mV are enough to get from 1.56GHz down to 216MHz w/o a need for a higher voltage at 216MHz

Hope this helps.

EDIT: if nvidia recommends 1GHz and 100mV steps, and we don't stick to the max freq nvidia said, maybe we don't have to stick to the max step of 100mV either.
[T-Mobile LG G2x] abhinav.tella:
Thanks morfic, that certainly was very helpful information.
[T-Mobile LG G2x] :
Morfic, your kernel is amazing! I definitely get better battery life with your ELP max than any stock kernel I ever used.
[T-Mobile LG G2x] chillwill11:
^^^ Same great job
[T-Mobile LG G2x] hesher:
I cant seem to find t15max. Could you post a link for it? Also, where do I make those changes to voltage and frequency? In setcpu?

Thank you!
[T-Mobile LG G2x] jamadio:
He did, it's in post #1654.
[T-Mobile LG G2x] abhinav.tella:
Great Kernel

Morific, I just switched from your T-15-Max (19) to your new ELP-Max (19), for the last few days as is without any further UV, no problems so far and I hope you keep the 1000Mhz option as baseline for ELP as you have done now, I am getting between 1-2 hour better battery life than stock, albeit not a thorough estimate though.
[T-Mobile LG G2x] hesher:
morfic, they need your help at: http://xdaforums.com/showthread.php?t=1309620&page=36
[T-Mobile LG G2x] fcisco13:
@morfic

I know this is for n1, but is there a way you can work your magic for this kernel???

Usb otg

http://tinyurl.com/2uhxhwm
[T-Mobile LG G2x] hmichaelkim:
Morfic,

Can we raise the lowest freq 216's voltage to 770? 750 gives me SoD.
[T-Mobile LG G2x] jamadio:
Should he choose not to, you can use SetCPU or Pimp My CPU to change the voltages.
[T-Mobile LG G2x] adanson258:
would this kernel work winth miui 1.11.25
[T-Mobile LG G2x] hmichaelkim:
Can't overvolt, only undervolt. That's not an option.
[T-Mobile LG G2x] morfic:
tried echoing a -20 to the sysfs itself?
[T-Mobile LG G2x] morfic:
possibly simpler than the slide to wake mod, got the hardware to test this?
[T-Mobile LG G2x] hmichaelkim:
To see if it works?
[T-Mobile LG G2x] fcisco13:
Ill put in an order on ebay :)
[T-Mobile LG G2x] regime2008:
Will there be a release with voodoo sound soon? I remember seeing something a few pages back... The only reason I use faux instead of trinity, is for the voodoo sound. Besides that trinity all the way. *Crosses fingers*