yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] kachmul2004:
ok guys, i have a star v1277 aka ulefone v1277 etc...

Its gives a little heat even when am just using it for normal tasks like reading messages, a little chatting etc...i dont have any hardcore tasks like movies or games.

is it normal for these mtk phones to produce this little heat even when u are just maybe doing chat via sms?? Let me just say, as long as the screen is on, the phone produces some heat around the area where the "home" "back" and "menu" touch buttons are located.

Do you think this app would fix this issue? I dont mind getting little heat when am doing some facebook and the like for a few hours, but not whenever the backlight is on with no apps apps running in foreground.

and how do I test the other things u guys are testing? the frequencies
[Miscellaneous Android Development] hafeezluqman:
If your phone have mt6577 processor, then you install this app. This app activates both cpu cores. This will decrease heat and increases the performance. Without this app, the 2nd core will activate when 1st core is 100% loaded. After installing it, select "Ondemand" from drop-down list. Its easy and harmless. Try and find out if it works for your phone.
[Miscellaneous Android Development] bigrammy:
It worked for me :good: My phone runs so much cooler now using the ondemand settings and the battery lasts lots longer remember Heat = Battery Drain :D

Monitor the CPU frequencies with this SystemPanel :cool:

Big Thanks to michfood :cool:
[Miscellaneous Android Development] kachmul2004:
I think its fixed, am getting less heat even with hotspot tethering. And a little better battery. So bravo
[Miscellaneous Android Development] michfood:
http://forum.china-iphone.ru/mtk6577-cpu-governor-switcher-t26538.html

here is v10 - later I`ll bring it here.

goodluck )))
[Miscellaneous Android Development] hafeezluqman:
Download link on that page is not working. Can you attach that apk here ?
[Miscellaneous Android Development] darkguy2008:
Here it is: http://d-h.st/3vh

michfood can tell me if I should take it down, I only uploaded it there so hafeezluqman could get it :P
[Miscellaneous Android Development] hafeezluqman:
I checked frequency with CPUspy. When i set it at 750mhz for userspace fixed governor, apps are still able to use 1001Mhz.
[Miscellaneous Android Development] michfood:
we have to know and remember next things:

- screen_off = 1core and 1001mhz

- usb or ac connected - may be also 1001

- when apps wakeup from deepsleep we have 1001 so as screen is off

- where have to be a few miliseconds while my app gets SCREEN_ON signal and turns selected governor - until it`s also 1001

is this your case?

ps - sorry for some bugs in english version - I`ll fix it soon with hybrid advanced settings

and one more thing: do not forget to switch governor - changing settings of governor do not turn it on - you have do it in appropriate menu category ;)
[Miscellaneous Android Development] michfood:
as I promiced - extended Hybrid settings and correct English - v11 in 1st topic.
[Miscellaneous Android Development] ashkan_mc:
My Alcatel one touch does not go into deep sleep. It is always awake. I changed the scale to ondemand but no difference ... any solution guys?
[Miscellaneous Android Development] michfood:
this app has no any relation to deepsleep
[Miscellaneous Android Development] hafeezluqman:
Can you permanently downgrade mt6577 frequency from 1ghz to 750mhz ? Maximum 750mhz only. I want to get rid of overheat problem.
[Miscellaneous Android Development] ManuD_Linux:
Equivalence

What are the settings for version 11 equivalent of "hybrid + Super Powersafe" in version 4 (the super PowerSafe option has disappeared) ?

Thanks by advance,

E. D.
[Miscellaneous Android Development] michfood:
You can do it by yourself in userspace scaling or fixed modes. besides screen_off states - it`ll be 1001 when you can`t see it ;)

By the way - there is another way to get this result - to fix max scaling frequency in hybrid or ondemand - so there will no be script (as in userspace) and will be scalling (as in hybrid and ondemand), but with limited max threshold.

I never heard about overheat problem on my phone JiaYu G3.
[Miscellaneous Android Development] michfood:
Don`t understand, sorry... what do you mean by "hybrid + Super Powersafe"?

hybrid is hybrid, powersave is powersave, "super powersave" is powersave with one active core - it`s three different modes
[Miscellaneous Android Development] boofman:
Onedemand Jiayu G3

Great app, but it seems that my Jiayu G3 mostly runs at 1001 Mhz when screen is off, and 250 Mhz only activates once screen is on. Is this what you also have?

And the Deep Sleep is not used as well. You have any suggestions / tips?

TIA
[Miscellaneous Android Development] michfood:
writing in large font:

WHEN SCREEN IS OFF - CPU IS ALWAYS AT 1001MHZ (for G3 and it`s kernel)

deepsleep is another problem. try my "wakelock notifier" from here http://forum.china-iphone.ru/wakelock-notifier-t26780.html or look to the apps like betterbatterystats, wakelock detector and so on
[Miscellaneous Android Development] boofman:
apologies about that buddy..didnct mean to piss you off, just wanted to verify that it's not a one-off on either of our G3s, just worded it incorrectly..

are there any implications to our cpu running 1001Mhz longer than usual?

anyways I'll look into the wakelock issue..
[Miscellaneous Android Development] hafeezluqman:
My micromax A89 overheats because its overvolted by default. Developers can't undervolt it because they dont have kernel source. Micromax is Indian company which rebrands chinese phones and sell it under their name. They dont give software updates but repair phones if its under warranty.

---------- Post added at 06:55 PM ---------- Previous post was at 06:45 PM ----------

I will set 750mhz in Userspace Fixed mode. It means when screen is off, it runs at 1001mhz. And when i play games, it max at 750mhz. If it runs at 1001mhz in deep sleep, then it will drain battery and heat also. What is the advantage then ?
[Miscellaneous Android Development] boofman:
advantage is simultaneous activation of both cores..unlike without that your 1st core waits till maxed out then activates 2nd core..

I dunno which is efficient though: you see, without the tweak, 2nd Core is in Sleep until 1st core maxes out, but with app, both cores never sleep because of wake locks..

EDIT: this app may optimize the use of 2 cores..without it, one core may degrade faster than the other..just a speculation to the advantages..
[Miscellaneous Android Development] ManuD_Linux:
In version 4, the setting screen is simple, you only have :

- 2 check boxes : "Service started", and "Super Powersave mode"

- and a governor selection which let you choose the scheduler algorithm.

So, I checked "Service started" and "Super Powersave mode". And in "Select Governor" menu, I choose "hybrid".

I can't find equivalence in version 11. Thank you.
[Miscellaneous Android Development] slumpz:
Can we have a version for MTK6577T which has max speed @ 1209 Mhz?

Thanks much.
[Miscellaneous Android Development] boofman:
I rolled back to my backup before the Governor App, and noticed that I have now deep sleep and my CPU doesn't run at 1001Mhz constantly during Screen Off..but then core 2 is only activated at about max of 1st core..
[Miscellaneous Android Development] michfood:
well, super powersave check in v4 worked only when powersave mode was activated - it turns off 2nd core, and then you select hybrid - it doesn`t mean "super powersave hybrid" - it was just hybrid.

and now in v11 powersave mode diveded into two - "super" and "simple powersave" - so where doesn`t exist any powersave modes besides theese two.
[Miscellaneous Android Development] michfood:
I really don`t know... sorry... maybe in future when I`ll buy new phone ))
[Miscellaneous Android Development] michfood:
this is my todays screenshot with ondemand and deepsleep.

but of course I can`t say exactly for all models...

if you don`t have deepsleep - you have to findout wakelock.

and I`m 100% sure (believe me) it doesn`t present in my app.
[Miscellaneous Android Development] michfood:
Guys, we have not to mix up phone states.

When phone is in deepsleep - CPU is OFF!

When screen is OFF - phone maybe in two conditions: in deepsleep, or working. And when it is working (for example getting weather updates or sync account) - it will work always at 1001mhz and maybe with only one core - because of kernel compilation. for G3. and I think for other 6577 too.
[Miscellaneous Android Development] boofman:
will do..which ROM are you on btw?
[Miscellaneous Android Development] michfood:
official 4.1.2 with my mods, but they do not touch hardware - only some graphical improovements and so on
[Miscellaneous Android Development] darkguy2008:
Hey michfood, maybe a bit unrelated, but can I know where did you get the ROM? (without your mods if you don't want to share them) ? or can you take one with SP Flash Tools? I'd like to give a try at porting 4.1.2 to my device since the hardware is almost the same, but I need a compatible ROM and I'm thinking it could be yours :)

Also, good app, I have to check on the deepsleep thing, as my device has a sucky battery and I'd like to set a max limit to 800Mhz (doesn't matter if screen is on or not), gotta try v11 though, but I'm going to bed xD.
[Miscellaneous Android Development] boofman:
JB beta? care to share?
[Miscellaneous Android Development] michfood:
https://disk.yandex.ru/public/?hash=ek18LW+KY6GZZBbxmpiZ1Lrp5ul6+Bphj3BGZqbUahA=
[Miscellaneous Android Development] ManuD_Linux:
Thank you very much for these explanations. :)

Sincerely,

E. D.
[Miscellaneous Android Development] boofman:
thanks..will try this one!

EDIT: Seems that I can't get the wifi to work..

EDIT 2: Mine is G3N, so different radio..thanks anyways..
[Miscellaneous Android Development] boofman:
I think I found the culprit on my wakelock.."leds wakelock"..any of you guys have the same problem?
[Miscellaneous Android Development] michfood:
we already changed red light to green to avoid it
[Miscellaneous Android Development] michfood:
ok guys... v13 is in first topic.

please try - some visualisations effects added, to show current frequency and cores load. :cowboy:
[Miscellaneous Android Development] michfood:
15.2. - fixed some permissions bug
[Miscellaneous Android Development] boofman:
how? in your ROM?
[Miscellaneous Android Development] darkguy2008:
Hey michfood, is there any way you can set an option to work only with 1 core? (disable 2nd), or do you know of an app or command to run in order to do such? thanks!

Also thanks for the ROM upload :)
[Miscellaneous Android Development] michfood:
why?

in cmd line:

adb shell
su
echo 0 >/sys/devices/system/cpu/cpu1/online
[Miscellaneous Android Development] michfood:
sure, in phone.apk
[Miscellaneous Android Development] darkguy2008:
Well, I've noticed that there is a *huge* battery saving improvement if I enable only 1 core instead of 2 (even with ondemand instead of hybrid). I found this thanks to the bug in your v3, somehow setting it as ondemand and having the bug work (not enabling the 2nd core after screen-on) made the battery last a bunch.

Thanks for the command, I can do some tests now :)

However if there is a possibility to enable/disable the 2nd core in your app (no matter the screen on/off state), it would be awesome :D
[Miscellaneous Android Development] michfood:
well, additional features for certain persons are available via my VISA ;)

just let me know... 6577T too
[Miscellaneous Android Development] bigrammy:
Hi michfood :highfive:

Some great improvements buddy :good:

My Zopo zp300+ will still not take the powersave setting of both cores @ 250 :( always defaults to 1001 :confused:

Working great on the ondemand and Hybrid settings :good:

Keep up the good work friend it is much appreciated. :cool:

Regards bigrammy.
[Miscellaneous Android Development] boofman:
v15.2 ondemand works great! I finally have sleep state!
[Miscellaneous Android Development] darkguy2008:
Well you know, that's valid when you have a credit card and/or live in a country where you can use your local currency to buy/deposit/etc to an outside account, which isn't my case. I thought helping others was enough motivation. I know it isn't enough but if you're gonna charge for additional features might as well end up making the app pay-only and screw everyone right? Not to be rude, but I don't think that what I'm asking is too much trouble, programming-wise actually. Any non-monetary alternatives we can arrange? I have money, but this stupid country doesn't let me use it outside.
[Miscellaneous Android Development] michfood:
v17 updated...

- guess I`ve fixed bug with ondemand with 1 core after SCREEN_ON

also some improvements in userspace_scaling mode.

try please new version
[Miscellaneous Android Development] ludoo:
The single core after screen on bug seems to be there in the new version too, at least using ondemand governor. Anything I can do to properly check apart from using micro cpu monitor?

Edit: the second core starts working again if I disable/enable the service from the app interface.
[Miscellaneous Android Development] michfood:
OMG... try v18 )))
[Miscellaneous Android Development] ludoo:
Seems to work great! :) :) :)

BTW could you post here the tuning options for the hybrid governor I saw in the Russian thread about this app? I use Google Translate so I cannot do a proper translation.

http://forum.china-iphone.ru/post1023201.html#p1023201
[Miscellaneous Android Development] silenced3:
hey michfood

i tried v18 but the second core does not turn on after screen on in ondemand mode. this is also verified by the fact that the app does not ask for superuser permission after screen on :confused:

edit:

cleared app data and now it seems to be working fine :confused: :confused:
[Miscellaneous Android Development] tivchev:
Great app! Thanks! Is it possible to hide the confirmation message that appears every time the display is turned on?
[Miscellaneous Android Development] michfood:
is it superuser notification?

you can switch it off in su settings
[Miscellaneous Android Development] tivchev:
Silly me, just had to disable notifications for this app in Superuser...

---------- Post added at 10:36 AM ---------- Previous post was at 10:35 AM ----------

Too quick:}
[Miscellaneous Android Development] michfood:
smtimes im quickkky :silly:
[Miscellaneous Android Development] darkguy2008:
xD

What about disabling a core, then? :P
[Miscellaneous Android Development] michfood:
seems I`ll have to do it :D
[Miscellaneous Android Development] darkguy2008:
Haha :D It would be great really, come on! :laugh: :highfive:
[Miscellaneous Android Development] encik_racun:
I have 1 stupid question...how to setup hybrid advance setting?

---------- Post added at 07:22 AM ---------- Previous post was at 07:00 AM ----------

Before this on samsung gingerbread phone i just use

Screen on min n max

Screen off usually the min

Without setup any sampling rate or something like it...

While on this app there are no option to choose min and max cpu freq...

No option to choose IO sched...

No option to choose a profile :(
[Miscellaneous Android Development] michfood:
who know... it`s undocumented yet
[Miscellaneous Android Development] hardmaster92:
I have the following problem with v18: when I am using ondemand governor the phone starts lagging for about 5-6 seconds everytime when I boot the phone or unlock the screen
[Miscellaneous Android Development] lillo68:
I have the same problem on my zp900.

there is also another problem.

Samething goes in conflicts with the basic hybrid configuration when putting ondemand.
[Miscellaneous Android Development] Sh0m1:
I think its normal that it lags. Phone wakes up from deep sleep mode+the app is doing something as you can see it gets su permissions.
[Miscellaneous Android Development] hardmaster92:
It is a huge problem especially when someone is calling me while my screen is locked... it takes me up to 10 seconds untill i am able to answer.

This is the only CPU app that does this, so it can be fixed
[Miscellaneous Android Development] michfood:
I don`t have problems You`ve described. I don`t have lags and bugs with it. The only thing I can suppose - different kernels, different file structure, maybe different root access and permissions... and I can`t solve it while I have no such phone.

A little bit later I`ll make video to demonstrate how it works on my JiaYu G3.
[Miscellaneous Android Development] michfood:
I don`t think it`s normal.

1) I don`t have lags

2) It is usual android app, and it begin to work after screen_on event. But after screen_on a huge portion of android system apps also starts to work - launcher, widgets, phone etc... all of them waste some part of CPU time, some need to redraw smth on display (1280x720 in my case - it takes more time then 480x800 for ex with the same hardware) and in summ all of us have a small delay in 0,5-1 second after power button pressed. And governor switcher is among them. It needs to make a few file R/W operation and governor is switched - it`s not seconds - it`s MILIseconds with our CPU - so, all operations are done after SCREEN_ON and BEFORE almost all of us humans unlock the scrren :o
[Miscellaneous Android Development] michfood:
for some reasons maybe permissions do not set correctly on prev versions.

for all with smth unworking - try 18.1
[Miscellaneous Android Development] hardmaster92:
it happens only when i am using hybrid or ondemand governor
[Miscellaneous Android Development] dhopack:
sory for my bad english(I use google translate words by words)

thanks to michfood for great apps,

smartphone: lenovo s560 (stock rom,rooted)

v18 works well on my lenovo s560 (seems to be no problem at all)

v18.1 : first I remove(uninstall) v18 then download and instal v18.1 when open the app my lenovo s560 become freeze and each button does not work, remove battery - insert again - turn on - then stuck in homescreen. I did it twice and no change,

so factory reset is the only way(in recovery mode), now I'm back to v18 and works well( I think),

maybe there a little problem(bug) in v18.1,

sorry for this inconvenience and I hope that you understand my words :o
[Miscellaneous Android Development] michfood:
it is my turn to apologize for inconvenience )))

i`m really sorry about that... have no ideas why
[Miscellaneous Android Development] boofman:
for some reason I have experienced this with Jiayu G3N JB and v18.1..but I didn't have to reinstall the rom. I went into TWRP and deleted the app via explorer, cleared cache and dalvik-cache, reboot, reinstalled v18, and everything works great!
[Miscellaneous Android Development] greedisgood99999:
same here..v18 is working fine on my Titan TV..but after installing v18.1 my phone restart itself how many times and freezes all the time..can this be fix??.I switched back to v18 works fine again but I notice SETCPU can do its work thats why I stick to SETCPU for now..
[Miscellaneous Android Development] sambapati:
the same for me . JY-G3
[Miscellaneous Android Development] Sipi1302:
Had same problem with freezing but after i reinstall app everything is working fine.
[Miscellaneous Android Development] m3n3chm0:
Hello guys,

When will be launched the MTK6589 CPU Governor Switcher ¿?
[Miscellaneous Android Development] MavericK_56:
Hi there,

> As a French user of this forum, please don't be too rude with me regarding my average English! :)

> So, what a great app this MTK Governor!

> However, I have the same issues than [MENTION=1607850]dhopack[/MENTION]. I'm using a:

- Wiko Cink Peax (A888 Duo Clone)

- My Custom ROM is the "Wiko Peax Jelly Bean v2.3 (android 4.1.2)" by Spanish (available here > http://forum.frandroid.com/topic/144933-rom-wiko-peax-jelly-bean-v23-android-412-190413/

I was using the Wiko JB official ROM. Then I migrated to the custom one and installed MTK Governor 18.1. It worked!

But, after a factory reset of this custom rom ( wipe cache / factory / dalvik ) and a reinstallation of MTK, my Wiko crashed by freezing. More precisely, when booting entering the sim pin and unlocking the screen, it's working fine and fast for a few seconds and then it freezes.

The only way to make it work again is to remove the battery, reboot and go fastly desactivating MTK. When unticking the service, it freezes again.

So, I removed and rebooted again and it worked fine but....without MTK running...

> I'm gonna try the v18 of MTK. I really hope it will work because it's definitely a great tweak!!

> I hope my description was quite good and that it ll help to resolve this issue...
[Miscellaneous Android Development] yggdrasil31:
I have the same device with the same rom and i tried MTK Governor 18.1, and i got exactly the same behaviour. The description i would do is the same, except that i manage to untick the "start of service" before the freezing and after a reboot, i manage to uninstall MTK Governor 18.1
[Miscellaneous Android Development] MavericK_56:
> I did exactly the same but I forgot to type it in my previous post!

You've to be fast to untick or you'll be freezed again...

Thx for mentionning it [MENTION=555707]yggdrasil[/MENTION].

> My Peax is running since yesterday with the v18 and it works perfectly!

Envoyé depuis mon CINK PEAX avec Tapatalk
[Miscellaneous Android Development] michfood:
guys, having no such problems I can`t fix it.

if you are interested in - you have to give me logcat from the very beginning of boot - maybe I`ll find smth to fix
[Miscellaneous Android Development] anneau:
You must have SuperSu Pro, not basic SuperSu ?

To understand, have a look at :

why all these root access (many/s) ?

To make it work, in SuperSU, MTK6577 CPU Governor Switcher need to be :

Access : Grant

Notification : Disable <- important

This should help you.

Have a nice day!
[Miscellaneous Android Development] darkguy2008:
Hey michfood, any words on enabling only 1 core but more than 250 Mhz, possible :laugh:?

Keep up the great work! :highfive:
[Miscellaneous Android Development] [==)BULLET(==]:
Do you need root for this?

Trying on my mmx a89!

Bullet
[Miscellaneous Android Development] michfood:
it s very easy, ill make it
[Miscellaneous Android Development] Paralityk:
About Jiayu G3, and that 1Ghz while sleeping. (Which I'm also experiencing on official beta 1 Jelly Bean)

Wouldn't setting the governor also "on screen off" solve the problem? It could be another battery saver if we could set this screen off governor to for ex. super powersave etc. while keeping for ex. ondemand for screen on action.
[Miscellaneous Android Development] michfood:
it`s impossible - kernel bug
[Miscellaneous Android Development] Paralityk:
Yeah I know that. But does that mean kernel (bug) prevents governor from being changed while the screen is off, or changing max freq? We don't really know how is this bug happening, right? It's probably not like a line of code is setting CPU to 1.0 GHz, there might be some dirty workaround before the bug is fixed.

Still if it's just kernel bug, it can be fixed, the sources are now available even for 3.4.0 so what's holding devs?

Ain't there other mt6577 device with 3.4.0 kernel that we could use in G3? I remember running rom (+kernel) from Amoi N820 with no modifications.

Also, Jelly Bean requires just 3.0.31, wouldn't it be possible to run 4.1 rom with "old" mt6577 4.0 kernel?

On a side note, xda should have a mtk-6575/6577/6589 board
[Miscellaneous Android Development] kra_ppo:
Sorry if I'm asking stupid questions, but does the govenor switcher run with 4.1.1?

CpuSpy always says full speed with ondemand governor...
[Miscellaneous Android Development] michfood:
I`ve 4.1.2
[Miscellaneous Android Development] michfood:
all MTK phones have different hardware, so every model needs its own drivers sources to compile kernel - AFAIK there are open sources for 6577 main kernel part (linux open kernel), but no drivers part.
[Miscellaneous Android Development] dhampire:
cool app, very interested in !!

but I report you master, after I rooted acer liquid e1 v360 - MTK6577 -, it - ver 18.1 - makes phone freeze, I can't use.
[Miscellaneous Android Development] michfood:
log from logcat