RetroFed Forum
Your home away from modern life.
Is there a way to overclock a Galaxy Tab A9+ with Termux?
Post Reply
AuthorMessage
printf("%s", name); piefed.blahaj.zone akunohana@piefed.blahaj.zone
Joined: 2026-03-30
(edited) Quote

EDIT3: this is NOT an overclock! Manually setting a scaling governor does not forcibly increase the intended frequency range of the CPU clock! Setting the scaling governor has more to do with performance management. In my case, setting it to “performance”, it simply forces the cpu to always run at the maximum frequency as designed by the manufacturer. Further reading here and here. Thank you @nocteb@feddit.org for the reminder!

EDIT2: the tablet is rooted with Magisk ( https://topjohnwu.github.io/Magisk/install.html ) and Termux is running with superuser privileges granted through Magisk. The below command was issued after su - ing into a root shell. "performance" was echo ed into all available /sys/devices/system/cpu/cpufreq/.../scaling_governors, meaning, there are several subdirectories called policy[0...] in which the scaling_governor files reside.

EDIT: echo ing “performance” to /sys/devices/system/cpu/cpufreq/policy0/scaling_governor seems to have maxed out the cpu clockspeed! Now the tablet is snappy as hell! It’ll be interesting to see how battery drain and heat are affected by this. Thank you @tal@lemmy.today !

Say, by sending some value to something inside /sys/.../cpu or the likes. I have already aggressively debloated the tablet, but I like to experiment and I am not afraid to destroy the tablet since I bought it for 150 bucks at sale. Or pehaps there is some Magisk module that can do this?

8   Original
tal lemmy.today tal@lemmy.today
Joined: 2023-10-04
#2 · Quote Reply

I have no idea if the Termux environment has the ability to fiddle with the hardware at that level, but from a generic Linux standpoint:

https://docs.kernel.org/admin-guide/pm/cpufreq.html

See the "Policy Interface in sysfs" section.

3
printf("%s", name); piefed.blahaj.zone akunohana@piefed.blahaj.zone
Joined: 2026-03-30
#3 · Quote Reply

I have no idea if the Termux environment has the ability to fiddle with the hardware at that level, but from a generic Linux standpoint: https://docs.kernel.org/admin-guide/pm/cpufreq.html See the "Policy Interface in sysfs" section.

Thanks! This worked! echo ing "performance" to the scaling_governor maxed out the cpu clockspeed! Now the tablet is snappy as hell! It'll be interesting to see how battery drain and heat are affected.

2
tal lemmy.today tal@lemmy.today
Joined: 2023-10-04
#4 · (edited) Quote Reply

Thanks! This worked! echo ing "performance" to the scaling_governor maxed out the cpu clockspeed! Now the tablet is snappy as hell! It'll be interesting to see how battery drain and heat are affected.

Glad to hear it. Just out of curiosity, and for anyone who might run across this in the future trying to accomplish something similar, is your copy of Termux running rooted? I wouldn't have thought that it'd be possible without root privilege. You did mention Magisk above.

2
printf("%s", name); piefed.blahaj.zone akunohana@piefed.blahaj.zone
Joined: 2026-03-30
#5 · Quote Reply

Glad to hear it. Just out of curiosity, and for anyone who might run across this in the future trying to accomplish something similar, is your copy of Termux running rooted? I wouldn't have thought that it'd be possible without root privilege. You did mention Magisk above.

Thanks for pointing that out! I will add it to the post, that my tablet is indeed rooted and that termux is running with superuser privileges, granted through Magisk.

2
Post Reply
Back to top