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
View Poll Results: Which version do you use?
HAVS-AXI 98 71.53%
HAVS 16 11.68%
SVS-AXI 16 11.68%
SVS 7 5.11%
Voters: 137. You may not vote on this poll

Post Reply

[AOSP/CM7 Kernel] 11/01/2012 ManU 2.1 - 2.6.35 based battery efficient kernels

OP EViollet

24th February 2012, 02:09 AM   |  #2151  
lparcshinoda's Avatar
Senior Member
Flag Terracina (LT)
Thanks Meter: 117
 
218 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by juanitomigraņa

Solution to breaking button lights: As the kernel is not adapted to recent changes to the ligths.c, use the old settings for lights in the config.xml file of the route "device/htc/bravo/overlay/frameworks/base/core/res/res/values"as follows:

Code:
    <integer-array name="config_autoBrightnessLevels">
        <item>200</item>
        <item>400</item>
        <item>1000</item>
        <item>3000</item>
    </integer-array>

    <!-- Array of output values for LCD backlight corresponding to the LUX values
         in the config_autoBrightnessLevels array.  This array should have size one greater
         than the size of the config_autoBrightnessLevels array.
    -->
    <integer-array name="config_autoBrightnessLcdBacklightValues">
        <item>35</item>
        <item>55</item>
        <item>70</item>
        <item>70</item>
        <item>250</item>
    </integer-array>

    <!-- Array of output values for button backlight corresponding to the LUX values
         in the config_autoBrightnessLevels array.  This array should have size one greater
         than the size of the config_autoBrightnessLevels array.
    -->
    <integer-array name="config_autoBrightnessButtonBacklightValues">
        <item>255</item>
        <item>255</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
    </integer-array>

    <!-- Array of output values for keyboard backlight corresponding to the LUX values
         in the config_autoBrightnessLevels array.  This array should have size one greater
         than the size of the config_autoBrightnessLevels array.
         Bravo has no keyboard so all values are zero.
    -->
    <integer-array name="config_autoBrightnessKeyboardBacklightValues">
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
        <item>0</item>
    </integer-array>
And ready with this turn lights work properly.

Isn't there another way to make backlights work correctly on latest CM7 builds? I think that this is the best kernel for it and it should be fixed. Thanks!
24th February 2012, 02:23 AM   |  #2152  
Senior Member
Flag Mariara
Thanks Meter: 42
 
151 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by lparcshinoda

Isn't there another way to make backlights work correctly on latest CM7 builds? I think that this is the best kernel for it and it should be fixed. Thanks!

Un the lastest (lastest) cm7 build this isn't necesary, buttoms ligths work regular.
24th February 2012, 02:24 AM   |  #2153  
lparcshinoda's Avatar
Senior Member
Flag Terracina (LT)
Thanks Meter: 117
 
218 posts
Join Date:Joined: Apr 2011
Donate to Me
More
With ManU kernel 2.1? I'll do some tesing and report... lights weren't working fine lately and button light dim isn't supported by ManU.
24th February 2012, 03:06 AM   |  #2154  
Senior Member
Flag Mariara
Thanks Meter: 42
 
151 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by lparcshinoda

With ManU kernel 2.1? I'll do some tesing and report... lights weren't working fine lately and button light dim isn't supported by ManU.

They do not work perfectly, but if they work. Automatic brightness mode there is NO problem, just turn on manual mode with the brightness to 100%
24th February 2012, 08:08 AM   |  #2155  
Member
Thanks Meter: 1
 
34 posts
Join Date:Joined: Dec 2007
More
Question CynogenMod 7.1.0
Hey guys,
Just wanted to know if anyone has flashed the latest ManU kernel on CM7.1.0.
How does it perform ? Any issues ? Is it better than the stock kernel ?

Thanks. CHEERS
24th February 2012, 11:19 AM   |  #2156  
lparcshinoda's Avatar
Senior Member
Flag Terracina (LT)
Thanks Meter: 117
 
218 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by rahulldhawan

Hey guys,
Just wanted to know if anyone has flashed the latest ManU kernel on CM7.1.0.
How does it perform ? Any issues ? Is it better than the stock kernel ?

Thanks. CHEERS

It works like a charme, Manu is the Perfect HTC Desire CM7 Kernel.

Only unlock on wake sometimes false even on ondemand and Burton backlight dim feature is not backported.

Tapatalkato dal mio HTC Desire
25th February 2012, 01:36 AM   |  #2157  
lparcshinoda's Avatar
Senior Member
Flag Terracina (LT)
Thanks Meter: 117
 
218 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by juanitomigraņa

They do not work perfectly, but if they work. Automatic brightness mode there is NO problem, just turn on manual mode with the brightness to 100%

I've got to reproduce the 2 bugs of the ManU kernel:

1) When the screen dims because of timeout, backlights turns completely off, even if they were previously working because of the right setting. After some second, when the screen goes off, light turns on for a second and then are going down for good.

If DURING the screen timeout (when screen is darker than default and before turning off) I press the screen, phone goes rightly out of timeout and the screen turns on, but the buttons that were previously (and wrongly) off, stays dead until a complete lock and unlock of the phone to reset its state.

2) Button backlights dim isn't working as for the newest versions of CM7 with default kernel and when backlight value is set something different from 255, buttons just stays off.

The presence of these 2 bugs (or at least the 1st one) is a real REAL pity, because without them the ManU kernel would be the PERFECT choice for CM7 on bravo.

So, could someone please address and fix em?
25th February 2012, 03:07 AM   |  #2158  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,806
 
24,984 posts
Join Date:Joined: Aug 2010
More
What exactly did cm change and why? It works fine on the official builds. To ask for a kernel to fix a change in an experimental build is a bit premature imho.

You want it to work properly? Use the stable release of cm. Otherwise, expect bugs.

Sent from my HTC Desire using Tapatalk
25th February 2012, 04:11 AM   |  #2159  
Senior Member
Flag Mariara
Thanks Meter: 42
 
151 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by rootSU

What exactly did cm change and why? It works fine on the official builds. To ask for a kernel to fix a change in an experimental build is a bit premature imho.

You want it to work properly? Use the stable release of cm. Otherwise, expect bugs.

Sent from my HTC Desire using Tapatalk

This http://review.cyanogenmod.com/#change,11612,patchset=3

And this http://review.cyanogenmod.com/#change,11806,patchset=1

---------- Post added at 10:41 PM ---------- Previous post was at 10:08 PM ----------

Quote:
Originally Posted by juanitomigraņa

Un the lastest (lastest) cm7 build this isn't necesary, buttoms ligths work regular.

I correct my mistake: The buttons do not work even with the latest builds of CM7 (almost RC2) and this great kernel.

The temporary solution that remains (and not completely solve the problem) is the modification of these values ​​as directed above.
The Following 2 Users Say Thank You to juanitomigraņa For This Useful Post: [ View ]
25th February 2012, 02:01 PM   |  #2160  
lparcshinoda's Avatar
Senior Member
Flag Terracina (LT)
Thanks Meter: 117
 
218 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by rootSU

What exactly did cm change and why? It works fine on the official builds. To ask for a kernel to fix a change in an experimental build is a bit premature imho.

You want it to work properly? Use the stable release of cm. Otherwise, expect bugs.

Sent from my HTC Desire using Tapatalk

Well, the whole Point of having this dev topic is to post bugs and suggestions, I guess. Otherwise is unuseful if intended just to thanks the author, right? Latest build are Pretty stable and the feature in conflict with ManU kernel has been merged sone time ago. So, this kernel is the best for desire yet, but to be really usable it just needs this little fix.

I hope I've been exhaustive ;)

Tapatalkato dal mio HTC Desire

Post Reply Subscribe to Thread

Tags
128mhz, battery, eviollet, havs, kernel, manu, svs, undervolting, volt
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes