This app gives you a convenient way to change the value ofThe default values is -1 for custom roms. We can change it to certain predefined values set by Xiaomi which gives use different performance profiles. For example, for PUBG there is a PUBG mode with a value of 13. In MIUI there is a mechanism which detects certain phone states such as opening Camera or PUBG or Antutu, and automatically changes the value. But no such mechanism is yet released for custom roms. So, this app aims to provide this conveniently.Code:
Note: You can do the same by manually editing the above mentioned file using your favorite file explorer.
- Uninstall the previous app if installed.
- Install the app
- Give Root Permission
- Change the mode from the dropdown
Uninstall/Restore to default:
- Set the mode to DEFAULT
- Uninstall the app
Added "set on reboot" mode.
Downloads: check attachments
Edit 1: Added Antutu benchmark screenshots for each mode. Check the screenshot file name for the mode used.
Edit 2: Update: Added force set option for MIUI users(no such problem in custom roms yet) and when the system resets the mode after reboot.
Edit 3: If not installing: https://forum.xda-developers.com/showpost.php?p=78607474&postcount=31
Edit 4: If service doesnt restart after boot: https://forum.xda-developers.com/showpost.php?p=78604724&postcount=26
Source Code for the app: https://github.com/dragneelfps/ThermalConfigChanger/
P.S- First time posting on XDA. Please correct me if I did something wrong, and I will correct it.
I tried doing as you suggested. The changes don't stick on reopening the file after setting a different value & saving changes in it. Maybe its because of the the thermal modes set by the ROM. Am using crdroid with Twisted Kernel.I don't know if you guys are having the same problem as me...I can not write or change values in /sys at all...I mean the values will change when I change them and then when i reopen that file again the value has gone back to the original value...so in theory this app does not work for me...
Could someone please test and see that they can chance this value manually with a file explorer and close the file then reopen and see if the changed value sticks???
I'm using NOS with Sphinx kernel...
I hope someone can check this for me and report back here...