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?
The tablet is a Samsung Galaxy A9+.
Kinda. Kinda not. If you rooted the tablet, you can just run
suin termux to get elevated out of termux entirely and into Android’s root shell. Then fucking about with values may get you an overclock, however it’s possible no options will exist at all, since it would depend on the kernel version and CPU.Thanks! I didn’t have my hopes up, but echoing “performance” to the scaling_governor seems to have maxed out the cpu frequency as reported by cpuinfo_cur_freq.
If you haven’t already, I’d see if you could put lineageos on it instead of Samsung’s crap.
Yeah, I know… What’s up with their poor optimization… I just checked though, and the A9+ is not supported… :(
But incidentally my main driver (Galaxy S23) is!!! Hahaha
if you can unlock its bootloader (might be possible if you haven’t upgraded to oneui8 yet) you can install a GSI
https://developer.android.com/topic/generic-system-image/
Holy crap, where has this been my whole life 😱
You don’t need to use GSI. Galaxy Tab A9+ have unofficial custom ROMs. Galaxy Tab A9+(2023) [SM-X210][LineageOS][A16 QPR0] Galaxy Tab A9+(2023) [SM-X210][Infinity-X][A16]
:) try searching for phh treble on xda forums, the google official aosp gsis tend to not work so well on different devices
I think not. /sys is not mounted and the termux user is a fake root with limited access.
Thanks! I have no idea how Android works really, so I’ll take this opportunity to learn how filesystems are mounted on this bad boi.
Although, following another commenter’s advice, I did manage to max out the cpu frequency reported by /sys/devices/system/cpu/policy0/cpuinfo_cur_freq but echo ing performance to scaling_governor.



