yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] xkeita:
It doesn't matter if it's Snapdragon S4 Pro or 800, 801 etc etc, setgovernor.sh is and works the same for all Xperia stock roms, as long as you have the governor working with kernel it will apply values that support being edited, others will be ignored.
[Sony Cross-Device General] RyTekk:
I think it doesn't, because I see no init.qcom.post_boot.sh in /system/etc direction.

Almost Xperia firmware can use this tweak but the value was edited for msm8974 only, it will cause problem with hotplug and up/downscale CPU. And all values in setgovernor.sh can be moved to init.qcom.post_boot.sh so as long as your ROM support to run it (init.qcom.post_boot.sh), no need to have setgovernor.sh.
[Sony Cross-Device General] notauseranymore:
Is it possible to find the files for mp_decision hotplug and manual edit them in my device? Running stock kernel and the only hotplug available is a bit crazy with my max frequencies.
[Sony Cross-Device General] hristcroixqwerty:
After flashing this on my Xperia Z Ultra, my boot logo and animation is missing @_@
[Sony Cross-Device General] levone1:
When you say 'cause problems', do you mean phone will not function correctly, or just that those particular functions won't work right if you choose to call on them? I have Z1c (krait), so if I flash this, will it give me the performance boost but I just have to avoid certain settings?
[Sony Cross-Device General] RyTekk:
"Problem" means about hotplug and core clock, hotplug is core plugged-in/plugged-out (on/off core) and core clock is up/downscale CPU speed, they won't work correctly. And of course this mod will work on Z1c.

I did nothing with boot logo or animation, you should did something wrong.
[Sony Cross-Device General] PDesire:
Are u sure? I use it too and it works fine. Project Desire wipes ur Data and this mod kills ur Bootanimation, maybe something is wrong with ur Z Ultra

Your PDesire
[Sony Cross-Device General] hasanzahir:
will it work on stock based custom ROM like MX ROM or MrSl ROM ?

Thanks anyway for sharing this. :)
[Sony Cross-Device General] PDesire:
As long they are based on Stock, of course :)

Your PDesire
[Sony Cross-Device General] Shawnki91:
Gave it a try on my Z Ultra C6806 and it worked great! Phone runs nice and cool and there is a noticeable bump in speed!

Thanks OP.
[Sony Cross-Device General] hristcroixqwerty:
Yes Im sure, I did it twice.. same result :)) But u know what, I dont care, since Im getting better performace with this mod :))
[Sony Cross-Device General] :
Maybe direct people into this thread too. It's more of a fine-tuning of the Interactive governor that can be adapted into all devices in exchange for a full reading of the explanations.
[Sony Cross-Device General] The Bankshooter:
Now im testing in my Z1, first boot finished, i will be reporting any how it goes
[Sony Cross-Device General] Ohhdayumm:
Will this work on cm/aosp ROMs? Kernel?
[Sony Cross-Device General] Mokiwipeout:
It should work provided you have the cpu specified on the title, regardless of your rom. I am not sure though.
[Sony Cross-Device General] Maciek602:
Does it affect battery life? I consider flashing it on my Z1C, which btw has great performance without any mods :P
[Sony Cross-Device General] lokitooxd:
testing

work on Z2 PureX Rom, I'm testing...
[Sony Cross-Device General] wooki:
Quick test on z3c:

Around 18% performance improvement. Battery results following..

Send with my Xperia Z3 Compact
[Sony Cross-Device General] Maciek602:
Flashed on Z1C, phone feels a litttle smoother now. Gonna test battery life tho.
[Sony Cross-Device General] SANTUMIL:
Works on z3 LB. Thanks a lot
[Sony Cross-Device General] inhalt:
Hi. Will this work on a G PRO 2 (SD800) under stock 5.0.2?
[Sony Cross-Device General] filjusz:
Read the title - that mod work on every Snapdragon 800/801 - so yes!
[Sony Cross-Device General] inhalt:
Perhaps you didn't notice that 5.1.1 is required, according to developer's instructions...

It's also mentioned that it could work with another Lollipop roms, hence my question
[Sony Cross-Device General] filjusz:
I have installed Lollipop AOSP (Android 5.0.2) and mod works great ?
[Sony Cross-Device General] 5ageman:
Working fine on Z2 LB 264. Slightly smoother, not sure if its a placebo. Benchmarks are a tad lower, but performance seems to be faster in UI. Battery looks the same for now, device heats up as before.
[Sony Cross-Device General] ogunja:
Thanks Bro! Working fine.....

Enviado de meu D6603 usando Tapatalk
[Sony Cross-Device General] RyTekk:
It's hard to say because the setting in kernels are not the same, so try it yourself and report for others, just remember to download restore zip in case your device doesn't boot.
[Sony Cross-Device General] inhalt:
I gave it a try yesterday, but it didn't work. The governor was set at Performance by default. When I switched to Ondemand, Conservative or any other, I could see that all cores were working at medium-high frequencies, so I assumed there'd be no deep sleep at all...

I reverted to stock settings right ahead. Thanks anyway :)
[Sony Cross-Device General] andreimindru96:
It is truly amazing! I tested it for a few hours now, I couldn't believe how cool the phone was after everything I put it through! My z1c had a tendency to get hot really fast, but it seems now that its actually colder than my hand most of the times! Also the performance has enhanced, noticeably! Thanks alot for this nice tweak!
[Sony Cross-Device General] filjusz:
I can confirm that to, this mod let our device fly with cold wings! Now i can play GTA:San Andreas or GTA:Liberty city stories without overheating issue, good job OP!
[Sony Cross-Device General] connta:
would anyone be so kind to post z2 6503 default files, i seem to have messed up my backup files and this mod did not work out for me, battery seems to drain super fast, no idea why
[Sony Cross-Device General] RyTekk:
The zip automatically does backup original file, follow in #1 to back to original settings.
[Sony Cross-Device General] connta:
as i said, i mishandled my backup and it got lost, so yeah... if you could post the defaults that would be awesome
[Sony Cross-Device General] RyTekk:
I've no longer used Z2 and don't have ftf already in storage so I can't help you, have to wait for other to post it.
[Sony Cross-Device General] nreuge:
Hi !

Please, how can I determine the best battery life oriented VM settings for my Z5 (Snapdragon 810) ?

Thanks in advance :)
[Sony Cross-Device General] :
Hi, I would like to attempt a port onto the Snapdragon 400. May I know what's the reasoning for the VM values, and whether it is possible to edit the mpdecision parameter values directly via init.d on stock firmware.
[Sony Cross-Device General] Ohhdayumm:
I tried this and my phone seems to be the same as before. Still quite hot after just browsing Internet / xda and YouTube
[Sony Cross-Device General] connta:
i am not sure how even this supposed to "cool our phones" when it removed thermal protection (Core control thermal disabled), before my phone didnt go over 60C, now it goes to 75C in bursts while working about the same, benchmarks actually show a slight decline in performance and the battery drains faster...
[Sony Cross-Device General] Pandemic:
All works fine here on Z3 on MWE V9.5.0 !

I combined it with my tweak RXS SuperB tweak ^^

Edit:

I use this for private and you reported my rom because you think i use it in my rom -__-

Thanks a ton... ><'
[Sony Cross-Device General] RyTekk:
Z5 uses another chipset and system (armv8/64bit) so I have no idea about this, just leave them as default.

VM values will increase size and timer can be storaged of cache, also decrease (less aggressive) swappiness and reclaim memory (for better CPU idle since Z2 (main aim device) has enough memory and no need to swap alot). You can find the definition of them on the internet.

https://gist.github.com/dakull/5629740

https://www.kernel.org/doc/Documentation/sysctl/vm.txt

swappiness this control is used to define how aggressively the kernel swaps out anonymous memory relative to pagecache and other caches. Increasing the value increases the amount of swapping. The default value is 60.

vfs_cache_pressure this variable controls the tendency of the kernel to reclaim the memory which is used for caching of VFS caches, versus pagecache and swap. Increasing this value increases the rate at which VFS caches are reclaimed.

==============================================================

dirty_background_ratio

Contains, as a percentage of total available memory that contains free pages
and reclaimable pages, the number of pages at which the background kernel
flusher threads will start writing out dirty data.

The total available memory is not equal to total system memory.

==============================================================

dirty_expire_centisecs

This tunable is used to define when dirty data is old enough to be eligible
for writeout by the kernel flusher threads. It is expressed in 100'ths
of a second. Data which has been dirty in-memory for longer than this
interval will be written out next time a flusher thread wakes up.

==============================================================

dirty_ratio

Contains, as a percentage of total available memory that contains free pages
and reclaimable pages, the number of pages at which a process which is
generating disk writes will itself start writing out dirty data.

The total available memory is not equal to total system memory.

==============================================================

dirty_writeback_centisecs

The kernel flusher threads will periodically wake up and write `old' data
out to disk. This tunable expresses the interval between those wakeups, in
100'ths of a second.

Setting this to zero disables periodic writeback altogether.

==============================================================

You can revert to the original follow #1 if you get problems, it's strange when someone like you got worse result.
[Sony Cross-Device General] connta:
yeah, i extracted the files i needed and reverted but still would you care to elaborate as how does this tweak actually works, especially the part about thermal throttling disabling... its a pretty big feature that could potentially damage hardware if not working properly, some explanation on the logic behind this would be great.

and my results are not especially weird, thermal throttling was disabled i see a spike in max temp which is what i expect to see when i remove thermal management, isnt it? can you also elaborate in which situations is your tweak actually appropriate, burst performance (multitasking for example), longer heavy use performance (gaming), just general usage no heavy usage, etc?
[Sony Cross-Device General] RyTekk:
I prefer performance so I disabled core throttle, my device doesn't get over 70 degree (the hottest point I got whenever I do wipe dalvik and phone would rebuild it) both before and after apply this mod, also others thermal setting will do something to cooler phone such as throttle cpu/gpu clock, decrease brightness screen or turn off the phone, so I don't care about damage what I would get. Btw, my friend used his Z1 with custom kernel that overclock to 3GHz, unlock current charged (charge device with two anker 2A that connect with Y cable = 4A total), his device always stay at over 70 degree and it still works fine until now.
[Sony Cross-Device General] connta:
thank you for the swift explanation but if you disable core throttling that does not disable cpu/gpu throttle? it seems very counter intuitive doesnt it?

you know, i have been in IT for 20 years and i have never had a hdd fail, is it safe to say that hdd's do not fail in general? :)
[Sony Cross-Device General] RyTekk:
Generally, thermal has two main settings (if I remember right), VDD thermal and Core control. VDD does downclock/decrease values when devices get hot, include CPU, GPU clock, brightness screen (it's disabled for default on Sony), while Core control does throttle cores (plug out), I simple want my device to be always maximum performance and I'm ready to take the risk.

P/s: yeah I'm not sure about the generally fail in IT, it always have a percent and we never know are we in the rest ;)
[Sony Cross-Device General] GigaSPX:
Hi I am wondering, is this mod applicable to tablets such as the Z3 Tablet Compact on 5.1.1?
[Sony Cross-Device General] wulfiss:
Yeah, it works fine! The majority of the mods for z3 mobile works on z3 tablet. :D
[Sony Cross-Device General] GigaSPX:
You wouldn't also happen to know if this mod (http://xdaforums.com/crossdevice-dev/sony/xperia-powersaving-mod-xperia-t3323799) can work hand in hand with this as well, do you?
[Sony Cross-Device General] wulfiss:
No, I don't know 'cause I don't tested both together, only by separate.

Sorry for my English.
[Sony Cross-Device General] RyTekk:
No, it doesn't, because I see what it does are same as what mine does (change governor, disable some features)
[Sony Cross-Device General] qwertyujhgfdsa:
How can i use your tweak interactive governor without "Core control thermal disabled"
[Sony Cross-Device General] RyTekk:
Just remove init.qcom.post_boot.sh in the zip.
[Sony Cross-Device General] dstrikersZ1:
Is it for locked bootloader ?
[Sony Cross-Device General] lokitooxd:
Im locked bootloader a work fine
[Sony Cross-Device General] dstrikersZ1:
What device did you use ?
[Sony Cross-Device General] lokitooxd:
Z2
[Sony Cross-Device General] dstrikersZ1:
I want to ask again, is it cause damaged of hardware ?
[Sony Cross-Device General] lokitooxd:
No, its for better performance
[Sony Cross-Device General] dstrikersZ1:
Is it same as CPU overclocking ?
[Sony Cross-Device General] RyTekk:
No, it's a way to adjust behaviours of CPU, such as when does the clock raise or down, how long that clock stay at, blah blah blah
[Sony Cross-Device General] :
Quick question for you. I have a G3, and I know my optimal frequencies (nominal and efficient), how would I incorporate those into this tweak, since your above_hispeed and target loads are numbers like 1500000, not exact frequencies (at least from what I've seen).
[Sony Cross-Device General] :
Check your kernel settings for the frequencies. Most apps count in KHz rather than MHz, so if my frequency is 300 MHz then I'll write it out as 300000 KHz (add three 0's behind).

Some frequencies are slightly different, that's why you need to check your app and see the exact count. For example, my app shows 787 MHz as 787200 KHz so you need to input exactly as provided.
[Sony Cross-Device General] dstrikersZ1:
I want to ask again, in init.qcom.boot..what did you change for value ?
[Sony Cross-Device General] dnnz:
My Z3 tablet is MSM8974AC Snapdragon 801 but i'm on kitkat, the op say you need to be on lollipop but in the comments they are saying that is not needed, can i use this??
[Sony Cross-Device General] RyTekk:
Those values were rounded, such as 1500000 means ~1.5GHz. And you need to do more to bring this tweak to your G3 because afaik set_governor.sh is on supported in Sony firmware (run via FOTA kernel).

I just remove 1 line that does enable Core control (it means core control will be deactived/disable)

Actually it does if you remove init.qcom.post_boot.sh in the zip because the differences in KK's and LP's kernel lead to wrong value that would be set => bootstuck/bootloop, init.qcom.post_boot.sh just does disable core control as I said above.
[Sony Cross-Device General] Encinic:
Nexus 5 (SD800) owner here, I'd like to give your mod a try since I've been trying to tweak the interactive governor's parameters for a while to find the perfect balance between performance and battery life... Is there a chance that someone could share the single parameters of the tweaked governor and the VM values? A simple screenshot would do, and of course I'll post my feedback afterwards :)
[Sony Cross-Device General] :
His governor tweaks: http://prntscr.com/ahzmva

By any chance, were you referring to these tweaks? http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557
[Sony Cross-Device General] Encinic:
Thanks a lot, I'll try them and report later!

No, actually, I just played around testing multiple combinations that made sense to me, and found one very interesting (great performance - smooth UI - 3:30/4:00 of screen-on time, that for the Nexus 5 is a big deal) - unfortunately it requires a kernel that allows boost control (like CM13's kernel) to run smoothly, and since I'm trying a different ROM right now I was looking for alternatives before ending up installing ElementalX kernel :P
[Sony Cross-Device General] kingsasha:
i'm on Xperia Z2 w/ androplus kernel v72 ...will this work?
[Sony Cross-Device General] :
Ah I see, good luck with that. I used that guide I posted for my phone, 5-6 hours with 60% battery used and this is on a stock rom. I heard the guys with Nexus 5, 5X, 6P all got 6 and above as well, maybe you could put your 2 cents in there.
[Sony Cross-Device General] Encinic:
Thanks, I'll definitely take a look into that! :good:
[Sony Cross-Device General] dnnz:
Ok
[Sony Cross-Device General] RyTekk:
I think it won't due to bootloader has been unlocked, so FOTA kernel was wiped and set_governor.sh wouldn't be run.
[Sony Cross-Device General] dnnz:
With the bootloader unlocked doesn't works?
[Sony Cross-Device General] RyTekk:
I'm not sure, you can try it yourself, I just guess so.
[Sony Cross-Device General] tracer123:
works, but baterry life is poor.

xperia z1, OK kernel, stock 5.1.1
[Sony Cross-Device General] levone1:
Will this definitely not work on MM, or is it worth a shot? (I noticed op says LP)
[Sony Cross-Device General] RyTekk:
Just compare init.qcom.post_boot.sh in etc between LP and MM, if they're different then remove it in the mod and flash.
[Sony Cross-Device General] levone1:
Don't seem to have that file... Anyway, I went ahead and flashed it, and no apparent problems. Have any suggestions for tweaks/tunings? I don't know much about kernels, but want to find out. Thanks
[Sony Cross-Device General] RyTekk:
I don't use Z2 anymore so I have no idea about this.
[Sony Cross-Device General] dstrikersZ1:
I'm asking again, is it cause problem of charging ? I'm on locked bootloader
[Sony Cross-Device General] RyTekk:
Absolutely not.
[Sony Cross-Device General] Alvian_P:
It will work on 6.0.1?
[Sony Cross-Device General] RyTekk:
You can find the answer in the previous page.
[Sony Cross-Device General] marceldossantos91:
Dumb question probably, but you say in OP it disables core control, does it also disable VDD / is there still an overheat protection? Ive seen my device rocket to 85 before, i wouldnt want to risk the device, but i know 1 does core throttling while the other switches cores off if im correct, does it still maintain at least 1 of them? Thanks
[Sony Cross-Device General] RyTekk:
VDD what thing will does throttle frequency when devices get heat and it was disabled by default.
[Sony Cross-Device General] marceldossantos91:
I understand, but what im asking is, in OP its mentioned core control is disabled, my Q is what if device overheats? Reason i ask is, my phone hits high temps at times. I don't mind VDD off. But isnt core control off quiet dangerous?
[Sony Cross-Device General] RyTekk:
You can get the answer in previous pages, I've used this for 2 months and I don't got any overheat, maybe the issue comes from your usage and yes, device might be damaged due to high temperature but, there's a thermal which does reduce brightness and power off device when particular sensors get a certain value of temperature.
[Sony Cross-Device General] marceldossantos91:
Thanks alot, is there any way to enable it still? The reason it gets so hot is cause i stay in RSA, so we have very hot temps (sometimes up to 48 degrees celcius) and believe it or not it does make the phone suffer cause when im in a room with A/C it doesnt go more than 70, thats why im scared to disable it, and Z3s tend to suffer heat issues with 60fps and 4k video recording aswell
[Sony Cross-Device General] RyTekk:
Do you flash the mod? If doesn't, extract the zip, delete /system/etc/init.qcom.post_boot.sh, compress and flash. If you do flash, go to /system/etc on your phone, delete init.com.post_boot.sh and rename one with _bak.
[Sony Cross-Device General] dsjiffry:
Confirmed working on Z2 Official Marshmallow. Phone doesn't heat up as fast as it used .

Did an antutu benchmark after flashing this mod and attached the results for those of you who are interested.

Still not sure about battery life................... will check and post results.
[Sony Cross-Device General] marceldossantos91:
Confirmed working on Z3 MM 570, performance boost is great! Feels so responsive now, thanks :D
[Sony Cross-Device General] RyTekk:
Update to MM support and separate to two version.

You guys had better flash again new update for the best compatible.
[Sony Cross-Device General] dsjiffry:
Flashed new update.

Thanks for the MM build so far so good.
[Sony Cross-Device General] Super Prince:
Flashed MM pref version. Everything is good, will report back on performance later.
[Sony Cross-Device General] kanej2006:
Anyone tried this on Z2 with Marshmallow and unlocked bootloader?
[Sony Cross-Device General] RyTekk:
It just works on interactive governor, if you use another governor, this tweak won't affect.
[Sony Cross-Device General] marceldossantos91:
After testing out the MM version yesterday all i can say is wow.. I stressed the device to no end and cpu doesnt go higher than 69 degrees, i recorded 14min 4k video with no camera shutdown (can you believe that!) on my Z3, did 9min 60fps video no shutdown, and my benchmarks are just a bit higher than normal, such a tweak went such a long way, OP u did an amazing job apparently not even sony could do. Battery drain is normal aswell from what i see, no gain or loss really. Great job, really. I feel like i have a totally different device[emoji1]
[Sony Cross-Device General] banking.amateur:
[MENTION=4798704]RyTekk[/MENTION] Does your mod work with ROM existenZ Marshmallow by [MENTION=599722]niaboc79[/MENTION] running on Z3?
[Sony Cross-Device General] BlackArtsInc:
What about Z5 Compact? Is it compatible with this phone?

Not sent by me!
[Sony Cross-Device General] RyTekk:
As long as it's Stock-based so, yes.

No bro, it's for S800/801 only.
[Sony Cross-Device General] Alvian_P:
amazing battery run time with stock MM. thanks
[Sony Cross-Device General] batrian:
Hi, which version of MM do you use? with core control and non?

Thank You
[Sony Cross-Device General] RyTekk:
New update with each cores governor profiles, thanks [MENTION=4170892]dontbelive[/MENTION] and [MENTION=6126659]PDesire[/MENTION].
[Sony Cross-Device General] lavenbut:
What about LP version ?
[Sony Cross-Device General] RyTekk:
I'm too lazy to do it :laugh:, but if you get above 10 thanks in your this post or 10 other people who have the same request like you, I will.

Update: you can flash MM versions for LP, it should work, I did compare those stock files from LP and MM, there's just a small change, very small. Flash it and then give feedback for other people :D
[Sony Cross-Device General] mischa_martin:
[MENTION=4798704]RyTekk[/MENTION] could you give an explaination on the different versions?

I don't exactly know which to choose. :confused:

Thanks in advance

mischa_martin
[Sony Cross-Device General] RyTekk:
You can found it in Changelog at #1, I wrote description so detail.
[Sony Cross-Device General] lavenbut:
I will try, lol only chm 644 is different i see
[Sony Cross-Device General] RyTekk:
No, set_governor.sh is not important, the main point is init.qcom.post_boot.sh, it can causes bootloop/bootstuck.
[Sony Cross-Device General] lavenbut:
Flashed balance_perf , dont bootloop on sony Z1. I checked with kernel adiutor. Maybe only change is core control, VDD, temperature,....
[Sony Cross-Device General] broky:
+1:D
[Sony Cross-Device General] aidy.lucas:
Well from that statement/answer pretty obvious you didn't look through the first post of the op it's there it was there before the MM version.

D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
[Sony Cross-Device General] dstrikersZ1:
I have a question, Can set_governor.sh causes bootloop ?