Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,395 Members 47,117 Now Online
XDA Developers Android and Mobile Development Forum
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

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

Tip us?
 
lparcshinoda
Old
#2151  
lparcshinoda's Avatar
Senior Member
Thanks Meter 87
Posts: 172
Join Date: Apr 2011
Location: Terracina (LT)
Quote:
Originally Posted by juanitomigraņa View Post
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!
 
juanitomigraņa
Old
#2152  
Senior Member
Thanks Meter 42
Posts: 151
Join Date: Jan 2011
Location: Mariara
Quote:
Originally Posted by lparcshinoda View Post
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.

HTC Desire SLCD: S-OFF, cm7/r2 hboot, CyanogenMod Kernel, CyanogenMod NB 262
Samsung Galaxy S i9000: Chainfire Kernel (CF-ROOT), Value Pack ROM 2.3.6 JVU
SE Xperia x10i: Unlocked Bootloader, FXP052 Kernel, CyanogenMod 7.2.0 FXP052
Motorola Dext MB200: CyanogenMod 7.1 RC1
LG Optimus One P500: Stock ROM 2.3.3
ZTE Racer: Stock
 
lparcshinoda
Old
#2153  
lparcshinoda's Avatar
Senior Member
Thanks Meter 87
Posts: 172
Join Date: Apr 2011
Location: Terracina (LT)
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.
 
juanitomigraņa
Old
#2154  
Senior Member
Thanks Meter 42
Posts: 151
Join Date: Jan 2011
Location: Mariara
Quote:
Originally Posted by lparcshinoda View Post
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%

HTC Desire SLCD: S-OFF, cm7/r2 hboot, CyanogenMod Kernel, CyanogenMod NB 262
Samsung Galaxy S i9000: Chainfire Kernel (CF-ROOT), Value Pack ROM 2.3.6 JVU
SE Xperia x10i: Unlocked Bootloader, FXP052 Kernel, CyanogenMod 7.2.0 FXP052
Motorola Dext MB200: CyanogenMod 7.1 RC1
LG Optimus One P500: Stock ROM 2.3.3
ZTE Racer: Stock
 
rahulldhawan
Old
#2155  
Member
Thanks Meter 1
Posts: 34
Join Date: Dec 2007
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
 
lparcshinoda
Old
#2156  
lparcshinoda's Avatar
Senior Member
Thanks Meter 87
Posts: 172
Join Date: Apr 2011
Location: Terracina (LT)
Quote:
Originally Posted by rahulldhawan View Post
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
 
lparcshinoda
Old
#2157  
lparcshinoda's Avatar
Senior Member
Thanks Meter 87
Posts: 172
Join Date: Apr 2011
Location: Terracina (LT)
Quote:
Originally Posted by juanitomigraņa View Post
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?
 
rootSU
Old
#2158  
rootSU's Avatar
Senior Member
Thanks Meter 9954
Posts: 21,087
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
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
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
 
juanitomigraņa
Old
#2159  
Senior Member
Thanks Meter 42
Posts: 151
Join Date: Jan 2011
Location: Mariara
Quote:
Originally Posted by rootSU View Post
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 View Post
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.

HTC Desire SLCD: S-OFF, cm7/r2 hboot, CyanogenMod Kernel, CyanogenMod NB 262
Samsung Galaxy S i9000: Chainfire Kernel (CF-ROOT), Value Pack ROM 2.3.6 JVU
SE Xperia x10i: Unlocked Bootloader, FXP052 Kernel, CyanogenMod 7.2.0 FXP052
Motorola Dext MB200: CyanogenMod 7.1 RC1
LG Optimus One P500: Stock ROM 2.3.3
ZTE Racer: Stock
The Following 2 Users Say Thank You to juanitomigraņa For This Useful Post: [ Click to Expand ]
 
lparcshinoda
Old
#2160  
lparcshinoda's Avatar
Senior Member
Thanks Meter 87
Posts: 172
Join Date: Apr 2011
Location: Terracina (LT)
Quote:
Originally Posted by rootSU View Post
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

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

Advanced Search
Display Modes