Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/system/bin/sh
- # As the root user, place this file in /data/local/userinit.sh, and set the
- # executable bit on it.
- # This will be executed by Cyanogenmod's init.d system.
- # /system/etc/init.d/90userinit will cause this to happen.
- # Set the maximum CPU frequency to the maximum available.
- # The default is 1512000 kHz. The maximum available is usually 1782000 kHz.
- for cpu in /sys/devices/system/cpu/cpu?; do
- cat "${cpu}/cpufreq/cpuinfo_max_freq" > \
- "${cpu}/cpufreq/scaling_max_freq"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement