Advertisement
Guest User

Cyanogenmod 12.1 HP Touchpad Overclock script

a guest
Sep 25th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. #!/system/bin/sh
  2.  
  3. # As the root user, place this file in /data/local/userinit.sh, and set the
  4. # executable bit on it.
  5. # This will be executed by Cyanogenmod's init.d system.
  6. # /system/etc/init.d/90userinit will cause this to happen.
  7.  
  8. # Set the maximum CPU frequency to the maximum available.
  9. # The default is 1512000 kHz. The maximum available is usually 1782000 kHz.
  10.  
  11. for cpu in /sys/devices/system/cpu/cpu?; do
  12.   cat "${cpu}/cpufreq/cpuinfo_max_freq" > \
  13.     "${cpu}/cpufreq/scaling_max_freq"
  14. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement