New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
AndSecTest
Old
(Last edited by AndSecTest; 31st July 2010 at 04:53 AM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Jan 2010
Default How to Overclock to1.2G

Here is the method to OC 1.2G

- move to arch/arm/plat-s5pc11x and change next three files
: max8998+consumer.c, s5pc110-dvfs.c, s5pc110-clock.c

- And, change some parameters like,
1000000 --> 1200000
250 --> 300
1250 --> 1300

<in file max8998+consumer.c>
/* frequency, Mathced VDD ARM voltage , Matched VDD INT*/
#if 1
{1200000, 1300, 1100, 0},

static const unsigned int dvs_arm_voltage_set[][2] = {
{DVSARM1, 1300},

<in file s5pc110-dvfs.c>
/* frequency */
static struct cpufreq_frequency_table s5pc110_freq_table_1GHZ[] = {
{L0, 1200*1000},

<in file s5pc110-clock.c>
/*APLL_FOUT, MPLL_FOUT, ARMCLK, HCLK_DSYS*/
static const u32 s5p_sysout_clk_tab_1GHZ[][4] = {
// APLL:1000,ARMCLK:1000,HCLK_MSYS:200,MPLL:667,HCLK_ DSYS:166,HCLK_PSYS:133,PCLK_MSYS:100,PCLK_DSYS:83, PCLK_PSYS:66
{1200* MHZ, 667 *MHZ, 1200 *MHZ, 166 *MHZ},

/*pms value table*/
/*APLL(m, p, s), MPLL(m, p, s)*/
static const u32 s5p_sys_clk_mps_tab_1GHZ[][6] = {
{300, 6, 1, 667, 12, 1},

Then compile to zImage and flash it with ODIN.
I will not upload my zImage file because it's for M110S.

If someone find best rates and ARM voltage for upper clock, leave it here. :)
 
INeedYourHelp
Old
#2  
Senior Member
Thanks Meter 6
Posts: 550
Join Date: Mar 2010
THANK YOU..... now just have to wait for someone smarter then me to actually do it and post the file, lol.
 
dseo80
Old
#3  
Member
Thanks Meter 6
Posts: 85
Join Date: May 2010
For best battery life and less stress to CPU someone should try to find lowest VDD which supports high frequency.
 
ivanmmj
Old
#4  
ivanmmj's Avatar
Retired Moderator
Thanks Meter 23
Posts: 5,144
Join Date: Jan 2007
Here is one I compiled. I didn't just change the 1ghz but added a the 1.2ghz as an extra speed.

This is COMPLETELY untested. I'm not really much of a coder.
This MAY brick your device. If you know how to unbrick a SGS that has been flashed with a bad kernel, then you can try it. This is VIBRANT only (as that's the code that I had on my laptop at the time.)
I am not responsible for any damages to your phone. Please, please, please, ONLY flash this if you know how to recover from a bad kernel.

ONLY CLICK HERE IF YOU READ AND AGREED WITH THE WARNING IN RED!!!
God bless you!!!


Try my
JustStableV2 WM6.1 21051
JustHome - Alpha WM6.5
Ivan's Cooking Class
JustStableV2Micro - 73+mb free storage!
SuperJustKitchen - WM6.5 and WM6.1 kitchen for the Herald
JustKitchen.info - My Kitchen blog/site.

If you like my work and wish to donate, click

You don't have to donate to use my ROMs or my EBO kitchen, but any help is appreciated.
 
emclondon
Old
#5  
emclondon's Avatar
Senior Member
Thanks Meter 0
Posts: 119
Join Date: Jul 2010
Location: Maidenhead
Why the hell would anyone want to overclock their phone?

If you just want to destroy the phone, dont do it. donate it instead.
 
DocRambone
Old
#6  
Recognized Developer
Thanks Meter 2408
Posts: 6,335
Join Date: Jan 2010
Location: Stockholm

 
DONATE TO ME
Wonderful
I really miss the custum oc and undervolt kernels from my Nexus.
Good work !
 
FadeFx
Old
#7  
FadeFx's Avatar
Senior Member
Thanks Meter 1401
Posts: 5,828
Join Date: Mar 2010
Location: Vienna

 
DONATE TO ME
Quote:
Originally Posted by emclondon View Post
Why the hell would anyone want to overclock their phone?

If you just want to destroy the phone, dont do it. donate it instead.
who tells you the phone would be destroyed from OC? sure it really needs to be tested through stress tests and the first people to try will be endangered to brick, but normally the cpu is failing and freezing when it gets too hot. on the i7500 we have overclocking from 528mhz to 710mhz and most of the devices run fine with that. however some devices can only be clocked to 614mhz without freezing which is due their cpus are not that good quality, but never we had any user reporting a grilled cpu. however we have to be carefully with voltages (what actually causes cpu grilling) to not raise them to much.
 
jodue
Old
#8  
jodue's Avatar
Senior Member
Thanks Meter 35
Posts: 447
Join Date: Dec 2009
Location: vienna
Quote:
Originally Posted by ivanmmj View Post
Here is one I compiled. I didn't just change the 1ghz but added a the 1.2ghz as an extra speed.

This is COMPLETELY untested. I'm not really much of a coder.
This MAY brick your device. If you know how to unbrick a SGS that has been flashed with a bad kernel, then you can try it. This is VIBRANT only (as that's the code that I had on my laptop at the time.)
I am not responsible for any damages to your phone. Please, please, please, ONLY flash this if you know how to recover from a bad kernel.

ONLY CLICK HERE IF YOU READ AND AGREED WITH THE WARNING IN RED!!!
your kernel is only 2.6mb in size while all the stock and other kernels are about 5mb. if i compile the kernel source myself i also get only about 2.6, any idea why? missing modules in the image maybe?

thank you!

edit: sorry for the off topic post...
 
dseo80
Old
#9  
Member
Thanks Meter 6
Posts: 85
Join Date: May 2010
Quote:
Originally Posted by jodue View Post
your kernel is only 2.6mb in size while all the stock and other kernels are about 5mb. if i compile the kernel source myself i also get only about 2.6, any idea why? missing modules in the image maybe?

thank you!

edit: sorry for the off topic post...
You need initramfs
 
gravityz3r0
Old
(Last edited by gravityz3r0; 31st July 2010 at 11:55 AM.)
#10  
Senior Member
Thanks Meter 3
Posts: 101
Join Date: Jun 2010
actuallly im more interested in saving battery life by underclocking and undervolting the phone. Is it possible also?

Or at least remain at 1Ghz but with voltage lowered.

If anyone found the best combination please share


XDA PORTAL POSTS

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more