yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] EEngineer:
Busy making this a kick-ass kernel!

I have a suggestion. Those if you using Mazout's kernels and still getting a SOD. Try increasing your VM Heap Size to something like 48m

Settings > CyanogenMod Settings > Performance> VM Heap Size.

Remember to reboot.

Also, in the same menu, make sure you have Allow Purging of Assets checked.

This might cure the SOD.

Of course, make a complete backup first before making any performance tweaks (setting the VM Heap too small can cause your phone not to boot).
[T-Mobile LG G2x] mansa_noob:
Already that way.

-- The noob says:

The g2x works best if you chant "humba lumba humba" while standing on one leg!
[T-Mobile LG G2x] adamiscool:
Omg hahahaha your signatures get better and better. So glad I haven't abandoned these threads, even though I've moved on to a new phone.

Sent from my HTC One (M7)
[T-Mobile LG G2x] Mazout360:
Sorry, I've been very busy lately with two full time jobs so I couldn't release the next build yet...Just posting here to say I'm still alive and working on this. I'm dirty-rebasing Linux to a newer version and it's a bigger job than I first thought, but it's required, I believe, for those experimenting abnormal battery drains and FCs, since the filesystem "drivers" are a bit outdated for some new updates to work properly.
[T-Mobile LG G2x] mansa_noob:
Thanks for the update buddy. Take care. We all have the needed patience for good stuff :).

-- The noob says:

The g2x works best if you chant "humba lumba humba" while standing on one leg!

---------- Post added at 09:28 PM ---------- Previous post was at 09:18 PM ----------

Yeah, I figured this is the only way I can feel like a developer ;)

-- The noob says:

The g2x works best if you chant "humba lumba humba" while standing on one leg!
[T-Mobile LG G2x] n30wav3:
Thanks bud... take ur time... the way u have fixed the kernel panics for me... its awesome.... I (we) now have a hot SOD problem occurring (started only in the most recent OC build so probably result of something u did to resolve the other prob) but its frequency is pretty low ... we know u hv the ability to fix it so just let me know whenever u want to look at this... ill find a log for u..

Thanks again
[T-Mobile LG G2x] adame09:
Is there anything interesting you think you can use in tamasek's kernel source you probably already saw it but here it is just in case https://github.com/temasek/lge-kernel-star/commits/android-tegra-2.6.32
[T-Mobile LG G2x] mansa_noob:
The silence is deafening!

I must confess, I have two of the g2x. So a few days ago I switched from one to the other for no other reason than to try the kernel.

Interestingly enough, the second g2x is more compatible with the OC kernel. I will do a wash, dry, install and test song and dance with the first just to rule out that issues were due to constant flashing and reflashing and reflashing and reflashing... you get the picture :D.

Overall I am running with 1.4 OC without any issues other than SOD when charging without awake checked. May have to live with that.

Sent from my other g2x... I know, am a fool for buying two.
[T-Mobile LG G2x] towelboy:
Wow you're really lucky. I have four g2x's (The whole family got one) and none of them is compatible with OC and is barely compatible with the regular kernel from maz without SOD's and other bugs
[T-Mobile LG G2x] mansa_noob:
The g2x that was having issues was wiped using cleanup batch, followed by cm7 install. One full day with no issues. Now installing the OC kernel if Maz. Fingers crossed.

-- The noob says:

Bow your head for the android's prayer... I am an android, but I can change, if I have to, I guess :(
[T-Mobile LG G2x] EEngineer:
Try setting the governor to Performance, it's the most stable for OC.
[T-Mobile LG G2x] towelboy:
Won't the battery life be horrendous
[T-Mobile LG G2x] EEngineer:
Actually, no. The Performance governor is supposed to pin the frequency at maximum all the time, but it doesn't behave like that on the G2X.

On all the G2X kernels it seems to keep the phone at a faster speed a little longer before it throttles down. I've actually seen a 20% improvement in battery life, and this is why: while the phone draws less power at 216MHz compared to 1000MHz, the phone actually sucks lots and lots of power as it accelerates from 216MHz to 1000MHz.

In other words, the process of accelerating from a lower CPU speed to a higher CPU speed creates a current spike that drains the battery quicker. Letting it sit at the higher speed a little bit longer, just in case the phone needs the higher CPU again soon, is better on the battery.
[T-Mobile LG G2x] towelboy:
Wow, that's very amazing. Does that apply to the stock 2.3.4 kernel as well?
[T-Mobile LG G2x] EEngineer:
Probably. But you should test it yourself to see. I always trust my own tests.
[T-Mobile LG G2x] towelboy:
Hm, so I downloaded no-frills cpu control and it grayed out the governor selection on a stock rooted g2x
[T-Mobile LG G2x] redmonke255:
Yea with the g2x and tegra 2, the governor control is built in. We don't have any control of it (when there was a lot of development there was discussion of this and all the kernel devs confirmed it). If you're able to change it, it's a mistake and just snake oil.
[T-Mobile LG G2x] mansa_noob:
Now running full 1 day with 1.2 GHz and no issues. Will bump up to 1.4 and see what happens.

My guess at this point is that flashing, re-flashing, and then some more re-flashing was the source of the issues (overheating, freezing and rebooting).

-- The noob says:

Bow your head for the android's prayer... I am an android, but I can change, if I have to, I guess :(
[T-Mobile LG G2x] meatfest1974:
...this w/ [P999|CM9] ParanoidAndroid [Build 12]

...I've gotta say that I've finally given up on the utopia of a fully-functional JB ROM for the G2X ever existing; it is the Holy Grail of any ambitious Android ROM developer.

As a mid-level ROM enthusiast (solicitor, not developer), I think I've come across the perfect mix that works for me:

I've installed tonyp's [P999|CM9] ParanoidAndroid [Build 12] - Jellybean flavoured - PDroid - Smooth&Stable (+ ver2 Gapps):

-> http://xdaforums.com/showthread.php?t=1762647

Ran it and installed Mazout360's latest CM9 HackFest OverClock kernel:

-> http://goo.im/devs/Mazout360/KernelP999/Mazkrnl_0323HFOC.zip

So far, because Mazout360's PA ROM is a smoke-screened ICS (camouflaged as JB), this ROM installation alone has been somewhat laggy, slow, and occasionally crashy on my G2X. However, the battery-life is notable (because it's ICS).

Yet combined with Mazout360's kernel, the overclocking and other perks have made this ROM slicker, more stable, and absolutely wonderful.

Thanks to both tonyp and Mazout360 for their invaluable hard work and dedication towards developing such iconic ROMs and kernels for the conundrum that is the T-Mobile LG G2X.

(NOTE: I've canceled my T-Mobile phone and went Virgin Mobile w/HTC EVO 3D (a less adventurous downgrade, I know). Thus, I don't need the phone; I've killed both the radio and mobile data and left it permanently in airplane mode, but keeping the Wi-Fi active. I'm not sure how or if this unit works as a usable mobile phone, so you'll have to try and let me know...)
[T-Mobile LG G2x] redmonke255:
Yep I try to do a fresh install once in a while to fix everything.
[T-Mobile LG G2x] justjackyl:
Yeeeppppp...
[T-Mobile LG G2x] Mazout360:
Stable build almost done, with a new linux base :p
[T-Mobile LG G2x] mansa_noob:
Goosebumps!

-- The noob says:

I watched in horror the CM7 boot screen after my g2x rebooted during a phone interview!
[T-Mobile LG G2x] EEngineer:
I'm all tingly! :victory:
[T-Mobile LG G2x] SpaceRanger69:
This will be the last kernel that I use for the G2X... My new SGS4 will be here "soon(tm)"... :)
[T-Mobile LG G2x] TheCoutures:
Will this build include Morphics fix for the BSOD while charging?
[T-Mobile LG G2x] EEngineer:
I'm running CM7 nightly and I just went the ICS/JB route. Installed the ICE10 Theme

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

and the Holo Launcher and the Holo Locker (screen lock). Both are lightweight and low on CPU resources. My G2X is FAST and looks like ICS/JB, plus I get to keep HW acceleration!
[T-Mobile LG G2x] meatfest1974:
...oh, using CM7 as a base ROM for a JB theme. Who'd a thunk it?

Just out of curiosity, which CM7 GB ROM are you using? I just might tinker with it by adding this OC kernel and the JB theme you recommended.

Sounds scrumptious, actually.
[T-Mobile LG G2x] adame09:
Can't wait
[T-Mobile LG G2x] EEngineer:
It is!

1. Start with the latest CM7 Nightly.

2. DO A NANDROID BACKUP

3. Install the ICE10 Theme: http://xdaforums.com/showthread.php?t=2003484

. . Put the Ice10.apk on your SD Card, click to install. Then start the Theme Chooser app, select Ice10 and click Appy.

4. Install Holo Launcher: https://play.google.com/store/apps/details?id=com.mobint.hololauncher

. .Holo Launcher on XDA

. .Holo Launcher is a brilliant app that gives you the ICS app drawer, screens, and menus. The screenshots don't

. .do it justice, it looks even better than that

5. Install Holo Locker: https://play.google.com/store/apps/details?id=com.mobint.locker

. .Holo Locker on XDA

. .This gives you the ICS lock screen

I have a thread with screenshots here:

http://xdaforums.com/showthread.php?p=41672435#post41672435
[T-Mobile LG G2x] towelboy:
holo locker isn't stable for me, sometimes the original lockscreen shows up instead! Have you ever crossed that problem?
[T-Mobile LG G2x] xBkKx:
If you're on CM7 you can disable the stock lock screen in CM Settings under tablet tweaks. I use go locker since it has the swipe to access camera and widgets on lock screen

Sent from my LG-P999
[T-Mobile LG G2x] EEngineer:
Yes, that seemed to happen in the beginning, but after a few days and a few reboots I don't see the old lockscreen anymore.
[T-Mobile LG G2x] Mazout360:
Indeed, that's a known bug and I just can't find out why... I should've fixed haptic feedback by now so I'll see if that's fixed too during my testing tonight.

Finally I won't be using a new Linux base...the work is done but I can't get the same stability and efficiency as in the current kernel version. I messed up my device many times because of compatibility issues so we'll forget that.
[T-Mobile LG G2x] Mazout360:
Okay I think it's time for something new

Build 0522 is being hosted in my goo.im account, and links will be up tomorrow on XDA if everything works perfectly until then!

As I said in my last post, I had to abandon the new linux project along with many new updates and tweaks that won't work on 2.6.32. The changelog is definitely smaller than I expected but I think it's worth a share nonetheless. Try it and you'll understand why :p

Concerning RAM usage, I do not use/enable memory compaction but this kernel can handle a swap partition (which has been optimized in previous builds) using a swapper app or the good ol' terminal emulator. This may be an alternative if you wish to free the RAM of unused memory pages to run a lot of apps simultaneously or some 3D games.

Changelog

Fixed haptic feedback - This was often requested...now it works.

Fixed an issue in the lowmemorykiller that would kill every app stupidly

Optimized cleancache - We don't want this to eliminate cache pages that are still used.

Enabled SLQB allocator

Several stability/potential SOD fixes and ARM-related updates

Updated wifi drivers + fixed reported errors from EXP build

Added JRCU - RCU optimized for small SMP systems

Updated google SNAPPY

...And I probably forgot some

As always, give it some time to load properly on the first boot. ROW is slow on write speeds so rebuilding the dalvik cache takes some time. Also, I do not test hackfest/overclocked builds as they use the same kernel base anyway.
[T-Mobile LG G2x] redmonke255:
Haptic feedback never felt so good.
[T-Mobile LG G2x] n30wav3:
Yup extremely solid haptic feedback....

Couldn't resist downloading the kernel from goomanager :p
[T-Mobile LG G2x] TheCoutures:
Did you use Morfics SOD while charging fix?
[T-Mobile LG G2x] Mazout360:
I do not use anything from morfic since I never had a single SOD with this new version
[T-Mobile LG G2x] EEngineer:
Mazout, wow, you wrote Holo Locker?

FYI... I haven't tried your new kernel, but on your previous kernels I noticed that the media scan took a lot longer than other kernels.

I'm presently using Morfic's Trinity T15-G2x-06022012 kernel which is very stable (no SOD, no crashes, no problems), but it has nowhere near the great battery life of your kernels.
[T-Mobile LG G2x] n30wav3:
Having a weird problem for the first time ever Mazo. The whole thing just hangs whenever I put some load on the CPU. like doing multitasking with slightly heavy apps. Even the screen just stuck. I cannot turn the screen off. Cannot even force reboot (Power + VOL UP) . I have to take out the battery.

One thing to mention. I have always used v6 supercharger and on the Kernel tweaks I have always chosen Rock Hard kernel(which prevents reboot whenever there is a crash) But this is the first time its crashing while its ON on a working state not in IDLE state.. It's like an SOD in a Working state. Let me know if you need a log,
[T-Mobile LG G2x] Mazout360:
Ehh no I didn't write Holo locker, but I'm using it too and the bug appeared when I flashed my last kernel so I

guess it's my fault..

Probably a ROW issue with the media scanner..if it has to write something to memory, it'll be much slower than using another scheduler... ROW is supposed to prioritize such requests but adequate IO prioritization is only found in Linux 3.3..so I'm having a hard time Backporting that all the way to 2.6.32

Yeah I noticed that too..that's why I didn't share the links yet :p if you give your apps some time to load, even though the phone is unresponsive, it should eventually work and the apps won't lag anymore....going to fix that as soon as possible
[T-Mobile LG G2x] n30wav3:
:eek: ... u mean if I just leave it will eventually work, are you sure about that? Haven't tried that yet but I have left it for like 2-3 mins still didn't came back. I am asking this as I don't wanna flash the last one again although it was the best kernel by far for me........ Good to know you are already working on it though :)

Thanks
[T-Mobile LG G2x] EEngineer:
The problem with Holo Locker seems to be independent of the kernel.

I use the NOOP scheduler.
[T-Mobile LG G2x] TOG565:
Now if we only had BT with CM7/new bb....Im trapped watching you all have fun. The misery.......
[T-Mobile LG G2x] n30wav3:
Nope. Just tested out waiting half an hour after it hung up. At first it felt like it may work as the capacitive keys led was turning on and off as it should but few mins later it just stuck on.... and after half n hour I finally pulled the battery out....
[T-Mobile LG G2x] mansa_noob:
With 5/22, had to pull battery once... OC@1.5 no issues yet, but battery seems to be dying faster than before.

-- The noob says:

I watched in horror the CM7 boot screen after my g2x rebooted during a phone interview!
[T-Mobile LG G2x] Mazout360:
Yes I know. I just talked to faux and I need to make some adjustments because it won't overclock on some ROMs.

I said earlier that you would have 1,4GHz by default if you don't have any CPU management options in settings. I was wrong...you should be at 1GHz. You would get 1,4GHz only on some CM7 builds. This will be fixed in my next build.
[T-Mobile LG G2x] AndroidKills:
Ahh i was just going to say (since im on cm7) that i was able to overclock it, but you beat me to it.

Just wanted to say you have been a big part of the g2x community and am very glad to have people like you who're committed.

My nexus 4 came in the mail today, so it's been a fun ride. but ill still be using my G2x for test stuff like this. Thanks a lot!
[T-Mobile LG G2x] TheCoutures:
Understood, enjoy the beer ( I know things are more expensive in Canada eh? ) I sent ya for all the hard work.
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Governors are still only listed as PERFORMANCE or POWERSAVE.

Antutu CPU PRO, SETCPU PRO.

Am I missing a step?

I did my wipes correctly, and confirmed the kernel was flashed and working.

What I'd like to see is a basic lulzactive, which the user can tweak to their needs via an app.

Anyways, thanks for the hard work!

Sent from G2x, CM7 Weekly 1-1-13, Faux 054.
[T-Mobile LG G2x] Yuvin:
Mazout, Do you also want me to make a User Thread for this Kernel? Probably will keep this thread clean. (:
[T-Mobile LG G2x] TOG565:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

I've dl'd this 3 times and tried to boot it but I keep getting install aborted....hmmmmm
[T-Mobile LG G2x] Mazout360:
There are many governors available in this kernel, not only performance and powersave. I don't know why they are not listed but I'll check if there's an incorrect setting somewhere.

I can implement lulzactive in my next build, but my aim would be to get ROW to work. I had very good results with it in my CM10 kernel.

Yes sure, thanks! I think this will become a necessity. A FAQ section as well as a suggestion list would be nice.
[T-Mobile LG G2x] Yuvin:
Yea, That's a great idea! FAQ and Suggestions would be good. I'll post a new thread tomorrow, got to go to bed now. Anyways, if anyone has any suggestions and FAQs and answers, please just reply to this post and tell me so that I can put the lists in the new User Thread. Thanks.
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Mazout... I reflashed the kernel ... the missing ram problem is still there.... to be exact I am losing ram when the screen is turned off or when I am turning it back on. I see the gradual slowdown and the decreased ram.

I am using both of ur kernel versions right now. The boot.img on systemchanger and the original one is flashed directly... do u think this maybe doing the problem? Cuz from my point of view when u flash the original one it creates a newboot.img file which should be the same as boot.img right?
[T-Mobile LG G2x] Mazout360:
Losing RAM is NOT normal and is probably due to a bad flash.

Boot.img is simply a "copy" of the mmcblk0p5 partition, which contains the kernel itself and some boot-related files. When you flash one of my kernel it simply makes a boot.img out of that partition, changes the kernel file inside and reflash it. It might be a problem with the boot.img that I gave you too...

Make sure you do not swap both kernels and use the CM7 version for gingerbread and the CM9/10 version for the hackfest too.

Other than that I don't know what could be wrong...maybe a kmsg could explain more if you still have issues.
[T-Mobile LG G2x] mk2rimar:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Wish kernel to use with weapon g2x????
[T-Mobile LG G2x] TOG565:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Trying to boot on to Hellfire but I continually get a boot aborted message...hmmmm

---------- Post added at 11:39 PM ---------- Previous post was at 11:14 PM ----------

Alrigghhttttt...up n running. Lets see what this pigs got.. ..

---------- Post added at 11:44 PM ---------- Previous post was at 11:39 PM ----------

I'm showing default at 1480/216. Anyone jamming anything different?
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Default was 1015ghz for me.

Man, everyone is reporting different things.

As far as RAM goes, 373MB as with any (exception, ELPMax which is 404MB) custom faux, morfic, or harsh based kernel on CM7 and it's variants.

Tested all day at work maz, my comment on my kernel thread was due to operator error on my part, cause this is running great, and seems smoother for my needs over faux 54 and Trinity T15.

Thanks for feeding some efforts to the functioning of cm7.

:beer:

Sent from G2x, CM7 Weekly 1-1-13, Faux 054.
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Forgot to add n screenie

View attachment 1693990

Sent from G2x, CM7 Weekly 1-1-13, Faux 054.
[T-Mobile LG G2x] grantusmantus:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Good to see you got your phone up again dude. Im running 1480/216. Super stable. No BSOD. No over heat. No lag. No crashes. But all the butter i can handle.

@Mazout and @Faux...you guys do really great work. No joke. We may have had a bumpy ride with the G2X but, you, and all the other developers, gave alot to us to try and smooth things out a bit, and you have done a VERY good job. Thanks for your work.

Sent from my crispidy crunchedy peanutbuttery G2X
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Finally.... I debunked the gradual decrease of total ram.... its working super.... gonna let it sleep all night and will report back in the morning with confirmation.
[T-Mobile LG G2x] NeKr0MAtiK:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

No issues for me so far. Cm7.2. Main problem I had with faux on cm was bsod. In fact get bsod with every kernel on cm7.2 except stock cm. So tonight will be the true test. If it "survives" the night then its a keeper for me. As of right now this is the best this phone has ever worked. Here's hoping I wake up for work on time lol.

Edit: Woke up a few minutes ago to bsod. Guess this phone just doesn't play well with custom kernels. Could someone point me to the no sleep on charge setting? Can't seem to find it on cm 7.2 thanks.
[T-Mobile LG G2x] TOG565:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Thanks all. Not sure why I continued to get corrupted DL's but, it was worth the added effort. This is the butteriest this G2X has ever felt and I'd put this dinosaur up against anything out there. While the G2X may have gotten F'ed by Nvidia and LG; its got the best damn developers on XDA!
[T-Mobile LG G2x] xblitzz:
Settings->Application->Stay away .. since its on charge.. it doesn't really matter.. the only thing is after you have plugged it in.. just press the power button so the screen shuts off

you could try something else though.. I seem to have noticed that it happens when I have WiFi activated.. can you check if it doesn't happen without WiFi?
[T-Mobile LG G2x] Mazout360:
Is somebody else having BSODs ?

Personally, when I used Faux's version, I had BSODs after every overnight charging when "Stay Awake" was not ticked, and now after 4 days of continuous use I had none.

If this only happens when Wifi is on, then there's a problem with the Wifi driver and it's fixable.
[T-Mobile LG G2x] EEngineer:
Why in the wide wide world of sports would you ever have an interview by mobile phone?

Anytime I have an interview it's by landline, only because the call is clearer.
[T-Mobile LG G2x] mansa_noob:
These are supposed to make people smile... just a bit of fun. And BTW, I did a phone interview with the g2x the other day because Bluetooth lets my hands be free and the phone did NOT die on me :D.

My signature is due a change anyways ;).

-- The noob says:

I watched in horror the CM7 boot screen after my g2x rebooted during a phone interview!
[T-Mobile LG G2x] Mazout360:
Okay that's not normal..If you can could you send me a kmsg please (logcat would be great too, taken during the bug) that would really help me as I have no free time until Saturday

. If the source of this problem is clearly seen in the logs then I could get this fixed faster

Good to know I'm not messing up holo then :p

I don't know why the media scanner takes so much time but I believe it is caused by the same issue n30wav3 is experiencing. I'll work this out

Performance and stability comes at a cost. My initial testing reported less battery usage after a day of use but I don't know for OC builds. Reworking the voltages and the OC code is still in my todo list