[Captivate Themes and Apps] shane87:
Control Freak, the OC/UV app for Gingerbread!

PLEASE READ THE FULL POST! !!

NEW RULE! Read the ENTIRE op, plus the last few pages BEFORE posting a question!! I don't mind sharing information and helping people, but answering the same question on every page is getting old!!

Control Freak is a re-write of xan's Voltage Control app, designed to work with Gingerbread based kernels. It has (most of) the features of my Voltage Control EX.

Beware!! This app is still in development! Any issues are being worked on, but it may not run perfectly!! Also, I, nor anyone who has helped to make this app or the kernels/roms it works with are responsible for any damages caused by use of this app or any kernels/roms supported by this app!!

Features:

Designed for use with JVx based Gingerbread kernels

Works with cm7 kernels that support OC/UV

Specifically designed around features present in existz's Talon kernel

Allows enable/disable specific states

Allows undervoltage control on a state-by-state basis

Allows limiting clock to a specific speed

Allows changing of governors

Allows control of Cpu Threshold settings - see note2 bellow.

States enabled info is found by opening each UV control.

TIS info is now shown on the main screen

TIS info for Deep Sleep

TIS percentages

Logs all major start up values as they are polled from the sysfs.

Logs all settings to be applied when Apply is selected

Logs all settings to be saved when Save As Boot is selected

Controls GPU Clock settings on compatible kernels!!

GPU O/C Capable Kernels for Captivate:

Talon 0.3.1 by eXistZ -Released to public

Le Kernel du Jour by TheEscapist - CM7, may be only available on private test versions, talk to TheEscapist for more info

Glitch Kernel by glitch - CM7, may be only available on test versions, talk to glitch for more info

Note: On Gingerbread, the conservative governor is

NOT

recommended! Interactive/ondemand/smartass governors are supported, and interactive is the preferred governor! Talon does not have smartass implemented yet, so smartass will not show up in the Governor dropdown on Talon.

Additional Note: As of Talon 0.2.1, interactive governor is

NOT

included anymore! Existz removed it in favor of the ondemand governor.

Note2: Cpu Threshold control is

NOT

supported on most Gingerbread kernels, since Cpu Threshold is used by conservative governor. I just added the Cpu Threshold settings, so that I can make this backwards compatible with FroYo kernels/roms.

NOTE 3:If you are experiencing issues with settings not sticking on reboot, go to the Market, download the busybox installer by stericson, and install busybox 1.17.1. Some roms, including Perception II, have a version of busybox 1.18.4 that does not have run-parts compiled into it. Without run-parts, nothing in /etc/init.d gets loaded at boot. The version of 1.17.1 included in stericson's busybox installer DOES have run-parts, so it will work.

Change log -

Control Freak 0.5b:

- Added GPU Overclocking controls! Please note that your kernel must support GPU Overclocking for this feature to work! Also note that this version has NOT been tested on kernels without GPU Overclocking, so if anyone has a kernel that does not have GPU Overclocking, test this out and let me know how it goes!!

- Fixed the states enabled command to remove the extra 0 at the end that was being added due to Deep Sleep info

Control Freak 0.4.2b:

- Fixed fc issue on kernels with higher number of states available

- Changed the icon, the new icon was designed by b_randon14

Control Freak 0.4.1b:

- Fixed save function, now the proper max frequency is written to S_volt_scheduler

- Added logging to save function

- Added logging to apply function

- Log is now cleared when it is exported, so the log starts from scratch after each export

Control Freak 0.4b:

- Added Deep Sleep TIS info.

- Added TIS percentages.

- Added logging

- NOTE: Logging DOES NOT use logcat, so there is no need to enable logcat to generate logs, or to view/export the logs.

Control Freak 0.3.5b:

- Fixed the Max Frequency issue where any changes to the Max Frequency dropdown were not being saved. Now it writes the proper value to the proper place.

- Fixed another issue with Max Frequency dropdown. If you applied a Max Frequency LESS THAN the highest state enabled, on closing and restarting CF, it would show the highest enabled state as the max frequency, regardless of current setting. Now, if you set limit to 1000MHz, it will show 1000MHz at launch, no matter how many states above that freq that are enabled.

- Fixed the SI unit prefix for frequency. Forgot that 'm' is for "milli" and 'M' is for "Mega." And I was even arrogant enough to tell someone that I was right!!! Anyway, it is fixed now. And a HUGE thank you to aalh for pointing out my mistake!

Control Freak 0.3b:

- Fixed the TIS info issue. Now each state shows it's own TIS, instead of the

the TIS for the first state.

- Moved the TIS info to the main screen, so that it is visible all the time.

Control Freak 0.2b:

- States info issue resolved

- Unsupported kernel issue resolved (Same underlying cause as the states info issue)

Control Freak 0.1b:

- Initial Release

Known Issues -

- Sometimes, gpu read out will disappear for some states at random. If you open the uv/gpu controls, it will show the read out again. Closing the controls may cause that state's readout to stay and cause other states to loose their displays at random. May have to do with a glitch in the code to hide gpu controls for non-gpu compatible kernels.

- Sometimes it will not pull states_enabled_table info. This causes the CPU Limit dropdown to be empty. As an interim solution, until I can track down why this is happening, either exit Control Freak and launch it again, or simply enable each state, and they will be added back to the dropdown.

- Occasionally will report an unsupported kernel. If you are sure your kernel IS supported, simply restart.

Sources available at https://github.com/shane87/ControlFreak

Report any issues by posting IN THIS THREAD or sending me a PM. But please, read through the thread, and check the known issues section of this post before posting an issue. If your issue is listed, quote the original issue report, and add details about your system and set up. "Me too!" comments are not helpful and will be ignored.

Issues may also be reported by sending an email to eric.clothier@gmail.com If you use this method to report bugs/issues, please export the log from Control Freak and attach it to the email. To export Control Freak's log, launch Control Freak, press Menu > Export log. The log will be exported to /sdcard/cf.log. Please attach this file to any emails addressed to me using the above link.

NOTE: I removed CF 0.3b due to the number of bugs in that software. Granted, all of them were fairly minor bugs, and primarily affected the UI, other than the Max CPU Limit issue. But with that issue, on top of the inability to enable/disable a state since you couldnt see the checkboxes, ther wasnt a whole lot you could do with 0.3b. Anyway, 0.3.5b takes care of those problems.

I removed CF 0.4b due to the Save errors, 0.4.1b has the same functionality, and it works right!

A HUGE thank you and shoutout to b_randon14 for designing the new icon!

Keep up the good work!!

If anyone has a Samsung Intercept, or knows anyone with a Samsung Intercept, check out bROM over at sdx, a deodexed, rooted rom designed by my brother, b_randon14!