Post Reply

[SOURCE][Devlopment] .:HP Project eXtended:. For *Any* Kernel

OP spica1234

3rd February 2012, 12:48 PM   |  #1  
spica1234's Avatar
OP Recognized Developer
Flag Gujarat
Thanks Meter: 3,352
 
2,878 posts
Join Date:Joined: Aug 2010
More
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
Attached Files
File Type: patch RC12-RevOTF-Updated.patch - [Click for QR Code] (48.3 KB, 105 views)
Last edited by spica1234; 17th August 2012 at 06:51 PM. Reason: Spica OTF Pack BUGs correction!
The Following 26 Users Say Thank You to spica1234 For This Useful Post: [ View ]
3rd February 2012, 12:49 PM   |  #2  
spica1234's Avatar
OP Recognized Developer
Flag Gujarat
Thanks Meter: 3,352
 
2,878 posts
Join Date:Joined: Aug 2010
More
Reserved for future use
The Following User Says Thank You to spica1234 For This Useful Post: [ View ]
3rd February 2012, 12:49 PM   |  #3  
spica1234's Avatar
OP Recognized Developer
Flag Gujarat
Thanks Meter: 3,352
 
2,878 posts
Join Date:Joined: Aug 2010
More
Reserved for future
3rd February 2012, 12:57 PM   |  #4  
xtrustkillx's Avatar
Senior Member
Thanks Meter: 84
 
408 posts
Join Date:Joined: Jul 2010
Wow. Could gpu go for 400 without killing it?

Sent from my Optimus 2X using XDA App
3rd February 2012, 12:59 PM   |  #5  
spica1234's Avatar
OP Recognized Developer
Flag Gujarat
Thanks Meter: 3,352
 
2,878 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by xtrustkillx

Wow. Could gpu go for 400 without killing it?

Sent from my Optimus 2X using XDA App

I've never tried But may be It's too much.
3rd February 2012, 01:22 PM   |  #6  
七恰八叶's Avatar
Junior Member
Flag 衡阳
Thanks Meter: 3
 
29 posts
Join Date:Joined: Nov 2011
More
The great engineering.. Thank you. hard

Hope that the project could be applied to android 4.0

黄金广告位招租
Last edited by 七恰八叶; 3rd February 2012 at 01:27 PM.
The Following User Says Thank You to 七恰八叶 For This Useful Post: [ View ]
3rd February 2012, 01:22 PM   |  #7  
spica1234's Avatar
OP Recognized Developer
Flag Gujarat
Thanks Meter: 3,352
 
2,878 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by 七恰八叶

The great engineering.. Thank you. hard

黄金广告位招租

Welcome

Sent from my LG-P990 using Tapatalk
3rd February 2012, 01:31 PM   |  #8  
spica1234's Avatar
OP Recognized Developer
Flag Gujarat
Thanks Meter: 3,352
 
2,878 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by 七恰八叶

The great engineering.. Thank you. hard

Hope that the project could be applied to android 4.0

黄金广告位招租

Yes sources could be merged in ICS kernel or above versions its independent from whatever ROMs

Sent from my LG-P990 using Tapatalk
3rd February 2012, 02:26 PM   |  #9  
xtrustkillx's Avatar
Senior Member
Thanks Meter: 84
 
408 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by spica1234

I've never tried But may be It's too much.

What is maximum that you've tried?


Sent from my Optimus 2X using XDA App
3rd February 2012, 02:39 PM   |  #10  
spica1234's Avatar
OP Recognized Developer
Flag Gujarat
Thanks Meter: 3,352
 
2,878 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by xtrustkillx

What is maximum that you've tried?


Sent from my Optimus 2X using XDA App

Upto 350 its quite stable. May be increasing doesnt increase performance of UI:/

Sent from my LG-P990 using Tapatalk

Post Reply Subscribe to Thread

Tags
hp project x
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Optimus 2x Android Development by ThreadRank