New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
kholk
Old
(Last edited by kholk; 29th November 2011 at 01:19 AM.)
#1  
Recognized Developer - OP
Thanks Meter 3355
Posts: 2,177
Join Date: May 2007
Location: Torino

 
DONATE TO ME
Default [GSM/CDMA?] [CPU OPTIMIZATION] EternityProject cpufreq Hotplug Governor

Welcome to the EternityProject DualCore Enhancement Thread!

What do we have here?
EternityPRJ_MCPU is a CPUFREQ governor that optimizes SMP doing a fast poweron/off of the second core.
It will make your device to act more smoothly and faster in some conditions.


How-To:
After downloading and extracting the module archive...

With ADB:
Code:
adb push cpufreq_eprj_hotplug.ko /data/local/
adb shell
su
insmod /data/local/cpufreq_eprj_hotplug.ko
exit
exit
Then use an Android app, like Script Manager, to autoload it everytime your device boots (optional) using this command (as root):
Code:
insmod /data/local/cpufreq_eprj_hotplug.ko

For activating it, open SetCPU and select the "eternityprj_MCPmot_hotplug" governor.
That's all.


Download:
Module: HERE
Source: HERE


Making it to work with every RAZR out there:
If this won't work on your RAZR, please post the output of this command:
Code:
cat /proc/kallsyms | grep cpu_up
...and your ROM version. I'll make it to work for your RAZR, too


The EternityProject Developer,
-kholk
The Following 5 Users Say Thank You to kholk For This Useful Post: [ Click to Expand ]
 
blkghost22
Old
#2  
Senior Member
Thanks Meter 129
Posts: 380
Join Date: Jan 2010
Quote:
Originally Posted by kholk View Post
Welcome to the EternityProject DualCore Enhancement Thread!

What do we have here?
EternityPRJ_MCPU is a CPUFREQ governor that optimizes SMP doing a fast poweron/off of the second core.
It will make your device to act more smoothly and faster in some conditions.


How-To:
After downloading and extracting the module archive...

With ADB:
Code:
adb push cpufreq_eprj_hotplug.ko /data/local/
adb shell
su
insmod /data/local/cpufreq_eprj_hotplug.ko
exit
exit
Then use an Android app, like Script Manager, to autoload it everytime your device boots (optional) using this command (as root):
Code:
insmod /data/local/cpufreq_eprj_hotplug.ko

For activating it, open SetCPU and select the "eternityprj_MCPmot_hotplug" governor.
That's all.


Download:
Module: HERE
Source: HERE



The EternityProject Developer,
-kholk
how does this work? is it like a kernal????
 
kholk
Old
#3  
Recognized Developer - OP
Thanks Meter 3355
Posts: 2,177
Join Date: May 2007
Location: Torino

 
DONATE TO ME
It's a kernel module.
 
spimonkey34
Old
#4  
Recognized Developer
Thanks Meter 33
Posts: 440
Join Date: Dec 2009
Location: Fort Worth, TX

 
DONATE TO ME
Confirmed working on Verizon CDMA Razr. Thanks!
 
juicehead9
Old
#5  
Member
Thanks Meter 2
Posts: 37
Join Date: Aug 2010
Location: Mauldin SC
Is there a way to use terminal emulator to do this from phone?
 
dch921
Old
#6  
dch921's Avatar
Senior Member
Thanks Meter 21
Posts: 122
Join Date: Jan 2010
Quote:
Originally Posted by spimonkey34 View Post
Confirmed working on Verizon CDMA Razr. Thanks!
Same here just used Root Explorer and terminal to do everything. So far performance seems the same will see how it goes over a day or two

Sent from my DROID RAZR using XDA App
 
kholk
Old
#7  
Recognized Developer - OP
Thanks Meter 3355
Posts: 2,177
Join Date: May 2007
Location: Torino

 
DONATE TO ME
Quote:
Originally Posted by juicehead9 View Post
Is there a way to use terminal emulator to do this from phone?
Do the same commands you should do with adb shell, only thing is you need to put the module in /data/local in another way, e.g. cp /sdcard/Download/mymodule.ko /data/local/



Benchmarks performance will be the same, it'll work only in real world operations as it will only hotplug and use the CPU1 faster.
The Following User Says Thank You to kholk For This Useful Post: [ Click to Expand ]
 
spimonkey34
Old
#8  
Recognized Developer
Thanks Meter 33
Posts: 440
Join Date: Dec 2009
Location: Fort Worth, TX

 
DONATE TO ME
Quote:
Originally Posted by juicehead9 View Post
Is there a way to use terminal emulator to do this from phone?
Yes. Copy the file into /data/local using root explorer or the like.

Then, with terminal emulator, just run the two lines of following 'adb shell' (su and insmod lines).

Sent from my DROID RAZR using XDA App
The Following User Says Thank You to spimonkey34 For This Useful Post: [ Click to Expand ]
 
juicehead9
Old
#9  
Member
Thanks Meter 2
Posts: 37
Join Date: Aug 2010
Location: Mauldin SC
It worked perfectly thanks!
 
opensourcefan
Old
#10  
Senior Member
Thanks Meter 45
Posts: 667
Join Date: Aug 2010
oh the future looks sooooo promising. Great work kholk!
Current Daily Device(s) - Galaxy Note 2 - CleanROM 3.3
Backup Device - Galaxy Nexus* - Returned to 100% stock.
Previous Devices - Moto RAZR (xt910), EVO 3D GSM (Super Yellow Screen!, Slow Developing on GSM), 2 HTC Sensations Returned and Refunded (Dust under screen x2, blurry yellow screen, broken vibrator), HTC Desire Z* - Andromadus Mimicry v1.5.0, Galaxy S GT-I9000M SD Failure. iPhone 3GS*, iPhone 2g*, Moto Razr V3...
* Still own.