[LG Optimus 2x] spica1234:
HP OTF PACK V2.0 GPL V2.0

Author

: Spica1234

(c) Copyrights 2011-2012 Spica1234-Xmister

Sources in Compliance with GPL And XDA is Out! (Attached Below!)

WARNING:

I strongly recommend ,Don't change/modify lines I commented with "CAUTION" Those are values in specific rangs kernel accepts. Don't change those values untill you know what it means. I will not be held responsible if you toy with those values w/o knowing what It's!

Free free to message me, If you've any doubts

Please mention credit, If you use:)

Hello, I'm really inspired by the concept of Xmister bringing sysfs-procfs features in Android kernel.Big thanks to him.

I'm currently writting kernel module drivers as per Xmister's concepts of libs to export static values as Dynamic at user-land, to be changed On-The_Fly by users. That could be helpful for other Devs as well It could be implemented in *ANY* o2x kernel.

As stupidly thought hypothesis that UV controls battery consumption is completely TRUE, In my personal experience especially with UVing my O2X doesn't seem to improve battery cosumption But aggrevate PLACEBO. There are countless factors/voltages/thresholds that directly and indirectly control battery consumptions. For each and every On-The-Fly features kernel module drivers is written. That could give users an exclusive control over switching between ondemand 'powersave' and 'performance' features as per his own needs without needing to reboot. It works on kernel system call, It does need no Application to listen on event of screen of/off nor any daemon to be work constantly in background. It works by kernel sys calls feature. Kernel instantly update values provided by user.

These will give an exclusive user control upon these factors: it will accept whatever user will write, obviously value should be in range.

E.g. echo "810000" > /data/spica/mincpu1on or it can be written by opening es file explorer and writing and saving value in /data/spica/ folder

Features and work status of project:

(1) Dynamic 2nd core activation frequency:( during freq upword scaling at what freq kernel will activate 2nd core-2nd cpu)

*mincpu1on(Dynamic)( File location /data/spica/mincpu1on, defvalue of HP krnl 810000, supported acceptable values 216000-1100000, for safety concerns kernel wont accept any values except in range, boottime support -/data/spicabootcfg)

Status: Done, Implemented

(2) Dynamic 2nd core off frequncy: (during down freq ramping at what freq kernel will shuts off 2nd core-2nd cpu)

*maxcpu1off(Dynamic) ( File location /data/spica/macpu1onff, defvalue of HP krnl 860000, supported acceptable values 216000-1100000, for safety concerns kernel wont accept any values except in range,boot time support /data/spicabootcfg)

Status: Done, Implemented

(3) Dynamic suspended core voltage in mV( When 2nd core is in suspend state efficient minimum voltage is initial to be supplied for it's functionality)

*suspended_core_mv(Dynamic) ( File location /data/spica/suspend_core_mv, defvalue of HP krnl 750(LG defvalue-1000), supported acceptable values 3000-1000, for safety concerns kernel wont accept any values except in range,boot time support /data/spicabootcfg)

Status: Done, Implemented

(4) Dynamic Powersave mode on/off: (You can switch to 'PowerSave' moe as and when needed with your prefferable profile for 'powersave')

*powersave(Dynamic) ( File location /data/spica/powersave. defvalue of HP krnl 0(disable), supported acceptable values 0-3,'1' to enable 'light powersave' mode, '2' to enable 'moderate powersave' mode and '3' to enable 'very aggressive powersave' mode. When enabled kernel will smartly adjust fail-safe different various values that's being supplied,boot time support /data/spicabootcfg)

Status: Done, Implemented

(5) Dynamic DDR2(SDRAM)'s minimum frequency:(The default minimum frequency of RAM on which SDRAM works. Note: It's not maximum but minimum freq)

*ddr2_min_khz(Dynamic) ( File location /data/spica/ddr2_min_khz, defvalue of HP krnl 50000, supported acceptable values 10000-50000, for safety concerns kernel wont accept any values except in range,boot time support /data/spicabootcfg)

Status: Done, Implemented

(6) LPDDR2 minimum frequency:(minimum frequency for LPDDR2)

*lpddr2_min_khz(Dynamic) ( File location /data/spica/lpddr2_min_khz, defvalue of HP krnl 18000, supported acceptable values 10000-18000, for safety concerns kernel wont accept any values except in range,boot time support /data/spicabootcfg)

Status: Done, Implemented

(7) Max CPU Frequency during suspend, during screen off:

*maxscreenoff_cpufreq(Dynamic) ( File location /data/spica/macpu1onff, defvalue of HP krnl 503000, supported acceptable values 216000-999000, for safety concerns kernel wont accept any values except in range,boot time support /data/spicabootcfg)

Status: Done, Implemented

(8) Dynamic GPU frequency: (Set max gpufreq from range specified)

*gpufreq(Dynamic) ( File location /data/spica/gpufreq, defvalue of HP krnl 340000, supported acceptable values 280000-350000, for safety concerns kernel wont accept any values except in range,boot time support /data/spicabootcfg)

Status: Done, Implemented

(9) Dynamic VDEFrequency:

*vdefreq(Dynamic) ( File location /data/spica/vdefreq, defvalue of HP krnl 600000, supported acceptable values 550000-70000, for safety concerns kernel wont accept any values except in range,boot time support /data/spicabootcfg)

Status: Done, Implemented

-Coming up later OTF (Pending features yet to be done)

-Dynamic OC/UV on/off

Status: Pending

-Dynamic Ramhack

Status: Pending

-Dynamic Voodoo on/off

Status: Pending

-Dynamic SDRAM freq

Status: Pending

-Dynamic Screen off Values

Status: Pending

-Dynamic Fuel Gauge Reset

Status: Pending

-Dynamic Vibrator Intensity

Status: Pending

-Dynamic 2nd core on pedding ms

Status: Pending

-Dynamic 2nd core off pedding ms

Source?: Attached Below!

Credits:

Xmister