Google Maps, My Maps, YouTube, Androidify, Slides, Music Updated–Here’s What’s New

In the last few weeks, Google has been … more

SuperSU BETA: Root Android Lollipop on Stock Kernel

Up until now, if you wanted to get root on Android 5.0, you needed to flash a modified … more

Android App Review: Get Amaze with Material Design – XDA TV

Material Design is all the buzz in the Android world right now. Android 5.0 … more

Small But Eternal: HTC Explorer Receives Unofficial CM12

When HTC officially announced the HTC Explorer, they most likely weren’t … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[WIP] [7/7] Higher framerate on Novatek panels | Kernel inside | Now for Froyo!

OP ffolkes

27th June 2010, 08:05 PM   |  #1  
ffolkes's Avatar
OP Senior Member
Thanks Meter: 1,437
 
1,052 posts
Join Date:Joined: Oct 2006
Donate to Me
More
*** THIS IS EXPERIMENTAL ***


Thanks to toastcfh, maejrep, AssassinsLament, Estimated Prophet, Cicatrize, joeykrim, geyes30, kpkimmel and all the others from the kernel & display cap threads who have been working tirelessly, and continue to do so. This isn't over until we can find the real cap! But I think this avenue has progressed enough for it to have its own thread, if only to give hope, since we now know both Epson and Novatek panels physically can do it!


What Doesn't Work
  • Nothing. Now based on the official kernel with everything working.


About This Kernel
  • This is just a dirty hack. We haven't yet figured out where the real cap in framerate is coming from. But until we do, this is the best we have. At least it shows the display itself can handle a higher framerate and isn't physically incapable like HTC would have us believe.
  • Novatek panels can now get up to 46fps pretty reliably. Run fps2d a few times.
  • Stdev depends on system activity. If you're going to be judging stdev, DON'T measure it immediately after booting, set your CPU throttle mode to "performance", be sure to run fps2d several times, then average those stdev numbers in your head.
  • The changes are now immediately applied upon boot. There is no need to cycle your display anymore.
  • This kernel has support for overclocking/underclocking, up to 1.119 MHz. Also includes my own undervolting and overvolting for higher speeds to increase stability.
  • You can get dramatically tighter stdev numbers by setting your CPU governor to "performance" in SetCPU. It seems scaling really messes with the framerate. Obviously this will drain your battery faster, as your CPU will constantly be running at full speed. Set it back to "ondemand" if you don't need it.
  • Some people are reporting their touchscreen grounding issues have been cured.
  • Support to change the T2 value on the fly [thanks to maejrep]
  • Support for 5 simultaneous touch points! Use Dotty (in the Market) to see it in action. It'd be cool if someone would make a simple app to demonstrate what can be done with more than the mere 2 points we are used to. People have suggested new lock types, security locks, ways to rotate things, etc. [thanks to maejrep]
  • Some hardware fails to accept 5 points, so a fail-safe has been added to default back to 2 points for some EVOs
  • AssassinsLament has created an awesome app to provide an easy way for people to change their T2 timing. Check out his app here: http://forum.xda-developers.com/showthread.php?t=716659 [thanks to AssassinsLament]
  • Changes to display timings are now sticky until rebooted (w/ the above app, or set manually)

What's New
  • v5.1.1: Using the official kernel. We've lost some fps, but we've gained camera, video, 4G, etc. 46fps is now average.
  • v5.1.1: Expanded user-modifiable timing settings. Change at your own risk.
  • v5.1.1: Audio patched [thanks Geniusdog254 and KERKEDAGAIN]


Instructions

Do a nandroid backup, and flash this over pretty much any ROM. If you have problems, you can just flash a stock boot.img again. There should never be any need to wipe anything.

IMPORTANT: This will only work with the stock bcm4329.ko! Using the newer files and flashing this kernel will result in wifi being unable to start, and vice versa. To correct this, you'll need to flash over the correct wifi files.

Changing Timing Settings

You can use the following commands from adb shell to temporarily change timing on the fly. Do it while your screen is on.

Set: echo NUMBER > /sys/devices/platform/mddi_c_b9f6_5582.1/PARAMETER
Check: cat /sys/devices/platform/mddi_c_b9f6_5582.1/PARAMETER

Parameters:

t2 - 245 to 1023 [Default Eclair: 437, Froyo: 432]
t3 - 0 to 7 [Default Eclair: 1, Froyo: 0]
fte - 0 to 879 [Default Eclair: 35, Froyo: 60] (Frame Tearing Effect, change this if you have tearing problems)

Flashable ZIP - Undervolted kernel v5.1.1 for use with 2.1 (Eclair) ROMs
Flashable ZIP - Normal-volted kernel v5.1.1 for use with 2.1 (Eclair) ROMs

Flashable ZIP - Undervolted kernel v5.1.1 for use with 2.2 (Froyo) ROMs
Flashable ZIP - Normal-volted kernel v5.1.1 for use with 2.2 (Froyo) ROMs
Note: Certain things like the camera still don't work, since our Froyo ROMs aren't official.

Flashable ZIP - WiFi-N + 4G for all custom kernels based on toastcfh's GoDmOdE kernel (compatible with v5.2+)

Flashable ZIP - WiFi-N + 4G for stock/custom kernels (compatible with v5.1 and below)

Flashable ZIP - WiFi-N + 4G for the OTA kernel (NOT compatible with the kernel in this post)


*** REMEMBER! No one here is responsible if you damage your phone! ***


See the Evo, Droid X and Nexus One benchmarked together here: http://androidspin.com/2010/06/25/dr...hmark-face-off

Want NenaMark1? It usually doesn't show in the Market, so get it here: http://nena.se/downloads.html

Last edited by ffolkes; 12th July 2010 at 02:34 PM.
27th June 2010, 08:27 PM   |  #2  
corybucher's Avatar
Senior Member
Thanks Meter: 76
 
1,119 posts
Join Date:Joined: Dec 2009
Awesome, just flashed and it is soo smooth, thank you devs.
27th June 2010, 08:35 PM   |  #3  
Senior Member
Thanks Meter: 31
 
977 posts
Join Date:Joined: Aug 2007
This works great for me.
jigglywiggly
27th June 2010, 08:39 PM   |  #4  
Guest
Thanks Meter: 0
 
n/a posts
Not really related to this but my phone locks up when I change the cpu frequency with setcpu. EDIT: (How do I overvolt the phone?)
Oh and yes I do get 50hz.
Last edited by jigglywiggly; 27th June 2010 at 08:52 PM.
27th June 2010, 08:39 PM   |  #5  
Senior Member
Thanks Meter: 8
 
634 posts
Join Date:Joined: Mar 2010
Is there 2.2 support or no
jigglywiggly
27th June 2010, 08:39 PM   |  #6  
Guest
Thanks Meter: 0
 
n/a posts
Quote:
Originally Posted by ttieder

Is there 2.2 support or no

Nope I wish there was. Droid X skin + 50hz would be very cool.
27th June 2010, 08:40 PM   |  #7  
Senior Member
Thanks Meter: 72
 
670 posts
Join Date:Joined: Apr 2006
Quote:
Originally Posted by ttieder

Is there 2.2 support or no

Second this question..I'm loving the EvolutionX froyo rom and would be sweet to get this baby on board with froyo.
27th June 2010, 08:46 PM   |  #8  
abiezer's Avatar
Senior Member
Flag Miami
Thanks Meter: 54
 
251 posts
Join Date:Joined: Feb 2009
More
Does this work for Epson panels too?
27th June 2010, 08:46 PM   |  #9  
Junior Member
Thanks Meter: 0
 
13 posts
Join Date:Joined: Jun 2010
This works great. Touchscreen SEEMS a bit more responsive in in multitouch vis test. Grounding issue is nowhere near as bad, but still there. If you pull the same trick that everyone is doing to test grounding problem, you won't notice it at first, and very rarely will it stop sensing you finger all together, but it definitely does cut out for an instant every now and then, and I had it drop visibility where it normally does a few times for a split second.
jigglywiggly
27th June 2010, 08:56 PM   |  #10  
Guest
Thanks Meter: 0
 
n/a posts
Epic delete
Last edited by jigglywiggly; 27th June 2010 at 09:13 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes