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

Search This thread

royalbloodvi

Senior Member
Sep 6, 2009
986
85
Made my phone actually unsmooth so deleted it and it was smooth again

Sent from my XT910 using XDA App
 

toprunner2786

Senior Member
Feb 28, 2011
78
7
I'm not sure what I am doing wrong, but I keep getting a "permission denied" error whenever I try to run my script...am I missing something?
 

jcutter347

Senior Member
Jan 12, 2011
151
20
I'm not sure what I am doing wrong, but I keep getting a "permission denied" error whenever I try to run my script...am I missing something?
Good luck... Doesn't seem anyone is interested in helping with this. I was able to get it to work using root explorer, but can't get it to stick with script manager because I don't know how to use that. There is a definite difference when it is being used. If you read on the first page of this post, there is vague instructions on how to use it with root explorer. At least you will be able see how it works until your phone reboots.
 

hkfriends

Senior Member
Aug 24, 2007
582
149
shell@umts_spyder:/$ cat /proc/kallsyms | grep cpu_up
cat /proc/kallsyms | grep cpu_up
c03d94a0 t do_cpu_up
c03da2d0 t do_cpu_up
c05815c0 T __cpu_up
c05821f4 t _cpu_up
c058231c T cpu_up
bf076000 t do_cpu_up [cpufreq_eprj_hotplug]
shell@umts_spyder:/$

working ?
 

neo299

Senior Member
Jan 28, 2010
128
38
Is this compatible with lg thrill 4G/Optimus 3d - same TI OMAP 4430 Hardware inside, only difference 512 MB RAM less than RAZR?
 

J.Y.Daddy

Senior Member
Jul 13, 2011
552
924
Seoul
jydaddy.co.cc
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.
 
Last edited:

therazrguy

Senior Member
Dec 22, 2011
427
409
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
 

nameite

Senior Member
Aug 1, 2011
268
24
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???
 

jmsmeltzer2000

Senior Member
Oct 18, 2010
76
16
Coshocton, OH
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
 

JDCFH

Senior Member
Mar 14, 2012
98
4
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
 
  • Like
Reactions: nameite

JDCFH

Senior Member
Mar 14, 2012
98
4
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:

nameite

Senior Member
Aug 1, 2011
268
24
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...
 

JDCFH

Senior Member
Mar 14, 2012
98
4
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
 

brex2040

Member
Dec 1, 2011
46
2
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?
 

HSD-Pilot

Senior Member
Jan 22, 2012
3,492
2,420
NRW
Google Pixel 6
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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    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
    2
    It's okay for me, obviously if you give credits!
    1
    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.
    1
    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
    1
    So I should diff this against the original?

    I'm not being facetious; I think I'm still missing your commits here.

    Please don't upset one of the few devs that we have working on our cool phone. It would be great if you would like to join the ranks and build us some awesome mods.