Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,209 Members 49,155 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] Overclocked kernel v1.4.0

Tip us?
 
SebastianFM
Old
(Last edited by SebastianFM; 3rd September 2012 at 10:37 AM.)
#1  
Senior Member - OP
Thanks Meter 5307
Posts: 636
Join Date: Dec 2009
Location: Warsaw

 
DONATE TO ME
Default [KERNEL] Overclocked kernel v1.4.0

Based on the newest HTC source code.
Overclocked CPU, added optimized CPU frequency tables with CPU frequencies up to 1836 MHz and L2 cache frequencies up to 1566 MHz.
Increased CPU voltage limits (700 mV - 1400 mV).
Added CPU Voltage Table interface that allows voltage adjustment.
Fixed CPUFreq.
Overclocked GPU, increased maximum GPU frequency in 3D mode from 267 MHz to 320 MHz (300 MHz by default), increased bus bandwidth.
Added USB OTG.
Enabled USB Host.
Added support for different types of USB peripherals: USB Hub, USB mass storage devices (e. g. USB HDD, USB Stick, MP3 player), USB HID devices (e. g. USB mouse, USB keyboard, Wireless mouse or keyboard with USB receiver).

v1.4.0
First release built from kernel source code vigor-ics-crc-3.0.16-d0049f1. Thanks to HTC!
Optimized.
Added higher values to L2 cache frequency tables.
Updated CPU frequency tables.
Fixed ACPU and perflock to allow setting different maximum CPU frequency than highest available.
Fixed issue with changing minimum and maximum CPU frequencies by the system daemons. Replaced thermald.
Extended CPU voltage limits.
Added 300 MHz GPU clock settings.
Increased GPU bus bandwidth in 3D mode.
Modified Adreno220 drivers.
Overclocked GPU in 3D mode to 300 MHz by default, maximum 320 MHz.
Enabled USB OTG.
Added NTFS support.
Added SCSI.
Added USB Host.
Added USB storage and USB storage drivers.
Added USB HID.
Added drivers for USB HID devices.
Added support for zRam swap.
CIFS, SquashFS.
Enabled CPUFreq stat.
Added CPU Voltage Table - interface that allows adjustment of the CPU voltage (thanks to snq-, faux123 and show-p1984).

v1.3.0
Based on new kernel 3.0.16-g480e1b0 (August 3).

v1.20
Based on new kernel 3.0.16-g4a9c8a3 (March 10).
Fixed CPUFreq, mfreq related bug (which caused performance issues).

v1.10
Three kernel variants with different maximum CPU frequency.
First release based on kernel 3.0.16-g837f300.
Modified CPU frequency tables, CPU speed limits and voltage limits.
Modified information about CPU frequency displayed in Hardware information.

CPU Temperature daemon:

thermald v1.0.0 (SebastianFM)
The thermald daemon is a system service which monitors CPU temperature. It turns on the thermal sensor and sets thresholds to the thermal driver. Threshold are defined in file /system/etc/thermald.conf. If temperature reaches threshold, kernel sends notification to userspace. When thermald receives notification, it decreases CPU frequency to avoid CPU overheat.
The stock thermald doesn't work properly because when the CPU temperature drops below threshold, or when mpdecision turns on the second core, it always sets maximum CPU frequency to the highest available frequency.
I wrote my own thermald daemon which works very similiar, but when the CPU temperature is too high, it saves the current maximum CPU frequency and restores it later.
Currently my thermald doesn't parse external config file, it uses predefined thresholds.
Code:
Select Code
[tsens_tz_sensor0]
sampling         3000
thresholds       75      78      81     84     87
thresholds_clr   72      75      78     81     84
actions          cpu     cpu     cpu    cpu    cpu
action_info      1296000 1188000 918000 756000 384000
If you include my thermald in your ROM or kernel package, please don't forget give credit to me.

Current downloads:
v1.4.0, link, md5: 6ea612dd76b816e1ef10b5bf637b0d16

Older downloads:
v1.3.0 1728 MHz, link, md5: 3f6ab21ade2972f466baa8bbb80f7ab3
v1.3.0 1782 MHz, link, md5: f40b4578fb3c97f1556c53e926adfeb1
v1.3.0 1836 MHz, link, md5: 982e3fad23402556c48442f218d080b4

v1.20 1728 MHz, link 1, link 2, md5: d451991973bf26db28b6de1dcd1c6250
v1.20 1782 MHz, link 1, link 2, md5: 8051e4a094245ad0bad60b502ea264c9
v1.20 1836 MHz, link 1, link 2, md5: 42ae1d7416d46d68b59000f7c8d2995b

Installation:
This is flashable zip intended for install from recovery.
If your device is S-ON, installation will fail but PH98IMG.zip will be created on SD card. Reboot into bootloader, kernel will be flashed from this file.

OC:
The CPU frequency 1782 MHz should be stable but every device is different.

To increase maximum GPU frequency in 3D mode to 320 MHz:
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk



Source code:
GitHub

Thanks:
zone23, for testing and for AnTuTu scores, thank you.
con247, my installation scripts are based on con247's work, thanks.
The Following 82 Users Say Thank You to SebastianFM For This Useful Post: [ Click to Expand ]
 
Easton999GS
Old
#2  
Senior Member
Thanks Meter 95
Posts: 329
Join Date: Aug 2010
I love you!! i went on your thread on the sensation a couple of weeks ago begging for this kernel and asking how you did this without source and everyone told me how amazing you were, im soo glad to see you on this thread for the rezound. Thank you!
 
zetsumeikuro
Old
#3  
zetsumeikuro's Avatar
Senior Member
Thanks Meter 872
Posts: 3,366
Join Date: Jul 2010
Oh baby this is hot!


The Following User Says Thank You to zetsumeikuro For This Useful Post: [ Click to Expand ]
 
ChrisFa5
Old
#4  
ChrisFa5's Avatar
Senior Member
Thanks Meter 30
Posts: 133
Join Date: Jun 2010
Location: Capital Region, New York
Quote:
Originally Posted by zetsumeikuro View Post
Oh baby this is hot!
Nice choice of words...
OG Droid --> HTC Vigor
Kindle Fire HD 8.9
The Following User Says Thank You to ChrisFa5 For This Useful Post: [ Click to Expand ]
 
dmeadows013
Old
#5  
dmeadows013's Avatar
Recognized Developer
Thanks Meter 3777
Posts: 2,395
Join Date: Sep 2010
Location: USA

 
DONATE TO ME
Yum

Sent from my ADR6425LVW using XDA App
Current Devices: Google Nexus 5 (Black/32GB), Google Nexus 7 (Black/32GB)


MY WORK:
 
HTC Incredible
GingerStock Rom
AOKP ROM

HTC Rezound
AOKP ROM

Samsung GSIII
KitKangs


Like What I Do? Buy Me an Arizona!



The Following User Says Thank You to dmeadows013 For This Useful Post: [ Click to Expand ]
 
JohnShaft69
Old
#6  
JohnShaft69's Avatar
Senior Member
Thanks Meter 24
Posts: 185
Join Date: Feb 2009
so im guesing that this will only work on a sense based ics rom correct?
 
zetsumeikuro
Old
#7  
zetsumeikuro's Avatar
Senior Member
Thanks Meter 872
Posts: 3,366
Join Date: Jul 2010
Quote:
Originally Posted by JohnShaft69 View Post
so im guesing that this will only work on a sense based ics rom correct?
Yup. HTC bases only for this kernel.


The Following User Says Thank You to zetsumeikuro For This Useful Post: [ Click to Expand ]
 
Easton999GS
Old
#8  
Senior Member
Thanks Meter 95
Posts: 329
Join Date: Aug 2010
this kernel doesnt work. gets stuck at white screen on Joelz Rom, im sure its a easy fix. still hyped over this. especially antutu scores
 
TheRedmonian
Old
#9  
TheRedmonian's Avatar
Senior Member
Thanks Meter 586
Posts: 393
Join Date: Jun 2011
Location: Pensacola

 
DONATE TO ME
Quote:
Originally Posted by Easton999GS View Post
this kernel doesnt work. gets stuck at white screen on Joelz Rom, im sure its a easy fix. still hyped over this. especially antutu scores
I'm on Joelz Rom, not having that issue. Running great for me.

Sent from my ADR6425LVW using xda premium

 
drkow19
Old
#10  
Senior Member
Thanks Meter 76
Posts: 419
Join Date: Apr 2009
Location: Auburn Hills, Michigan
Works for me, on 4.0.1 with Sense, very smooooooth. Using CPU Master though, and the frequencies I set do not always stick... any suggestions?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes