Search This thread

show-p1984

Inactive Recognized Developer
Jul 30, 2011
3,700
11,805
Am I correct in thinking that 1.5GHz will not stress the CPU in any way as it's the native clock speed? If so, why on earth did HTC underclock it? Surely using these better kernels allow the phone to run as HTC should've released it.

But then again, they couldn't make money off new releases...

First of all they feared the CPU could suck the battery dry @ 1,5. That's why the 2nd edition sensation has a better battery.
And 2nd ofc the release thingie.
 

EddyOS

Senior Member
Jan 2, 2010
15,279
4,035
London
I find it amazing that with a bit of work the CPU can run at its native speed and still have good battery life. HTC seriously need to look at their devs and wonder what they're paying them for. But as I've already said, it must be the money
 

Twister988

Senior Member
Jan 26, 2009
55
5
I find it amazing that with a bit of work the CPU can run at its native speed and still have good battery life. HTC seriously need to look at their devs and wonder what they're paying them for. But as I've already said, it must be the money

And of course the stress...

HTC needs to release Devices constantly.
And the Software has to fit to the hardware.

More hardware - more generic and no device specific programming i think...
 

undercover

Senior Member
Oct 10, 2010
14,726
4,441
London, UK
And of course the stress...

HTC needs to release Devices constantly.
And the Software has to fit to the hardware.

More hardware - more generic and no device specific programming i think...

Nah, its all the same with HTC android devices, so Devs should know what they are doing. Thing is, they do do the best they can, they don't have the luxury of chucking test kernel to customers to get it tested, like we do here. So they have to release stable ,reasonably fast and ok on a battery sw. So once they get it rightish its out. Can't blame Devs on that, they have deadlines. Mind you, I still fail to comprehend how they could have released sw with such a major flaw as buggered 3d support, someone cocked up big time. So really, HTC Devs are quite good IMHO, but there is that bloody market strategy being pushed upon them.

Show, scrolling is very smooth today, since I charged it overnight, so it could be down to lowish voltage when battery charge is lower.

Sent from my HTC Sensation Z710e using XDA App
 

undercover

Senior Member
Oct 10, 2010
14,726
4,441
London, UK
And to correct common mistake. CPU is actually designed to be between 1.2-1.5 ghz, so anywhere in between is native frequency. I'm actually very surprised they used such a powerful CPU in the smartphone, there is absolutely no need for that. Smoothness can be achieved with better sw optimization. Looks like manufacturers are pushed by competition to bring massive specs out. There are no programs available to utilize all the hardware IMHO. You could run win7 on these specs.
Am I correct in thinking that 1.5GHz will not stress the CPU in any way as it's the native clock speed? If so, why on earth did HTC underclock it? Surely using these better kernels allow the phone to run as HTC should've released it.

But then again, they couldn't make money off new releases...



Sent from my HTC Sensation Z710e using XDA App
 

Twister988

Senior Member
Jan 26, 2009
55
5
And to correct common mistake. CPU is actually designed to be between 1.2-1.5 ghz, so anywhere in between is native frequency. I'm actually very surprised they used such a powerful CPU in the smartphone, there is absolutely no need for that. Smoothness can be achieved with better sw optimization. Looks like manufacturers are pushed by competition to bring massive specs out. There are no programs available to utilize all the hardware IMHO. You could run win7 on these specs.

+1 for this...

Made me smile :D
 

undercover

Senior Member
Oct 10, 2010
14,726
4,441
London, UK
It only happens when I flick fast. If I keep my finger on and just move it up and down at a steady speed its ok. It's not really a bug, only noticed cause never experienced it with v.2 and was less noticeable with v.4
Just checking, no lag. ;)

Sent from my HTC Sensation Z710e using XDA App



Sent from my HTC Sensation Z710e using XDA App
 

balto

Senior Member
Dec 29, 2007
180
12
Toronto
Just checking, no lag. ;)

Sent from my HTC Sensation Z710e using XDA App

I take that back. Just flagged faux
latest to see if it the lag is there. It is worse. Just reflashed to this kernel it is do much better. Sorry I doubted you :) keep up the amazing work.


Sent from my HTC Sensation Z710e using Tapatalk
 

schidddy

Senior Member
Feb 5, 2010
292
23
Schaffhausen
Hey show p
Coming to you because maybe u have got a ear for my concern. I told other rom developers about this issue but i never got an complete answer or i just got ignored...
Lets look at just the sense ui, exactly the scrolling effect... Truely, this feels on sense home ui just sometimes as its rendered at about 15fps or even less, and sometimes i gets rendered at higher fps again, BUT even on this faster moments, it NEVER feels like the ui example of an iphone (dude i hate these phones too and most likely apple but what they always have been doing great is the ui rendering speed.) Scrolling speed is really bad i cannot understand why nobody is complaining about this and i also cannot believe that i am the only one with thisbproblem, and what i dont get also is why a 1.5ghz dual core phone with a highspeed adrejo 220 gpu is not able to make the ui run at lets say 50fps so its fluid for our eyes. I dont get why all rom developers always right smoooooth and superfluid in there titles, as for me this is just not fluid... And i tried alot of roms now and its mostly everywhere the same... Only one rom (and only this one) i had in past that WAS super fluid but now its is getting slow as usual again, and it was baads insertcoin v1.4 with inofficial 1.45 android 2.3.4ruu
Can you give me an answer on why this is not possible on sense phones and maybe could you search about a possible solution on this? I dont know much about android development but what i can say: playing death space on android with superb grahpics with super fast rendering performance and sense ui is not able to keep it that fluid, so there must be somethingbin the bush... Or what do u think about this and dont u experience this too? Hope i get positiv resonance on this from u :)

Sent from my HTC Sensation Z710a using Tapatalk
 
Last edited:
Hey show p
Coming to you because maybe u have got a ear for my concern. I told other rom developers about this issue but i never got an complete answor or i just got ignored...
Lets look at just the sense ui, exactly the scrolling effect... Truely, this ui feels on sense home ui just sometimes its rendered at about 15fps or even less, and sometimes i gets rendered at higher fps again, BUT even on this faster moments, it NEVER feels like the ui example of an iphone (dude i hate these phones too and most likely apple but what they always have been doing great is the ui rendering speed.) Scrolling speed is really bad i cannot understand why nobody is complaining about this and i also cannot believe that i am the only one with thisbproblem, and what i dont get also is why a 1.5ghz dual core phone with a highspeed adrejo 220 gpu is not able to make the ui run at lets say 50fps so its fluid for our eyes. I dont get why all rom developers always right smoooooth and superfluid in there titles, as for me this is just not fluid... And i tried alot of roms now and its mostly everywhere the same... Only one rom (and only this one) i had in past that WAS super fluid but now its is getting slow as usual again, and it was baads insertcoin v1.4 with inofficial 1.45 android 2.3.4ruu
Can you give me an answer on why this is not possible on sense phones and maybe could you search about a possible solution on this? I dont know much about android development but what i can say: playing death space on android with superb grahpics with super fast rendering performance and sense ui is not able to keep it that fluid, so there must be somethingbin the bush... Or what do u think about this and dont u experience this too? Hope i get positiv resonance on this from u :)

Sent from my HTC Sensation Z710a using Tapatalk

At least I'm not the only one :(

Only thing I can do to get some kind of fluidness is to select performance governor.
When on demand it is one stuttering piece of..... (and I mean my device with that off course :))
 

schidddy

Senior Member
Feb 5, 2010
292
23
Schaffhausen
At least I'm not the only one :(

Only thing I can do to get some kind of fluidness is to select performance governor.
When on demand it is one stuttering piece of..... (and I mean my device with that off course :))

For me it doesnt make it faster if i select the performance governour, it feels on all governours the same :(

Sent from my HTC Sensation Z710a using Tapatalk
 
For me it doesnt make it faster if i select the performance governour, it feels on all governours the same :(

Sent from my HTC Sensation Z710a using Tapatalk

Well, some kind of fluidness with performance selected. Not truly fluid at all...

We must be doing something seriously wrong :(

I tried it all, flashing stock RUU first, wipes, super wipes, format sd cards, you name it..
 

3c

Senior Member
Jul 19, 2005
2,937
2,062
www.3c71.com
Well, some kind of fluidness with performance selected. Not truly fluid at all...

We must be doing something seriously wrong :(

I tried it all, flashing stock RUU first, wipes, super wipes, format sd cards, you name it..

Not sure what you guys are doing wrong, but it would seem many here are getting very fluid results on Sense...

Maybe you could then try the RCMix Bliss ROM based on Sense 3.5 which is highly optimized for low-performance phone, so then you should get something flying!

Personally I'm very happy with the fluidness of Sense 3.0 so far... Even on stock it was good!

Maybe you're installing some very badly behaving apps, which consumes a lot of CPU? Hence you probably get very poor battery run-time?

Just some ideas if it can help you find a solution.

EDIT: Another idea: are you using a live wallpaper? Those can be CPU consuming and make the home screen very slow... I often use the weather live wallpaper and it's still ok, though it consumes much more battery so I don't usually keep it.
 
Not sure what you guys are doing wrong, but it would seem many here are getting very fluid results on Sense...

Maybe you could then try the RCMix Bliss ROM based on Sense 3.5 which is highly optimized for low-performance phone, so then you should get something flying!

Personally I'm very happy with the fluidness of Sense 3.0 so far... Even on stock it was good!

Maybe you're installing some very badly behaving apps, which consumes a lot of CPU? Hence you probably get very poor battery run-time?

Just some ideas if it can help you find a solution.

EDIT: Another idea: are you using a live wallpaper? Those can be CPU consuming and make the home screen very slow... I often use the weather live wallpaper and it's still ok, though it consumes much more battery so I don't usually keep it.

I'm totally lost.
Never use any live wallpaper..

Can't remember anymore what different ways of flashing I've tried:
- Flash RUU first, then wipe.
- Just full wipe
- Some super wipe zip
- Tried leaving device alone for at least 30 mins after first and second boot

Every time the result is the same..
Big time stuttering when unlocking device.
At that's right after second boot, absolutely no things changed and no app installed, even no account setup yet.

This afternoon started completely from scratch again and when booted custom rom for the second time I could not get any fluidness just by turning screen of, on and unlock it (again, no accounts config, apps install or something).

Really lost here :(
 

bungfritz

Member
Nov 24, 2009
36
6
With everyone who has lag problems, are you using set CPU or an equivalent program ?

I've found set CPU screws up the on demand settings, and as a result, I got a very stuttery user interface. Knowing that, I've uninstalled the program and let the kernal do its job and the phone is fast and smooth again.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 823



    SENSE Bricked-Kernel-3.0 Sensation (pyramid)

    The first kernel with kernel mpdecision & 3-phase kernel thermal control
    no need for those binaries anymore :p


    Highlights:

    Default clocks: 1566Mhz max / 192Mhz min
    OverClockable till 1944Mhz !NOT ALL DEVICES CAN HANDLE THIS!
    3D GPU Overclock @ 320Mhz (if selected during install)
    2D GPU Overclock @ 266.667Mhz (if selected during install)
    5 Stages 3D GPU scaling, variable io_fraction
    3 Stages 2D GPU scaling, io_fraction 100
    Increased bus bandwidth
    L2 Performance Boost
    cmdline options!
    maximum screen off frequency
    (configurable through cmdline options)
    Sweep2Wake! (if selected during install)
    >badass governor<
    3-phase kernel cpu thermal control
    >100% kernel based mpdecision<
    The first kernel with interactive install using Aroma Installer by amarullz
    with more customizations than you can dream of on any other kernel!


    Features:

    Code:
    [U]* CM (AOSP) compatible version: See below![/U]
    * 3.0.36
    * based on HTCs-3.0.16-Sources
    * Tested with Sense 3.6 ICS (no known problems)
    * Tested with Sense 4 ICS (animations work, thx to virtuous)
    * Command Line Options - innovative!
    __ Rename the zip to change your settings!
    * Sweep2Wake
    * badass governor
    * 3-phase kernel cpu thermal control
    * 100% kernel based mpdecision
    * Optimized
    * Built with highest Optimization Level (O3)
    * Strongly improved UI-performance
    * KGSL Early Suspend GPU slumber
    * Increased 3D/2D-Performance (GPUOC)
    * CAF Bluetooth stack (newer) - faux123
    * CIFS
    * UTF8 encoding (included for CIFS)
    * wifi pm=fast
    * Tweaked ondemand governor
    * Undervoltage
    * Overclocking to 1566Mhz default
    * Min Clock @ 192Mhz default
    * Boot time optimization. CPU will have 1566Mhz clocks during boot to ensure a fast bootup
    * Flashlight and Camera-Flash will now be useable until battery reaches 5%
    * Tree-based preemptible RCU
    * Fast scheduler for CPU hotplug
    * optimized preemptive settings
    * basic NTFS support
    * Userspace driven configuration filesystem
    * Allow CPU-supported unaligned accesses
    * Global CPU Voltage table used for adjusting voltage table for SnapDragon Dual Core. Inspired by Snq- modified by faux123 for SnapDragon fixed by show-p1984
    * Improved Mobile Connection (fixed possible freezes introduced by HTC)
    * ~8% Undervolted till 1566Mhz
    * L2 Performance Push
    * 3D GPU Overclock @ 320Mhz
    * 2D GPU Overclock @ 266.667Mhz
    * 6 Stages 3D GPU scaling, variable io_fraction
    * 3 Stages 2D GPU scaling, io_fraction 100
    * Tweaked ondemand to raise frequencies with higher load only (should contribute to battery life)
    * Increased writing performance (lowers that annoying lag when updating 2 apps at the same time)
    * Git's Sha1 implementation significantly decreases boot time
    * CRC-optimizations
    * ZRAM
    * Fudgeswap 
    * PPP over standard asynchronous serial ports
    * PPP over synchronous (HDLC) tty devices
    * [URL="http://dl.dropbox.com/u/44206202/CallRecorder_v.1.0.20_alpha_2.apk"]Two-Way-Call-Recording[/URL]
    * basic NTFS support
    * increased bus frequency
    * Improved WIFI - WLAN detection
    * Automatic process group scheduling
    * Lowered wifi-voltage
    * cleaned code, improved performance
    * Dropped debug code, was slowing things down

    Changelog @ bricked.dehttp://bricked.de/compat.php?action=changelogs&device=pyramid&type=sense


    What is sweep2wake?


    Since this function collides with HTC's screenshot function (PWR+HOME) it will be disabled. Use the AOSP screenshot instead. (PWR+VOL.DOWN at the same time and hold it for about a sec)
    This has a few advantages, one is a nice animation ;) the second would be that it is hardcoded by google into any ICS firmware you can find. That means: no matter which device you will pick up, as long as it has ICS this function should work out of the box.

    How to change your frequency/governor before flashing?

    That's new. Sounds strange, but it works. I am proud to present a truly innovative concept:
    cmdline_khz / cmdline_gov / cmdline_maxscroff
    What does this do for you?

    Have you ever wished you could set the default min/max/gov/scroff frequency on your own?
    Without having to rely on the dev to recompile?
    Or doing it yourself?
    Or even bothering to learn how to do that?
    Or using OC apps that are just in the way?

    (governor set able in setup from version 1.0)

    Well, your prayers have been heard!

    It simplifies any kernel install to the bare minimum. You download the zip, and just change the values to your liking. The kernel will obey you, it's magic!
    you will download this file for example:
    Bricked-3.0-v0.61-ics-maxkhz=1566000-minkhz=192000-maxscroff=432000.zip
    now it is possible that you don't want to oc to 1566Mhz, or your preferred min freq is higher, or or or...
    Just rename the file!
    Bricked-3.0-v0.61-ics-maxkhz=1188000-minkhz=384000-maxscroff=540000.zip
    The kernel will now boot from second 0 with this settings:
    Max freq: 1188Mhz
    Min freq: 384Mhz
    maxscroff: 540Mhz
    Cool, isn't it?

    Now one could say, hell that's too dangerous, what if I write something wrong in there? No problem, your show-p1984 thought of everything. I have built in that much security measures that it is not even remotely imaginable that something could go wrong. I am serious. Whoever manages to break it gets a golden pile of **** from me.
    Now what does it "autocorrect" exactly?
    It corrects mhz instead of khz values for you, so you can actually flash this:
    Code:
    Bricked-3.0-v0.61-ics-maxkhz=1188-minkhz=384-maxscroff=540.zip
    and it will still work.
    Or it corrects wrong acpu frequencies. You can find a table @ the second post, but if you mistype sth, no fear, it will still work!
    Code:
    Bricked-3.0-v0.61-ics-maxkhz=1190-minkhz=390-maxscroff=545.zip
    for example will let the kernel boot with 1188Mhz max and 384Mhz min (maximum screen off frequency 540Mhz). It always falls back to the next lower step. Actually you won't need to bother for the acpu table anymore, just type anything in there, it will automatically correct it for you! If you still want to enter the correct values, just look in the second post ;)
    Now what if you write a letter in there? Like this:
    Code:
    Bricked-3.0-v0.61-ics-maxkhz=II88000-minkhz=38A000-maxscroff=5A0O00.zip
    Well, the kernel will detect that and fall back to default settings read out of my .config. Which means the kernel will boot @ 1566Mhz max and 192Mhz min and maxscroff will be set to 1566Mhz (=disabled).

    What to do if you just want to change your clocks?
    Rename the zip file, boot into recovery, flash, and enjoy ;)
    There is also a sysfs interface for the maxscroff frequency, for simplicity I kept the common name for it.
    /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq

    Currently there is only one limitation:
    You can't have two files with the same base on your scard. that means:
    Code:
    Bricked-3.0-v0.61-ics-maxkhz=1566000-minkhz=192000-maxscroff=432000.zip
    Bricked-3.0-v0.61-ics-maxkhz=1188000-minkhz=384000-maxscroff=540000.zip
    are not allowed to be on the sdcard at the same time, the kernel would boot with defaults: 1566/192 if you flash either one of those files.
    The "base" of the filename is this: Bricked-3.0-v0.61-ics-
    So you can have 2 files (or more) on the sdcard with names like this:
    Bricked-3.0-v0.55-b4-ics-****
    Bricked-3.0-v0.7-ics-****
    Bricked-3.0-v0.8-ics-****
    (****=etc etc etc etc)
    Furthermore it must be followed by maxkhz=VALUE-minkhz=VALUE-maxscroff=VALUE.zip It is not possible to switch the positions of the options. But you can leave them out of there completely, the kernel will then boot with 1566/192/1566.


    Ah btw: We now see our set max mhz under Settings->About Phone->HW->Cpu ;) (it actually changes when you change your maxkhz)

    This is genuine innovative code from me. I didn't even occasional glance at someone elses work. So if sth like this is already out there, SCREW THE DEV :p because I did not see it and wrote it from scratch! :D

    And since 0.6 comes with the awesome Aroma installer you can now choose from 3 gpuoc versions!
    GPU OC disabled, 3D@266Mhz & 2D@200Mhz
    GPU low overclock, 3D@300Mhz & 2D@228Mhz
    GPU high overclock, 3D@320Mhz & 2D@266Mhz + Bandwidth push


    The source for this is split into two parts, Kernel & bash script. The script finds the zip on your sdcard, parses the filename and modifies the kernels cmdline inside the boot.img. The Kernel is parsing the cmdline, checking if everything is valid and setting your options.

    How to install?

    Just flash from recovery. Because it creates a boot.img out of the one on your phone while flashing, it should work with the majority of ROMs out there.
    Interactive install, enjoy the ride! ;)

    Where to complain about errors/bugs?

    Please use the Issuetracker for bugs/errors/feature wishes!
    Issuetracker @ https://code.google.com/p/bricked/issues/entry

    showp1984@googlemail.com
    IRC Chat: Freenode IRC #bricked

    Download:

    No Guarantees! If it kills your grandmother or your device, I am NOT responsible! If you understand this:
    (If you download, please hit Thanks below my post! Thank you!)


    >>> DOWNLOAD <<<

    XDA Discussion/Download for AOSP (ICS): Click me

    Old Downloads (gcode): Click Me




    Use System Tuner to undervolt!
    Setting min/max frequencies should be done over the zips name instead.




    Source:



    209
    Changelog moved to bricked.dehttp://bricked.de/index.php?action=changelogs&device=pyramid&type=sense

    What does PREEMPTIBLE mean?

    Preemptive built kernels are favoring the userinterface over everything else! That means: An app in the background is using 50% of you CPU to spy on you. You want to move fast through the user interface/watch a video, whatever. The kernel will now favor your action over the app in the background. That's all the magic that's happening ;)
    What is badass?

    Well good question. With ICS I decided to rework my gb badass which never got released because it was always pushed aside. To break down what it is:

    Badass removes all of this "fast peaking" to the max frequency. On a typical system the cpu won't go above 918Mhz and therefore stay cool and will use less power. To trigger a frequency increase, the system must run a bit @ 918Mhz with high load, then the frequency is bumped to 1188Mhz. If that is still not enough the governor gives you full throttle. (this transition should not take longer than 1-2 seconds, depending on the load your system is experiencing)
    Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1188Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.

    Please remember: Due to it's nature, this is not a benchmark governor. It is meant as a governor that gives you a smooth experience while saving battery, lots of it ;)
    What is msm_thermal?

    Kernel based 3-phase thermal control!
    This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_backup.

    Check /sys/kernel/msm_thermal/conf/ for the thermal configuration :)

    allowed_max_high = highest threshold (phase 3)
    allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
    allowed_max_freq = max frequency if throttled (limit)

    [...]mid[...] = same as above, just for phase 2
    [...]low[...] = Lowest threshold (phase 1)

    check_interval_ms = how often shall we check? (sampling rate)
    Default: 1000ms (=1sec)

    If you want to see msm_thermal doing it's job:
    Code:
    adb shell
    cat /proc/kmsg | grep 'msm_thermal'
    What is msm_mpdecision?

    100% kernel based multi core decision! (should cpu1 be online or not?)
    This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_backup.

    Check /sys/kernel/msm_mpdecision/conf/ for the configuration.

    startdelay = time until mpdecision starts doing it's magic (70000)
    delay = time between checks (500)
    pause = if something else plugs in the cpu, fall asleep for 10000
    scroff_single_core = if the screen is off, don't plug in cpu1 (1)
    nwns_threshold_up = runqueue threshold, if this is reached cpu1 will be hotplugged (35)
    nwns_threshold_down = runqueue threshold, if this is reached cpu1 will be unplugged (5)
    twts_threshold_up = time threshold, this amount of time must have passed (250)
    twts_threshold_down = same as above (250)
    enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
    idle_freq = a value against that will be checked if a core +/- is requested. (486000)
    If cpu0 is below that value and a core up of cpu1 is requested, nothing will happen.
    If cpu1 is above that value and a core down of cpu1 is requested, nothing will happen. (otherwise it would now put down cpu1 even though it is still working)


    (all times are in ms)

    If you want to see the mpdecision magic happening:
    Code:
    adb shell
    cat /proc/kmsg | grep 'MPDEC'



    Frequency/Voltage Table:

    192000: 800000
    310500: 825000
    384000: 825000
    432000: 850000
    486000: 850000
    540000: 875000
    594000: 875000
    648000: 900000
    702000: 900000
    756000: 925000
    810000: 950000
    864000: 975000
    918000: 975000
    972000: 1000000
    1026000: 1000000
    1080000: 1025000
    1134000: 1025000
    1188000: 1050000
    1242000: 1075000
    1296000: 1100000
    1350000: 1125000
    1404000: 1150000
    1458000: 1150000
    1512000: 1175000
    1566000: 1175000
    1620000: 1200000
    1674000: 1225000
    1728000: 1250000
    1782000: 1275000
    1836000: 1300000
    1890000: 1325000
    1944000: 1350000
    Available CPU governors:
    badass <-- !recommended!
    lazy
    interactive
    lagfree
    conservative
    userspace
    powersave
    ondemand
    performance​


    Stock Kernel for ICS. Unsecured boot.img.
    40


    New beta: v0.955
    3 new changes ;)
    -Bluetooth Caf backport from faux123
    -Badass governor
    -allow lower min. brightness (display)


    What is badass?
    Well good question. With ICS I decided to rework my gb badass which never got released because it was always pushed aside. To break down what it is:

    Badass removes all of this "fast peaking" to the max frequency. On a typical system the cpu won't go above 918Mhz and therefore stay cool and will use less power. To trigger a frequency increase, the system must run a bit @ 918Mhz with high load, then the frequency is bumped to 1188Mhz. If that is still not enough the governor gives you full throttle. (this transition should not take longer than 2-5 seconds, depending on the load your system is experiencing)
    Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1188Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.

    This is work in progress. I spent the past 6 hours trying to find sweetspots for the configuration and I think I nailed it in this version ;) (finally... :rolleyes:)

    Please remember: Due to it's nature, this is not a benchmark governor. It is meant as a governor that gives you a smooth experience while saving battery, lots of it ;)

    After that long text, here is the download:

    Download: Click me

    This is the perfect place to hide an ad, therefore:
    HTC One X - Piggy bank!
    Your support is highly appreciated!
    http://bricked.de/

    If you can't donate anything, no problem. Just click on the ad instead ;)
    If you won't click on the ad, my kernel will turn your device into a decepticon that will crawl up your nose when you sleep! NO KIDDING! CLICK THAT AD! :D

    38
    New beta in town with loads of caf changes ;)
    Also patched in thermal stuff in preparation of kernel thermal control, but not yet used because I am still trying to figure out if we can use mpdecision without thermald. I would not like to ditch mpdecision, it provides way better battery life than any other solution I have yet seen. (that's not a dislike on anyone's accomplishments, just a fact ;) )
    + merged linux kernel with upstream 3.0.26...
    Details below.

    Bricked-3.0-v0.55-b2: Click me

    Changelog: (from 0.5)
    Code:
    * 5ca5935 : config: enable bfp jit
    * b637217 : include: linux: filter.h: fix missing rcupdate.h include
    * 3169240 : config: increase usb gadget vbus draw to 500
    * 2b4b3ee : config: enable usb otg wakelocks
    * c353183 : config: update with autogen
    * 57cc678 : msm: kgsl: Add supporting code for 2d dcvs
    * dc16b34 : Linux 3.0.26
    * 8090c01 : powerpc/pmac: Fix SMP kernels on pre-core99 UP machines
    * c8c6786 : iwl3945: fix possible il->txq NULL pointer dereference in delayed works
    * 9284e42 : ipv6: Don't dev_hold(dev) in ip6_mc_find_dev_rcu.
    * dedb848 : tcp: fix syncookie regression
    * 342c078 : perf tools: Incorrect use of snprintf results in SEGV
    * 7d99642 : afs: Remote abort can cause BUG in rxrpc code
    * 615567b : afs: Read of file returns EBADMSG
    * ab12e43 : nilfs2: fix NULL pointer dereference in nilfs_load_super_block()
    * 7d1f547 : thermal: msm8960_tsens: Read TSENS temperature
    * a881ee2 : thermal: tsens: Add tsens notify callback
    * ff4f3ef : thermal: msm8960_tsens: Fix reading the correct sensor4 address
    * fe918d1 : tsens: msm8960: Split write ordering for TSENS Enable
    * c9b0c6b : thermal: tsens8960: Fix setting initial return value
    * 617c974 : thermal: tsens: Use Calibration offset data from QFPROM
    * 0ba824a : thermal: tsens: Add support for MDM9615
    * 7851012 : thermal: msm8960: Check for SOC version
    * d3dc239 : thermal: tsens: Add platform information for 9615
    * 009b0a6 : thermal: msm: Update TSENS for 8960_V2
    * 14caa18 : drivers/usb/misc: add ehset.c for OTG operations
    * be703bc : [PATCH] usb: otg: Temporarily grab wakelock on charger and  disconnect events
    * 9ad0728 : USB: OTG: Take wakelock when VBUS present
    * 62d713c : msm: msm_xo: Set the correct bits for XO_CORE on 8660
    * c3407bb : msm: pm-8x60: Add clock debug to idle code path.
    * 1eaa81f : msm: pm-8x60: Move hotplug related code out of pm code.
    * c30553e : msm: hotplug: Support cpu hotplug in no PM cases
    * f971d96 : msm: cpufreq: Check cpufreq_frequency_table NULL
    * 7e0094c : cpufreq: interactive governor: default 20ms timer
    * e32e728 : power: cpufreq interactive governor: use default sample time 20ms
    * 848c5bc : cpufreq: interactive governor: default timer 10ms, maxspeed load 95%
    * b0b34e3 : cpufreq: interactive: fix possible Division by zero.
    * 727a7b8 : cpufreq : Fix crash input event handler on governor switch
    * 81fcdd8 : msm_thermal: Remove error messages from log when core is offline
    * 3dccf0f : thermal: Fix hotplug race condition leading to memory corruption.
    * 4159bfc : msm: thermal: Add MSM thermal sensing and limiting
    * 253b0eb : scheduler: minor improvement to pick_next_highest_task_rt
    * 1480dc6 : mmc: msm_sdcc: Power down slots after reboot
    * 2958104 : hdmi_msm: Power down PHY register during suspend
    * 93712f7 : cpufreq: Extend ondemand powersave_bias for negative range
    * becdb83 : msm: kgsl: disable irq when adreno device is stopped
    * 7f37a49 : msm: kgsl: convert sg allocation to vmalloc
    * bd08355 : msm: kgsl: Make sure SLUMBER is the requested state
    * 9aa9c5f : msm: kgsl: Clarify the circumstances to enable SLUMBER state
    * e1243e5 : msm: kgsl: Be explicit about what states may access hw
    * 8a47885 : msm: Config option to enable idle stats device
    * ea61106 : msm: kgsl: only poke once during adreno_idle
    * 33f99fd : msm: kgsl: Modify only the pending idle timer in ISR.
    * 59c4f2b : msm: kgsl: flush device workqueue before stop
    * 564ff64 : msm: IDLE_TIMER wakes up waiting processes
    * 0459155 : msm: kgsl: Collect a sample only if GPU is active
    * 5da28701 : msm: kgsl: call device->irqctrl from start/stop
    * 2e84670 : msm: kgsl: Power scale policy needs at least three power levels.
    * 02bf9a1 : msm: kgsl: Don't wake core to check if it is idle.
    * 85cf4a8 : msm: kgsl: Move the GPU register lists to a common location
    * 345d6ec : msm: kgsl: Do not ramp to turbo if the screen is off.
    * 754515b : msm: kgsl: add power tracepoints
    * 9ac487b : msm: kgsl: power state cleanup
    * 909af7b : msm: kgsl: Eventually transition to SLUMBER
    * 9d41c04 : msm: kgsl: in postmortem, log powerstate before changing it
    * 52bf797 : msm: kgsl: adreno_isidle shouldn't BUG()
    * 14a8125 : msm: kgsl: fix infinite loop in adreno_find_region()
    * 58ee6d0 : msm: kgsl: Allow device attributes to be re-created
    * e2e92ba : acpu: use config variable here instead of static value
    * cc7fc34 : ARM: net: JIT compiler for packet filters
    * 9be1d23 : Optimized ARM RWSEM algorithm
    * d701b86 : lib/string: use glibc version
    * 14c5661 : lib/memcopy: use glibc version
    * 6a96ee2 : msm: kgsl: correct amount of scaling steps
    * 7dd2dcb : board: increase the rpm regulator constraints
    * 504eff8 : config: update with generated stuff
    * e10f7d8 : base: genlock: Remove genlock_release_lock and associated ioctl
    * f54adc0 : governor: Added CPUfreq governor 'lazy'
    * e41dbc3 : ARM: entry: no need to increase preempt count for IRQ handlers
    * 854481b : sched: Remove unlikely() from ttwu_post_activation
    * 06d9d20 : sched: Remove unlikely() from rt_policy() in sched.c
    * f1e8e4b : sched: Change pick_next_task_rt from unlikely to likely
    * 169384a : sched: Cleanup pre_schedule_rt
    * 9260908 : Add LagFree CPU Governor
    * 1796f64 : sched: disable GENTLTE_FAIR_SLEEPERS for better performance on Android
    * a8f2169 : Make vfs_cache_pressure configurable
    * 9d95e8b : msm: kgsl: add GPUOC config variable
    * 488092e : acpu/avs: push POSSIBLE max voltage, wider scaling range for the user
    * 980ed38 : acpu: slightly push voltages above 1566 to make it more oc happy
    * cc33fb2 : msm: deactivate notification led timeout
    * ba10ae1 : kgsl: eliminate not used scaling steps
    * 8e49ddf : Revert "kgsl: increase max allowed power levels"
    * e86aa21 : kgsl: 2D: increase bandwidth to avoid bottlenecking the gpu
    * 1288640 : kgsl: 3D: increase bandwidth to avoid bottlenecking the gpu
    * 49c0c7a : drivers: input: cy8c_tma_ts: properly fix touchscreen issues. (HTC)

    Support my night-shifts (this time from 20pm-06am ;))! Download and test! ;)
    37
    New beta release,
    Codename: Legends of Awesomeness! ;)



    Bricked-3.0-v0.55-b4-ics
    Click Me, at the bottom of this post so I can be 50% sure you actually read this :p


    What has changed from b3?
    Actually "only" one thing. But that is truly innovative and will make things a lot easier for devs and users. Took me the whole night and I am awake since 19 hours so excuse any typos. My monitor is only one white blur atm :D

    Have you ever wished you could set the default min/max frequency on your own?
    Without having to rely on the dev to recompile?
    Or doing it yourself?
    Or even bothering to learn how to do that?


    Well guys, your prayers have been heard!

    This Beta 4 has the ability to set your default min/max cpuclocks over the zips filename with which you flash it!
    Stop drooling, it's no fake, it works.
    So what the **** do I mean by that?
    Well usually a kernel dev sets one default boot setting, like Bricked's defaults are: 1566/192. Sometimes this is not what you want, so you need to install an OC app, under or over clock, etc. In this case you just edit the zip file, flash, and you are good to go! No need to change anything with an oc app!

    Let me explain this on an example:
    The name of the file you guys download is:
    Code:
    Bricked-3.0-v0.55-b4-ics-maxkhz=1566000-minkhz=192000.zip
    That means the kernel will boot with 1566 Mhz max & 192 Mhz min. Now if you want to change that you just need to edit the zips name, and reflash. Done! Like this:
    Code:
    Bricked-3.0-v0.55-b4-ics-maxkhz=1188000-minkhz=384000.zip
    Now one could say, hell that's too dangerous, what if I write something wrong in there? No problem, your show-p1984 thought of everything. I have built in that much security measures that it is not even remotely imaginable that something could go wrong. I am serious. Whoever manages to break it gets a golden pile of **** from me.
    Now what does it "autocorrect" exactly?
    It corrects mhz instead of khz values for you, so you can actually flash this:
    Code:
    Bricked-3.0-v0.55-b4-ics-maxkhz=1188-minkhz=384.zip
    and it will still work.
    Or it corrects wrong acpu frequencies. You can find a table @ the second post, but if you mistype sth, no fear, it will still work!
    Code:
    Bricked-3.0-v0.55-b4-ics-maxkhz=1190-minkhz=390.zip
    for example will let the kernel boot with 1188Mhz max and 384Mhz min. It always falls back to the next lower step. (Actually you won't need to bother for the acpu table anymore, just type anything in there, it will automatically correct it for you!)

    Now what if you write a letter in there? Like this:
    Code:
    Bricked-3.0-v0.55-b4-ics-maxkhz=II88000-minkhz=38A000.zip
    Well, the kernel will detect that and fall back to default settings read out of my .config. Which means the kernel will boot @ 1566Mhz max and 192Mhz min.

    What to do if you just want to change your clocks?
    Rename the zip file, boot into recovery, flash, and enjoy ;)

    Currently there is only one limitation:
    You can't have two files with the same base on your scard. that means:
    Code:
    Bricked-3.0-v0.55-b4-ics-maxkhz=1190-minkhz=390.zip
    Bricked-3.0-v0.55-b4-ics-maxkhz=1188-minkhz=192.zip
    are not allowed to be on the sdcard at the same time, the kernel would boot with defaults: 1566/192 if you flash either one of those files. (I am too tired to program a check for that right now ^^)
    The "base" of the filename is this: Bricked-3.0-v0.55-b4-ics-
    So you can have 2 files on the sdcard with names like this:
    Bricked-3.0-v0.55-b4-ics-****
    Bricked-3.0-v0.55-b5-ics-****
    Bricked-3.0-v0.6-ics-****
    (****=etc etc etc etc)
    Furthermore it must be followed by maxkhz=VALUE-minkhz=VALUE.zip It is not possible to switch the positions of max and min. But you can leave them out of there completely, the kernel will then boot with 1566/192.

    This is genuine innovative code from me. I didn't even occasional glance at someone elses work. So if sth like this is already out there, SCREW THE DEV :p because I did not see it and wrote it from scratch! :D

    Source is split into two parts, zip and kernel. Kernel will come online with the official release of 0.6 (got some cleanup to do ^^). The zip can be studied by all the bash ppl out there ;)


    Download
    STOCK GPU CLOCKS (3D@266, 2D@200): CLICK ME
    MAX GPU CLOCKS (3D@320, 2D@266): CLICK ME