MTK6577 CPU Governor Switcher

Search This thread

michfood

Senior Member
Oct 29, 2009
216
320
V18.1 Available
Share to all of You my little program :cowboy:

Features:
- CPU governor switch on the fly
- Fix for MTK6577 bug when 2nd core keep sleeping after screen unlock

Available governors:
- hybrid (default) - 2nd core starts then 1st is 100% loaded, max freq=1001Mhz
- ondemand - both cores work together, more time on freqs between 250-1001Mhz
- powersave - both cores work on 250Mhz
- super powersave - only one core, works on 250Mhz
- perfomance - both cores always run on 1001Mhz
- userspace fixed - fixed freq for both cores, no scaling
- userspace scaling- upper scaling freq thresholds is calculating on CPU load - in this mode, app runs 01processor.sh script from bumbon4ik
- visualization - upper line - cpu frequency, 1001mhz = full screen width, 250mhz = 25% etc. below - both cores, 100% load = current frequency line width. for ex. - fixed 500mhz and 100% both cores load will show three lines on half a screen
:good:

IMPORTANT.
On some phones & ROMs v18.1 may freeze the phone.
To delete app install this update from recovery - v18.1_recovery_uninstall.zip.
Its code:
Code:
mount("ext4", "EMMC", "data", "/data");
delete("/data/app/MTK6577_governor_switcher_v18.1.apk");
unmount("/data");
So it delete only apk in data partition, to remove apps data You have remove folder data/data/MTK6577_governor_switcher_v18.1 and the same MTK6577_governor_switcher_v18.1.odex from dalvik-cache manually.
 

Attachments

  • 11-1.jpg
    11-1.jpg
    21.5 KB · Views: 9,649
  • 11-2.jpg
    11-2.jpg
    20.4 KB · Views: 7,511
  • 11-3.jpg
    11-3.jpg
    27.9 KB · Views: 9,372
  • 11-4.jpg
    11-4.jpg
    16.1 KB · Views: 6,346
  • 11-5.jpg
    11-5.jpg
    19.9 KB · Views: 7,463
  • 11-6.jpg
    11-6.jpg
    24 KB · Views: 7,349
  • 11-7.jpg
    11-7.jpg
    21.3 KB · Views: 6,906
  • screenshot13-1-en.jpg
    screenshot13-1-en.jpg
    18.6 KB · Views: 5,398
  • MTK6577_governor_switcher_v18.apk
    397.2 KB · Views: 8,500
  • MTK6577_governor_switcher_v18.1.apk
    397.4 KB · Views: 10,559
  • v18.1_recovery_uninstall.zip
    168.6 KB · Views: 3,012
Last edited:

bigrammy

Senior Member
Apr 8, 2011
2,942
2,566
huddersfield
Share to all of You my little program :cowboy:

Features:
- CPU governor switch on the fly
- Fix for MTK6577 bug when 2nd core keep sleeping after screen unlock in ondemand mode

Available governors:
- hybrid (default) - 2nd core starts then 1st is 100% loaded, max freq=1001Mhz
- ondemand - both cores work together, more time on freqs between 250-1001Mhz
- powersave - both cores work on 250Mhz
- perfomance - both cores always run on 1001Mhz
- userspace - don`t know

Thanks michfood :good:

I will give this a try on my zopo zp300+ because the power drain on the phone is very bad so I hope this can sort out those cpu's :fingers-crossed:
Do we have to reboot to switch between the different mode's ie: switching from hybrid to on demand will this require a reboot?
Also I assume I must disable/un-install any other cpu controllers such as set-cpu
 

michfood

Senior Member
Oct 29, 2009
216
320
no need to reboot.
you can see current governor and cpu freq in such programs as CpuSpy, SystemPanel, CoolTool and others.

about other CPU controlling soft - yes, it`s better to use only one thing.

so AFAIK setcpu do not work properly because of that ondemand bag - after screenunlock only one core works.
it can be shown for ex. in SystemPanel or MicroCpuMonitor
 

bigrammy

Senior Member
Apr 8, 2011
2,942
2,566
huddersfield
no need to reboot.
you can see current governor and cpu freq in such programs as CpuSpy, SystemPanel, CoolTool and others.

about other CPU controlling soft - yes, it`s better to use only one thing.

so AFAIK setcpu do not work properly because of that ondemand bag - after screenunlock only one core works.
it can be shown for ex. in SystemPanel or MicroCpuMonitor

Thanks for the advice michfood :highfive:

You are correct about setcpu I made changes with setcpu but did not see any big improvements only slight improvements :crying:

I am installing your APK now and I will report back after a couple of days use :good:

Keep up the great work michfood it's really appreciated buddy :cool:
 

hafeezluqman

Senior Member
Jan 17, 2013
141
35
Hyderabad
Share to all of You my little program :cowboy:

Features:
- CPU governor switch on the fly
- Fix for MTK6577 bug when 2nd core keep sleeping after screen unlock in ondemand mode

Available governors:
- hybrid (default) - 2nd core starts then 1st is 100% loaded, max freq=1001Mhz
- ondemand - both cores work together, more time on freqs between 250-1001Mhz
- powersave - both cores work on 250Mhz
- perfomance - both cores always run on 1001Mhz
- userspace - don`t know

ATTENTION!! - found an interesting bug:
- after performance governor CPU keeps running on 1001Mhz, solved in v2 - there is ALWAYS NEEDED to switch hybrid and after that - to other governor.
please - reload

I installed this on my Micromax A89, after keypad unlock, governor is changing back to hybrid automatically.
 

bigrammy

Senior Member
Apr 8, 2011
2,942
2,566
huddersfield
ufffff... yes - You are right.... another problem... but it seems it do not get back to hybrid (as for my phone) - it only keeps 1001 running :confused:

Hi michfood,

No Problems on the zopo zp350+ mtk6577 michfood it work's great at the moment. :victory:

I did have a little problem at first I think caused by installing cpu spy after I installed your app. :confused:

Try to Install cpu spy first then install your app it worked for me. My setting's now hold no problem. :good:

Hope this helps:fingers-crossed:

Regards bigrammy
 

michfood

Senior Member
Oct 29, 2009
216
320
V3 issued - tried to fix bugs.

Please reload.

Seems works fine, please test it.

PS - with Fix_on option, after screen unlock 2nd core ALWAYS awakes from sleeping, in ALL governors. It is really needed only for "ondemand", but I think it`s not bad for others. And may be we should asleep 2core in "powersave" mode to achieve min battery drain?
 
Last edited:
  • Like
Reactions: bigrammy

hafeezluqman

Senior Member
Jan 17, 2013
141
35
Hyderabad
V3 issued - tried to fix bugs.

Please reload.

Seems works fine, please test it.

PS - with Fix_on option, after screen unlock 2nd core ALWAYS awakes from sleeping, in ALL governors. It is really needed only for "ondemand", but I think it`s not bad for others. And may be we should asleep 2core in "powersave" mode to achieve min battery drain?

Bug fixed : Governor is not reverting back to hybrid after screen unlock or reboot. I will reply after 2-3 hours about overheating.
 

hafeezluqman

Senior Member
Jan 17, 2013
141
35
Hyderabad
I am using it on Ondemand governor. After 1 hour of temple run 2 gameplay with mp3 playing in background, Heat is 20% less on my device. Battery came down from 50% to 24%. It means 26% drained in 1hour gameplay.
 

hafeezluqman

Senior Member
Jan 17, 2013
141
35
Hyderabad
It is good. Without this app, the 2nd core will sleep after screen unlock. So this app is a must have. Is there any app, which shows the load of 2 core seperately, like task manager of windows 7.
 

michfood

Senior Member
Oct 29, 2009
216
320
yes it's Micro Cpu Monitor.
it doesn't show frequency, but only load

Sent from my JY-G3 using xda app-developers app
 
  • Like
Reactions: hafeezluqman

michfood

Senior Member
Oct 29, 2009
216
320
guys - have a good news, SetCPU 3.0.9 seems to work properly with our ondemand mode and 2nd core! :good:
so I guess there is no need to go on with my app ;) - SetCPU is quit enough :cool:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 49
    V18.1 Available
    Share to all of You my little program :cowboy:

    Features:
    - CPU governor switch on the fly
    - Fix for MTK6577 bug when 2nd core keep sleeping after screen unlock

    Available governors:
    - hybrid (default) - 2nd core starts then 1st is 100% loaded, max freq=1001Mhz
    - ondemand - both cores work together, more time on freqs between 250-1001Mhz
    - powersave - both cores work on 250Mhz
    - super powersave - only one core, works on 250Mhz
    - perfomance - both cores always run on 1001Mhz
    - userspace fixed - fixed freq for both cores, no scaling
    - userspace scaling- upper scaling freq thresholds is calculating on CPU load - in this mode, app runs 01processor.sh script from bumbon4ik
    - visualization - upper line - cpu frequency, 1001mhz = full screen width, 250mhz = 25% etc. below - both cores, 100% load = current frequency line width. for ex. - fixed 500mhz and 100% both cores load will show three lines on half a screen
    :good:

    IMPORTANT.
    On some phones & ROMs v18.1 may freeze the phone.
    To delete app install this update from recovery - v18.1_recovery_uninstall.zip.
    Its code:
    Code:
    mount("ext4", "EMMC", "data", "/data");
    delete("/data/app/MTK6577_governor_switcher_v18.1.apk");
    unmount("/data");
    So it delete only apk in data partition, to remove apps data You have remove folder data/data/MTK6577_governor_switcher_v18.1 and the same MTK6577_governor_switcher_v18.1.odex from dalvik-cache manually.
    5
    it s very easy, ill make it
    3
    OMG... try v18 )))
    3
    for some reasons I`ve made a new version of software: http://forum.xda-developers.com/showthread.php?t=2489895
    its a little paid, but it should work on 6577 and mtk6589 too, so try it...
    where`ll be no many options to work with cores etc. becouse 6589 on hotplug is very kind - so no need to change it.
    but where are such options like CPU LOAD monitor and current consumption.

    and important: - it is a module for Xposed Framework, but some functions will work without it as usual apk.

    and at last - it seems I found a way to avoid phone breeking with 6577 governor switcher on some models - soon I`l make an update
    3
    Thanks a lot!
    Maybe it`ll be continued with added script to manage frequency depending on CPU load.
    So it will be possible to make your own profile, with different preferences for scaling