FORUMS

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android … more

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through … more

I/O Summary: Development, Play Store, The Next Billion

VP of Engineering Jen Fitzpatrick began talking about what Google is doing to … more

I/O Summary: Google Now on Tap

Google is all about organizing the world’s information to make it universally useful, and these … more

[GSM/CDMA?] [CPU OPTIMIZATION] EternityProject cpufreq Hotplug Governor

Thanks Meter: 3,806
 
By kholk, Retired Recognized Developer on 29th November 2011, 01:06 AM
Post Reply Subscribe to Thread Email Thread
1st March 2012, 12:13 PM |#51  
therazrguy's Avatar
Senior Member
Thanks Meter: 411
 
More
Quote:
Originally Posted by kholk

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

Every time when I do it says not found!
I have put it in /data/local using root file explorer
 
 
6th March 2012, 05:31 AM |#52  
Senior Member
Thanks Meter: 24
 
More
Got it working on XT910K...my phone temp rose from 25C to 35C

But its working very nicely

thanks

Any idea whats the diff between the moto hot plu and just hotplug?

Coz now I rebooted, using moto hotplug again and its still heating up...but hotplug makes it cooler again???
17th March 2012, 03:13 AM |#53  
jmsmeltzer2000's Avatar
Member
Flag Coshocton, OH
Thanks Meter: 16
 
More
Quote:
Originally Posted by J.Y.Daddy

Hi, kholk!

I have developed Motomizer.
Motomizer is easily system work tools for beginners.
And now for the razr is developed to add feature.

I would like to get approval from you.
So, i would like to provide the feature to easily install(this module) on Motomizer.

Would you please give me approval?

Thanks for your work.

-----------------------------------------------------------------------------
Edit:
Request will again later.
Currently it seems to be problem in Korea Razr.

That would be awsome if it was included in Motomizer! Devs joining forces and sharing knowlage and skills benifits everyone Thanks guys!

Sent from my DROID RAZR using XDA
17th March 2012, 11:27 AM |#54  
Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by nameite

Got it working on XT910K...my phone temp rose from 25C to 35C

But its working very nicely

thanks

Any idea whats the diff between the moto hot plu and just hotplug?

Coz now I rebooted, using moto hotplug again and its still heating up...but hotplug makes it cooler again???

Mot hotplug switches off a core when phone is idle e.g screen off

Saves power.

Found it out through google somewhere.

Sent from my XT910 using XDA
The Following User Says Thank You to JDCFH For This Useful Post: [ View ]
17th March 2012, 11:29 AM |#55  
Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by therazrguy

Every time when I do it says not found!
I have put it in /data/local using root file explorer

Mine did this until I added su to the script a line before the insmod line.

Also how can I make this script exit or terminate when its run? It is constantly running other scripts run then exit?

Sent from my XT910 using XDA
Last edited by JDCFH; 17th March 2012 at 02:25 PM.
19th March 2012, 08:32 AM |#56  
Senior Member
Thanks Meter: 24
 
More
Quote:
Originally Posted by JDCFH

Mot hotplug switches off a core when phone is idle e.g screen off

Saves power.

Found it out through google somewhere.

Sent from my XT910 using XDA

Thanks

After doing some tests, I figured it out

Hotplug: disables 1 core when idle
Mot_hotplug: same as hotplug but disables the core faster
everything else: always uses two cores.

So Kholk's hotplug disables the core even faster, hence minimizing lags...
19th March 2012, 09:26 AM |#57  
Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by nameite

Thanks

After doing some tests, I figured it out

Hotplug: disables 1 core when idle
Mot_hotplug: same as hotplug but disables the core faster
everything else: always uses two cores.

So Kholk's hotplug disables the core even faster, hence minimizing lags...

Yeah I think his is just optimised a bit better. It's simple to use and Install.

Sent from my XT910 using XDA
21st May 2012, 01:17 AM |#58  
Member
Thanks Meter: 2
 
More
The Links are not working for me to dowload. Also can someone help me to install this. when i am adb, do i type one line then hit enter and then the next or type everything at once?
21st May 2012, 06:48 AM |#59  
HSD-Pilot's Avatar
Recognized Contributor
Flag NRW
Thanks Meter: 2,238
 
More
Use an root explorer to put the. ko file into data/local. Then run the script and set it to run @boot. Reboot and enjoy.

It just sounds complicated with the adb stuff, but all it does is to put this file into that folder.
21st May 2012, 08:22 PM |#60  
Senior Member
Thanks Meter: 24
 
More
Does this work on ICS leak builds?

Sent from my DROID RAZR using xda premium
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Droid RAZR Android Development by ThreadRank