Detailed Technical Report: Overclocking via Magisk Modules
8. Building Your Own (Safe) Module
- The kernel exposes frequency scaling controls in
/sys/devices/system/cpu/... - A module runs a script (
.sh) at boot to write new max frequencies into:/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - This only works if the kernel already has higher frequencies compiled in (e.g., a 2.0 GHz chip limited to 1.8 GHz by stock ROM).
True hardware overclocking —increasing the actual clock speed beyond factory limits—is generally done via a custom kernel
US Dollar