Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,571 Members 54,986 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
spica1234
Old
(Last edited by spica1234; 17th August 2012 at 06:51 PM.) Reason: Spica OTF Pack BUGs correction!
#1  
spica1234's Avatar
Recognized Developer - OP
Thanks Meter 3352
Posts: 2,878
Join Date: Aug 2010
Location: Gujarat
Default [SOURCE][Devlopment] .:HP Project eXtended:. For *Any* Kernel

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, 104 views)
If you find my post helpful press Thanks!



My O2X Projects Under Current Development:

Horse Power 2x eXtreme Kernel

HP Performance Packs

HP Project eXtended

HP 2x CM9 Kernels
The Following 26 Users Say Thank You to spica1234 For This Useful Post: [ Click to Expand ]
 
spica1234
Old
#2  
spica1234's Avatar
Recognized Developer - OP
Thanks Meter 3352
Posts: 2,878
Join Date: Aug 2010
Location: Gujarat
Reserved for future use
If you find my post helpful press Thanks!



My O2X Projects Under Current Development:

Horse Power 2x eXtreme Kernel

HP Performance Packs

HP Project eXtended

HP 2x CM9 Kernels
The Following User Says Thank You to spica1234 For This Useful Post: [ Click to Expand ]
 
spica1234
Old
#3  
spica1234's Avatar
Recognized Developer - OP
Thanks Meter 3352
Posts: 2,878
Join Date: Aug 2010
Location: Gujarat
Reserved for future
If you find my post helpful press Thanks!



My O2X Projects Under Current Development:

Horse Power 2x eXtreme Kernel

HP Performance Packs

HP Project eXtended

HP 2x CM9 Kernels
 
xtrustkillx
Old
#4  
xtrustkillx's Avatar
Senior Member
Thanks Meter 80
Posts: 391
Join Date: Jul 2010
Wow. Could gpu go for 400 without killing it?

Sent from my Optimus 2X using XDA App
 
spica1234
Old
#5  
spica1234's Avatar
Recognized Developer - OP
Thanks Meter 3352
Posts: 2,878
Join Date: Aug 2010
Location: Gujarat
Quote:
Originally Posted by xtrustkillx View Post
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.
If you find my post helpful press Thanks!



My O2X Projects Under Current Development:

Horse Power 2x eXtreme Kernel

HP Performance Packs

HP Project eXtended

HP 2x CM9 Kernels
 
七恰八叶
Old
(Last edited by 七恰八叶; 3rd February 2012 at 01:27 PM.)
#6  
七恰八叶's Avatar
Junior Member
Thanks Meter 3
Posts: 29
Join Date: Nov 2011
Location: 衡阳
The great engineering.. Thank you. hard

Hope that the project could be applied to android 4.0

黄金广告位招租
The Following User Says Thank You to 七恰八叶 For This Useful Post: [ Click to Expand ]
 
spica1234
Old
#7  
spica1234's Avatar
Recognized Developer - OP
Thanks Meter 3352
Posts: 2,878
Join Date: Aug 2010
Location: Gujarat
Quote:
Originally Posted by 七恰八叶 View Post
The great engineering.. Thank you. hard

黄金广告位招租
Welcome

Sent from my LG-P990 using Tapatalk
If you find my post helpful press Thanks!



My O2X Projects Under Current Development:

Horse Power 2x eXtreme Kernel

HP Performance Packs

HP Project eXtended

HP 2x CM9 Kernels
 
spica1234
Old
#8  
spica1234's Avatar
Recognized Developer - OP
Thanks Meter 3352
Posts: 2,878
Join Date: Aug 2010
Location: Gujarat
Quote:
Originally Posted by 七恰八叶 View Post
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
If you find my post helpful press Thanks!



My O2X Projects Under Current Development:

Horse Power 2x eXtreme Kernel

HP Performance Packs

HP Project eXtended

HP 2x CM9 Kernels
 
xtrustkillx
Old
#9  
xtrustkillx's Avatar
Senior Member
Thanks Meter 80
Posts: 391
Join Date: Jul 2010
Quote:
Originally Posted by spica1234 View Post
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
 
spica1234
Old
#10  
spica1234's Avatar
Recognized Developer - OP
Thanks Meter 3352
Posts: 2,878
Join Date: Aug 2010
Location: Gujarat
Quote:
Originally Posted by xtrustkillx View Post
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
If you find my post helpful press Thanks!



My O2X Projects Under Current Development:

Horse Power 2x eXtreme Kernel

HP Performance Packs

HP Project eXtended

HP 2x CM9 Kernels

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

Advanced Search
Display Modes