[MOD] [MAGISK] Force Evaluation Thermal Profile & Disable Dynamic Thermal Profiles - Xiaomi Poco F1 Themes, Apps, and Mods

[MOD] [MAGISK] Force Evaluation Thermal Profile & Disable Dynamic Thermal Profiles
Description:
This module disables dynamic thermal profiles and forces it to evaluation mode. Evaluation mode is the least aggressive thermal profile. Works on MIUI and custom ROMS.
Requirements:
- Magisk Installed
Installation:
- Flash in Magisk or TWRP
To uninstall:
- Uninstall from the modules section in Magisk Manager
Download

What does dynamic theremal do? I dont know whats that ?

Mcha01 said:
What does dynamic theremal do? I dont know whats that
Click to expand...
Click to collapse
MIUI has a system where it changes thermal profile and underclocks CPU based on the app being used. This module disables that and sets it to the evaluation profile which is the profile MIUI uses for benchmarks. Evaluation profile has the least throttling and does not underclock CPU. Using this module will relax throttling and increase performance.

How about the effect on battery life? Is there any major impact of battery backup?

nice mod, i did the same in the past LOL, but manually, ty for do it a magisk module

Is it like crysallis thermal and unthermal?

Not specifically on topic but related regardless, the same approach can also be done to remove these profiles entirely is that correct? There's a module called UnThermal and it basically remove all thermal profiles, letting at least the little cluster to run at max clocks and around 75C

Von192 said:
Is it like crysallis thermal and unthermal?
Click to expand...
Click to collapse
Crysallis and unthermal removes throttling completely, this mod forces it to a built in config by xiaomi which has relaxed throttling.

so you've copy paste Evaluation profile to rest of the profiles to force throttling that's smart

$hivaM Manav said:
so you've copy paste Evaluation profile to rest of the profiles to force throttling that's smart
Click to expand...
Click to collapse
granted this is a simple module, but you don't have to be an @SS about it
Plus, he's switching the profile by the controller file, not necessarily changing the profiles themselves. You would have known this simply by just looking at the file itself

When i enable this mod, bluetooth audio stay mute. Dont know why

Twisted Prime said:
Description:
This module disables dynamic thermal profiles and forces it to evaluation mode. Evaluation mode is the least aggressive thermal profile. Works on MIUI and custom ROMS.
Requirements:
- Magisk Installed
Installation:
- Flash in Magisk or TWRP
To uninstall:
- Uninstall from the modules section in Magisk Manager
Download
Click to expand...
Click to collapse
Ops

This or chrysalis?

My battery temp got to 34c then the charging speed is throttled down significantly, at 38c only 1600mah. I'm living in south east Asia so the temp is hot. Can this mod remove the charging throttle?

D1stRU3T0R said:
This or chrysalis?
Click to expand...
Click to collapse
This is better

JohnBillyHill said:
My battery temp got to 34c then the charging speed is throttled down significantly, at 38c only 1600mah. I'm living in south east Asia so the temp is hot. Can this mod remove the charging throttle?
Click to expand...
Click to collapse
No, this mod doesn't remove charging throttle

Is this safe in the long run? I've noticed my idle temps have risen by quite a bit (around 4 to 5°C).

Perhaps there's a bug with this module? Using this, my idle temps are around 39-42°C compared to using the Thermal Config Changer app to force Evaluation, which results to idle temps of 35-37°C.

Any updates?

lucascm08 said:
When i enable this mod, bluetooth audio stay mute. Dont know why
Click to expand...
Click to collapse
Using viper4android?
Yeah, this and unthermal pretty much kills bluetooth audio.
I'd love to use this myself, but can't.

Related

[APP][Android 4.0+][DVFS Disabler][1.3.0] Disable Samsung Touchwiz DVFS

This Application will let you disable the Touchwiz DVFS (Dynamic Voltage and Frequency Scaling), and prevent any CPU/GPU table adjusting through the Samsung DVFS helper.
Why? because it seems to cause much troubles than it fixes, check @mattiadj thread for more details.
How to install:
1- Install Xposed Installer (http://dl.xposed.info/latest.apk)
2- Install Xposed Framework through Xposed Installer App
3- Download DVFS Disabler (Link bellow)
4- Enable it on the Xposed Installer modules
5- Reboot your device
Download.
Tested on my GalaxyS4 (I9505) and GalaxyS5 (G900F) running Android Touchwiz Kitkat 4.4.2.
Change-logs:
1.3.0:
- Add a blacklist option when you enable DVFS, this will let you disable DVFS on some of your selected games, heavy apps...
Required permissions:
- Internet for Ads to support my work, you can remove them through the "Remove Ads" menu
Big thanks to @mattiadj for his help with tests and debugging.
Thanks to @rovo89 and @Tungstwenty for their awesome work on Xposed framework.
This looks great thx! I sometimes wondered why weird things would happen during gaming, where a restart was the only fix to fix lag/jutter
Hi wanam is this the same setting you have in your xposed module
@wanam: you also have an option to enable/disable DVFS in Wanam Xposed module. Is this the same thing so I don't need the extra DVFS module? And if yes, do I have to tick or untick that option to disable?
acerdroid said:
Hi wanam is this the same setting you have in your xposed module
Click to expand...
Click to collapse
JohandeJong said:
@wanam: you also have an option to enable/disable DVFS in Wanam Xposed module. Is this the same thing so I don't need the extra DVFS module? And if yes, do I have to tick or untick that option to disable?
Click to expand...
Click to collapse
Nop, it's an updated implementation to support both JB and Kitkat.
Sent from my GT-I9505 using Tapatalk
Can we get some before/after screenshots to see how much it affected the benchmarks? I had quadrant in mind..
microzee said:
Can we get some before/after screenshots to see how much it affected the benchmarks? I had quadrant in mind..
Click to expand...
Click to collapse
This is NOT aimed to boost your benchmarks, it should show you your cpu real perfs, Samsung used DVFS to cheat on its GS4 benchmarks, but they used it also to set some cpufreq limitations.
Sent from my GT-I9505 using Tapatalk
Thanks for the clarification
Which Samsung devices using DVFS? (s4 and note3?)
Great app... Solid work!! :good:
Am I not understanding, I thought all smartphone soc whether Samsung or not have stock kernel that use dvfs to scale cpu (and gpu) frequency up to meet heavy loads and similarly dropped frequency back down when under lower load or after prolonged high load due to thermal throttling.
How does Samsung differ from this ? (I am aware of so called cheating when certain benchmark detected)
wanam said:
This is NOT aimed to boost your benchmarks, it should show you your cpu real perfs, Samsung used DVFS to cheat on its GS4 benchmarks, but they used it also to set some cpufreq limitations.
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
I knew that, but the reason I was asking is I wanted to know what the real benchmark scores were and not the boosted fake ones. So is there anyway you could do before/after to see how the s4 really scores?
paul_59 said:
Am I not understanding, I thought all smartphone soc whether Samsung or not have stock kernel that use dvfs to scale cpu (and gpu) frequency up to meet heavy loads and similarly dropped frequency back down when under lower load or after prolonged high load due to thermal throttling.
How does Samsung differ from this ? (I am aware of so called cheating when certain benchmark detected)
Click to expand...
Click to collapse
Yes and i'm not touching the kernel dvfs implementation, Samsung monitor and adjust its settings through its TW framework, that's why i tried to deal only with this framework.
Hello wanam
Thanks a lot for your Xposed module!
One question: I'm pretty sure this module will affect the battery. Can you tell me whether disabling the DVFS causes a heavy battery drain?
I don't play a lot of games on my Galaxy S4 i9505, anyway I wonder if it makes sense disabling it for me due to that fact.
Is this any different from using Wanam Xposed -> Advanced -> Unchecking "Enable DVFS"? Because I already use Wanam Xposed.
Thanks for your work, by the way.
2 questions:
Does this module affect battery life?
Does this module affect the power saving feature found in touchwiz roms.
Thanks
Great app...Work Perfect in all Games.
Thanks Wanam For Support.
Product F(RED) said:
Is this any different from using Wanam Xposed -> Advanced -> Unchecking "Enable DVFS"? Because I already use Wanam Xposed.
Thanks for your work, by the way.
Click to expand...
Click to collapse
answered on the previous page
wanam said:
... it's an updated implementation to support both JB and Kitkat.
Click to expand...
Click to collapse
This will work on 4.1.2, right ?
Even my Galaxy Grand has TwDVFS apk.
Sent from my GT-I9082 using Tapatalk
yeeahnick said:
2 questions:
Does this module affect battery life?
Does this module affect the power saving feature found in touchwiz roms.
Thanks
Click to expand...
Click to collapse
Maybe on the heavy use, but I'm getting a very good battery life on normal use.
akiratoriyama said:
This will work on 4.1.2, right ?
Even my Galaxy Grand has TwDVFS apk.
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
Yes.
Sent from my GT-I9505 using Tapatalk

[KERNEL][03-March-2015][SHIELD-TABLET-WWLTE/USLTE/WI-FI][OC-CPU+GPU/UV/FIOPS/XZ/ETC]

WELCOME
I AM NOT RESPONSIBLE IF ANY DAMAGE OCCURS TO YOUR DEVICE USING THIS KERNEL
Supported Device Versions:
World Wide LTE
US LTE
WI-FI
Features:
V1.1
(Requirements - Busybox, Su)
Removed interactive default
increase read ahead to 3MB
Allow HD video playback with miricast
Enabled multicast ip support
Implemented KEXEC
Implemented CIFS (module)
Implemented ASYNC FSYNC
init.d support (Unfinished/not-working) Can use universal init.d from playstore
Basic CPU control script under /etc/init.d
Basic GPU control script under /etc/init.d
V1.0
CPU Overclock 2.5Ghz
GPU Overclock 900mhz
CPU Undervolt
GPU Undervolt
FIOPS default
XZ Compression/Decompression
WIFI Speed Increase
Supports USB Storage Devices
Hardware Accelerated AES
SHA512
Parallel Encrypt/Decrypt
PS3 Controller Support
Thermal Governors (Default Step-Wise)
DevFreq Governors
Installation:
1. Download kernel zip file
2. Reboot into recovery
3. Install zip file
Bugs????
1. From terminal/command line adb pull /proc/last_kmsg
2. Upload to pastebin/gdrive/devhost
3. Link the uploaded file in this thread along with the description about the issue.
To do List
VOLTAGE SYSFS
V1.1
Download Links:
Devhost: http://d-h.st/3Wrf
Source Code:https://github.com/Shaky156/Shield-Tablet-CPU2.5Ghz-GPU060Mhz-Overclock​
Is the overclock forced or can you use tools to lower to stock?
jeebuspwnz said:
Is the overclock forced or can you use tools to lower to stock?
Click to expand...
Click to collapse
The overclock is there, you can use an application to adjust max frequency
I really really want to flash this, but I'm kind of worried about what overclocking will do to this chip, as my shield tablet gets quite warm just on stock playing intensive games.
On my 16gb WiFi model running stock, rooted, my shield freezes 30 seconds after boot when running this.
jeebuspwnz said:
On my 16gb WiFi model running stock, rooted, my shield freezes 30 seconds after boot when running this.
Click to expand...
Click to collapse
Same here... I tried to underclock, still freeze and black screen.
FoxyDrew said:
I really really want to flash this, but I'm kind of worried about what overclocking will do to this chip, as my shield tablet gets quite warm just on stock playing intensive games.
Click to expand...
Click to collapse
The device is overclocked and undervolted so the only way to damage the device is if you hit it off a wall lol!
jeebuspwnz said:
On my 16gb WiFi model running stock, rooted, my shield freezes 30 seconds after boot when running this.
Click to expand...
Click to collapse
lowsum said:
Same here... I tried to underclock, still freeze and black screen.
Click to expand...
Click to collapse
Thank you not all devices will support undervolt at that level i shall adjust it.
Just to make sure can someone pull me a log? adb pull /proc/last_kmsg
OP Updated with newer build, this should stop freezing and reboots, but its best to provide a log
Double tap 2 wake
Do you think it could be possible to add Dt2W feature?
Seems to work
Question though... how do you disable shield power control? It seems to force the CPU min/max same
lupick said:
Do you think it could be possible to add Dt2W feature?
Click to expand...
Click to collapse
I can take a look into this a little later, it wont be good on the battery...
xxsashixx said:
Seems to work
Question though... how do you disable shield power control? It seems to force the CPU min/max same
Click to expand...
Click to collapse
Other governors are available but userspace is set at the default if anyone wants to control it within their shield power control settings
Ill let you all decide if you want to allow shield power control to modify cpu freq or if you dont want that
Shaky156 said:
I can take a look into this a little later, it wont be good on the battery...
Other governors are available but userspace is set at the default if anyone wants to control it within their shield power control settings
Ill let you all decide if you want to allow shield power control to modify cpu freq or if you dont want that
Click to expand...
Click to collapse
What I think I meant was that shield power control is very stubborn.
I set it to optimized mode but then I used setcpu to control the min max but then it won't apply as shield power control controls the freq
xxsashixx said:
What I think I meant was that shield power control is very stubborn.
I set it to optimized mode but then I used setcpu to control the min max but then it won't apply as shield power control controls the freq
Click to expand...
Click to collapse
Hi, OP updated with kernel with ondemand governor, userspace disabled.
Edit: I see, will need to look into that, that'll be implemented in a future update
Would it be possible to add CIFS support?
V1 = much better. My tablet is stable.
wawyed said:
Would it be possible to add CIFS support?
Click to expand...
Click to collapse
The original release had cifs enabled, but it causes issues, unfortunately the device does not boot with cifs
Is there any change with 2.2.1 OTA? Or can i flash it without losing any change?
Shaky156 said:
The original release had cifs enabled, but it causes issues, unfortunately the device does not boot with cifs
Click to expand...
Click to collapse
We've got another kernel that works with CIFS, maybe it's the implementation of it that you are using that's causing the issue?
wawyed said:
We've got another kernel that works with CIFS, maybe it's the implementation of it that you are using that's causing the issue?
Click to expand...
Click to collapse
Cifs implemented
Great Work!
Flawlessly running at 2.5Ghz
Hey, how do I control the GPU clock? GPU control doesn't show on kernel tuner :/

Battery Life Guide

Hey I made a guide on reddit, and I should have just posted it here. The goal is to have a good battery life and for everything to be buttery smooth. I've updated it with my recommendations!
Depending on your usage and how well you took care of your battery, you should get anywhere from 5-8 hours of SOT.
1) Flash custom twrp recovery if needed.
2) Flash Rom.
3) Flash SU. (OPTIONAL)
3) Flash Kernel.
4) Flash ARISE or sound mod. (OPTIONAL) If you don't want the sound mod you can skip steps 6-9 if you'd like.
5) Restart phone. Go through setup phase.
6) Install file manager (I recommend Solid Explorer)
7) Install busybox (I recommend the one by meefik)
8) Open busybox app and update/install busybox.
9) Open your file explorer and go to root. Then go to vendor/etc. Rename audio_effects.conf to audio_effects.conf.bk and restart.
10) Install Snapchat. Yell at your phone.
11) Go to SuperSu app and completely unroot.
12) Restart.
13) Log into Snapchat.
14) Restart into recovery.
15) Flash SU.
16) Flash Kernel (just incase, probably not neccesssary).
17) Download Leandroid, Ex Kernel Manager, & Substratum.
18) Apply kernel tweaks, Choose settings for leandroid app & apply substratum theme if you want.
Rom
Stock Debloated
https://forum.xda-developers.com/nexus-6p/development/rom-debloated-prerooted-deoxeded-t3372600
Custom Kernel
http://nchancellor.net/Kernels/angler/7.1.1/Personal/ would be the best for battery life + performance or you can use franco/ex kernel but I didn't like either of those as much as Nathan's.
Custom Recovery
https://dl.twrp.me/angler/
Latest SuperSU
SuperSU
Substratum Theme
Substratum swift dark
Idle Battery Saver
Leandroid
Battery Saving Wallpaper:
https://photos.google.com/share/AF1...?key=azVNa2xuR2NvNzNiWHc3dlJNbV90TGVEZlNtSUVn
Sound Mod (Optional.. uses more battery): ARISE
Kernel Tweaks:
I would just use whatever nathan has as defaults for his kernel. If using a different kernel, I recommend using hawktail 1.2 gov profile.
Here are the additional tweaks I personally use.
CPU: Hotplugging: Enable msm_hotplug.
GRAPHICS: MAX GPU Freq: 180. If you play games that max out the gpu, you might not want to mess with the gpu freq.
MEMORY: zRAM disabled; UKSM DISABLED.
MISC: I/O SCHED MAPLE; READAHEAD 2048; VIBRATION 25%. Wakelocks I have enabled are: Sensor_ind, Bluedroid, msm_hsic. Cubic for TCP algorithm.
EX KERNEL SETTINGS DISABLE CHECK FOR UPDATES.
Leandroid Settings:
Disable: Wifi, Bluetooth, Network Location, GPS Location; Switch Cell data to 2g*
* Turning cell data off or to 2g makes ok google hotword when your screen is off kinda slow.
APPS THAT USE LESS BATTERY THAN WHAT YOU'RE USING:
Battery Saving Browser: Tugabrowser Turn on battery saver in settings. Uses 1/2 - 1/3 battery than what chrome uses.
Makes screen use less battery at low battery: Monochrome
Turns off % of pixels, saves battery: Pixel Filter
Facebook lite: Less annoying facebook
Facebook messenger lite: Less annoying facebook messenger
GLTOOLS: Used to make snapchat less laggy
Apply these changes to the settings of Snapchat in GLTools;
Enable custom settings for this app -> On
Force 16 bit rendering -> On
Optimize GLSL shaders -> On
Enable texture decompression -> Disable
Enable texture recompression -> Disable
Downscale textures -> Limit to 256x256 (If pictures or text become pixelated, change this to Disable)
Restart Snapchat
System Tweaks:
ENABLE DEV OPTIONS BY TAPPING ON BUILD NUMBER A BUNCH OF TIMES. UNCHECK Automatic system updates in developer options.
You can try this too, but personally I don't use it: https://forum.xda-developers.com/an...od-ultimate-performence-blazing-fast-t3482317 Flash the kernel again after you flash this.
Other than that enable amoled black themes in apps that you use.
Here are a few nice apps to have:
https://play.google.com/store/apps/details?id=com.phoenixstudios.aiogestures&hl=en - can enable full immersion mode, works pretty well.
https://play.google.com/store/apps/details?id=com.noxx.apm&rdid=com.noxx.apm - makes it so you can reboot to recovery easy pz.
ZSL Camera Faster camera.
Accubattery - Measure your battery stats and health.
Quicktile Mod
whats your best setting on pixel filter setting it on 50%?... ty by the way
pato2015 said:
whats your best setting on pixel filter setting it on 50%?... ty by the way
Click to expand...
Click to collapse
I usually leave pixel filter off during the day, and just use it at 50% at night to make the screen a bit more dim. If I know I'm not going to be able to charge my phone for awhile, I'll use it during the day as well.
To use Nathan's defaults, do I just wipe settings in EX Kernel Manager and reboot? My hotplugging setting does not have msm_hotplug, only lazyplug. Is that the same? Thanks for sharing your tips.
Flash kernel have been updated and now have lazyplug in place of msm_hotplug. I am not sure if its not working or something but with lazyplug enabled, I still see all the cores running all the time vs msm_hotplug, I would see half the cores inactive when I am not using the phone heavily.
Would lazyplug be better than msm_hotplug?
vwrado said:
Flash kernel have been updated and now have lazyplug in place of msm_hotplug. I am not sure if its not working or something but with lazyplug enabled, I still see all the cores running all the time vs msm_hotplug, I would see half the cores inactive when I am not using the phone heavily.
Would lazyplug be better than msm_hotplug?
Click to expand...
Click to collapse
Why i understand it should be better to use lazyplug. If I understand the guys in Flash's thread.
Sent from my Nexus 6P using Tapatalk
vwrado said:
Flash kernel have been updated and now have lazyplug in place of msm_hotplug. I am not sure if its not working or something but with lazyplug enabled, I still see all the cores running all the time vs msm_hotplug, I would see half the cores inactive when I am not using the phone heavily.
Would lazyplug be better than msm_hotplug?
Click to expand...
Click to collapse
What I understand different between those 2 hotplug was...
1. MSM_Hotplug - Some core are offline and become online when above certain value
2. Lazyplug - All core are online and it will only offline when below certain value
@Secretcow hey mate ! about this >>GRAPHICS: MAX GPU Freq: 180. If you play games that max out the gpu, you might not want to mess with the gpu freq. < about this i never game, so if i set it to 180 , do i have to tick the reboot circle yes?
because it is greyed out along with the other gpu settings.
and one more thing, is it safe to have these >> MEMORY: zRAM disabled; UKSM DISABLED. disabled ? which one is the one that affects data from the storage? i wouldnt want to mess with that x.x

Anyway to get battery tweaks without resorting to custom kernels?

I would love to get the battery life profiles from the custom kernels but I don't want to install them and would like to relay to the stock kernel of my rom which is RR. For reasons that I want to avoid bugs and would want to stay updated all the time.
I found spectrum which exactly what will solve my problem but the problem is that it doesn't support the stock kernel of RR.
Stock kernel of RR support "Kernel Adiutor". Kernel Adiutor give you various useful settings.
In my opinion the first is change voltage of your CPU (for each speed).
i Undervolt all Little cores:
(Warning each cpu need different settings, this setting can not work for you)
400 and 691 mhz with 695mv
806mhz 745mv
1017mhz 825mv
1190mhz 880mv
1305mhz 915mv
1382mhz 935mv
1401mhz 940mv
1440mhz 950mv
Big cores DISABLED. (i dont have lags with this settings... i play Clash Royale and use social apps, if you need it enable)
In GPU (i dont play games except Clash Royale)
133mhz min
432mhz max
Down differential 75
Iddle wait 7
Workload 10
For test speed/voltage you need to set same min and max speed and disable de Big Cores. (Or set max speed "X"mhz and use performance governor)
low voltage
use Antutu for test or other similar app.
if work low voltage again
test
if work repeat if not raise the voltage 5 or 10 mv and test again.
DONT USE "APPLY ON BOOT" when you try different voltages.
when you have your profile save this and here in profile menu you can set it at startup (you need to be sure of your phone stability with this settings).
Equally i recommend Agni kernel 13... i use before RR oreo and now AEX oreo and im happy with this kernel, zero problems, all fine.
in this forum other users try with VULMAX but i prefer my settings in manual and not with profile (i dont know the changes in each profile). https://forum.xda-developers.com/redmi-note-3/themes/xgh-t3701825
You can enable ForceDoze with patch https://forum.xda-developers.com/redmi-note-3/themes/universalforcedoze-deepsleep-googledns-t3770350
With ForceDoze you may have problems with sync of message apps or with clock update (you can fix it in your battery settings> optimized apps)
How often does AGNI gets updated?
drckml said:
How often does AGNI gets updated?
Click to expand...
Click to collapse
i dont know but is really good for me.
Equally if you like stock kernels may use RR stock kernel + Kernel Adiutor without problems.
link of agni kernel: https://forum.xda-developers.com/re...nel-24-09-2016-agni-puremiui-mm-v1-4-t3468042
last update 2018-06-28
I tried Vulmax and the battery config and it made my phone really fast, literally as in the animations of closing and opening of apps became way too fast. I think Kernel Auditor would be better for me.
drckml said:
I tried Vulmax and the battery config and it made my phone really fast, literally as in the animations of closing and opening of apps became way too fast. I think Kernel Auditor would be better for me.
Click to expand...
Click to collapse
you can change animation speed from the developer options in the settings.. disabling animation saves a bit battery thats y it is disabled

Themes / Apps / Mods [ROOT] Thermal engine mod ver 1.1

If you are annoyed by your device switching refresh rate to 60FPS or that you are unable to record a video for more than 2 minutes say no more! According to my findings
Sony maxed out all the frequencies without any throttling during camera usage and applied kill switch at 55C.
As for any other use case scenarios, there is an aggressive throttling and forcing screen back to 60FPS, with an exception of using Xperia Stream or Endurance modes. As you may have guessed that these limitation are not to protect the device, but avoid any law suits from people who burned their hands.
Behold!
I present you thermal config mod that will make your device usable and keep your hands warm.
Of course at your own risk, I do not take any responsibility for broken devices, burned hands, radiation sickness or any other catastrophic events.
Description:
During your normal usage (not gaming or camera) the throttling will remain the same, BUT your screen won't switch back to 60FPS.
If you add your game/app to the game enhancer and select "performance profile" it will throttle way less aggressively. Max temperature is changed from 56C to 61C, screen refresh rate will only drop if the display itself will reach 45C.
In "balanced" profile the temperature limit is set to 58C, frequencies are limited to 1574Mhz (Little)+1651Mhz (Big)+2054Mhz(Prime)+545Mhz(GPU).
"Battery mode preferred" is set to 57C with the following limits: 1267Mhz+1325Mhz+1728Mhz+492Mhz.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Camera related profiles are set to 63C.
Video recording profile is set to endurance mode (66C temp limit) with a little bit of throttling to cool device down
During recording device will show warning, but won't disable camera functionality. However if the camera module itself will reach the limit temperature (untouched by me), the recording will stop. Additionally modem might be temporary switched off to cool device down.
Is this safe?
As safe as using endurance mode.
I took thermal profile for Xperia Stream dock thermal limits from endurance mode, so it is relatively safe for the device, but may not be as safe for you, if you have sensitive skin.
I strongly recommend using stick/stand when recording high quality videos for a longer periods of time.
Instructions:
You need root and magisk.
Install this module
GitHub - HuskyDG/magic_overlayfs: Make system partition become read-write (it is also possible without Magisk)
Make system partition become read-write (it is also possible without Magisk) - GitHub - HuskyDG/magic_overlayfs: Make system partition become read-write (it is also possible without Magisk)
github.com
After rebooting go to oem/etc with any root file manager, enable R/W and replace the thermal-engine.conf and change.cfg for newer versions.
Make sure to set the same permissions and backup original files.
In the end you may want to go to /data/adb/modules/magisk_overlayfs and modify mode.sh to lock partition again (mode 2), this is done to avoid some apps detecting traces of modified system with Momo app.
Additionally I recommend undervolting GPU.
Thanks to @ragu24 for pointing at the right direction.
To do so:
Install konabess and select your GPU (should be in the middle).
Backup old image.
Then go to import/export.
Export your config (backup).
Import config txt that I shared.
Save GPU freq table.
And then repack and flash image.
After rebooting check the frequency table if the UV applied correctly.
Have fun!
Changelog
0.1 initial release:
Kill switch disabled
Applied Xperia Stream profile to Game Performance and camera
0.2 version:
Slightly raised screen temperature limit (it was lower in gaming mode)
Modified general camera profile (non stock app?)
0.3 version:
Disabled screen fps drop for other game profiles (unless screen itself is hot)
Returned kill switch (previous version will not stop unless other sensors show high temp)
Raised temperature till 64C for camera and game performance profile
0.4 version:
Less aggressive throttling for best performance (Game performance and camera profiles)
Raised temp to 66C for video recording and game performance profiles (endurance mode)
For other camera related profiles I limited temp to 63C
Switched modem to endurance mode on a game performance profile, however during long video recording modem may be temporary disabled to reduce device temperature
1.0 version:
Introducing modified "battery life preferred" and "balanced" profiles for Game Enhancer (Also thermal limit in custom settings should do the trick)
"Battery life preferred" temp limit: 57C, Max frequencies: 1267Mhz(Little)+1325Mhz (Big)+1728 (Prime)+492Mhz (GPU)
"Balanced" temp limit: 59.5C, Max frequencies: 1574Mhz+1651Mhz+2054Mhz+545Mhz
1.1 version:
Reworked game enhancer profiles to have dynamic frequency adjustment instead of aggressive throttling
Restricted limit for performance profile to 61C
Restricted limit for balanced profile to 58C
Disabled modem endurance mode for performance profile, since device doesn't heat that much anymore (back to stock change.cfg)
Made sure that underclocking kicks in instantly on balanced and battery safe profiles
Minor bug fixes
Also for xperia 1 iii with A13 ?
Pandemic said:
Also for xperia 1 iii with A13 ?
Click to expand...
Click to collapse
You have different frequencies and no Xperia Stream support, but we can use profile for endurance mode.
Share your config I will take a look.
V 0.2 Update
Slightly raised screen temperature limit (it was lower in gaming mode) and modified general camera profile (non stock app?)
0.3 Update
Disabled screen fps drop for other game profiles (unless screen itself is hot)
Returned kill switch (previous version will not stop unless other sensors show high temp)
Raised temperature till 64C for camera and game performance profile (same as endurance mode)
P.S.
Seems like Sony maxed out all the frequencies without any throttling and then just shut it it off after it reaches 55C during video recording. No wonder why it overheats lol
Thank you! just installed v0.3, you actually made me root my phone AGAIN just to enjoy this. wow.
i was wondering if i should keep stock and buy a stick for endurance mode or just root for free, and i chose the free and comfortable option.
ps. i also tried seeing what will happen if i flash different region firmware (54 on 72) - it seemed to work, and i could scan barcodes for e-sim cards, but unfortunately reception wasn't working with the different region firmware. now when i am rooted, i will see if it is possible to flash different MBN files to get VOWIFI working (LET+5G works)
Orof said:
Thank you! just installed v0.3, you actually made me root my phone AGAIN just to enjoy this. wow.
i was wondering if i should keep stock and buy a stick for endurance mode or just root for free, and i chose the free and comfortable option.
ps. i also tried seeing what will happen if i flash different region firmware (54 on 72) - it seemed to work, and i could scan barcodes for e-sim cards, but unfortunately reception wasn't working with the different region firmware. now when i am rooted, i will see if it is possible to flash different MBN files to get VOWIFI working (LET+5G works)
Click to expand...
Click to collapse
Haha, I rooted just to see if it will be possible to implement this mod and pure black background in apps.
Unfortunately you can't just buy any stick and enable endurance mode, device needs to be connected to some external device via usb/hdmi. It almost seems like a way to encourage people to buy compatible accessories.
As for different regions I don't think you can enable e-sim on the device that doesn't has the module. Also if you flash Japanese firmware you will have voice recording for calls, but nfc module will break, because they use different technology.
As for enabling VOWIFI it might be possible. You newer know if the difference is in hardware or just limited by software. For example I converted my XZ premium to dual sim by flashing firmware and replacing sim tray.
You can either experiment with newsflasher or manually.
With overlayFS you can "write" to system partitions(unless it's root folder like system or oem), I think I saw something related to connectivity in /product partition.
Just use unsin tool to unpack part of firmware in open it with 7zip.
In case a failure it's nice to have a bootploop protector module, or you can boot in safe mode to disable magisk and start over. However my mod will need reinstallation too.
Suggestion - a couple of changes to the throttle behavior.
this is how phone throttles after 20 mins of CPU test with a fan on the case. as you can see - no dips, very high performance.
however, this is how the phone behaves when there is no fan attached to the phone (and the phone is without a case):
this suggest that some throttling adjustment is in order, as playing games with this amount of throttle will surely be noticeable.
for reference, this is how the phone throttles on stock profile:
if we can make the temp more consistent and less frame drops - it will be great (not needing to use a fan as well)
EDIT - Throttling behavior from stock is from the original firmware. it should be possible to extract the thermal engine from the initial catches of the Xperia 1 IV and apply them to the current software (currently the phone throttles more than it did in the past, to around 170k points)
app is CPU Throttling Test
@Orof , thank you for your tests! Frame drops are unavoidable, that's the "kill-switch". Without it temperature will keep rising and rising, CPU needs to cool down somehow.
How many threads do you use in CPU Throttling test? I don't think default is enough, as with Burnout Benchmark I was able to trigger modem overheat warning when I disabled kill-switch.
I am working on the new version based on endurance mode with throttling at 57C and kill switch at 66C( max for endurance). It may restrict modem when the temperature will be high enough (Happened during 30 minutes recording [email protected]). Gonna do couple of tests and upload it.
New version is up!
There are two files inside archive now, same logic applies with replacing and setting permissions.
Annnd still hitting the kill switch for some reason (using the new files)
I wonder why. I wish the throttling was more aggressive so that the kill switch wouldn't be met, while still gaining more performance than stock (215,000 according to gsmarena)
*EDIT -changed the threads amount from the default value (20) to 60, still the same.
Orof said:
Annnd still hitting the kill switch for some reason
View attachment 5916741
I wonder why. I wish the throttling was more aggressive so that the kill switch wouldn't be met, while still gaining more performance than stock (215,000 according to gsmarena)
*EDIT -remembered yo change the threads amount.was testing the default value (20). How many did you test?
Click to expand...
Click to collapse
I used 20 threads.
Maybe you have higher ambient temp?
Also it seems that every device is different for some reason. Some people can film for 15 minutes 4k120fps, others see the thermal warning while just taking photos.
Did you try limiting frequencies with FKM?
Doom Slayer said:
I used 20 threads.
Maybe you have higher ambient temp?
Also it seems that every device is different for some reason. Some people can film for 15 minutes 4k120fps, others see the thermal warning while just taking photos.
Did you try limiting frequencies with FKM?
Click to expand...
Click to collapse
I reckon that the higher ambient temp is the issue here, though it doesn't mean that it throttling cannot be initiated sooner or harder to avoid the kill switch, for those who live in a higher temp locations
Will try limiting via FKM. Can already confirm that via the default perf setting (without the mod), score stabilize at around 170-180k with no sudden jumps, so it is something we should be able to do with a bit more tinkering.
Thanks for all the work! I really appreciate it.
Orof said:
I reckon that the higher ambient temp is the issue here, though it doesn't mean that it throttling cannot be initiated sooner or harder to avoid the kill switch, for those who live in a higher temp locations
Will try limiting via FKM. Can already confirm that via the default perf setting (without the mod), score stabilize at around 170-180k with no sudden jumps, so it is something we should be able to do with a bit more tinkering.
Thanks for all the work! I really appreciate it.
Click to expand...
Click to collapse
With aggressive throttling it will be very similar to kill switch. It will lower frequencies until device will slightly cool down and will do it again after it will heat. On stock it just happens very soon a major performance cuts that's why it's stable on the benchmark. Same can be achieved by locking frequencies with FKM for a specific app/game.
Doom Slayer said:
With aggressive throttling it will be very similar to kill switch. It will lower frequencies until device will slightly cool down and will do it again after it will heat. On stock it just happens very soon a major performance cuts that's why it's stable on the benchmark. Same can be achieved by locking frequencies with FKM for a specific app/game.
Click to expand...
Click to collapse
Thanks for the explanation, I understand now why it behaves this way on stock
I wonder if I can fine-tune the frequencies by editing the thermal-engine.conf (and maybe the change file as well) without needing to use FKM. already tried to make some changes to version 0.3 with no meaningful success. will have to dig deeper
Cheers!
Orof said:
Thanks for the explanation, I understand now why it behaves this way on stock
I wonder if I can fine-tune the frequencies by editing the thermal-engine.conf (and maybe the change file as well) without needing to use FKM. already tried to make some changes to version 0.3 with no meaningful success. will have to dig deeper
Cheers!
Click to expand...
Click to collapse
Try the uperf mod in combination with the modified thermal config file!
It's dynamically able to adjust the frequencies on the fly - just like FKM but dynamic! Combined with the higher thermal limits it should allow for a smoother experience
ragu24 said:
Try the uperf mod in combination with the modified thermal config file!
It's dynamically able to adjust the frequencies on the fly - just like FKM but dynamic! Combined with the higher thermal limits it should allow for a smoother experience
Click to expand...
Click to collapse
Thanks for the suggestion, but when trying to install it on the Xperia using Magisk, installation failed because "Taro is not supported". will try different versions of it ans report back
Orof said:
Thanks for the explanation, I understand now why it behaves this way on stock
I wonder if I can fine-tune the frequencies by editing the thermal-engine.conf (and maybe the change file as well) without needing to use FKM. already tried to make some changes to version 0.3 with no meaningful success. will have to dig deeper
Cheers!
Click to expand...
Click to collapse
You can try, just make sure to reuse the frequencies from the config like from game save profile.
Basically we have a choice either to have a higher performance with a little bit of drops or lower performance, but more stable.
On default profiles CPU just cust performance in half when it reaches 53C. Which happens like after 1 minute of CPU Throttling Test.
Anything below that reduction will not prevent CPU from building up the heat, but will slow it down. Without external cooling best you can do is to prolong that performance drop moment or castrate your CPU and "enjoy" stability.
Drops are necessary to keep device from going above maximum temperature (when I completely disabled thermal engine it easily went above 70C) because device sucks at getting rid of heat passively.
Main motivation to create this mod was to prolong video recording time, get rid of annoying screen refresh rate switch, as it causing flickering and squeeze a bit more fps out of emulators with prolonging the moment when the CPU gets castrated.
These synthetic tests do not reflect normal usage. If any game or app behaving like that it means poor optimization with an exception of emulators. It's up to users to configure each game to find a balance between stability and better graphics/more fps.
I'am planning to eventually edit balanced and battery safe profiles inside game enhancer, but don't expect miracles.
Meanwhile if anyone wanna contribute, you may lock frequencies with FKM and run the thermal throttling test on each, to find the one which is more stable, so I can use this data in modified balanced game profile.
Orof said:
Thanks for the suggestion, but when trying to install it on the Xperia using Magisk, installation failed because "Taro is not supported". will try different versions of it ans report back
Click to expand...
Click to collapse
I use this one - one of the latest
New version is up!
Basically it eliminates the need to have FKM, as balanced and battery life profiles in game enhancer will castrate frequencies as soon as possible , which will slow down heating (what the point of having maximum performance for a minute anyways? ) and result more stability.
Frame drops may appear sooner or later, depending on your ambient temperature, if you are using my undervolting profile, phone case (all my tests run in aramid carbon fiber case) and in general it seems that it's random for each device.
Battery safe profile
Balanced profile

Categories

Resources