View Single Post
  #72 (permalink)  
Old 05-05-2011, 04:43 AM
Gunthermic's Avatar
Gunthermic
Lurker
Offline
 
Join Date: Apr 2011
Posts: 15
Reputation: 0
Gunthermic is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 3 May 11

Quote:
Originally Posted by nemesys504 View Post
Hey Ziggy. I am really liking the new toggle frequencies on and off feature. I made a script to disable the frequencies I dont use but one issue I'm having and it's not a big one is I can't disable the min and max that is set on startup (ex. 122 MHz min and 1.037 GHz max). Every other frequency is disable except those 2. This is the script I made to disable certain frequencies.

#!/system/bin/sh
echo 24576 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 61440 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 122880 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 184320 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 1036800 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 1113600 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 1190400 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 1267200 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 1344000 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 1420800 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 1497600 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 1574400 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 1651200 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
echo 1728000 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs

Since I'm ranging between 192 MHz to 960 MHz, is there anyway to tweak it to disable those 2 on boot?

And one more issue I am having is the proximity sensor. It does not seem to be working correctly for me. Not sure if its because you lowered the voltage or its because I am extremely undervolted by almost 100 mV from your voltage table or even 100+ mV on certain frequencies. This is the script I am running for vdd levels just to show you how low I am undervolted.

#!/system/bin/sh
echo "122880 750" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "184320 750" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "192000 750" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "245760 750" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "368640 800" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "768000 850" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "806400 900" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "883200 925" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "960000 925" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1036800 975" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1113600 1000" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1190400 1025" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1267200 1050" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1344000 1100" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1420800 1225" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1497600 1250" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1574400 1350" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1651200 1350" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo "1728000 1350" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
Since I am new at this, how do you create the script and where do you place it? Plz?
Reply With Quote