1

There are apps that can accomplish this task (e.g. "Kernel Adiutor" and others), however they in turn require other apps that can grant them root access to begin with, which is a lot of modification for this simple task.

In any regular Linux desktop system, setting the governor at every boot would be accomplished by creating a script, for example in rc.local or a systemd-oneshot, that simply calls echo "<governor>" > /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor after each system start.

What would be the Android equivalent of this solution?

Is there any way to automatically set the CPU governor without installing any apps?

3
  • 1
    Rooting is mandatory to do this; apps like you mentioned make it easier though there may be command line solutions// Aside, Android only has a Linux kernel and not other features you find in Linux. see this
    – beeshyams
    Aug 2, 2021 at 13:24
  • As beeshyams said, unlike normal Linux distros, Android strictly restricts root access to the apps, and ultimately to the human user. See details here: android.stackexchange.com/a/213344/218526. So rooting your device is essentially required. Using third party app to set CPU governor is optional. You'll be able to do echo exactly the same way as you've been doing. Aug 2, 2021 at 14:21
  • Does this answer your question? How to run an executable on boot and keep it running?
    – alecxs
    Aug 2, 2021 at 17:58

0

You must log in to answer this question.

Browse other questions tagged .