Friday, March 5, 2010

Overclocking the Palm Pre

The Following is a tutorial on how to overclock your Palm Pre.
NOTE:Overclocking your palm pre is not recommended so you are doing this at your own risk
and dont go crying to sprint if your phone breaks :). Well now thats out of the way lets get too it. check it out

To overclock to the CPU's max speed do the following:

echo "600000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq (600 mhz)

to change it back do the following:

echo "500000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq


Making the changes stick after you reboot your phone

Create a file called cpu-scaling in /etc/event.d and put this code in it, then reboot.


# Enables cpu scaling

start on stopped finish
stop on runlevel [!2]

console none

script
echo "500000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "250000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "30" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
end script




Return to A Fixed Frequency

run the following command:

echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ; echo 500000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed


For Giggles :p Checking Performance and Stats of the palm pre
the following will allow you to check how long your Pre has been running and at what frequency:

cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state


You will get something like this:

600000 906
550000 768
500000 380
250000 0
125000 180505


Well i hope you enjoy your new pre speed :P

No comments:

Post a Comment

Cracking Kerberos Service Tickets (TGS) Using Kerberoasting

As of late I've been spending a lot of time researching and learning different techniques when it comes to attacking Active Directory En...