Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Rick#2
Old
(Last edited by Rick#2; 13th January 2012 at 08:22 PM.)
#1  
Senior Member - OP
Thanks Meter 117
Posts: 172
Join Date: Mar 2009
Location: Victoria
Default [OVERCLOCK]XT860/XT862 Overclock

Had a few minutes today to play around and wrote a few quick programs in native code to overclock the OMAP4430 to run at 1.1GHz or 1.2GHz instead of the stock 1GHz. You need to force the CPU to run at it's highest clock rate at all times if you want to verify that it works but this is not required if you take my word for it. Long story short, it is possible to change the maximum clock speed by directly manipulating the registers responsible for the clocking of the OMAP4430 but doing so in this manner doesn't alter the frequency tables that the kernel looks to, so as a result the phone thinks it is still capping out at 1000MHz. I'm working on this, don't worry.

This requires root privileges. To set the max clockspeed to 1.1GHz, run "1100" from the adb shell or terminal. Make sure the permissions are set to 755, ie: "chmod 755 1100" in the terminal in the directory you have placed the executable. (I just placed them both in /data/local/)

To reset it back to 1GHz, run "1000", same permissions as before.

To try out 1.2GHz, use "1200". 1.3GHz, use "1300".

It doesn't survive a reboot, so it won't do much damage. That being said, I take no responsibility whatsoever for any damage done to your phone, this is extremely experimental. I also take no credit for this, yang.felix was the one who figured out how to do this first:

http://forum.xda-developers.com/show...7#post17669227

Now, the real fun part is making this persist a reboot, and notify the kernel about the changes so that overclocking/underclocking can be easily performed with SetCPU or other apps.

**** EDIT ****
I removed the 1400 and 1500 binaries because in layman's terms... I screwed up. I don't have much time to work on this tonight but I'll try and put something better up; in the meantime, I removed the binaries because they are useless. I'm suspicious that the 1300 binary is destined to fail as well but apparently some of you out there are able to execute it without an immediate reboot so maybe it is a voltage problem. I'll keep you all posted.

**** N00B INSTRUCTIONS ****

Here's how I do it. If you don't already have them, I suggest downloading the following from the Market: "SetCPU", "Root Explorer" and "Better Terminal Emulator". I bought them; the $5 or so was well spent as these three apps are probably ones that I use the most. If you don't want to pay, you can find SetCPU here on xda-developers if you search for it; Root Explorer you'll have to pony up the $1.99 or whatever it is, Better Terminal Emulator you can do without if you look for "Terminal Emulator" in the Market.

Connect your phone via USB to your PC, select from the drop-down in your status bar "USB Storage" or whatever it says, and browse to your phone on your PC. Unzip the attachment from the first post to the root of your sdcard, ie: don't unzip it into any folders after browsing to your phone on your PC, just put them in the root of the drive. You can put them in whatever folder you like but if you want to keep it simple, don't bother putting them in a random folder unless you know what you're doing.

First, open up SetCPU and slide the sliders for Maximum and Minimum all the way to 1000. You can leave everything else alone, after sliding the bars just exit the app. This step is important so don't skip it.

Open Root Explorer. Navigate to "/system/xbin". Press the button at the top that says "Mount RW". This will allow you to save the binaries in this folder as it is normally mounted as read-only.

Now, open Better Terminal Emulator (or whichever terminal program you like, or even use adb if you are so inclined... although if you know how to use adb the following probably goes without saying) and assuming you followed my instructions earlier and saved the files "1000", "1100" and "1200" to the root of your sdcard, type the following commands in, pushing Enter/Return after each one:

Code:
su

(Click on Allow)

cd /sdcard

cp 1000 /system/xbin/

cp 1100 /system/xbin/

cp 1200 /system/xbin/

cd /system/xbin

chmod 755 1000

chmod 755 1100

chmod 755 1200
Now you can run the binaries from anywhere in your terminal without the requirement of being in the folder you've saved them because /system/xbin is typically included in your $PATH variable. Simply put, your phone always looks in this folder for any executable file you try to run if it doesn't find it in the current working directory.

In order to run "1000", simply type:

Code:
1000
And push Enter. You can do this from anywhere on your phone. You should see a message that says your phone has been reset to 1GHz.

To run "1100", you guessed it:

Code:
1100
Rinse and repeat.
Attached Files
File Type: zip xt860_overclock.zip - [Click for QR Code] (5.2 KB, 2078 views)
The Following 14 Users Say Thank You to Rick#2 For This Useful Post: [ Click to Expand ]
 
Willis111
Old
(Last edited by Willis111; 11th November 2011 at 08:39 AM.)
#2  
Willis111's Avatar
Retired Forum Moderator
Thanks Meter 84
Posts: 680
Join Date: Sep 2008
Location: Ontario
Thank you. Works great, love it. I like the confirmation, noticing a solid performance increase and my phone doesn't seem to be heating up any more than normal after a few hours use.
Quote:
Originally Posted by ScrapMaker View Post
I work for AMD, and that's exactly how it's done... You manufacture a large batch of silicon, and based on testing, you separate the chips based on highest stable speed. We simply clock them lower and label them with another model number. This has been done since the beginning...
The Following User Says Thank You to Willis111 For This Useful Post: [ Click to Expand ]
 
Rotkaeqpchen
Old
#3  
Senior Member
Thanks Meter 39
Posts: 398
Join Date: Apr 2008
Thanks! Will this work with the XT862 too?
 
Rick#2
Old
#4  
Senior Member - OP
Thanks Meter 117
Posts: 172
Join Date: Mar 2009
Location: Victoria
I don't see why not; both the XT860 and XT862 have the same OMAP4430 chipset so the memory addresses tweaked in order to increase the maximum clock frequency ought to be identical.

Sent from my XT860 using xda premium
 
AcidRoot
Old
(Last edited by AcidRoot; 12th November 2011 at 12:22 AM.) Reason: typo
#5  
AcidRoot's Avatar
Member
Thanks Meter 1
Posts: 62
Join Date: Feb 2010
Never mind my problem was that I accidentally set the permissions to 775 not 755.
The Following User Says Thank You to AcidRoot For This Useful Post: [ Click to Expand ]
 
ChaoticWeaponry
Old
#6  
ChaoticWeaponry's Avatar
Senior Member
Thanks Meter 178
Posts: 515
Join Date: Oct 2011
Quote:
Originally Posted by AcidRoot View Post
Just tested on the XT862, it froze the device and required a reboot.
Just tested on my XT862. works fine, no reboot. make sure you have setcpu set to performance mode, and in the terminal (move to directory where the files are located) and run chmod 755 1100

---------- Post added at 03:35 PM ---------- Previous post was at 03:32 PM ----------

To the OP, what ROM are you running? I'm running Liberty, at 1100mhz, and I'm getting 35 MFLOPs single thread, 25 multi thread..
 
dco717
Old
#7  
dco717's Avatar
Senior Member
Thanks Meter 7
Posts: 395
Join Date: Nov 2010
Location: bakersfield
Keeps saying aborted

Sent from my DROID3 using XDA App
 
oostah
Old
#8  
oostah's Avatar
Senior Member
Thanks Meter 128
Posts: 2,127
Join Date: Oct 2010
Location: Cullowhee

 
DONATE TO ME
what do i put in adb to make this work. this is good news have been waiting to see this oc thanks.
2Samsung Stratosphere II
2 DROID 3 globule's retired
2 droid 2 globule's
htc hero retired

twitter @ooostah
 
Willis111
Old
#9  
Willis111's Avatar
Retired Forum Moderator
Thanks Meter 84
Posts: 680
Join Date: Sep 2008
Location: Ontario
Quote:
Originally Posted by oostah View Post
what do i put in adb to make this work. this is good news have been waiting to see this oc thanks.
Read the whole first post, 2nd or 3rd paragraph answers your question 100%
Quote:
Originally Posted by ScrapMaker View Post
I work for AMD, and that's exactly how it's done... You manufacture a large batch of silicon, and based on testing, you separate the chips based on highest stable speed. We simply clock them lower and label them with another model number. This has been done since the beginning...
 
eww245
Old
(Last edited by eww245; 12th November 2011 at 04:03 PM.)
#10  
Senior Member
Thanks Meter 78
Posts: 486
Join Date: Aug 2008
Location: Throop
Quote:
Originally Posted by ChaoticWeaponry View Post
Just tested on my XT862. works fine, no reboot. make sure you have setcpu set to performance mode, and in the terminal (move to directory where the files are located) and run chmod 755 1100

---------- Post added at 03:35 PM ---------- Previous post was at 03:32 PM ----------

To the OP, what ROM are you running? I'm running Liberty, at 1100mhz, and I'm getting 35 MFLOPs single thread, 25 multi thread..
That's about what mine gets without the overclock sometimes higher/lower. 36 multi and 43 single just now, was as low as 8 yesterday with an average of 30. On liberty also.

Edit: haven't tried it yet
Droid 3 - CM7 Safely Strapped
#OPMOSH
Acer a100 ICS 015 - rooted deodexed
Backup your data with adb

Retired Sorry Bill!
ThrottleLauncher Plugins
Weather.com
GoogleTranslator and Dictionary
CallLog@

[RHOD500]
XDAndroid FRX06/WM6.5 stock

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...