Okay, after a week and half of being lazy after setting up my Fedora machine to test compiling a custom kernel for the Rush.
I just test compiled this one with just a couple entry's to the acpuclock-7x30.c file which may (or may not) allow for overclocking..
I'm am not a Developer and do not claim to be. I just finish building this kernel and wanted to others that have experiences and know how to check out what I added to the acpuclock-7x30.c
(Shabby and others)
I have no idea how these tables work.. Our Rush runs at 1024 mhz but the table (before I modified it even) goes up to 1400 MHZ but obviously in System Tuner and etc, you can't go over 1024 MHZ. I don't understand that since there is other freg' in there, though I guessed somewhere they just are not enabled for our phone or something. So hopefully Shabby and the other pro's can help me out here when they have time.
I'm not testing this untill I get info from people who know what they are doing here. As Shabby stated in the other thread on OC kernel he advised him what to do so. Those guys know and they are awesome and should be given the credit for a lot done on this forum..
I'm just compiling the kernel.. It's not hard.
I only added these two lines:
{ 1, 1516800, PLL_2, 3, 0, UINT_MAX, 1250, VDD_RAW(1250), &pll2_tbl[5]},
{ 1, 1612800, PLL_2, 3, 0, UINT_MAX, 1300, VDD_RAW(1350), &pll2_tbl[6]},
(whole table)
static struct clkctl_acpu_speed acpu_freq_tbl[] = {
{ 0, 24576, LPXO, 0, 0, 30720000, 900, VDD_RAW(900) },
{ 0, 61440, PLL_3, 5, 11, 61440000, 900, VDD_RAW(900) },
{ 1, 122880, PLL_3, 5, 5, 61440000, 900, VDD_RAW(900) },
{ 0, 184320, PLL_3, 5, 4, 61440000, 900, VDD_RAW(900) },
{ 0, MAX_AXI_KHZ, AXI, 1, 0, 61440000, 900, VDD_RAW(900) },
{ 1, 245760, PLL_3, 5, 2, 61440000, 900, VDD_RAW(900) },
{ 1, 368640, PLL_3, 5, 1, 122800000, 900, VDD_RAW(900) },
/* AXI has MSMC1 implications. See above. */
{ 1, 768000, PLL_1, 2, 0, 153600000, 1050, VDD_RAW(1050) },
/*
* AXI has MSMC1 implications. See above.
*/
{ 1, 806400, PLL_2, 3, 0, UINT_MAX, 1100, VDD_RAW(1100), &pll2_tbl[0]},
{ 1, 1024000, PLL_2, 3, 0, UINT_MAX, 1200, VDD_RAW(1200), &pll2_tbl[1]},
{ 1, 1200000, PLL_2, 3, 0, UINT_MAX, 1200, VDD_RAW(1200), &pll2_tbl[2]},
{ 1, 1401600, PLL_2, 3, 0, UINT_MAX, 1250, VDD_RAW(1250), &pll2_tbl[3]},
{ 1, 1516800, PLL_2, 3, 0, UINT_MAX, 1250, VDD_RAW(1250), &pll2_tbl[5]},
{ 1, 1612800, PLL_2, 3, 0, UINT_MAX, 1300, VDD_RAW(1350), &pll2_tbl[6]},
{ 0 }
};
So just waiting for some feedback on this.
Now that I'm not being lazy I'm going to add some patches to the kernel to enable more governors, schedulers, hopefully ZRam possibly and others.
Edit: Alright, talked to Shabby and he sent me a link to some kernel source for a different phone with the same chip set (OC Kernel) and will be testing this soon.
Update: Tested stable at 1.8 GHZ :smokingsomb:
I just test compiled this one with just a couple entry's to the acpuclock-7x30.c file which may (or may not) allow for overclocking..
I'm am not a Developer and do not claim to be. I just finish building this kernel and wanted to others that have experiences and know how to check out what I added to the acpuclock-7x30.c
(Shabby and others)
I have no idea how these tables work.. Our Rush runs at 1024 mhz but the table (before I modified it even) goes up to 1400 MHZ but obviously in System Tuner and etc, you can't go over 1024 MHZ. I don't understand that since there is other freg' in there, though I guessed somewhere they just are not enabled for our phone or something. So hopefully Shabby and the other pro's can help me out here when they have time.
I'm not testing this untill I get info from people who know what they are doing here. As Shabby stated in the other thread on OC kernel he advised him what to do so. Those guys know and they are awesome and should be given the credit for a lot done on this forum..
I'm just compiling the kernel.. It's not hard.
I only added these two lines:
{ 1, 1516800, PLL_2, 3, 0, UINT_MAX, 1250, VDD_RAW(1250), &pll2_tbl[5]},
{ 1, 1612800, PLL_2, 3, 0, UINT_MAX, 1300, VDD_RAW(1350), &pll2_tbl[6]},
(whole table)
static struct clkctl_acpu_speed acpu_freq_tbl[] = {
{ 0, 24576, LPXO, 0, 0, 30720000, 900, VDD_RAW(900) },
{ 0, 61440, PLL_3, 5, 11, 61440000, 900, VDD_RAW(900) },
{ 1, 122880, PLL_3, 5, 5, 61440000, 900, VDD_RAW(900) },
{ 0, 184320, PLL_3, 5, 4, 61440000, 900, VDD_RAW(900) },
{ 0, MAX_AXI_KHZ, AXI, 1, 0, 61440000, 900, VDD_RAW(900) },
{ 1, 245760, PLL_3, 5, 2, 61440000, 900, VDD_RAW(900) },
{ 1, 368640, PLL_3, 5, 1, 122800000, 900, VDD_RAW(900) },
/* AXI has MSMC1 implications. See above. */
{ 1, 768000, PLL_1, 2, 0, 153600000, 1050, VDD_RAW(1050) },
/*
* AXI has MSMC1 implications. See above.
*/
{ 1, 806400, PLL_2, 3, 0, UINT_MAX, 1100, VDD_RAW(1100), &pll2_tbl[0]},
{ 1, 1024000, PLL_2, 3, 0, UINT_MAX, 1200, VDD_RAW(1200), &pll2_tbl[1]},
{ 1, 1200000, PLL_2, 3, 0, UINT_MAX, 1200, VDD_RAW(1200), &pll2_tbl[2]},
{ 1, 1401600, PLL_2, 3, 0, UINT_MAX, 1250, VDD_RAW(1250), &pll2_tbl[3]},
{ 1, 1516800, PLL_2, 3, 0, UINT_MAX, 1250, VDD_RAW(1250), &pll2_tbl[5]},
{ 1, 1612800, PLL_2, 3, 0, UINT_MAX, 1300, VDD_RAW(1350), &pll2_tbl[6]},
{ 0 }
};
So just waiting for some feedback on this.
Now that I'm not being lazy I'm going to add some patches to the kernel to enable more governors, schedulers, hopefully ZRam possibly and others.
Edit: Alright, talked to Shabby and he sent me a link to some kernel source for a different phone with the same chip set (OC Kernel) and will be testing this soon.
Update: Tested stable at 1.8 GHZ :smokingsomb: