[Magisk] FeraVolt:
AI description

AI?​

FDE has an AI implementation, which works on any device just as FDE itself. AI is under heavy development yet. Its purpose is to check current usage scenario and adapt some system parameters real-time to give the best experience for every usage scenario. All boosts/turbos are automatically turned OFF when screen is OFF. All AI actions are logged. The best part all of this is that

it will NOT consume battery

.

What's there:​

GPU turbo:

AI will detect if you GPU is capable of running FDE GPU Turbo implementation & will inform you about it in the log. GPU Turbo will measure GPU load, and if it keeps high (under the heavy load) AI will push GPU frequencies to the max for ~30 secs until the next load check occurs. Once GPU load decreased, stock frequencies will be restored. This will not make your games run faster, but more stable, because governor will not jump from one frequency to another under heavy load, so it may provide a much more stable FPS. This is not package-name dependent - it directly monitors GPU load for whatever reason (game, benchmark, etc..), making this thing universal. FDE's GPU Turbo will not conflict with Huawei's GPU Turbo implementation. It's thermal dependent - threshold values are dynamic and it will not boost things if device is overheating.

Active only when screen is ON. Works on most Adreno and Mali GPUs.

Frame-buffer boost:

AI will detect if you SoC is capable of running FDE Framebuffer boost implementation & will inform you about it in the log. AI automatically increases framebuffer frequencies, when screen is ON and GPU load is greater than 30%. This will result in more stable framerate while rendering the screen.

Active only when screen is ON. Supported on some Qualcomm SoCs.

CPU turbo:

AI will detect if you CPU is capable of running FDE CPU Turbo implementation & will inform you about it in the log. CPU Turbo will measure CPU load, and if it keeps high (under the heavy load) AI will make CPU governor more responsive and will make it keep CPU frequency above the 'high speed freq.' (~half of the max available frequency) for ~30 seconds until the next load check occurs. This is not package-name dependent - it directly monitors CPU load for whatever reason (game, benchmark, etc..), making this universal. This is thermal dependent - threshold values are dynamic and it will not boost things if device is overheating.

Active only when screen is ON. Compatible with interactive, ondemand, schedutil and other governors based on these.

Machine learning:

Currently machine learning (ML) is in use if your device does support GPU Turbo. ML will learn how you use your device and adapt some system parameters real-time. If you're gaming a lot - AI will gain more performance for you. If you're only chatting & watching videos - AI will gain power-saving. If you're doing both playing & chatting - AI will decide what to do - that's what machine learning is there for. In FDE APK behavior of the choice done by ML can be configured to always prefer power-saving or performance optimization.

Dynamic VM tuner:

Checks RAM usage every ~30 seconds and tunes some VM parameters basing on this check. This will result in better RAM cache management.

Active only when screen is ON. Works only on devices with 4+ GBs of RAM.

Force Doze:

This option can be activated in FDE APK (by default it's OFF). Forces deep sleep Doze mode that ignores some wakelocks. May decrease idle power consumption a lot.

Active only when screen is OFF.

Throttling switch:

This option can be activated in FDE APK (by default it's OFF). Option toggles CPU & GPU throttling. When disabling throttling - be aware that your phone may get very hot, but your performance will not decrease under prolonged heavy loads.

Thermal controller:

AI checks device temperature and reports in the log if the device is overheating. Right now it only reports this in the log.

AI logic diagram:

​

Check FDE APK settings info post for more info.