New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Der_Caveman
Old
(Last edited by Der_Caveman; 19th February 2012 at 08:18 PM.) Reason: added description
#1  
Senior Member - OP
Thanks Meter 97
Posts: 151
Join Date: Dec 2010
Default [KERNEL] "CyanogenMod/lge-kernel-msm7x27" 2.6.35.10 with improved touchscreen driver

Hi there!

Remember my touchscreen "fix" a long time ago?
Yes- it's been a long time but now I got Line Runner and I was unable to play it, so...
I wrote the "fix" down again to the newest Cyanogenmod Kernel.

That means:
- I took the source from git://github.com/CyanogenMod/lge-kernel-msm7x27.git
- rewrote the touchscreen driver
- made the default cyanogenmod thunderg config
- made the kernel

I use it with CM nightly and I think that Line Runner runs better now.

What does it do?
I "purged" the driver code (look here) and lowered the touchscreen scan rate to 50Hz (seems sufficient to me). So the cpu has more time to do other things.


SOURCE: Github link
Attached Files
File Type: zip der_caveman_kernel-signed.zip - [Click for QR Code] (4.59 MB, 1700 views)
The Following 38 Users Say Thank You to Der_Caveman For This Useful Post: [ Click to Expand ]
 
Roqu3
Old
#2  
Senior Member
Thanks Meter 184
Posts: 249
Join Date: May 2011
Quote:
Originally Posted by Der_Caveman View Post
Hi there!

Remember my touchscreen "fix" a long time ago?
Yes- it's been a long time but now I got Line Runner and I was unable to play it, so...
I wrote the "fix" down again to the newest Cyanogenmod Kernel.

That means:
- I took the source from git://github.com/CyanogenMod/lge-kernel-msm7x27.git
- rewrote the touchscreen driver
- made the default cyanogenmod thunderg config
- made the kernel

I use it with CM nightly and I think that Line Runner runs better now.

How do I send the patch to the CyanogenMod/lge-kernel-msm7x27 maintainers?
Wow your fix was legendary, can you please share the code of your driver? Thanks
The Following 2 Users Say Thank You to Roqu3 For This Useful Post: [ Click to Expand ]
 
Der_Caveman
Old
#3  
Senior Member - OP
Thanks Meter 97
Posts: 151
Join Date: Dec 2010
Quote:
Originally Posted by Roqu3 View Post
can you please share the code of your driver? Thanks
I like to send the patch to the cyanogenmod maintainers- but I don't know how.
They use Gerrit, but I can't find lge-kernel-msm7x27 in Gerrit.
The Following 3 Users Say Thank You to Der_Caveman For This Useful Post: [ Click to Expand ]
 
Roqu3
Old
#4  
Senior Member
Thanks Meter 184
Posts: 249
Join Date: May 2011
Maybe via github
 
franciscofranco
Old
#5  
franciscofranco's Avatar
Recognized Developer
Thanks Meter 48926
Posts: 10,777
Join Date: Dec 2010
Location: Mountain View, CA

 
DONATE TO ME
Quote:
Originally Posted by Der_Caveman View Post
I like to send the patch to the cyanogenmod maintainers- but I don't know how.
They use Gerrit, but I can't find lge-kernel-msm7x27 in Gerrit.
Can you do a pull request to their github? Can you share the .diff of your code so I could test it?
franco.Kernel - Galaxy Nexus
franco.Kernel - Nexus 4
franco.Kernel - Nexus 7
franco.Kernel - Nexus 10


Google+ | Twitter | Portfolio

CruzerLite franco.Kernel case for the Nexus 4
CruzerLite franco.Kernel case for the Galaxy Nexus

You don't like my reply? Read this

However, if you put any trust in Quadrant scores you could use them to prove that dancing naked for 5 minutes in your garden affects device performance. By Chainfire
The Following 3 Users Say Thank You to franciscofranco For This Useful Post: [ Click to Expand ]
 
Bec de Xorbin
Old
#6  
Senior Member
Thanks Meter 139
Posts: 423
Join Date: May 2011
So... What does this fix exactly?
 
Der_Caveman
Old
#7  
Senior Member - OP
Thanks Meter 97
Posts: 151
Join Date: Dec 2010
Quote:
Originally Posted by franciscofranco View Post
Can you do a pull request to their github?
Aah- I see. I was not using github.
Now I have forked it in my github account and made a pull request.
I will edit my first post to point to my github account.
The Following 5 Users Say Thank You to Der_Caveman For This Useful Post: [ Click to Expand ]
 
Der_Caveman
Old
#8  
Senior Member - OP
Thanks Meter 97
Posts: 151
Join Date: Dec 2010
Quote:
Originally Posted by Bec de Xorbin View Post
So... What does this fix exactly?
Oh, I'll edit the first post.
The Following 2 Users Say Thank You to Der_Caveman For This Useful Post: [ Click to Expand ]
 
franciscofranco
Old
#9  
franciscofranco's Avatar
Recognized Developer
Thanks Meter 48926
Posts: 10,777
Join Date: Dec 2010
Location: Mountain View, CA

 
DONATE TO ME
Quote:
Originally Posted by Der_Caveman View Post
Aah- I see. I was not using github.
Now I have forked it in my github account and made a pull request.
I will edit my first post to point to my github account.
Thanks, just included it. You'll get tons of reviews later today when I release my kernel with your fix
franco.Kernel - Galaxy Nexus
franco.Kernel - Nexus 4
franco.Kernel - Nexus 7
franco.Kernel - Nexus 10


Google+ | Twitter | Portfolio

CruzerLite franco.Kernel case for the Nexus 4
CruzerLite franco.Kernel case for the Galaxy Nexus

You don't like my reply? Read this

However, if you put any trust in Quadrant scores you could use them to prove that dancing naked for 5 minutes in your garden affects device performance. By Chainfire
The Following 6 Users Say Thank You to franciscofranco For This Useful Post: [ Click to Expand ]
 
Jaani
Old
#10  
Jaani's Avatar
Senior Member
Thanks Meter 327
Posts: 964
Join Date: Apr 2011
Quote:
Originally Posted by franciscofranco View Post
Thanks, just included it. You'll get tons of reviews later today when I release my kernel with your fix
Hottest news of the day
Model: LG Optimus One P500
ROM: ICySnap v1.0 PILOT | LGUI 3 | ICS 4.0.4
Kernel: CAF | 2.6.35.14
Recovery : TeamWin Touch
APP2SD : S2E

Model: Samsung Galaxy SII I9100
ROM: Revolt 4.2 | JB 4.2.2
Kernel: DorimanX Kernel
Recovery : CWM Touch

Tags
cyanogenmod, kernel, touchscreen