[Desire HD Android Development] Roberto_Lim:
Flashable governor tweak for the TrickDroid ROM

I made a flashable governor tweaks for the TrickDroid ROM.

UPDATE: These files will work with v4.0.0, but I have improved versions of these tweaks at this link.

Note: Updated versions of these files can be found at this link.

TrickDroid v3 uses the ondemand governor by default. This is a good choice, an is the default choice used in the industry.

The flashable zip attached below will enable the smartassV2 governor and tweak some settings. Is it better than ondemand? Well, everyone had their own opinion.

Okay, I gave you the info, but you have to decide for yourself.

If you just want to enable smartassV2 you can go to Google Play and install a CPU control app. These apps will allow you to manipulate frequencies and governors.

So why the flashable zip? The apps do not allow me to fine tune governors so I have resorted to editing scripts for my own use.

a) TrickDroidv3-smartassV2-c1.zip (attached below)

What will this file do:

Enable smartassV2 as your governor.

Adjust max_cpu_load from 55 (default for this ROM) to 85. 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 downfaster.

These settings are more conservative than default ROM smartassV2 settings and might result in longer battery life. Why might? I have no testers, so I am not sure :laugh:
​

b) TrickDroidv3-smartassV2-12_GHZ-c1.zip (attached below)

Same as the first file except it changes maximum speed from 1024 MHz to 1200 MHz.

If you enable this I would encourage you to get a controller like No Frills CPU Control (its free from Google Play). It will allow you to test if your phone is stable at 1.2GHz. Apps like No Frills will not apply overclock settings if it detects a sudden reboot.

Using this file has no such safety net.
​

c) TrickDroidv3-smartassV2-1_5GHZ-c1.zip (attached below)

Same as the first file except it changes maximum speed from 1024 MHz to 1497 MHz.

Okay, I am not sure this one is a great idea. Created at the request of dioooi

But please consider this:

Stock HTC DHD speed and voltage = 1024 MHz at 1200 vdd.

The 1.2 GHZ zip = 1200 MHz @ 1175 vdd

The 1.5 GHz zip = 1497 MHz @ 1250 vdd

Personally, I would stick to 1.2 GHz.
​

DISCLAIMER AND AGREEMENT

IF YOU USE THESE FILES, YOU DO SO AT YOUR OWN RISK.

THESE FILES ARE FOR V3.0.0 ONLY.

THIRD, THIS IS TORXX'S THREAD. IF YOU ENCOUNTER A PROBLEM WITH MY FILES PLEASE JUST PM ME, OR OPEN A NEW THREAD AND BASH ME THERE :eek:

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 - TrickDroid-00start-RTS.zip (Return to Stock)

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

Like my work?

If you like my work, go to page one of this thread and you will find a donate button there. It took make longer to write this post than it did to make the zip files. Dev'ing ROM's takes time. IF YOU WANT TO THANK ME, JUST DONATE TO THE DEV.

Credits:

Thanks to torxx for allowing me to do this, and something else... oh yes for the ROM and Tweak Package :laugh:

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

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