Post Reply

GUIDE - Set cpu frequecies on MP-decision

OP ojoa1

26th November 2014, 12:10 PM   |  #1  
OP Junior Member
Thanks Meter: 1
13 posts
Join Date:Joined: Jan 2014
I made a script to set frequencies on mp-decision frequency server.


# available frequencies
# 300000 
# 384000 
# 600000 
# 787200 
# 998400 
# 1094400 
# 1190400

# mp-decision frequency setting
sleep 10
#min freq
chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

#max freq
chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1190400 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Copy this script to a file called 98mp-decisionfreq

To set frequency on boot, copy the file 98mp-decisionfreq to /system/etc/init.d/ and set permission to rwxr-xr-x. I use es-explorer to do this.

You can run this any time in terminal to change settings.
This script wil set cpufreq and change file permissions to read only (444) so it wil no be automatically overwritten, 644 is to set write acces to the file so that you can run the script again.
to remove frequency settings, delete the file 98mp-decisionfreq from init.d folder and reboot.

I have tested this on omnirom and it works for me. you can make it flashable zip wit zipme.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes