[Desire HD Android Development] Roberto_Lim:
Performance smartassV2 Governor for ViperDHD - "P1" - NO FURTHER DEVELOPMENT

ViperDHD 2.0 has moved to using Virtuous_oc, an excellent system for managing governors and frequencies. As such, it would seem to be more worthwhile getting a stable Deamon controller working than using init.d scripts. Hence, no releases of these scripts for ViperDHD 2.0 will be made.

I made a set of flashable governor tweaks for ViperDHD v1.2.3

ViperDHD uses the ondemand governor by default. The flashable zips attached below will enable the smartassV2 governor and tweak some settings.

"P1" - PERFORMANCE ORIENTED SMARTASSV2 GOVERNOR TWEAKS FOR VIPERDHD 1.2.x

a) ViperDHD-smartassV2-1_GHZ-p1.zip (attached below)

What will this file do:

Enable smartassV2 as your governor at the default 1024 MHz frequency

Adjust max_cpu_load from 55 (default for this ROM) to 60. To minimize unnecessary ramp up/down loops between 384 MHz and 768 MHz.

Adjust ideal sleep frequency from 200 MHz to 368 MHz. Intended to make sleep and wake transitions smoother.

Adjust the vdd level of the 806 MHz from 1050 vdd to 1025 vdd. By default the ROM uses 1050 vvd for both the 1024 MHz and 806 MHz speeds. If the phone is stable at 1024 MHz @ 1050 vdd, it should be stable at 806 MHz @ 1025 vdd.

b) ViperDHD-smartassV2-1_2GHZ-p1.zip (attached below)

Enable smartassV2 as your governor.

Set default max frequency to 1.2 GHz.

Adjust ideal wake frequency from 800 MHz to 1024 MHz.

Adjust ideal sleep frequency from 200 MHz to 368 MHz.

Adjust max_cpu_load from 55 (default for this ROM) to 60.

Adjust the vdd level of the 806 MHz from 1050 vdd to 1025 vdd.

c) ViperDHD-smartassV2-1_2GHZ-badass.zip (attached below) ---> This is the one I am using :laugh:

Enable smartassV2 as your governor.

Set default max frequency to 1.2 GHz.

Adjust ideal wake frequency from 800 MHz to 1024 MHz.

Adjust ideal sleep frequency from 200 MHz to 368 MHz.

Adjust max_cpu_load from 55 (default for this ROM) to 60.

Adjust the vdd level of the 806 MHz from 1050 vdd to 1025 vdd.

[*]Adjust the vdd level of the 1200 MHz from 1175 vdd to 1100 vdd.

d) ViperDHD-smartassV2-1_2GHZ-p2-deadline.zip (attached below)

Made at the request of Pop Tarantula

Same as ViperDHD-smartassV2-1_2GHZ-badass.zip

Plus scheduler set to "Deadline"

e) ViperDHD-smartassV2-1_4GHZ-p1.zip and ViperDHD-smartassV2-1_4GHZ-p1.zip(attached below)

Enable smartassV2 as your governor.

Set default max frequency to 1.4 GHz or 1.5 GHZ.

Adjust ideal wake frequency from 800 MHz to 1024 MHz.

Adjust ideal sleep frequency from 200 MHz to 368 MHz.

Adjust max_cpu_load from 55 (default for this ROM) to 60.

Adjust the vdd level of the 806 MHz from 1050 vdd to 1025 vdd.

f) ViperDHD-smartassV2-1_2GHZ-c3.zip(attached below) - At the request of chrisafpa27

Enable smartassV2 as your governor.

Set default max frequency to 1.2 GHz

Adjust the vdd level of the 806 MHz from 1050 vdd to 1025 vdd.

Adjust max_cpu_load from 55 (default for this ROM) to 85. This means the cpu will ramp up slower.

Adjust ramp_up_step from 200000 (default for this ROM) to 100000. This means the cpu will ramp up slower.

Adjust min_cpu_load from 25 (default for this ROM) to 35. This means the cpu will ramp down a bit faster.

Adjust down_rate_us from 99000 to 49000. This means the cpu will ramp down faster.

f) ViperDHD-smartassV2-1GHZ-c3.zip(attached below)

Enable smartassV2 as your governor.

Adjust the vdd level of the 806 MHz from 1050 vdd to 1025 vdd.

Adjust max_cpu_load to 85.

Adjust ramp_up_step to 100000.

Adjust min_cpu_load to 35.

Adjust down_rate_us to 49000.

How to return to stock?

Flash the ViperDHD_00kernel_modules-RTS.zip below and all traces of my work will be gone :crying:

DISCLAIMER AND AGREEMENT

THESE FILES ARE FOR VIPERDHD V1.1.0/1.2.0/1.2.1 ONLY. IF YOU USE THESE FILES, YOU DO SO AT YOUR OWN RISK.

How to install

1. Copy the .zip file to the root of your SDCard.

2. Reboot into recovery.

3. Flash the .zip

4. Reboot.

How to return to stock - ViperDHD_00kernel_modules-RTS.zip (Return to Stock)

Want to go back to stock. Just flash the BViperDHD_00kernel_modules-RTS.zip below. Flash this file and your back to the ondemand governor. This file does not enable the performance governor. It just restores the default /etc/init.d/00kernel_modules file.

​

Like my work?

If you like my work, and want to make a donation, go to thread of the ROM you are using and Donate to the ROM developer instead.

Credits:

I learned to edit init.d system files thanks to LeeDroid's tutorials.

I learned to make flashable zips studying mike1986's flashable zips for ARHD.

Killersloth for inspiration and advice.