FORUMS

MTK6577 CPU Governor Switcher

216 posts
Thanks Meter: 324
 
By michfood, Senior Member on 12th March 2013, 06:37 AM
Post Reply Email Thread
V18.1 Available
Share to all of You my little program

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


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.
Attached Thumbnails
Click image for larger version

Name:	11-1.jpg
Views:	9621
Size:	21.5 KB
ID:	1830654   Click image for larger version

Name:	11-2.jpg
Views:	7482
Size:	20.4 KB
ID:	1830655   Click image for larger version

Name:	11-3.jpg
Views:	9349
Size:	27.9 KB
ID:	1830656   Click image for larger version

Name:	11-4.jpg
Views:	6322
Size:	16.1 KB
ID:	1830657   Click image for larger version

Name:	11-5.jpg
Views:	7445
Size:	19.9 KB
ID:	1830659   Click image for larger version

Name:	11-6.jpg
Views:	7329
Size:	24.0 KB
ID:	1830660   Click image for larger version

Name:	11-7.jpg
Views:	6890
Size:	21.3 KB
ID:	1830661   Click image for larger version

Name:	screenshot13-1-en.jpg
Views:	5374
Size:	18.6 KB
ID:	1837264  
Attached Files
File Type: apk MTK6577_governor_switcher_v18.apk - [Click for QR Code] (397.2 KB, 8467 views)
File Type: apk MTK6577_governor_switcher_v18.1.apk - [Click for QR Code] (397.4 KB, 10535 views)
File Type: zip v18.1_recovery_uninstall.zip - [Click for QR Code] (168.6 KB, 3000 views)
The Following 49 Users Say Thank You to michfood For This Useful Post: [ View ] Gift michfood Ad-Free
12th March 2013, 01:20 PM |#2  
bigrammy's Avatar
Senior Member
Flag huddersfield
Thanks Meter: 2,530
 
More
Quote:
Originally Posted by michfood

Share to all of You my little program

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

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
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
The Following 2 Users Say Thank You to bigrammy For This Useful Post: [ View ] Gift bigrammy Ad-Free
12th March 2013, 02:23 PM |#3  
michfood's Avatar
OP Senior Member
Thanks Meter: 324
 
Donate to Me
More
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
12th March 2013, 05:24 PM |#4  
bigrammy's Avatar
Senior Member
Flag huddersfield
Thanks Meter: 2,530
 
More
Quote:
Originally Posted by michfood

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

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

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

Keep up the great work michfood it's really appreciated buddy
12th March 2013, 06:05 PM |#5  
Member
Thanks Meter: 43
 
More
Thanks for this app! I will give it a try and see what it can do
12th March 2013, 08:59 PM |#6  
hafeezluqman's Avatar
Senior Member
Flag Hyderabad
Thanks Meter: 35
 
More
Quote:
Originally Posted by michfood

Share to all of You my little program

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.
13th March 2013, 05:40 AM |#7  
michfood's Avatar
OP Senior Member
Thanks Meter: 324
 
Donate to Me
More
Quote:
Originally Posted by hafeezluqman

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

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
13th March 2013, 07:46 AM |#8  
kra_ppo's Avatar
Senior Member
Thanks Meter: 15
 
More
AW: MTK6577 CPU Governor Switcher
Quote:
Originally Posted by hafeezluqman

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

Same issue here!
13th March 2013, 08:40 AM |#9  
Senior Member
Thanks Meter: 316
 
Donate to Me
More
Quote:
Originally Posted by michfood

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

Ya it's changing back to hybrid after screen locks. If possible please correct this problem.
13th March 2013, 12:14 PM |#10  
hafeezluqman's Avatar
Senior Member
Flag Hyderabad
Thanks Meter: 35
 
More
Question
Quote:
Originally Posted by michfood

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

I also tried CPU Sleeper Dual Core from play market. But heating problem still exist. Is it the problem of kernel ?
The Following User Says Thank You to hafeezluqman For This Useful Post: [ View ] Gift hafeezluqman Ad-Free
13th March 2013, 02:03 PM |#11  
kra_ppo's Avatar
Senior Member
Thanks Meter: 15
 
More
without checked "2nd core activation" it stays on "ondemand"....
try it!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes