Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,035 Members 40,796 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] Overclocked kernel v1.5.2

Tip us?
 
SebastianFM
Old
(Last edited by SebastianFM; 7th May 2013 at 09:17 AM.)
#1  
Senior Member - OP
Thanks Meter 5,311
Posts: 636
Join Date: Dec 2009
Location: Warsaw

 
DONATE TO ME
Exclamation [KERNEL] Overclocked kernel v1.5.2

Based on the newest HTC source code.
100% compatible with 3.33.401.6 based ROMs and with ICS with HTC Sense 4.0 based ROMs.
For both HTC Sensation and HTC Sensation XE.
Overclocked CPU, added optimized CPU frequency tables with CPU frequencies up to 1836 MHz (1512 MHz by default) 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.
Camera flash: low battery limit decreased to 10%.
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.5.2
Added USB HID.
Added drivers for USB HID devices.

v1.5.1
Enabled USB OTG.
Added NTFS support.
Added SCSI.
Added USB Host.
Added USB storage and USB storage drivers.
Fixed /system/etc/vold.fstab.

v1.5.0
Implemented all updates from newest HTC kernel source code for 3.33.401.6 based ROMs.
Included newest mpdecision binary, hex edited to prevent from changing minimum and maximum CPU frequency.

v1.4.1
Default maximum GPU 2D frequency set to 200 MHz.
Increased GPU bus bandwidth in 3D mode.
Added few fixes from HTC Vivid kernel.
Added Wi-Fi module for ICS with HTC Sense 4.0 based ROMs.
Fixed haptic feedback.

v1.4.0
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.

v1.30.4
Added CPU Voltage Table - interface that allows adjustment of the CPU voltage (thanks to snq-, faux123 and show-p1984).
Updated touchscreen driver with multi-touch issue fixed by HTC.
Override refresh rate for Sense 4 (thanks to virtuous).
Changed low battery limit for camera flash.

v1.30.3
Overclocked GPU in 2D mode to 229 MHz.
Added 300 MHz GPU clock settings.
Modified Adreno220 drivers.
Overclocked GPU in 3D mode to 300 MHz by default, maximum 320 MHz.

v1.30.2
Touchscreen drivers fixed.

v1.30.1
First release built from source code. Thanks to HTC!
Optimized.
Touchscreen drivers partially fixed.
Added higher values to L2 cache frequency tables.
Updated CPU frequency tables.
Added support for zRam swap.
CIFS, SquashFS.
Enabled CPUFreq stat.

v1.20
Based on new kernel 3.0.16-gda3fdfc.

v1.11
Five kernel versions with different maximum CPU frequency.
Finally fixed CPUFreq, mfreq related bug (only one instruction changed in kernel code).

v1.10
First release based on kernel 3.0.16-gcfa14fc.
Modified CPU frequency tables, CPU speed limits and voltage limits.
Temporarily fixed CPUFreq related bug in HTC kernel.
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.
My thermald doesn't parse external config file, it uses predefined thresholds.

Downloads:
v1.5.2, link, md5: 0b73bf76439fe002200d30717c8b931a

Installation:
This is flashable zip intended for install from recovery.
I used koush AnyKernel installer, so you can flash this kernel on any ROM.
Remember to do backup before flashing.

OC:
The CPU frequency 1782 MHz is stable for me but every phone 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

zram:
To enable zram (these commands enables 100 MB compressed swap stored in RAM):
echo 104857600 > /sys/devices/virtual/block/zram0/disksize
busybox mkswap /dev/block/zram0
busybox swapon /dev/block/zram0


To disable zram:
busybox swapoff /dev/block/zram0
echo 1 > /sys/devices/virtual/block/zram0/reset


To view zram usage (size displayed in kB):
cat /proc/swaps

Source code:
GitHub
The Following 559 Users Say Thank You to SebastianFM For This Useful Post: [ Click to Expand ]
 
roytev
Old
#2  
Member
Thanks Meter 13
Posts: 48
Join Date: Oct 2010
Location: tel aviv
look very nice i will try it
The Following 3 Users Say Thank You to roytev For This Useful Post: [ Click to Expand ]
 
fearkillerr
Old
#3  
fearkillerr's Avatar
Senior Member
Thanks Meter 166
Posts: 517
Join Date: Feb 2008
Location: Damascus
Awesome! now we dont need to Force Second CPU any more to gain more speed, do we? (testing now)!
ROM: Android Revolution HD 8.0 | High Quality & Performance | XXCME2 | Jelly Bean
Kernel: Stock 1.4 Quad Core Kernel
CPU: 1.4 GHz Quad Core (Ondemand)
Radio: Stock XXCMD1
Recovery: CMW Recovery 6.0.2.5 Touch



HTC HD2 ) HTC Desire HD ) HTC Sensation ) SGS2 ) Note ) Note 10.1
The Following 2 Users Say Thank You to fearkillerr For This Useful Post: [ Click to Expand ]
 
cb1100r
Old
#4  
cb1100r's Avatar
Senior Member
Thanks Meter 208
Posts: 1,881
Join Date: May 2007
Location: Fécamp (76)
http://forum.xda-developers.com/show....php?t=1372649
not the same ?
Samsung Galaxy Note II black /Orange France

http://pierremarie.wordpress.com/
The Following User Says Thank You to cb1100r For This Useful Post: [ Click to Expand ]
 
x3nophobia
Old
#5  
Senior Member
Thanks Meter 45
Posts: 520
Join Date: Dec 2010
Location: Cairo
would this work on sensation GB? i would like to try this on ARHD 4.1.11
Retired : HTC HD2 TMOUS [ I will never forget you ]
Now : HTC Sensation
ROM : PARANOID ANDROID DK V21
The Following User Says Thank You to x3nophobia For This Useful Post: [ Click to Expand ]
 
Jaglicic
Old
#6  
Jaglicic's Avatar
Senior Member
Thanks Meter 69
Posts: 372
Join Date: Dec 2010
Location: Belgrade
Now we are talking... :)

Sent from my HTC Sensation XE with Beats Audio
The Following 2 Users Say Thank You to Jaglicic For This Useful Post: [ Click to Expand ]
 
bduvel
Old
#7  
Senior Member
Thanks Meter 171
Posts: 390
Join Date: May 2010
Thanks, booted and working fine
 
KennyDumah
Old
#8  
KennyDumah's Avatar
Senior Member
Thanks Meter 120
Posts: 891
Join Date: Oct 2010
Now my Sensation is running like a charm (:
Devices:
HTC Desire
HTC Sensation XE
Nexus 4
Nexus 5
The Following User Says Thank You to KennyDumah For This Useful Post: [ Click to Expand ]
 
zoobidoo
Old
#9  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Dec 2007
Default nice

seems to be working juste fine for me
thx
 
GeknGekn
Old
#10  
GeknGekn's Avatar
Senior Member
Thanks Meter 87
Posts: 135
Join Date: Aug 2009
Location: Uppsala
Holy ****! Amazing how fast ics is now great job mate!

Sent from my HTC Sensation using Tapatalk

The Following 3 Users Say Thank You to GeknGekn For This Useful Post: [ Click to Expand ]
Tags
fastest, kernel, overclock, sebastianfm, sensation
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes