Blogger Templates

(Tweaks) BaCeM-TWEAK, Kernel Module for enable UV and Governor

Rate this article:
NOT FOR GALAXY Y NOOBS. any damage to your device is not my responsibility

sgy kernel have some issue related with cpu frequency.
first, cpu latency is not set correctly. the effect, non build-in freq governor can not working at all.
second, missing frequency table so cpu freq stat is not working. that bug make cpu spy (and other similar app) not working.





so, today i write small loadable kernel module to solve that issue. i make my tweks as module so it can works with stock kernel. and for addition, i add under-voltage capability.

download and flash zip file in recovery mode. you can edit init.d script (00bcm-tweak) to change default params.

    LATENCY is cpufreq latency in nano second (ns). some governor like ondemand need it's value below 10ms. in init.d script i set on 1ms.
    NORMAL_VOLTAGE is cpu voltage on 312mhz. value in micro-volt. default value in stock kernel 1.24mV (1240000). in init.d script i set on 1.16mV
    TURBO_VOLTAGE is cpu voltage on 832mhz. value in micro-volt. default value in stock kernel 1.3mV (1300000). in init.d script i set on 1.22mV

if your device become unstable make both voltage higher, but keep it under stock kernel default value. i am not responsible to anything happen on your phone so be careful when tweak that value.


Download here


Updates:

to change uv manually run from terminal

Code:
echo -20mV > /proc/sys/bacem/volt/cpuSource code

BCM-tweak 0.1
- Initial release

BCM-tweak 0.1.1
- Fix init.d script
- Add interactive governor

BaCeM-tweak 0.2
- Change name to BaCeM-tweak
- Support more than 2 freq
- Auto detect (and auto fix) missing cpufreq table
- Using sysctl to control under-voltage
- Real-time under-voltage. no need to unload module to change uv, and no need change frequency to apply under-voltage


BaCeM-tweak 0.2.1
- Apply workaround for instability on stock rom using init.d script. Not beautiful solution but at least it's work.
- Fix bug in memory allocation
- Fix for potential incompatibility with merruk kernel



download and flash zip file in recovery mode. you can edit init.d script (00bacem-tweak) to change under-voltage.
if your device become unstable make both voltage higher, but keep it under stock kernel default value. i am not responsible to anything happen on your phone so be careful when tweak that value.
before install latest version (0.2), if you already install old version, flash

bacem-remove-0.2.zip

from recovery mode. and then flash bacem-tweak-0.2.zip



.

0 (mga) puna: