Thermal modes in FloppyKernel v4.2 (Exynos 1280)
Flopster101As of Floppy v4.2, new thermal "modes" have been introduced. Floppy v4.2 had set the default thermal mode to 3, but this was reverted back to mode 1 in v4.3 due to overheating issues.
Usage
You can set each mode by starting a root terminal and echoing values 0-3 to the node like this:
echo 1 > /sys/devices/platform/10080000.BIG/thermal_mode
If you get "Permission denied", make sure you ran su before the command.
All available modes
Here's a quick rundown of how throttling works: It starts with the first frequency on the list. If that doesn't lower the temperature enough, it moves on to the next one, until it gets to the third and last frequency, where it won't drop any further.
The throttling ONLY affects the Big cluster!
Mode 3
echo 3 > /sys/devices/platform/10080000.BIG/thermal_mode
It uses the following order of frequencies for throttling:
2400 MHz -> 2288 MHz -> 2208 MHz

Mode 2 (experimental)
echo 2 > /sys/devices/platform/10080000.BIG/thermal_mode
This mode has no frequency list.
With this mode, the throttle frequency will be two steps lower than the max frequency by default. For example, in the "Unlocked" Floppy variant, the throttle frequency would be 2288 MHz.
Although it has not been tested well, you can set your own custom frequency like this (in KHz):
echo 2400000 > /sys/devices/platform/10080000.BIG/emergency_frequency
Mode 1 (stock-like)
echo 1 > /sys/devices/platform/10080000.BIG/thermal_mode
This mode is the same as the stock kernel's throttling mode. The list of frequencies is as follows:
2288 MHz -> 2132 MHz -> 2002 MHz
This is the default mode since v4.3.

Mode 0 (disabled throttling)
echo 0 > /sys/devices/platform/10080000.BIG/thermal_mode
This disables throttling completely. The Big cluster will operate at max frequency until it reaches 120°C, where it will shutdown the SoC for its own safety.
Be very careful with this mode, you can reach some spectacularly high temps!
