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


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