Jump to content


Photo

[Kernel] [CM9]<<308. New governor, long resume after deep sleep fix.>>

* * * * - 1 votes

  • Please log in to reply
14 replies to this topic

#1
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,063 posts
  • Gender:Male
  • Devices:Moto G, ZTE Blate
Hello all,
Linked below is a kernel compiled by myself from Dazzozo's ICS branch for CM9.1.
All credits to him and everyone else who has put hard work into the kernel source.

Governor added:

-LagFree governor

similar to Smartass but based on Conservative rather than Interactive, instantly jumps to a certain CPU frequency after the device wakes, then operates similar to Conservative. In our case It sits at 480 MHz (unless your minimum CPU frequency is set to higher). I know what your thinking, "that’s a bit high, battery drain alert!" It doesn't drain your battery. Your phone will still sleep as it should and when you have the screen on you are using it right? Not just looking at it :).

This governor is set as default. If you want to change it use Nofrills, setCPU or another app.

-Slow resume after deep sleep fix:

This tweak was cherry picked from a video driver in the ZTE blade kernel. They had a long wake-up after sleep issue to caused by VSync events and to my amazement it seems to have worked. No more button bashing or wondering if you pressed the power button hard enough. The CPU is woken a few extra milliseconds earlier cancelling out the glitch.

-Highest OC value removed:

This was just a personal preference. My phone wasn't always stable if overclocked to 1267MHz.

Download:

http://www.mediafire...igv6n0b6uxpbx74

Installation:
Flash in CWM/TWRP > Reboot

This boot image has been tested by myself and is to the best of knowledge fully functional. As always, by flashing this you acknowledge that you are taking a risk that could potentially break your device through no fault of my own.

Thanks:
-Dazzozo for all his work on CM and for helping me along the way. http://www.modaco.co...961067-dazzozo/
-Paulmilbank
-Fagulhas
(these guys are the hard workers, i just modded it and compiled it)

Sources:
Dazzozo's github: https://github.com/D..._u8815/tree/ics
KonstaT's github: https://github.com/KonstaT
rhcp011235's github: https://github.com/rhcp011235

  • 0
-If i've been helpfull to you in any way, press that little green thanks button

#2
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,063 posts
  • Gender:Male
  • Devices:Moto G, ZTE Blate
reserved

  • 0
-If i've been helpfull to you in any way, press that little green thanks button

#3
poliacido

poliacido

    Newbie

  • Members
  • Pip
  • 24 posts
  • Gender:Male
  • Location:Italy
  • Devices:Ascend G300

My phone wasn't always stable if overclocked to 12672MHz.


lol.. i wish mine could reach at least 10ghz..... :P
interesting work, i will try it :)

Edited by poliacido, 20 January 2013 - 11:28 PM.

  • 0

#4
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,063 posts
  • Gender:Male
  • Devices:Moto G, ZTE Blate

lol.. i wish mine could reach at least 10ghz..... :P
interesting work, i will try it :)

lol my bad, corrected

  • 0
-If i've been helpfull to you in any way, press that little green thanks button

#5
Dazzozo

Dazzozo

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,319 posts
  • Gender:Male
  • Location:York, UK
  • Devices:Crescent, G300, Y300, Nexus 5
  • Twitter:@Dazzozo
nice :)

  • 0
Like my work? Give me rep!

Like my work a lot? Donate! Remember to leave your forum name if you want to be credited!

#6
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,063 posts
  • Gender:Male
  • Devices:Moto G, ZTE Blate

nice :)

Hehe ta ;)

  • 0
-If i've been helpfull to you in any way, press that little green thanks button

#7
Colossae3.23

Colossae3.23

    Addict

  • Members
  • PipPipPipPipPip
  • 606 posts
  • Gender:Male
  • Location:South Wales
  • Devices:Nokia Lumia 720
does this play with CM10 too, or are they too different?

  • 0

#8
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,063 posts
  • Gender:Male
  • Devices:Moto G, ZTE Blate
I couldn't tell you I haven't tried it on CM10 m8

  • 0
-If i've been helpfull to you in any way, press that little green thanks button

#9
Colossae3.23

Colossae3.23

    Addict

  • Members
  • PipPipPipPipPip
  • 606 posts
  • Gender:Male
  • Location:South Wales
  • Devices:Nokia Lumia 720
if I try, I can always nandroid? not sure if that applies to a kernel install. Thanks

  • 0

#10
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,063 posts
  • Gender:Male
  • Devices:Moto G, ZTE Blate
Yet you can try. Restoring also restores a kernel

  • 0
-If i've been helpfull to you in any way, press that little green thanks button

#11
Dazzozo

Dazzozo

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,319 posts
  • Gender:Male
  • Location:York, UK
  • Devices:Crescent, G300, Y300, Nexus 5
  • Twitter:@Dazzozo
The display won't work on CM10. CM10's hwcomposer expects vsync.

  • 0
Like my work? Give me rep!

Like my work a lot? Donate! Remember to leave your forum name if you want to be credited!

#12
Colossae3.23

Colossae3.23

    Addict

  • Members
  • PipPipPipPipPip
  • 606 posts
  • Gender:Male
  • Location:South Wales
  • Devices:Nokia Lumia 720
ok cheers, saves me the hassle

  • 0

#13
TangerineTractor

TangerineTractor

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,473 posts
so can these same tweaks be applied to the cm10 kernel?

  • 0
I'm saving up for a sofa so I can sit in the other room and tweak my phone without my wife nagging... thanks!

#14
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,063 posts
  • Gender:Male
  • Devices:Moto G, ZTE Blate
The governor can. And might actually be worth it considering how smooth it makes CM9. But as said above if vsync needs to kick in precisely when it does for other things to work then that's a no for the wake patch.

  • 0
-If i've been helpfull to you in any way, press that little green thanks button

#15
urmet77

urmet77

    Regular

  • Members
  • PipPip
  • 75 posts
  • Gender:Male
  • Location:Estonia
  • Devices:HTC One red,Galaxy S3LTE
Lagfree@1229mhz + cm9 r7=just like smooth butterrr

BIG THANK YOU

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users