yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] le66450146:
I believe it's the zip breaks the partition of the phone's internal memory.
[T-Mobile LG G2x] djvoleur:
CM 7.2 Stable - update-harsh-cm7-3.0.34-P999-1106

Hopefully this will help you Harsh :)

Flashed with CWM 5.0.2.0
[T-Mobile LG G2x] Harsh:
Updated new kernel build-1907, NO-OC

Changelog:

Linux Version 3.0.37

Improves SIO scheduler for flash storage.

Added V(R) I/O Scheduler. (select if from AnTuTu CPU Master)

other various fixes (thanks to vork[benee] and faux123)
[T-Mobile LG G2x] iDreamless531:
Sweet Harsh
[T-Mobile LG G2x] Mazout360:
Wow the vr I/O scheduler makes this phone almost lagless...Very impressive kernel thanks!

Envoyé depuis mon LG-P999 avec Tapatalk
[T-Mobile LG G2x] Darkseider:
Very cool so far. Can't wait for the OC version so I can really see my G2X fly! This + HFS v1.9 = LOVE
[T-Mobile LG G2x] thakrew317:
Is their a kernel for gingerbread? From harsh?
[T-Mobile LG G2x] Pecata:
I am still having issues with battery percentage not updating properly when charging...anyone else? How can I fix it? This is the only thing preventing me from using it as a daily kernel. I am running HFS 1.9 at the moment.

Thanks.
[T-Mobile LG G2x] Mazout360:
Every time i set the i/o to vr using antutu it reverts back to sio after a reboot..is there a way to fix that or manually configure it to vr?

Envoyé depuis mon LG-P999 avec Tapatalk
[T-Mobile LG G2x] Harsh:
It resets after reboot, because antutu set is like that. There must be other apps who can set it back to vr after reboots, just have to search market for it.
[T-Mobile LG G2x] bhowanidin:
How's this with EB ICS 4.0.4?
[T-Mobile LG G2x] khanh1289:
The new build is really smooth. I love it! Using with miui v4
[T-Mobile LG G2x] rosevilletoyota:
Any Idea when will get an OC version?? thanks
[T-Mobile LG G2x] djvoleur:
@Harsh

I have plunged in and decided to compile your kernel for the GB side of the G2X and noticed that in the defconfig for the P999:

# Partition Types

# Kernel hacking

# Security options

# Authenticated Encryption with Associated Data

# Block modes

# Hash modes

# Digest

# Ciphers

# Compression

# Random Number Generation

# Library routines

Are replicated again towards the bottom, could this be causing the issue of why the GB version has problems?

Towards the bottom is has

# CONFIG_SYSCTL_SYSCALL_CHECK is not set

CONFIG_TEXTSEARCH_BM=y are MISSING

CONFIG_TEXTSEARCH_FSM=y MISSING

So my question is, can the ICS defconfig be used to compile for the GB side?
[T-Mobile LG G2x] Harsh:
Yes you can use ics config to compile gb but some stuff may break example usb . Just need to change usb config as per gb and more if you find.
[T-Mobile LG G2x] rosevilletoyota:
Hello Harsh thanks you all you do. We all can't wait for a the OC Version. Any idea when it will be released?? thanks
[T-Mobile LG G2x] hypemanisus:
alright you can use rom toolbox under performance/kernel tweaks/advanced choose the scheduler u want and CHECK APPLY ON BOOT.
[T-Mobile LG G2x] Harsh:
New kernel coming soon, also oc version. Latest Linux 3.0.39
[T-Mobile LG G2x] Harsh:
Uploaded new build 0208 with stock for normal users and also OC version for over-clockers :D

Changelog:

build 0208 Stock & OC

Linux Version 3.0.39

Reverted various fixes which were implemented in 1907

Compiled with linaro toolchain on OS X

Links in OP, and also in my signature
[T-Mobile LG G2x] Mr. Apocalypse:
Crap!! I was trying to wait for both stock and OC versions to be updated before releasing my stuff yesterday, oh well, flashing now, thanks for the update. :D

Sent from my XDA premium app cuz I'm stalking your mom..
[T-Mobile LG G2x] Mr. Apocalypse:
Disregard double post :rolleyes:
[T-Mobile LG G2x] cricketAC:
Smooth sailing!

Thou your running script in cwm still says 3.0.28. Better update that. For a sec I got confused/worried.

Sent from my LG-P999
[T-Mobile LG G2x] Harsh:
Thanks, it will say 3.0.y from next update. Thanks for pointing it out.
[T-Mobile LG G2x] khanh1289:
thank you sir.. running very good so far!
[T-Mobile LG G2x] cricketAC:
What is the default minimum voltage for this phone or kernel?

675 or 750

Sent from my LG-P999
[T-Mobile LG G2x] FatalityBoyZahy:
Sorry if this might be off-topic... But how is MIUIv4? Especially with this kernel? I'm thinking about giving it a shot.

What do you have the clock speeds set at?
[T-Mobile LG G2x] booma428:
Miuiv4 is pretty good and so far it's remained smooth...had it for week and not much to complain (usual ics bugs of course). Comes with harsh kernel but I don't oc or anything so can't provide feedback there
[T-Mobile LG G2x] FatalityBoyZahy:
Hows battery life, and does your phone over heat while running it?
[T-Mobile LG G2x] booma428:
Phone doesn't over heat but I'd have to day battery life is terrible imo.. spends most of time in pocket with minimal use and dead within 7 hrs or so
[T-Mobile LG G2x] FatalityBoyZahy:
Awww :(

I have a friend with a Galaxy Nexus... and I just cry whenever I watch him use it. lmao
[T-Mobile LG G2x] cricketAC:
Mines awesome on miuiv4, 5 hrs of super heavy usage and 15 hours on light.

Sent from my LG-P999
[T-Mobile LG G2x] djvoleur:
Success...sort of...

@Harsh...

I managed to compile your kernel (3.0.34) but running into the same issue with CM7. I was wondering what could be some causes of why mmcblk0boot0 is unable to read partition table...or if it could be an issue with the file system for mmcblk0boot0 and mmcblk0boot1...or something even more obvious that I'm missing...

Any assistance would be appreciated...thank you! :o
[T-Mobile LG G2x] Harsh:
Really don't know what's wrong. It works fine in O2X but not in G2X. Maybe you need to check if jarvis for gb works ok, than ask benee for help.
[T-Mobile LG G2x] djvoleur:
Success!!!

With the help of Krylon360...the issue was vold.fstab...emmc is referencing the wrong partition...a simple change from 9 to 8 fixes it :victory:

It even shows 9 on the CM github...for the P990 and P999...
[T-Mobile LG G2x] Harsh:
Great work, so now there can be good 3.0.y kernel for CM7.

And did you check, if this fixes reboot not working issue too in CM9?
[T-Mobile LG G2x] djvoleur:
It looks like CM 9 already has partition 8 on the CM github...last comment was referring to CM 7 being the same... so it looks like that issue is something else :confused:
[T-Mobile LG G2x] djvoleur:
Info please...

What the heck...let's see if we can figure this one out...if you are having this issue...can you please post here or send me a PM with this info:

1. Shut down phone and boot into recovery, version listed:

2. From ROM Manager, go to Reboot into Recovery, version listed:

3. If not using CWM recovery, what recovery you are using:

4. CM 9 or CM 9 based ROM version:

5. Kernel (if using something other than Harsh's):

6. If using CWM Recovery, after completing steps 1 and 2, can you boot into Recovery now from the Phone Options?:

Thanks!
[T-Mobile LG G2x] hypemanisus:
No over far even once battery" no need to talk about that harsh got the best battery life
[T-Mobile LG G2x] bluenote73:
This is awesome, I've been waiting so long to use harsh on cm7 without messing up my phone!
[T-Mobile LG G2x] djvoleur:
It's awesome :p
[T-Mobile LG G2x] Harsh:
I updated GB kernel branch up-to Linux 3.0.39

http://github.com/bhanvadia/tegra-linux-3.0.y/commits/p99x-ics-3.0.y-GB

maybe you can just update your fork :D
[T-Mobile LG G2x] djvoleur:
Spank u...

I'm on it! Hehe...Linaro and 3.0.34 is...awesome...lets see how it is with 3.0.39 :p

Edit: Y U LEAVE ME MESS? :p
[T-Mobile LG G2x] nycelitemaster:
When can we get to taste Harsh Kernel for CM7.. Dying here.
[T-Mobile LG G2x] bluenote73:
With OC I hope!
[T-Mobile LG G2x] Blazing angel:
Just a question Kernel-compliers ( :laugh:), would it be possible to incorporate a fast charge "mod" in a kernel for the g2x/o2x? I know the nexus s and the galaxy nexus have one (disables usb data and charges pretty fast)

**This is by no means a "demand" or request. I'm just wondering if its possible :good:. Thanks for the effort in making kernels :highfive:
[T-Mobile LG G2x] thor6577:
I get at least 34 hours of battery with this kernel and Genesis ROM!

If I helped you, push the thanks button for goodness sakes!
[T-Mobile LG G2x] djvoleur:
CONFIG_FORCE_FAST_CHARGE=y :p

I believe its already there :rolleyes:

I could be wrong...
[T-Mobile LG G2x] Harsh:
Its already there as djvoleur said. You just need to enable it yourself or USE owain's ROM in which there is option to enable it.

Bullseye! Its already implemented in kernel :D
[T-Mobile LG G2x] nycelitemaster:
Can we get a link for cm7 kernel :p since its all good.

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] djvoleur:
Sooo...

This is "as-is"...don't flash this if you don't know what you're doing...

Don't bug Harsh regarding issues with this...only bug him when he puts out the "official" version :p

A couple of you have asked for something...here ya go

I've only tried this on CM 7.2 Stable so it should work on CM 7 based ROMs...this is NOT for ICS...please see the OP for those versions...

....

...

..

.

Make a backup first... :) if you get stuck in recovery and can't get out of it...you will need to NVFlash although it does contain the updated vold.fstab so it shouldn't happen but you never know...

Minor Issues:

-Titanium Backup might freeze when you run it after you flash this, go to the Applications > Force stop and clear data...should be good to go...it may affect other applications that reference partitions FYI...

-Slight delay on the screen turning off when you push the Power button...at times...(with Auto-Brightness)

-Have slow GPS locks? try this

-Wifi Calling app may get an Invalid Sim error...a restart fixes this...

Zip should be flashable (I flashed a couple times to make sure and it worked...for me)...I'm a zombie right now so forgive if it's not :) I'm excited for another CM 7 kernel...yay!

Happy flashing!

Make sure to thank Harsh et al!
[T-Mobile LG G2x] Blazing angel:
Thanks boss :good:
[T-Mobile LG G2x] nycelitemaster:
woot harsh cm7 worked like charm OMG.. I wanna keep on checking it.. I am loving it.

edit: i am using CWM 5.0.2.0, i am going to install twrp and will update how it goes.
[T-Mobile LG G2x] nycelitemaster:
Everything great so far, drawsomething freezes. Works fine on faux kernel.

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] djmeistro:
Tried flashing the kernel compiled for cm7 ....I'm on HFP....it goes passed the boot animation and then is just a blank black screen...

Edit: I downloaded another copy with the browser instead of using the xda app and it worked!!! Any chance for the overclocked version?? Thanks djvoleur!
[T-Mobile LG G2x] timekeeper:
This is a bit OCD of me, but any chance of fixing the LED's going to brighter brightness right before timing out and turning off when the screen brightness is set to low? The trinity kernel seems to have this nailed. I use it in bed at night, so I notice the brightness changes.
[T-Mobile LG G2x] nycelitemaster:
@dj and harsh, thanks for putting together cm7 kernel. It is great only 2 issues i found so far.

1) Drawsomething freezes

2) internal sd card was not linked so inaccessible. I fixed this. See attached vold.fstab

http://db.tt/4MXObCAS

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] djvoleur:
@timekeeper...I don't experience this...what ROM are you using?

@ny...I was afraid something like this would happen...ur ROM references the emmc as _InternelSD...in CM 7.2 its referenced as emmc...

so others keep in mind...if your using a GB ROM other than CM 7.2 double check /system/etc/vold.fstab and make sure you change 9 to 8...

Now for the Draw Something issue...I was looking into it last night...from my recollection it never worked on morfics kernels either...to me it looked like a sound issue...harsh you can correct me but I believe harsh has implemented voodoo sound as did morfic...afaik faux doesn't...I believe that's the reason...
[T-Mobile LG G2x] tahahawa:
Faux does have voodoo as well. it's an option in the kernel something or other emulation off that faux configured to allow PvZ and drawsomething to work. it's in faux's thread somewhere.
[T-Mobile LG G2x] djvoleur:
Awesome...thanks for the clarification tahahawa... :)
[T-Mobile LG G2x] tahahawa:
No problem. I help out where I can. I can't link you right now though, I'm on my phone. I would if I were home.
[T-Mobile LG G2x] djvoleur:
I'm on his threads...looking...I'm off today so I got time...and yeah I totally missed the voodoo part about faux's :p
[T-Mobile LG G2x] tahahawa:
http://xdaforums.com/showthread.php?p=21857773 I managed to find it, hope I'm right about this.
[T-Mobile LG G2x] djvoleur:
I already found it...and just tested it...it works :) doesn't pause or stop...none of that annoying speaker popping..

But now...wondering if it would affect anything else...I'm still learning...what say you Harsh?
[T-Mobile LG G2x] nycelitemaster:
Im using miui which is based on cm7.

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] tahahawa:
Faux has had that for months and it hasn't made any negative effects that I can see.
[T-Mobile LG G2x] djvoleur:
I understand that but it looks like MIUI has the internal memory as _InternalSD though...CM 7.2 Stable has it as emmc...
[T-Mobile LG G2x] nycelitemaster:
Possible.. cuz there is no other way on miui accessing emmc.. i know cm7 let you swap mem card which isnt possible in miui. :)

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] bluenote73:
My heart sank when I saw this. Not because what you describe is a big deal to me, but because faux's kernel does this too, and faux's kernel also has an extremely annoying bug that is related (Im guessing) to this.

If you use "touch control lights" app to turn off the LED lights completely, OR echo 0 > /sys/devices/platform/star_touch_led/wled then touch screen is instantly completely lagged and unusable.

DJ any chance you can confirm .. and if so .. maybe you or harsh can fix ? >:) ??? Neither trinity nor stock cm7 kernel have a problem with turning off the buton LED's so I don't know whats in common between these two but I guess there must be something.

EDIT: So far, this performs really sweet. Thanks Harsh! Thanks DJ for fixing the CM7 package messing up my phone :) :)
[T-Mobile LG G2x] nycelitemaster:
I am loving this kernel... :)

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] timekeeper:
I use the genesis build 1 release, but it happens with all other roms I've tried with this kernel. Turn the screen brightness down to 0%, optionally go into a dark room, and then wait for the led backlights to time out. They'll flicker to a (brighter) preset level right before going off. Conversely, if you turn screen brightness up, they will dim to that same preset level before going off again.

@bluenote73 So far I've found that the default CM/eniene(sp?) kernel in genesis build one and morfic's trinity kernel are the only ones that do the turning off properly, but I'm sticking with harsh's for now because I definitely see a performance improvement over all the others.
[T-Mobile LG G2x] nycelitemaster:
Best g2x kernel for cm7 no crash nothing.. bomb.. amazing battery i am on love... phone is stable as iphone.. only draw something issue.

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] cricketAC:
Can you cook it in your ROM singhg2x in the next release.

Sent from my LG-P999
[T-Mobile LG G2x] nycelitemaster:
I am thinking of it.

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] djvoleur:
Oooooooooooo...3.0.40 :P
[T-Mobile LG G2x] tahahawa:
dddddddoooooooooooo eeeeeeeeeeeetttttttttt
[T-Mobile LG G2x] DsturbD:
works great on the latest CM7 nightly (20120805)
[T-Mobile LG G2x] gg84:
I am using the latest harsh kernel (39) with Hellfire 1.9 rom - is there a way USB mass storage mode can be enabled? Currently it always stays greyed out. Does it require some rom support which isn't there?
[T-Mobile LG G2x] djmeistro:
overclock version for cm7.2?? Thanks for your time in advance dj
[T-Mobile LG G2x] djvoleur:
Thank Harsh...he's the MASTER... :o
[T-Mobile LG G2x] djmeistro:
and thank you harsh :D
[T-Mobile LG G2x] nycelitemaster:
Both of you gave my phone new life.. no sod on charge.. no reboot.. i do get usb storage freeze.. ill get you guys log when it happens next time. Thx guys.

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] lelouch68:
I believe it requires rom support from what I heard but I thought hfs did support it. I'm running paranoid now and usbmass works fine.
[T-Mobile LG G2x] airnique23:
Dope kernel. No more SOD or Overheating. Temple Run works well too :) Now only if we can get Draw Something fixed and possibly a OC'd version = flawless victory
[T-Mobile LG G2x] nycelitemaster:
Log for harsh and djvel..

http://db.tt/zIOhYLDy

Usb mount caused phone to freeze. See of this helps.

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] djvoleur:
3.0.40

Hello CM7..(and based users)...

Here's Harsh's kernel 3.0.40

IMPORTANT

Please check /system/etc/vold.fstab and your internal sdcard (emmc) has an 8 instead of a 9 (change to 8 if its a 9 and make sure vold.fstab permissions are rw-r--r-- after saving), especially if this is your first time otherwise you will have to NVFlash back to stock...or adb push vold.fstab...

If you already have flashed the previous version, you should be good to go :)

Format the caches...then...

Happy flashing! (It will take awhile for it to boot the first time...be patient)
[T-Mobile LG G2x] BigDig:
Hey , mine has 9 , Should I do something before I flash? Thanks
[T-Mobile LG G2x] djvoleur:
Check instructions again...updated...
[T-Mobile LG G2x] nycelitemaster:
Open your vold.fstab and change 9 to 8. This is required for 3.xx kernel.

Sent via G2X-SINGH-UI
[T-Mobile LG G2x] ultma75:
Booted up fine, haven't experienced a hick up yet. Thanks
[T-Mobile LG G2x] jeep447:
Wow thank you Harsh (and everyone else that contributed) for this awesome kernel! I'm on HFP 2.2 and my vold.fstab had emmc 9 so I changed it to 8 and it works like a champ! If anyone else is coming from HPF 2.2 just so ya know the first boot took pretty long so don't pull the plug too soon! It went a little bit passed the oh crap point and then finally finished booting. Everything runs smooth as butter so far but my music and photos aren't showing up in the widgets. I know that it said it may affect other applications that reference partitions, so does that mean my media just has to be on emmc? Everything else works like it should and when I pull up file expert everything still shows as normal (sdcard is my external, emmc is my internal). I'd appreciate any advice because I'm somewhat confused as to how my cards are arranged now after switching from 9 to 8. :D

Sent from my Motorola StarTAC
[T-Mobile LG G2x] BigDig:
Little bug

Little bug- Gallery doesn`t read my pics from SD card..And my songs are not showing up...
[T-Mobile LG G2x] lelouch68:
Are you using a aokp based Rom..reason I ask is because it always happens when I use one.and I never found a fix for it
[T-Mobile LG G2x] BigDig:
No, I`m using CM7 -Temasek
[T-Mobile LG G2x] djvoleur:
For applications that reference partitions...force stop and clear data for that app...

Remove widget and readd it...then all should be good...
[T-Mobile LG G2x] BigDig:
That didn`t help- still no pics and music
[T-Mobile LG G2x] lelouch68:
Ah I see..I don't think it's kernel related but you can try switching just to check.. Have you tried unmounting and mounting your sdcard ?
[T-Mobile LG G2x] BigDig:
Yes I tried that but still no go! It`s a kernel related because I was running faux with no problems and I just flashed this one 2 hours ago....
[T-Mobile LG G2x] djvoleur:
Try booting into CWM and fixing permissions...its not an issue w the kernel...it may be the ROM you're using.

Edit: did you format the caches before flashing?
[T-Mobile LG G2x] jeep447:
Same here. I tried everything that was suggested and still no songs or pics. I even tried switching to internal storage through cm settings with same result. I was on Fauxs kernel before this one (and before I switched 9 to 8) and this is the first time my songs and pics haven't shown up. I cleared the caches in cwm before flashing this, and I've also tried fixing permissions with no luck. Please don't take it like I'm complaining though because I love this kernel and I truly appreciate all the hard work! :D

Sent from my Motorola StarTAC
[T-Mobile LG G2x] tahahawa:
I'm using temasek's cm7 unofficial builds. Everything is working fine.
[T-Mobile LG G2x] djvoleur:
Try booting into CWM and format the caches....
[T-Mobile LG G2x] bluenote73:
Love to try this one but can't handle the touch lag if i set the button leds to off. Any chance this is fixed?
[T-Mobile LG G2x] jeep447:
I'll try it and let ya know :D

Sent from my Motorola StarTAC
[T-Mobile LG G2x] djvoleur:
Not yet...still looking into it :)
[T-Mobile LG G2x] jeep447:
No go unfortunately. Idk maybe this rom and kernel don't like each other for some reason. I can get ya logs or whatever ya need if it'll help out cause I'd love to keep using this kernel. I was on hfp 2.2 on Fauxs 048r kernel and before flashing this I had to switch the vold.fstab to 8 because it was originally on 9, and I wiped both caches in cwm before flashing if it helps. It took almost 3 minutes to boot the first time and after that it was like normal except for the no pics or music prob. I unmounted and remounted, cleared data for music and gallery, and tried switching to internal through cm settings with no luck. If there's anything I can do to help figure it out just let me know and I'd be happy to help :D

Sent from my Motorola StarTAC
[T-Mobile LG G2x] BigDig:
That didn't work either. If I want to switch back to faux, should I make the 8 to 9 again? Thanks

Also I noticed that in the etc folder I have another vold.fstab file it has. Bak at the end. Do you think that might be something related?
[T-Mobile LG G2x] djvoleur:
What are the permissions for vold.fstab?
[T-Mobile LG G2x] BigDig:
rw- r-- r--. The vold.fstab.bak has the same permissions
[T-Mobile LG G2x] jeep447:
Same on mine rw-r--r-- Although I do not have one called .bak only the original

Sent from my Motorola StarTAC
[T-Mobile LG G2x] BigDig:
Do you have a backup of the old file also? I think that might be the reason for our problem...
[T-Mobile LG G2x] djvoleur:
Jeep and/or Dog send some logs...lets see what's going on :)

Also what recovery are you guys using?
[T-Mobile LG G2x] jeep447:
I hate to even say this right now because I know better but unfortunately I do not :banghead: I just figured since I was only changing a number it wouldn't be a big deal cause I thought I could just change it back. Either way if it boils down to it I can NV flash to stock if need be and I'll make damn sure to back it up this time LOL

Sent from my Motorola StarTAC

---------- Post added at 05:01 PM ---------- Previous post was at 04:58 PM ----------

Ok wait I just thought of something! I actually have another G2X that's on Hell with Fauxs kernel exactly the way it was on mine before I changed it. (it's a long story lol) Could I use the vold.fstab from that phone?

Sent from my Motorola StarTAC
[T-Mobile LG G2x] BigDig:
Can't you just re flash hp 2.2 and get your original file back that way?
[T-Mobile LG G2x] djvoleur:
You can change the 8 back to 9 and reflash fauxs kernel...that's all that was changed...
[T-Mobile LG G2x] jeep447:
Actually I was gonna ask ya that anyway because I did at least do a Nand backup before I started. So what are you thinking the problem is? (Or what do you want me to do basically)

Sent from my Motorola StarTAC

---------- Post added at 05:07 PM ---------- Previous post was at 05:06 PM ----------

Sorry man just saw your post :D I'm on cwm 5.0.2.8

Sent from my Motorola StarTAC
[T-Mobile LG G2x] djvoleur:
Okay...and big? What recovery are you using?
[T-Mobile LG G2x] jeep447:
Also just wanted to point out that I do not have the vold.fstab bak file that he said he has, all I have is the original one.

Sent from my Motorola StarTAC
[T-Mobile LG G2x] djvoleur:
That's okay :) I'm gonna see if I can replicate the issue with hfp and temaseks kang...

You can format the caches and reflash your rom in the mean time...or you can flash fauxs kernel back...