this post was submitted on 30 May 2026
13 points (100.0% liked)

Linux

65528 readers
235 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

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+.

top 9 comments
sorted by: hot top controversial new old
[–] nocteb@feddit.org 2 points 3 hours ago (1 children)

You simply disabled the power management.

[–] akunohana@piefed.blahaj.zone 1 points 3 hours ago

Which resulted in what I was aiming for. There are other available scaling governors that yield different frequencies.

[–] MonkderVierte@lemmy.zip 2 points 4 hours ago* (last edited 3 hours ago) (1 children)

Thanks, i'll try this on my anemic E-reader (Kobo Boox Leaf). It's a bit painful to run, barely fast enough to not timeout Kotatsu (Manga).

But needs to be done each reboot.

[–] akunohana@piefed.blahaj.zone 1 points 1 hour ago

I had no idea e-readers can do manga 😱😍 maybe I should get one, after all 😁

probably needs to be done after reboot and probably drains battery more than otherwise, but I have not done any testing as of yet. I sat at a café and played around with it for two hours, during which I couldn't really notice any difference in power draw since the battery capacity is huge. Keep checking the OP, since I might update after some testing.

[–] MentalEdge@sopuli.xyz 7 points 7 hours ago* (last edited 6 hours ago) (1 children)

Not on stock ROM. IIRC back when I was messing with that kind of thing, you needed a custom kernel.

[–] akunohana@piefed.blahaj.zone 2 points 6 hours ago

Thanks! I'll go on and check if there is anything precompiled out there.

[–] vapor_body@lemmy.ml 3 points 5 hours ago (1 children)

I'm surprised that worked since Termux has so many permissions and process # limits and stuff on stock Android. Is it permanent? Semi-permanent if you avoid losing ADB/Shizuku with restart?

[–] akunohana@piefed.blahaj.zone 2 points 5 hours ago* (last edited 5 hours ago) (1 children)

EDIT: I'm running stock Android rooted with Magisk. OneUI 7, Android 15, Kernel 5.4.249

I haven't tried rebooting yet, but I'm pretty sure it resets on reboot. Also, my only evidence that it worked is what cpuinfo_cur_freq reports, and because of how Android seems to works with its virtual filesystems and Termux only being a virtual terminal, I'm actually unsure of how to measure the true frequencies in any other way. Here are two screenshots anyway. 1804800 is the maximum available frequency.

rqPgKEVUyayEOGT.jpg

S2h1NYphTzehkNq.jpg

[–] vapor_body@lemmy.ml 2 points 5 hours ago

Well keep everyone posted! I've got some old stock Android devices I'd love to fuck around with more but having to intervene with all of them is a tremendous boner killer