FORUMS

Google No Longer Sending Calendar SMS Notifications

In a not entirely surprising move, Google announced that it’s putting an … more

Enable Multi-Window Mode on M Developer Preview

What was not mentioned in yeterday’s keynote was Android M’s multi-window … more

I/O Summary: Google Cardboard Virtual Reality

One year ago, Google introduced cardboard. Amazingly enough, that was all it took to fire … more

Android M Preview Images – XDA TV

Android M preview images are available. That and much more news is covered by Jordan when he … more

[KERNEL 3.4][CM12] Ivanichs CM12 Kernel OVERCLOCKED By Little Lerroyy [23/4/15]

Thanks Meter: 91
 
By little_lerroyy, Senior Member on 7th March 2015, 06:14 AM
Post Reply Subscribe to Thread Email Thread
Ivanichs CM12 3.4 Kernel Overclocked by Little Lerroyy [IN-TESTING]


Disclaimer

Each kernel release, I will be pre testing on my device first, to ensure adequate stability. However by the use of this kernel, I claim no responsibility to any damaged devices due to the risky nature of overclocking. I recommend that you DO NOT USE THIS KERNEL if you want rock solid stability!

Credits

I won't be taking full credit for this, as a matter of fact, i will only take very little as this kernel is based 100% from Ivanichs CM12 kernel for the sensation. While I only simply transplanted the overclocking code from Sultanxda and SebatianFM kernels to Ivanichs with my touch of voltage tweaks.

Features
  • CPU OC to 1890MHz
  • GPU 3D OC to 320MHz
  • GPU 2D OC to 228MHz
  • BUS/Memory OC for overclocked frequencies from 310MHz to 400MHz
  • CPU Voltage interface. Select your own VCore!
  • Various idle underclocks and undervolts to improve batterylife
  • Included sultanxda's panel undervolt interface
  • Various I/O Scheduler & I/O read aheads and CPU Govenor tweaks for awesome snappiness.
  • Compiled with Linaro GCC Compiler optimized for Cortex A8.
Bugs (Major)
  • Thermal Daemon will set absolute top frequency 1.89GHz when returning from a CPU throttle due to high temperature. In this case some devices can't handle 1.89 and will either reboot eventually or instantly reboot. Hinxnz has provided and excellet workaround for this.

    Edit thermal.conf to this before flashing this kernel!
    Hinxnz excellent workaround to the thermald reboots. Navigate to /etc/thermal.conf and change the file to the following. Substitute "1512000" with your desired frequency. Keep in mind setting a too high frequency could lock you out of your device!
    Code:
    [tsens_tz_sensor0]
    sampling         3000
    thresholds       0      65     75     85
    thresholds_clr   0      60     70     80
    actions          cpu     cpu    cpu    cpu
    action_info      1512000 1134000 702000 384000
Notes
  • I recommend that you DO NOT USE THIS KERNEL if you want rock solid stability! Kernel is still currently in testing.
  • I would recommend only use 1.89GHz and 1.944GHz for benchmarking. I have set the voltages for those frequencies to 1.3v and a monstrous 1.375v respectivly to maintain device from instantly crashing.
  • My Device only stable on 1836MHz with a moderate 1.25v on the core (This is device depandant)
SourceDownload Link
XDA:DevDB Information
CM12 Overclocked 3.4 Kernel for HTC Sensation, Kernel for the HTC Sensation

Contributors
little_lerroyy
Source Code: https://github.com/littlelerroyy/and...el_htc_pyramid

Kernel Special Features: OC Up To: CPU = 1890MHz, GPU3D = 320MHz, GPU2D = 228MHz, L2 Cache = 1.6GHz

Version Information
Status: Testing

Created 2015-03-07
Last Updated 2015-04-23
Last edited by little_lerroyy; 19th April 2015 at 01:27 PM.
The Following 15 Users Say Thank You to little_lerroyy For This Useful Post: [ View ]
 
 
7th March 2015, 06:15 AM |#2  
little_lerroyy's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 91
 
More
Changelog
23/4/15
  • Increased CPU input boost duration to 300mhz to smooth out UI, and reduced the possibility of intelliactive ramping CPU to max frequency unnecessarily.
  • Tweaked intelliactive govenor to be less aggressive. It was going to full speed too often and ramping while idling. Phone runs much cooler due to this change and the above
  • Reduced BUS speed for upper standard CPU frequencies.
  • Underclocked idle frequency bus from 103MHz to 80Mhz. We dont need performance at idle! We could go lower.
  • Undervolted L2 cache for idle frequencies. 1.1V -> 1.075V. We could go lower.
  • Sultanxda panel undervolting sysfs interface added. Navigate to "/sys/module/board_pyramid_panel/parameters/panel_uv", where "panel_uv" is a value between 0 and 700mV to undervolt the panel by (stock panel voltage is 3100mV). Increments of 25mV only accepted
  • Very basic flashable ZIP made.
19/4/15
  • Reverted to old CPU Vcore table. The old Undervolted table didn't suit some devices.
  • Added CPU VCore interface. You can now change CPU voltages within android. Range: (1.35V - 0.7V)
  • Reverted to stock GPU2D BUS. Noticed no difference with it raised.
  • Increase Max current intake to 1250mA. Charging should be quicker with >1000mA chargers. (im not sure if I will keep this as i do notice a hotter phone while charging)
  • Dropped all partitions to 0KB readhead. People should notice a even more snappier phone.
6/4/15
  • Tested with CM12.1
  • Overclocked system bus from 310MHz to 400MHz on overclocked frequencies.
  • Undervolted vcore for standard frequencies. In theroy this should provide better battery life.
  • GPU Bus overclock
  • CPU will not switch off the second core while the screen is on (it will turn off when screen is off). I find this helps improve performance drastically without any noticble drop in battery life (i feel it could improve battery life)
  • ZRAM switched off by default. People can enable this at anytime if they want to.
  • Set CPU govenor to intelliactive by default. Also tuned for extra smoothness & snappiness.
  • Set I/O Scheduler to FIOPS as default. Optimised tunable scales to improve performance.
  • Dropped read ahead levels significantly for internal and external storage. I find this improves loading from storage by quite a bit.
8/3/15
  • Removed 1.944GHz selection to stop random crashing. I will try later to see if i can stabilize it.
  • Published boot.img with L2 Cache OC to 1.6GHz
7/3/15
  • Initial CPU OC to 1944MHz, GPU3D 320MHz, GPU2D 228MHz
  • Added Ivanichs ZRAM support
Last edited by little_lerroyy; 23rd April 2015 at 09:58 AM.
The Following 8 Users Say Thank You to little_lerroyy For This Useful Post: [ View ]
7th March 2015, 08:13 AM |#3  
francesco totti's Avatar
Senior Member
Thanks Meter: 15
 
More
Hi . thanks for sharing your kernel ! but would you please re-compile it with the latest code ?! i checked your github and it doesn't contain ivanich's commits from 5th and 6th of March! because 6th of march commits enabled zRam and it must have great impact on performance ! Thanks.
7th March 2015, 08:52 AM |#4  
little_lerroyy's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 91
 
More
Quote:
Originally Posted by francesco totti

Hi . thanks for sharing your kernel ! but would you please re-compile it with the latest code ?! i checked your github and it doesn't contain ivanich's commits from 5th and 6th of March! because 6th of march commits enabled zRam and it must have great impact on performance ! Thanks.

Thanks for the input, about a few hours ago I downloaded ivanichs changes onto my PC but havent pushed the updates yet, I will post the zRam kernel tonight
The Following User Says Thank You to little_lerroyy For This Useful Post: [ View ]
7th March 2015, 11:17 AM |#5  
little_lerroyy's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 91
 
More
Updated to include zRAM Support
The Following 2 Users Say Thank You to little_lerroyy For This Useful Post: [ View ]
7th March 2015, 01:57 PM |#6  
francesco totti's Avatar
Senior Member
Thanks Meter: 15
 
More
well i flashed your kernel but i always get reboots while doing heavy tasks and some times just normal tasks!! here's the last kmsg :
Attached Files
File Type: txt kmsg.txt - [Click for QR Code] (150.2 KB, 62 views)
The Following User Says Thank You to francesco totti For This Useful Post: [ View ]
8th March 2015, 12:16 AM |#7  
little_lerroyy's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 91
 
More
Quote:
Originally Posted by francesco totti

well i flashed your kernel but i always get reboots while doing heavy tasks and some times just normal tasks!! here's the last kmsg :

Thanks for sharing this!! May i ask, what CPU speed did you select and what GPU3D Freq did you select? Well just as i thought the last message in your log that it tripped over the 65deg threshold. I tested this last night and the thermal daemon isnt throttling cpu speed! I even tried editing the thermald.conf to drop to 1134MHz when over just a small 45 degrees. and it still powers on at full frequency. Im not sure if there is an issue with the thermal daemon itself, or if it has a problem with my kernel, i will be doing some more testing tonight.
8th March 2015, 04:01 AM |#8  
francesco totti's Avatar
Senior Member
Thanks Meter: 15
 
More
The minimum cpu speed was 540 and maximum cpu speed was 1836 ! And also i hadn't overclocked the gpu !
8th March 2015, 04:27 AM |#9  
hinxnz's Avatar
Senior Member
Thanks Meter: 1,368
 
More
Quote:
Originally Posted by little_lerroyy

Thanks for sharing this!! May i ask, what CPU speed did you select and what GPU3D Freq did you select? Well just as i thought the last message in your log that it tripped over the 65deg threshold. I tested this last night and the thermal daemon isnt throttling cpu speed! I even tried editing the thermald.conf to drop to 1134MHz when over just a small 45 degrees. and it still powers on at full frequency. Im not sure if there is an issue with the thermal daemon itself, or if it has a problem with my kernel, i will be doing some more testing tonight.

Haven't tried your kernel yet but will later, cheers.
Not all devices can handle over 1.7GHz and some also can't handle 320 for GPU.
Stock frequency for our CPU according to Qualcomm is 1.67GHz.
I don't think thermald is working either on ivanich's kernel, actually I think it maybe but temperature readings are incorrect when it gets hot causing thermald not to kick in. I'm not sure of this but this was my theory.
Once my phone got quite hot and I noticed that the CPU temp reading was to low for what it seemed like, when at normal temp it seems to be correct.
A dirty work around could be to lower the thresholds, even just to diagnose.
My phone doesn't normally get hot at all, so hence why I haven't reported it in ivanich's thread, this is also the first time I've seen someone else arise this too.
8th March 2015, 04:57 AM |#10  
little_lerroyy's Avatar
OP Senior Member
Flag Sydney
Thanks Meter: 91
 
More
Quote:
Originally Posted by francesco totti

The minimum cpu speed was 540 and maximum cpu speed was 1836 ! And also i hadn't overclocked the gpu !

Okay cool, ive done some testing and i think i can mainly solve the issue by removing the 1.944GHz entry. For some reason i think it may actually call that frequency even if its not selected. Im testing it now without that entry and the phone isnt getting as hot, and havent had a crash yet, normally i do have a crash under high usage. Im going to try one last attempt to fix 1.944GHz, otherwise i will remove it and leave it for another time (if its even worth it).

Quote:
Originally Posted by hinxnz

Haven't tried your kernel yet but will later, cheers.
Not all devices can handle over 1.7GHz and some also can't handle 320 for GPU.
Stock frequency for our CPU according to Qualcomm is 1.67GHz.
I don't think thermald is working either on ivanich's kernel, actually I think it maybe but temperature readings are incorrect when it gets hot causing thermald not to kick in. I'm not sure of this but this was my theory.
Once my phone got quite hot and I noticed that the CPU temp reading was to low for what it seemed like, when at normal temp it seems to be correct.
A dirty work around could be to lower the thresholds, even just to diagnose.
My phone doesn't normally get hot at all, so hence why I haven't reported it in ivanich's thread, this is also the first time I've seen someone else arise this too.

Yeah i think there is definitely an issue with the thermal daemon, I have tried setting the first trip temp point to 40c. which the phone operates over most of the time anyway, and i have no throttling of anykind. The system keeps powering on its top frequency. In sultans rom, the thermal daemon definitely worked when overclocking. maybe i might speak to him for some answers.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes