[KERNEL]All the kernel developers, please apply this patch to your kernel - G1 Android Development

Please excuse me if I post the thread in a wrong place. I think it's right to post it here, though the patch is for sapphire(not dream). Because nearly all the sapphire kernel is only a port of dream kernel, there is few real sapphire kernel developer except sanpei's kernel for NEW RADIO(6.35).
The patch solves a very old problem described here:
"The blurry screen problem on Asia-Pacific Edition HTC magic 32A"
http://forum.xda-developers.com/showthread.php?t=560432
Now I find the problem exists in the file: <kernel source folder>/arch/arm/mach-msm/board-sapphire-panel.c
In the file you can find there are two kinds of sapphire screen panel, one is sharp and the other is toppoly. And in most kernel derived from AOSP (e.g. cm-kernel,wg-kernel), the gamma configoration for toppoly panel is wrong! That's why there is a blurry screen problem on some Asia-Pacific Edition sapphire 32A using this toppoly panel.
This is the original AOSP code in board-sapphire-panel.c which is wrong
Code:
/* Red Positive Gamma */
{ 0xE00, 0x0f },
{ 0xE01, 0x19 },
{ 0xE02, 0x22 },
{ 0xE03, 0x0b },
{ 0xE04, 0x23 },
{ 0xE05, 0x23 },
{ 0xE06, 0x14 },
{ 0xE07, 0x13 },
{ 0xE08, 0x0f },
{ 0xE09, 0x2a },
{ 0xE0A, 0x0d },
{ 0xE0B, 0x26 },
{ 0xE0C, 0x43 },
{ 0xE0D, 0x20 },
{ 0xE0E, 0x2a },
{ 0xE0F, 0x5c },
/* Red Negative Gamma */
{ 0xE10, 0x0d },
{ 0xE11, 0x45 },
{ 0xE12, 0x4c },
{ 0xE13, 0x1c },
{ 0xE14, 0x4d },
{ 0xE15, 0x33 },
{ 0xE16, 0x23 },
{ 0xE17, 0x0f },
{ 0xE18, 0x0b },
{ 0xE19, 0x3a },
{ 0xE1A, 0x19 },
{ 0xE1B, 0x32 },
{ 0xE1C, 0x4e },
{ 0xE1D, 0x37 },
{ 0xE1E, 0x38 },
{ 0xE1F, 0x3b },
/* Green Positive Gamma */
{ 0xE20, 0x00 },
{ 0xE21, 0x09 },
{ 0xE22, 0x10 },
{ 0xE23, 0x0f },
{ 0xE24, 0x29 },
{ 0xE25, 0x23 },
{ 0xE26, 0x0b },
{ 0xE27, 0x14 },
{ 0xE28, 0x12 },
{ 0xE29, 0x25 },
{ 0xE2A, 0x12 },
{ 0xE2B, 0x2f },
{ 0xE2C, 0x43 },
{ 0xE2D, 0x2d },
{ 0xE2E, 0x52 },
{ 0xE2F, 0x61 },
/* Green Negative Gamma */
{ 0xE30, 0x08 },
{ 0xE31, 0x1d },
{ 0xE32, 0x3f },
{ 0xE33, 0x1c },
{ 0xE34, 0x44 },
{ 0xE35, 0x2e },
{ 0xE36, 0x28 },
{ 0xE37, 0x0c },
{ 0xE38, 0x0a },
{ 0xE39, 0x42 },
{ 0xE3A, 0x17 },
{ 0xE3B, 0x30 },
{ 0xE3C, 0x4b },
{ 0xE3D, 0x3f },
{ 0xE3E, 0x43 },
{ 0xE3F, 0x45 },
/* Blue Positive Gamma */
{ 0xE40, 0x32 },
{ 0xE41, 0x32 },
{ 0xE42, 0x31 },
{ 0xE43, 0x06 },
{ 0xE44, 0x08 },
{ 0xE45, 0x0d },
{ 0xE46, 0x04 },
{ 0xE47, 0x14 },
{ 0xE48, 0x0f },
{ 0xE49, 0x1d },
{ 0xE4A, 0x1a },
{ 0xE4B, 0x39 },
{ 0xE4C, 0x4c },
{ 0xE4D, 0x1e },
{ 0xE4E, 0x43 },
{ 0xE4F, 0x61 },
/* Blue Negative Gamma */
{ 0xE50, 0x08 },
{ 0xE51, 0x2c },
{ 0xE52, 0x4e },
{ 0xE53, 0x13 },
{ 0xE54, 0x3a },
{ 0xE55, 0x26 },
{ 0xE56, 0x30 },
{ 0xE57, 0x0f },
{ 0xE58, 0x0a },
{ 0xE59, 0x49 },
{ 0xE5A, 0x34 },
{ 0xE5B, 0x4a },
{ 0xE5C, 0x53 },
{ 0xE5D, 0x28 },
{ 0xE5E, 0x26 },
{ 0xE5F, 0x27 },
PLEASE modify to this code which is right, from HTC's source
Code:
/* Red Positive Gamma */
{0xE00, 0x001A },
{0xE01, 0x001F },
{0xE02, 0x0022 },
{0xE03, 0x0009 },
{0xE04, 0x0023 },
{0xE05, 0x0023 },
{0xE06, 0x002B },
{0xE07, 0x0013 },
{0xE08, 0x000B },
{0xE09, 0x0049 },
{0xE0A, 0x0019 },
{0xE0B, 0x0026 },
{0xE0C, 0x0059 },
{0xE0D, 0x003B },
{0xE0E, 0x0045 },
{0xE0F, 0x0062 },
/* Red Negative Gamma */
{0xE10, 0x001D },
{0xE11, 0x003A },
{0xE12, 0x0043 },
{0xE13, 0x0009 },
{0xE14, 0x0038 },
{0xE15, 0x0024 },
{0xE16, 0x0034 },
{0xE17, 0x0010 },
{0xE18, 0x0009 },
{0xE19, 0x0051 },
{0xE1A, 0x001B },
{0xE1B, 0x0036 },
{0xE1C, 0x0054 },
{0xE1D, 0x0059 },
{0xE1E, 0x005C },
{0xE1F, 0x0060 },
/* Green Positive Gamma */
{0xE20, 0x0005 },
{0xE21, 0x000E },
{0xE22, 0x0017 },
{0xE23, 0x0010 },
{0xE24, 0x0026 },
{0xE25, 0x0027 },
{0xE26, 0x0028 },
{0xE27, 0x0013 },
{0xE28, 0x000E },
{0xE29, 0x0049 },
{0xE2A, 0x0012 },
{0xE2B, 0x001D },
{0xE2C, 0x0035 },
{0xE2D, 0x0047 },
{0xE2E, 0x004F },
{0xE2F, 0x0062 },
/* Green Negative Gamma */
{0xE30, 0x001D },
{0xE31, 0x0030 },
{0xE32, 0x0036 },
{0xE33, 0x0029 },
{0xE34, 0x0043 },
{0xE35, 0x002e },
{0xE36, 0x0035 },
{0xE37, 0x0011 },
{0xE38, 0x000B },
{0xE39, 0x0053 },
{0xE3A, 0x0016 },
{0xE3B, 0x0035 },
{0xE3C, 0x004F },
{0xE3D, 0x0063 },
{0xE3E, 0x006D },
{0xE3F, 0x0076 },
/* Blue Positive Gamma */
{0xE40, 0x0029 },
{0xE41, 0x002A },
{0xE42, 0x002C },
{0xE43, 0x0003 },
{0xE44, 0x0019 },
{0xE45, 0x0017 },
{0xE46, 0x0023 },
{0xE47, 0x0012 },
{0xE48, 0x000B },
{0xE49, 0x0044 },
{0xE4A, 0x0016 },
{0xE4B, 0x0027 },
{0xE4C, 0x0041 },
{0xE4D, 0x0032 },
{0xE4E, 0x003C },
{0xE4F, 0x0062 },
/* Blue Negative Gamma */
{0xE50, 0x0019 },
{0xE51, 0x0042 },
{0xE52, 0x004B },
{0xE53, 0x001C },
{0xE54, 0x0036 },
{0xE55, 0x0028 },
{0xE56, 0x003C },
{0xE57, 0x0011 },
{0xE58, 0x0009 },
{0xE59, 0x005A },
{0xE5A, 0x002A },
{0xE5B, 0x0043 },
{0xE5C, 0x0058 },
{0xE5D, 0x0052 },
{0xE5E, 0x0053 },
{0xE5F, 0x0054 },
That's solve the problem, and we'll have a better sapphire!

Thanks for the nfo, I'll be sure to include this in my kernel. Where is the change in HTC's source? I'm not seeing it in aosp or any of the source I've downloaded from HTC's site.

kernelzilla said:
Thanks for the nfo, I'll be sure to include this in my kernel. Where is the change in HTC's source? I'm not seeing it in aosp or any of the source I've downloaded from HTC's site.
Click to expand...
Click to collapse
I posted two codes in the OP, the second is HTC's. You can see the change here:
http://github.com/toastcfh/CdMa-HeRoC-2.6.29/blob/master/arch/arm/mach-msm/board-sapphire-panel.c
In this section:
/*
* The NT35399 provides gray or RGB gamma correction table,
* which determinated by register-0xb00, and following table
*/

louyaorong said:
I posted two codes in the OP, the second is HTC's. You can see the change here:
http://github.com/toastcfh/CdMa-HeRoC-2.6.29/blob/master/arch/arm/mach-msm/board-sapphire-panel.c
In this section:
/*
* The NT35399 provides gray or RGB gamma correction table,
* which determinated by register-0xb00, and following table
*/
Click to expand...
Click to collapse
wow great find and thank you very much
I will add this to my src...

I'm super lazy. Wanna make a patch so it takes zero effort?
Patch:
http://briancrook.ca/android/colour_fix.diff
CM Port File:
http://briancrook.ca/android/testing/bc-5.0.8-test4_blurry_fix-ebi1-signed.zip

Thank you very much for the patch file, and please include the patch in your future release of CM 32a port.
I'm super lazy. Wanna make a patch so it takes zero effort?
Patch:
http://briancrook.ca/android/colour_fix.diff
CM Port File:
http://briancrook.ca/android/testing/bc-5.0.8-test4_blurry_fix-ebi1-signed.zip
Click to expand...
Click to collapse
-------------------------------------
Sent via the XDA Tapatalk App

Any confirmation that this works?

Any confirmation that this works?
Click to expand...
Click to collapse
Of course! I compiled a 32a CM5.0.8 test4 port by myself and it's working like a charm for several days!
And I also posted my port in a Chinese Android forum Hiapk, a lot of people confirmed it there.
-------------------------------------
Sent via the XDA Tapatalk App

In case you guys didnt see, this is in cm-kernel now (as of 5.0.8)

bcrook said:
In case you guys didnt see, this is in cm-kernel now (as of 5.0.8)
Click to expand...
Click to collapse
nice
(10 car)

Related

AT&T Fuze PTT key codes

Hello,
Does anyone know what key codes are sent by PTT key (short and long pushes)? We try to support it in our app but don't have the device to test with and users report it doesn't work. I assume that's because the key codes the button sends are outside of the range we expect.
Any help is highly appreciated!
Thanks!
Alex
P.S. These are the known key codes, which we support in the current version (apparently Fuze's PTT is not among them):
const KeyInfo Keys[] = {
{ 0x79, _T("Record") },
{ 0x8B, _T("BeeperVolume Down") },
{ 0x8C, _T("Backlight Toggle") },
{ 0x8D, _T("Contrast Up") },
{ 0x8E, _T("Contrast Down") },
{ 0x8F, _T("BeeperVolume Up") },
{ 0xC1, _T("Media") },
{ 0xC2, _T("Contacts") },
{ 0xC3, _T("Home") },
{ 0xC4, _T("Camera") },
{ 0xC5, _T("Photo") },
{ 0xC6, _T("App1 long push") },
{ 0xC7, _T("App2 long push") },
{ 0xC8, _T("App3 long push") },
{ 0xC9, _T("App4 long push") },
{ 0xCA, _T("Photo long push") },
{ 0xE9, _T("F1") },
{ 0xEA, _T("F2") },
{ 0xEB, _T("F3") },
{ 0xEC, _T("F4") },
{ 0xED, _T("F5") },
{ 0xEE, _T("F6") },
{ 0xEF, _T("F7") },
{ 0xF0, _T("F8") },
{ 0xF1, _T("F9") },
{ 0xF2, _T("F10") },
{ 0xF3, _T("F11") },
{ 0xF4, _T("F12") } };
}

【Dev】kernel config for Magic's screen blur issue ^_^

This is not my work,I only post it from Hiapk forum..
thx to [email protected] and sanpei
the key is in file:
<kernel source folder>/arch/arm/mach-msm/board-sapphire-panel.c
if the code about TPO touch screen's gamma is the same as below,then the screen blurs:
Code:
/* Red Positive Gamma */
{ 0xE00, 0x0f },
{ 0xE01, 0x19 },
{ 0xE02, 0x22 },
{ 0xE03, 0x0b },
{ 0xE04, 0x23 },
{ 0xE05, 0x23 },
{ 0xE06, 0x14 },
{ 0xE07, 0x13 },
{ 0xE08, 0x0f },
{ 0xE09, 0x2a },
{ 0xE0A, 0x0d },
{ 0xE0B, 0x26 },
{ 0xE0C, 0x43 },
{ 0xE0D, 0x20 },
{ 0xE0E, 0x2a },
{ 0xE0F, 0x5c },
/* Red Negative Gamma */
{ 0xE10, 0x0d },
{ 0xE11, 0x45 },
{ 0xE12, 0x4c },
{ 0xE13, 0x1c },
{ 0xE14, 0x4d },
{ 0xE15, 0x33 },
{ 0xE16, 0x23 },
{ 0xE17, 0x0f },
{ 0xE18, 0x0b },
{ 0xE19, 0x3a },
{ 0xE1A, 0x19 },
{ 0xE1B, 0x32 },
{ 0xE1C, 0x4e },
{ 0xE1D, 0x37 },
{ 0xE1E, 0x38 },
{ 0xE1F, 0x3b },
/* Green Positive Gamma */
{ 0xE20, 0x00 },
{ 0xE21, 0x09 },
{ 0xE22, 0x10 },
{ 0xE23, 0x0f },
{ 0xE24, 0x29 },
{ 0xE25, 0x23 },
{ 0xE26, 0x0b },
{ 0xE27, 0x14 },
{ 0xE28, 0x12 },
{ 0xE29, 0x25 },
{ 0xE2A, 0x12 },
{ 0xE2B, 0x2f },
{ 0xE2C, 0x43 },
{ 0xE2D, 0x2d },
{ 0xE2E, 0x52 },
{ 0xE2F, 0x61 },
/* Green Negative Gamma */
{ 0xE30, 0x08 },
{ 0xE31, 0x1d },
{ 0xE32, 0x3f },
{ 0xE33, 0x1c },
{ 0xE34, 0x44 },
{ 0xE35, 0x2e },
{ 0xE36, 0x28 },
{ 0xE37, 0x0c },
{ 0xE38, 0x0a },
{ 0xE39, 0x42 },
{ 0xE3A, 0x17 },
{ 0xE3B, 0x30 },
{ 0xE3C, 0x4b },
{ 0xE3D, 0x3f },
{ 0xE3E, 0x43 },
{ 0xE3F, 0x45 },
/* Blue Positive Gamma */
{ 0xE40, 0x32 },
{ 0xE41, 0x32 },
{ 0xE42, 0x31 },
{ 0xE43, 0x06 },
{ 0xE44, 0x08 },
{ 0xE45, 0x0d },
{ 0xE46, 0x04 },
{ 0xE47, 0x14 },
{ 0xE48, 0x0f },
{ 0xE49, 0x1d },
{ 0xE4A, 0x1a },
{ 0xE4B, 0x39 },
{ 0xE4C, 0x4c },
{ 0xE4D, 0x1e },
{ 0xE4E, 0x43 },
{ 0xE4F, 0x61 },
/* Blue Negative Gamma */
{ 0xE50, 0x08 },
{ 0xE51, 0x2c },
{ 0xE52, 0x4e },
{ 0xE53, 0x13 },
{ 0xE54, 0x3a },
{ 0xE55, 0x26 },
{ 0xE56, 0x30 },
{ 0xE57, 0x0f },
{ 0xE58, 0x0a },
{ 0xE59, 0x49 },
{ 0xE5A, 0x34 },
{ 0xE5B, 0x4a },
{ 0xE5C, 0x53 },
{ 0xE5D, 0x28 },
{ 0xE5E, 0x26 },
{ 0xE5F, 0x27 },
to solve this,replace the code with:
Code:
/* Red Positive Gamma */
{0xE00, 0x001A },
{0xE01, 0x001F },
{0xE02, 0x0022 },
{0xE03, 0x0009 },
{0xE04, 0x0023 },
{0xE05, 0x0023 },
{0xE06, 0x002B },
{0xE07, 0x0013 },
{0xE08, 0x000B },
{0xE09, 0x0049 },
{0xE0A, 0x0019 },
{0xE0B, 0x0026 },
{0xE0C, 0x0059 },
{0xE0D, 0x003B },
{0xE0E, 0x0045 },
{0xE0F, 0x0062 },
/* Red Negative Gamma */
{0xE10, 0x001D },
{0xE11, 0x003A },
{0xE12, 0x0043 },
{0xE13, 0x0009 },
{0xE14, 0x0038 },
{0xE15, 0x0024 },
{0xE16, 0x0034 },
{0xE17, 0x0010 },
{0xE18, 0x0009 },
{0xE19, 0x0051 },
{0xE1A, 0x001B },
{0xE1B, 0x0036 },
{0xE1C, 0x0054 },
{0xE1D, 0x0059 },
{0xE1E, 0x005C },
{0xE1F, 0x0060 },
/* Green Positive Gamma */
{0xE20, 0x0005 },
{0xE21, 0x000E },
{0xE22, 0x0017 },
{0xE23, 0x0010 },
{0xE24, 0x0026 },
{0xE25, 0x0027 },
{0xE26, 0x0028 },
{0xE27, 0x0013 },
{0xE28, 0x000E },
{0xE29, 0x0049 },
{0xE2A, 0x0012 },
{0xE2B, 0x001D },
{0xE2C, 0x0035 },
{0xE2D, 0x0047 },
{0xE2E, 0x004F },
{0xE2F, 0x0062 },
/* Green Negative Gamma */
{0xE30, 0x001D },
{0xE31, 0x0030 },
{0xE32, 0x0036 },
{0xE33, 0x0029 },
{0xE34, 0x0043 },
{0xE35, 0x002e },
{0xE36, 0x0035 },
{0xE37, 0x0011 },
{0xE38, 0x000B },
{0xE39, 0x0053 },
{0xE3A, 0x0016 },
{0xE3B, 0x0035 },
{0xE3C, 0x004F },
{0xE3D, 0x0063 },
{0xE3E, 0x006D },
{0xE3F, 0x0076 },
/* Blue Positive Gamma */
{0xE40, 0x0029 },
{0xE41, 0x002A },
{0xE42, 0x002C },
{0xE43, 0x0003 },
{0xE44, 0x0019 },
{0xE45, 0x0017 },
{0xE46, 0x0023 },
{0xE47, 0x0012 },
{0xE48, 0x000B },
{0xE49, 0x0044 },
{0xE4A, 0x0016 },
{0xE4B, 0x0027 },
{0xE4C, 0x0041 },
{0xE4D, 0x0032 },
{0xE4E, 0x003C },
{0xE4F, 0x0062 },
/* Blue Negative Gamma */
{0xE50, 0x0019 },
{0xE51, 0x0042 },
{0xE52, 0x004B },
{0xE53, 0x001C },
{0xE54, 0x0036 },
{0xE55, 0x0028 },
{0xE56, 0x003C },
{0xE57, 0x0011 },
{0xE58, 0x0009 },
{0xE59, 0x005A },
{0xE5A, 0x002A },
{0xE5B, 0x0043 },
{0xE5C, 0x0058 },
{0xE5D, 0x0052 },
{0xE5E, 0x0053 },
{0xE5F, 0x0054 },
It works with CM's kernel and should be the same with any other kernel.
Any chance we can get this in a CM 5.0.8 kernel update.zip? I'd love to try it out.
-------------------------------------
Sent via the XDA Tapatalk App
hehe,great!
pix27 said:
Any chance we can get this in a CM 5.0.8 kernel update.zip? I'd love to try it out.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
try this for 32A only~
rat ^^
i guess this is the first post for you in xda, no?
Works wonderfully! Decent contrast after so many years. Brilliant!
Now I'll test it for a bit.....
Any chance we can get this in a CM 5.0.8 kernel update.zip? I'd love to try it out.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
try this for 32A only~
Click to expand...
Click to collapse
-------------------------------------
Sent via the XDA Tapatalk App
what does this reallly do? After installing seemed more smooth
Can I use the patch with 6.35 radio and a non-cyanogen ROM?
Deviser said:
Can I use the patch with 6.35 radio and a non-cyanogen ROM?
Click to expand...
Click to collapse
not with this patch~
maybe we need to wait for sanpei's moded kernel
...but if you didn't know what the problem was, why did you install this patch?
what does this reallly do? After installing seemed more smooth
Click to expand...
Click to collapse
-------------------------------------
Sent via the XDA Tapatalk App
cadetnudt said:
This is not my work,I only post it from Hiapk forum..
thx to [email protected] and sanpei
the key is in file:
<kernel source folder>/arch/arm/mach-msm/board-sapphire-panel.c
if the code about TPO touch screen's gamma is the same as below,then the screen blurs:
Code:
/* Red Positive Gamma */
{ 0xE00, 0x0f },
{ 0xE01, 0x19 },
{ 0xE02, 0x22 },
{ 0xE03, 0x0b },
{ 0xE04, 0x23 },
{ 0xE05, 0x23 },
{ 0xE06, 0x14 },
{ 0xE07, 0x13 },
{ 0xE08, 0x0f },
{ 0xE09, 0x2a },
{ 0xE0A, 0x0d },
{ 0xE0B, 0x26 },
{ 0xE0C, 0x43 },
{ 0xE0D, 0x20 },
{ 0xE0E, 0x2a },
{ 0xE0F, 0x5c },
/* Red Negative Gamma */
{ 0xE10, 0x0d },
{ 0xE11, 0x45 },
{ 0xE12, 0x4c },
{ 0xE13, 0x1c },
{ 0xE14, 0x4d },
{ 0xE15, 0x33 },
{ 0xE16, 0x23 },
{ 0xE17, 0x0f },
{ 0xE18, 0x0b },
{ 0xE19, 0x3a },
{ 0xE1A, 0x19 },
{ 0xE1B, 0x32 },
{ 0xE1C, 0x4e },
{ 0xE1D, 0x37 },
{ 0xE1E, 0x38 },
{ 0xE1F, 0x3b },
/* Green Positive Gamma */
{ 0xE20, 0x00 },
{ 0xE21, 0x09 },
{ 0xE22, 0x10 },
{ 0xE23, 0x0f },
{ 0xE24, 0x29 },
{ 0xE25, 0x23 },
{ 0xE26, 0x0b },
{ 0xE27, 0x14 },
{ 0xE28, 0x12 },
{ 0xE29, 0x25 },
{ 0xE2A, 0x12 },
{ 0xE2B, 0x2f },
{ 0xE2C, 0x43 },
{ 0xE2D, 0x2d },
{ 0xE2E, 0x52 },
{ 0xE2F, 0x61 },
/* Green Negative Gamma */
{ 0xE30, 0x08 },
{ 0xE31, 0x1d },
{ 0xE32, 0x3f },
{ 0xE33, 0x1c },
{ 0xE34, 0x44 },
{ 0xE35, 0x2e },
{ 0xE36, 0x28 },
{ 0xE37, 0x0c },
{ 0xE38, 0x0a },
{ 0xE39, 0x42 },
{ 0xE3A, 0x17 },
{ 0xE3B, 0x30 },
{ 0xE3C, 0x4b },
{ 0xE3D, 0x3f },
{ 0xE3E, 0x43 },
{ 0xE3F, 0x45 },
/* Blue Positive Gamma */
{ 0xE40, 0x32 },
{ 0xE41, 0x32 },
{ 0xE42, 0x31 },
{ 0xE43, 0x06 },
{ 0xE44, 0x08 },
{ 0xE45, 0x0d },
{ 0xE46, 0x04 },
{ 0xE47, 0x14 },
{ 0xE48, 0x0f },
{ 0xE49, 0x1d },
{ 0xE4A, 0x1a },
{ 0xE4B, 0x39 },
{ 0xE4C, 0x4c },
{ 0xE4D, 0x1e },
{ 0xE4E, 0x43 },
{ 0xE4F, 0x61 },
/* Blue Negative Gamma */
{ 0xE50, 0x08 },
{ 0xE51, 0x2c },
{ 0xE52, 0x4e },
{ 0xE53, 0x13 },
{ 0xE54, 0x3a },
{ 0xE55, 0x26 },
{ 0xE56, 0x30 },
{ 0xE57, 0x0f },
{ 0xE58, 0x0a },
{ 0xE59, 0x49 },
{ 0xE5A, 0x34 },
{ 0xE5B, 0x4a },
{ 0xE5C, 0x53 },
{ 0xE5D, 0x28 },
{ 0xE5E, 0x26 },
{ 0xE5F, 0x27 },
to solve this,replace the code with:
Code:
/* Red Positive Gamma */
{0xE00, 0x001A },
{0xE01, 0x001F },
{0xE02, 0x0022 },
{0xE03, 0x0009 },
{0xE04, 0x0023 },
{0xE05, 0x0023 },
{0xE06, 0x002B },
{0xE07, 0x0013 },
{0xE08, 0x000B },
{0xE09, 0x0049 },
{0xE0A, 0x0019 },
{0xE0B, 0x0026 },
{0xE0C, 0x0059 },
{0xE0D, 0x003B },
{0xE0E, 0x0045 },
{0xE0F, 0x0062 },
/* Red Negative Gamma */
{0xE10, 0x001D },
{0xE11, 0x003A },
{0xE12, 0x0043 },
{0xE13, 0x0009 },
{0xE14, 0x0038 },
{0xE15, 0x0024 },
{0xE16, 0x0034 },
{0xE17, 0x0010 },
{0xE18, 0x0009 },
{0xE19, 0x0051 },
{0xE1A, 0x001B },
{0xE1B, 0x0036 },
{0xE1C, 0x0054 },
{0xE1D, 0x0059 },
{0xE1E, 0x005C },
{0xE1F, 0x0060 },
/* Green Positive Gamma */
{0xE20, 0x0005 },
{0xE21, 0x000E },
{0xE22, 0x0017 },
{0xE23, 0x0010 },
{0xE24, 0x0026 },
{0xE25, 0x0027 },
{0xE26, 0x0028 },
{0xE27, 0x0013 },
{0xE28, 0x000E },
{0xE29, 0x0049 },
{0xE2A, 0x0012 },
{0xE2B, 0x001D },
{0xE2C, 0x0035 },
{0xE2D, 0x0047 },
{0xE2E, 0x004F },
{0xE2F, 0x0062 },
/* Green Negative Gamma */
{0xE30, 0x001D },
{0xE31, 0x0030 },
{0xE32, 0x0036 },
{0xE33, 0x0029 },
{0xE34, 0x0043 },
{0xE35, 0x002e },
{0xE36, 0x0035 },
{0xE37, 0x0011 },
{0xE38, 0x000B },
{0xE39, 0x0053 },
{0xE3A, 0x0016 },
{0xE3B, 0x0035 },
{0xE3C, 0x004F },
{0xE3D, 0x0063 },
{0xE3E, 0x006D },
{0xE3F, 0x0076 },
/* Blue Positive Gamma */
{0xE40, 0x0029 },
{0xE41, 0x002A },
{0xE42, 0x002C },
{0xE43, 0x0003 },
{0xE44, 0x0019 },
{0xE45, 0x0017 },
{0xE46, 0x0023 },
{0xE47, 0x0012 },
{0xE48, 0x000B },
{0xE49, 0x0044 },
{0xE4A, 0x0016 },
{0xE4B, 0x0027 },
{0xE4C, 0x0041 },
{0xE4D, 0x0032 },
{0xE4E, 0x003C },
{0xE4F, 0x0062 },
/* Blue Negative Gamma */
{0xE50, 0x0019 },
{0xE51, 0x0042 },
{0xE52, 0x004B },
{0xE53, 0x001C },
{0xE54, 0x0036 },
{0xE55, 0x0028 },
{0xE56, 0x003C },
{0xE57, 0x0011 },
{0xE58, 0x0009 },
{0xE59, 0x005A },
{0xE5A, 0x002A },
{0xE5B, 0x0043 },
{0xE5C, 0x0058 },
{0xE5D, 0x0052 },
{0xE5E, 0x0053 },
{0xE5F, 0x0054 },
It works with CM's kernel and should be the same with any other kernel.
Click to expand...
Click to collapse
This fixes the old radio issue. Damn this looks simple. I wonder why no one looked into this
Yes we have no devs working on the Magic.
Haha! This is my work. I'm [email protected] I worked many days to find the solution after 9 months I buy the phone.
I have posted it in G1 Android Development here:
http://forum.xda-developers.com/showthread.php?t=700593
But there is few people care it.
Yes there is no real dev for magic except sanpei. Now one care about our device, and on one thought of that the issue was fixed by a no body like me.
xaueious said:
This fixes the old radio issue. Damn this looks simple. I wonder why no one looked into this
Yes we have no devs working on the Magic.
Click to expand...
Click to collapse
The New radio also can be fixed in the same way. I have send it to sanpei several days ago, I think he will apply it to his kernel when he has spare time.
In fact, I find the right configuration just in the heroc kernel(which works on new radio) you send to me in a PM
http://github.com/toastcfh/CdMa-HeRoC-2.6.29/blob/master/arch/arm/mach-msm/board-sapphire-panel.c
I mentioned about the screen issue in a pm once I send to you I never thought of finxing it by myself one day, hahaha~
I tweeted Cyanogen and hopefully he'll include these changes into his kernel
i still didnt understand what does really do. can someone explain pls?
Sent from my HTC Magic using Tapatalk
pix27 said:
...but if you didn't know what the problem was, why did you install this patch?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
testing porpuses. i like to explore
Hehe. It fixes the screen blur/interlacing artifacts that seem to happen on our 32a devices when they wake up. I think there was another thread for this issue as well.
What I meant was, if you didn't notice this issue on your device, then you probably don't need to bother with this patch.
...but if you didn't know what the problem was, why did you install this patch?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
testing porpuses. i like to explore
Click to expand...
Click to collapse
-------------------------------------
Sent via the XDA Tapatalk App
I've flashed it as well even though i did not notice any blurring or issues of the same kind.
Perhaps I was interested if the issue was there but was passing unnoticed due to me getting used to it
No changes.
pix27 said:
Hehe. It fixes the screen blur/interlacing artifacts that seem to happen on our 32a devices when they wake up. I think there was another thread for this issue as well.
What I meant was, if you didn't notice this issue on your device, then you probably don't need to bother with this patch.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
hehehe thank you . nope never noticed really but this is good for development. thanks
I tweeted Cyanogen and hopefully he'll include these changes into his kernel
Click to expand...
Click to collapse
I PM him but no reply
-------------------------------------
Sent via the XDA Tapatalk App

[Q] Editing CPU Freq tables - any info?

I am looking into modifying the kernel on the Incredible S (as HTC kindly dropped the sources) and I was wondering about changing the CPU Freq table. I can find lots of people who have done it, but very little info on how to go about it.
First of all there are two acpuclock files - one for the qsd8x5 and one for the 7x30. The phone has an 8255 so I presume the first is correct, but the buildprop is actually setup as if it contains a 7x30 so I am not sure which of the two files it is using.
Secondly, if there any reference as to what freq /voltages can be used for this chipset? Is it safe to just nick the table from a phone that already has this chip & an overclocked kernel? I have pasted the table from the 8x50 in case it is any help.
Code:
struct clkctl_acpu_speed acpu_freq_tbl[] = {
{ 19200, CCTL(CLK_TCXO, 1), SRC_RAW, 0, 0, 1050 },
{ 128000, CCTL(CLK_TCXO, 1), SRC_AXI, 0, 0, 1050 },
{ 245000, CCTL(CLK_MODEM_PLL, 1), SRC_RAW, 0, 0, 1050 },
{ 256000, CCTL(CLK_GLOBAL_PLL, 3), SRC_RAW, 0, 0, 1050 },
{ 384000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0A, 0, 1050 },
{ 422400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0B, 0, 1050 },
{ 460800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0C, 0, 1050 },
{ 499200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0D, 0, 1075 },
{ 537600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0E, 0, 1100 },
{ 576000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0F, 0, 1100 },
{ 614400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x10, 0, 1125 },
{ 652800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x11, 0, 1150 },
{ 691200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x12, 0, 1175 },
{ 729600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x13, 0, 1200 },
{ 768000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x14, 0, 1200 },
{ 806400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x15, 0, 1225 },
{ 844800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x16, 0, 1250 },
{ 883200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x17, 0, 1275 },
{ 921600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x18, 0, 1275 },
{ 960000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x19, 0, 1275 },
{ 998400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1A, 0, 1275 },
{ 0 },
};
Edit: I looked in the config and it looks like it's setup to use the 7x30 scropion chip which is very strange, but the cpu table does reveal some interesting info:
Code:
/* Use negative numbers for sources that can't be enabled/disabled */
#define SRC_LPXO (-2)
#define SRC_AXI (-1)
static struct clkctl_acpu_speed acpu_freq_tbl[] = {
{ 24576, SRC_LPXO, 0, 0, 30720, 1000, VDD_RAW(1000) },
{ 61440, PLL_3, 5, 11, 61440, 1000, VDD_RAW(1000) },
{ 122880, PLL_3, 5, 5, 61440, 1000, VDD_RAW(1000) },
{ 184320, PLL_3, 5, 4, 61440, 1000, VDD_RAW(1000) },
{ MAX_AXI_KHZ, SRC_AXI, 1, 0, 61440, 1000, VDD_RAW(1000) },
{ 245760, PLL_3, 5, 2, 61440, 1000, VDD_RAW(1000) },
{ 368640, PLL_3, 5, 1, 122800, 1050, VDD_RAW(1050) },
{ 768000, PLL_1, 2, 0, 153600, 1100, VDD_RAW(1100) },
#ifndef CONFIG_ACPUCLOCK_LIMIT_768MHZ
/* ACPU >= 806.4MHz requires MSMC1 @ 1.2V. Voting for
* AXI @ 192MHz accomplishes this implicitly. 806.4MHz
* is updated to 1024MHz at runtime for QSD8x55. */
{ 806400, PLL_2, 3, 0, 192000, 1100, VDD_RAW(1100) },
#endif
{ 0 }
};
Anyone know where this would be updated at runtime?
I hate bumping my own thread, but I am really tearing my hair out over this one, does no one know?
You have any luck on this one?
According to specs it has a 1GHz cpu so it cannot use the freq table that only goes to 800MHz. So it has to be the first one.
Looks similar to the Desire freq table to try this one.
Code:
struct clkctl_acpu_speed acpu_freq_tbl[] = {
{ 19200, CCTL(CLK_TCXO, 1), SRC_RAW, 0, 0, 1050 },
{ 128000, CCTL(CLK_TCXO, 1), SRC_AXI, 0, 0, 1050 },
{ 245000, CCTL(CLK_MODEM_PLL, 1), SRC_RAW, 0, 0, 1050 },
{ 256000, CCTL(CLK_GLOBAL_PLL, 3), SRC_RAW, 0, 0, 1050 },
{ 384000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0A, 0, 1050 },
{ 422400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0B, 0, 1050 },
{ 460800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0C, 0, 1050 },
{ 499200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0D, 0, 1075 },
{ 537600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0E, 0, 1100 },
{ 576000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0F, 0, 1100 },
{ 614400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x10, 0, 1125 },
{ 652800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x11, 0, 1150 },
{ 691200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x12, 0, 1175 },
{ 729600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x13, 0, 1200 },
{ 768000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x14, 0, 1200 },
{ 806400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x15, 0, 1225 },
{ 844800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x16, 0, 1250 },
{ 883200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x17, 0, 1275 },
{ 921600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x18, 0, 1275 },
{ 960000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x19, 0, 1275 },
{ 998400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1A, 0, 1275 },
{ 1036800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1B, 0, 1275 },
{ 1075200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1C, 0, 1275 },
{ 1113600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1D, 0, 1275 },
{ 0 },
};
Here's some inspiration: https://github.com/thalamus/kernel/blob/2.6.35.14-bravo/arch/arm/mach-msm/acpuclock-qsd8x50.c

[SCRIPT][Tool] Flashable Daemon Settings MIN/MAX Wake/Sleep Freqs

I will post here CWM Flashable Freq,s for the new Daemon OC .
It will only work on these ROMS so far:
1. Virtuos Unity ROM
2. Android Revolution 5.1.10 and higher
3. TB Fusion3D
DOWNLOADS
Buzz Kernels
DaemonSet_BuzzOC+_1612_384_230.zip
DaemonSet_BuzzOCUV_1228_384_230.zip
DaemonSet_BuzzOCUV_1075_384_230.zip
DaemonSet_BuzzOCUV_768_384_230.zip battery saver
DaemonSet_BuzzOC+_1305_384_230.zip
DaemonSet_BuzzOC+_1536_460_230.zip
DaemonSet_Buzz_ARHD_Stock_1228_691_230.zip
DaemonSet_Buzz_ARHD_Stock_998_537_230.zip
DaemonSet_Buzz_ARHD_Stock_1228_460_230.zip
DaemonSet_BuzzOC+_1075_460_230.zip
DaemonSet_BuzzOC+_1536_537_230.zip
DaemonSet_BuzzOC+_1459_460_230.zip
RCMIX_ARHD_ED 1.3_CIFS_TUN_NLS_EXT4 Used in Android Revolution HD , HONEY3D , Etc
DaemonSet_RCMIX_ARHD_ED_768_384_122.zip battery saver
DaemonSet_RCMIX_ARHD_ED_998_384_122.zip
DaemonSet_RCMIX_ARHD_ED_1152_384_122 Used in Android Revolution HD
DaemonSet_RCMIX_ARHD_ED_1228_384_122.zip
DaemonSet_RCMIX_ARHD_ED_1305_384_230
DaemonSet_RCMIX_ARHD_ED_1459_384_122.zip
DaemonSet_RCMIX_ARHD_ED_1612_384_122.zip
DaemonSet_RCMIX_ARHD_ED_1843_384_122.zip
DaemonSet_RCMIX_ARHD_ED_1382_384_122.zip
New ARHD Settings. Min Sleep
DaemonSet_RCMIX_ARHD_ED_768_384_230
DaemonSet_RCMIX_ARHD_ED_998_384_230
DaemonSet_RCMIX_ARHD_ED_1152_384_230
DaemonSet_RCMIX_ARHD_ED_1228_384_230
DaemonSet_RCMIX_ARHD_ED_1305_384_230
DaemonSet_RCMIX_ARHD_ED_1382_384_230
DaemonSet_RCMIX_ARHD_ED_1459_384_230
DaemonSet_RCMIX_ARHD_ED_1612_384_230
MDJ Unity V4 DHD and Incredible S compatible
DaemonSet_MDJ_Unity_1708_368_245.zip
DaemonSet_MDJ_Unity_1401_368_245.zip
DaemonSet_MDJ_Unity_1017_368_245.zip
DaemonSet_MDJ_Unity_1113_368_245.zip
DaemonSet_MDJ_Unity_1286_368_245.zip
DaemonSet_MDJ_Unity_1516_768_245.zip
DaemonSet_MDJ_Unity_1708_768_245.zip
DaemonSet_MDJ_Unity_806_368_245.zip battery saver
Leedroid Kernels
DaemonSet_Leedroid_1497_499_254.zip
DaemonSet_Leedroid_1344_499_245.zip
DaemonSet_Leedroid_1651_499_254.zip
DaemonSet_Leedroid_1113_499_245.zip
DaemonSet_Leedroid_1267_499_245.zip
DaemonSet_Leedroid_1804_499_254.zip
DaemonSet_Leedroid_729_499_245.zip battery saver
Be Aware : Flash Kernel and Flash Daemonset in CWM the same time !!
Flash Kernel
Flash DaemonSet
Reboot !!
Don,t forget to remove SetCPU ,No-frills or other cpu scaling apps !!
Click to expand...
Click to collapse
If video is not working on Android Revolution,, use this fix
Fix_for_other_kernels.zip
preacher65 said:
You can use Notepad++ to edit the files, or any editor that works with Linux or Unix text files. Notepad2 is good as well, it's small and fast.
http://notepad-plus-plus.org/
http://www.flos-freeware.ch/notepad2.html
Normal Windows Notepad doesn't work correctly - the "end of line" code for a Linux text file is different to the one for a Windows text file, so standard Notepad messes up the formatting.
Click to expand...
Click to collapse
or on DHD you can use ES FileExplore in r/w hiApk mode
if you have sugestions,, or requests,, i will try to customize it
Also new kernels.. keep me posted
Thanks Apache14/Bumble_Bee, MDJ/m-deejay and LeeDroid for the kernels,, i just provide daemon table,s for it.
If I forgot someone.. please pm me.
Also special thanks to Patrics83 and Mike1986 for supporting me.
And thanks for the guys from Unity/rmk.
The Daemon they made is just awsome
Links:
Introduction to the new Overclocking Daemon
http://forum.xda-developers.com/showpost.php?p=14529333&postcount=5
all credits and thanks to Diamondback2010/rmk
Mike1986
http://forum.xda-developers.com/showpost.php?p=14638641&postcount=34279
Click to expand...
Click to collapse
​
Freq Table
Buzz (1.22 GHz) for HTC Desire HD / Inspire 4G
| 230400 | 307200 | 384000 | 460800 | 537600 | 614400 | 691200 | 768000 | 844800 | 921600 | 998400 | 1075200 | 1152000 | 1228800 |
Buzz OC+ kernel (1.61 GHz) for HTC Desire HD / Inspire 4G
| 230400 | 307200 | 384000 | 460800 | 537600 | 614400 | 691200 | 768000 | 844800 | 921600 | 998400 | 1075200 | 1152000 | 1228800 | 1305600 | 1382400 | 1459200 | 1536000 |
1612800 |
Code:
{ 230400, PLL_3, 5, 1, 192000, 900, VDD_RAW(900) },
{ 307200, PLL_3, 5, 1, 192000, 900, VDD_RAW(900) },
{ 384000, PLL_1, 2, 0, 192000, 925, VDD_RAW(925) },
{ 460800, PLL_3, 5, 1, 192000, 950, VDD_RAW(950) },
{ 537600, PLL_2, 3, 0, 192000, 975, VDD_RAW(975) },
{ 614400, PLL_2, 3, 0, 192000, 975, VDD_RAW(975) },
{ 691200, PLL_2, 3, 0, 192000, 1000, VDD_RAW(1000) },
{ 768000, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 844800, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 921600, PLL_2, 3, 0, 192000, 1050, VDD_RAW(1050) },
{ 998400, PLL_2, 3, 0, 192000, 1050, VDD_RAW(1050) },
{ 1075200, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1152000, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1228800, PLL_2, 3, 0, 192000, 1100, VDD_RAW(1100) },
OC+
{ 1305600, PLL_2, 3, 0, 192000, 1175, VDD_RAW(1175) },
{ 1382400, PLL_2, 3, 0, 192000, 1200, VDD_RAW(1200) },
{ 1459200, PLL_2, 3, 0, 192000, 1225, VDD_RAW(1225) },
{ 1536000, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1300) },
{ 1612800, PLL_2, 3, 0, 192000, 1350, VDD_RAW(1350) },
UNITY_V4_2.6.35.13_OC1708_UV900_SLQB_CIFS_TUN_VR_EXT4_2WCR
Code:
{ 245760, PLL_3, 5, 2, 61440, 1000, VDD_RAW(900) },
{ 368640, PLL_3, 5, 1, 122800, 1000, VDD_RAW(950) },
{ 768000, PLL_1, 2, 0, 153600, 1025, VDD_RAW(1000) },
{ 806400, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 825600, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 844800, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 864000, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 883200, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 902400, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 921600, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 940800, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 960000, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 979200, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 998400, PLL_2, 3, 0, 192000, 1050, VDD_RAW(1050) },
{ 1017600, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1036800, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1056000, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1075200, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1094400, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1113600, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1132800, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1152000, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1171200, PLL_2, 3, 0, 192000, 1100, VDD_RAW(1100) },
{ 1190400, PLL_2, 3, 0, 192000, 1125, VDD_RAW(1125) },
{ 1209600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1150) },
{ 1228800, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1150) },
{ 1248000, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1150) },
{ 1267200, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1150) },
{ 1286400, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1175) },
{ 1305600, PLL_2, 3, 0, 192000, 1175, VDD_RAW(1175) },
{ 1324800, PLL_2, 3, 0, 192000, 1175, VDD_RAW(1175) },
{ 1344000, PLL_2, 3, 0, 192000, 1175, VDD_RAW(1175) },
{ 1363200, PLL_2, 3, 0, 192000, 1200, VDD_RAW(1200) },
{ 1382400, PLL_2, 3, 0, 192000, 1225, VDD_RAW(1225) },
{ 1401600, PLL_2, 3, 0, 192000, 1250, VDD_RAW(1250) },
{ 1420800, PLL_2, 3, 0, 192000, 1250, VDD_RAW(1250) },
{ 1440000, PLL_2, 3, 0, 192000, 1250, VDD_RAW(1250) },
{ 1459200, PLL_2, 3, 0, 192000, 1250, VDD_RAW(1250) },
{ 1478400, PLL_2, 3, 0, 192000, 1275, VDD_RAW(1275) },
{ 1497600, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1300) },
{ 1516800, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1300) },
{ 1536000, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1300) },
{ 1555200, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1325) },
{ 1574400, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1325) },
{ 1593600, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1350) },
{ 1612800, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1350) },
{ 1632000, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1350) },
{ 1651200, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1350) },
{ 1670400, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1375) },
{ 1689600, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1375) },
{ 1708800, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1400) },
LeeDrOiD-Ace-GB-V3.2.0-KERNEL-2.6.35.13-CFS
LeeDrOiD-Ace-GB-V3.2.0-KERNEL-2.6.35.13-BFS
| 245000 | 422400 | 499200 | 576000 | 652800 | 729600 | 806400 | 883200 | 960000 | 1036800 | 1113600 | 1190400 | 1267200 | 1344000 | 1420800 | 1497600 | 1574400 | 1651200 | 1728000 | 1804800 |
Code:
{ 245000, 900, VDD_RAW(900) }, ------ | ----- { 245760, 1000, VDD_RAW(1000) },
{ 422400, 925, VDD_RAW(925) }, ------ | ----- { 368640, 1050, VDD_RAW(1050) },
{ 499200, 950, VDD_RAW(950) },
{ 576000, 975, VDD_RAW(975) },
{ 652800, 1000, VDD_RAW(1000) },
{ 729600, 1000, VDD_RAW(1050) },
{ 806400, 1025, VDD_RAW(1050) }, ---- | ----- { 806400, 1100, VDD_RAW(1100) },
{ 883200, 1050, VDD_RAW(1075) },
{ 960000, 1050, VDD_RAW(1075) },
{ 1036800, 1075, VDD_RAW(1125) }, ---- | ---- { 1024600, 1200, VDD_RAW(1200) },
{ 1113600, 1100, VDD_RAW(1125) },
{ 1190400, 1125, VDD_RAW(1150) },
RCMIX_ARHD_ED_1.3_OC_1.6_CIFS_TUN_NLS_EXT4
Code:
{ 122000, PLL_3, 5, 2, 61440, 875, VDD_RAW(875) },
{ 230400, PLL_3, 5, 1, 192000, 900, VDD_RAW(900) },
{ 307200, PLL_3, 5, 1, 192000, 900, VDD_RAW(900) },
{ 384000, PLL_1, 2, 0, 192000, 925, VDD_RAW(925) },
{ 460800, PLL_3, 5, 1, 192000, 950, VDD_RAW(950) },
{ 537600, PLL_2, 3, 0, 192000, 975, VDD_RAW(975) },
{ 614400, PLL_2, 3, 0, 192000, 975, VDD_RAW(975) },
{ 691200, PLL_2, 3, 0, 192000, 1000, VDD_RAW(1000) },
{ 768000, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 844800, PLL_2, 3, 0, 192000, 1025, VDD_RAW(1025) },
{ 921600, PLL_2, 3, 0, 192000, 1050, VDD_RAW(1050) },
{ 998400, PLL_2, 3, 0, 192000, 1050, VDD_RAW(1050) },
{ 1075200, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1152000, PLL_2, 3, 0, 192000, 1075, VDD_RAW(1075) },
{ 1228800, PLL_2, 3, 0, 192000, 1175, VDD_RAW(1100) },
{ 1305600, PLL_2, 3, 0, 192000, 1175, VDD_RAW(1175) },
{ 1382400, PLL_2, 3, 0, 192000, 1200, VDD_RAW(1200) },
{ 1459200, PLL_2, 3, 0, 192000, 1225, VDD_RAW(1225) },
{ 1536000, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1300) },
{ 1612800, PLL_2, 3, 0, 192000, 1350, VDD_RAW(1350) },
{ 1689600, PLL_2, 3, 0, 192000, 1400, VDD_RAW(1400) },
{ 1766400, PLL_2, 3, 0, 192000, 1425, VDD_RAW(1425) },
{ 1843200, PLL_2, 3, 0, 192000, 1450, VDD_RAW(1450) },
{ 1920000, PLL_2, 3, 0, 192000, 1475, VDD_RAW(1475) },
nice idea whisky, cheers
Hi!
How about for Lees Kernel?
Its the only1 I can get over 1.5ghz with stable
I get 1.8 daily runer with it.
OMG! You are working fast mate!
This is a GREAT thing to have if you want to change kernel or CPU tables
Very good idea for such tables.
del
Thanks so much mr Whiskey
Eagerly awaiting the release of 5.1.10
Will this daemon work on every rom? Or it is only for Unity?
anko184 said:
Will this daemon work on every rom? Or it is only for Unity?
Click to expand...
Click to collapse
Only for Unity and Android Revolution HD atm
mike1986. said:
Only for Unity and Android Revolution HD atm
Click to expand...
Click to collapse
It will work on the New incoming Android_Revolution_HD 5.1.10
Sent from my Desire HD using Smoke Signals, Morse Code and Pigeon Post.
Thanks for this Whiskey103
Which do you think is going to be the best kernel for the upcoming 5.1.10 of ARHD?
This has great potential but the way that the daemon changes settings is troublesome, I mean if you have to reboot everytime you change frequency or another setting you eliminate the battery improvements. Rebooting is a battery drainer, I will wait until this gets a GUI or change settings on the fly.
Can I ask sorry what this is please in Lehman's terms
Sent from my HTC Desire HD using XDA App
Spyr0s said:
This has great potential but the way that the daemon changes settings is troublesome, I mean if you have to reboot everytime you change frequency or another setting you eliminate the battery improvements. Rebooting is a battery drainer, I will wait until this gets a GUI or change settings on the fly.
Click to expand...
Click to collapse
No disrespect man, but how often do you change frequencies to call reboot battery drainer? You set it one time, and you are good to go. Cheers mate
Spyr0s said:
This has great potential but the way that the daemon changes settings is troublesome, I mean if you have to reboot everytime you change frequency or another setting you eliminate the battery improvements. Rebooting is a battery drainer, I will wait until this gets a GUI or change settings on the fly.
Click to expand...
Click to collapse
Yeah,, but for now,, it needs a reboot. I don,t think a GUI will change that btw.
And ofcourse,, you only need to set it one time..
Spyr0s said:
This has great potential but the way that the daemon changes settings is troublesome, I mean if you have to reboot everytime you change frequency or another setting you eliminate the battery improvements. Rebooting is a battery drainer, I will wait until this gets a GUI or change settings on the fly.
Click to expand...
Click to collapse
But why would you want to change frequencies that often? Frequencies are change by governor, the only thing you can change is min and max value. Once set I see no point in changing it very often...
What if you want to run a benchmark? What if you set the overclocking too high and your CPU can't handle it? You will stuck into an unbootable phone until you flash another setting. What about charging, low battery etc profiles
Spyr0s said:
What if you want to run a benchmark? What if you set the overclocking too high and your CPU can't handle it? You will stuck into an unbootable phone until you flash another setting. What about charging, low battery etc profiles
Click to expand...
Click to collapse
Well, you have your right but what I think is:
1. First of all - if you don't want to use O/C Daemon then just install SetCPU and O/C Daemon will be deactivated.
2. How many times a day a regular user do benchmarks?
3. Our tests proved that new O/C Daemon can handle much higher O/C then previous method with SetCPU. F.g. with SetCPU one of our devices was unstable on 1.6 GHz while with new O/C Daemon it's very stable with 1.6 GHz.
4. Yes, you can't use profiles like "charging" but as I said in point nr 1 - you can install SetCPU if you prefer it for some reasons.
So basically new O/C Daemon is not stripping any previous functionality. You can still use SetCPU if you want. It just gives extra possibility for users searching for better performance and those who don't want control CPU manually.
Whiskey, just a quick one. Is this deamon for the new one MDJ+ Unity V1?

Snapdragon 800 binning

Just wanted to start a thread to gather the bin info from everyone's SGN3.
As far as I know, Samsung blocks the last_kmsg that is needed to find the pvs so the only, way to know your bin is to compare it against the voltage table of other devices. The table below is for a pvs5 binned s800 which is the highest/best possible to my knowledge.
{ 0, static struct acpu_level acpu_freq_tbl_2p3g_pvs5[] __initdata = {
{ 1, { 300000, PLL_0, 0, 0 }, L2(0), 750000, 72 },
{ 0, { 345600, HFPLL, 2, 36 }, L2(1), 750000, 83 },
{ 1, { 422400, HFPLL, 2, 44 }, L2(2), 750000, 101 },
{ 0, { 499200, HFPLL, 2, 52 }, L2(2), 750000, 120 },
{ 0, { 576000, HFPLL, 1, 30 }, L2(3), 750000, 139 },
{ 1, { 652800, HFPLL, 1, 34 }, L2(3), 760000, 159 },
{ 1, { 729600, HFPLL, 1, 38 }, L2(4), 770000, 180 },
{ 0, { 806400, HFPLL, 1, 42 }, L2(4), 780000, 200 },
{ 1, { 883200, HFPLL, 1, 46 }, L2(4), 790000, 221 },
{ 1, { 960000, HFPLL, 1, 50 }, L2(9), 800000, 242 },
{ 1, { 1036800, HFPLL, 1, 54 }, L2(10), 810000, 264 },
{ 0, { 1113600, HFPLL, 1, 58 }, L2(10), 820000, 287 },
{ 1, { 1190400, HFPLL, 1, 62 }, L2(10), 830000, 308 },
{ 1, { 1267200, HFPLL, 1, 66 }, L2(13), 840000, 333 },
{ 0, { 1344000, HFPLL, 1, 70 }, L2(14), 850000, 356 },
{ 0, { 1420800, HFPLL, 1, 74 }, L2(15), 860000, 380 },
{ 1, { 1497600, HFPLL, 1, 78 }, L2(16), 870000, 404 },
{ 1, { 1574400, HFPLL, 1, 82 }, L2(17), 880000, 430 },
{ 0, { 1651200, HFPLL, 1, 86 }, L2(17), 890000, 456 },
{ 1, { 1728000, HFPLL, 1, 90 }, L2(18), 900000, 482 },
{ 0, { 1804800, HFPLL, 1, 94 }, L2(18), 910000, 510 },
{ 0, { 1881600, HFPLL, 1, 98 }, L2(18), 920000, 538 },
{ 1, { 1958400, HFPLL, 1, 102 }, L2(19), 930000, 565 },
{ 0, { 2035200, HFPLL, 1, 106 }, L2(19), 940000, 596 },
{ 0, { 2112000, HFPLL, 1, 110 }, L2(19), 955000, 627 },
{ 0, { 2188800, HFPLL, 1, 114 }, L2(19), 965000, 659 },
{ 1, { 2265600, HFPLL, 1, 118 }, L2(19),*975000, 691 },
{ 0, { 0 } }
};
Please post your model and voltage at 2.26ghz using a kernel that allows voltage control and a kernel tuner of your choice!
Mine is N900T and 1.1v at 2.26ghz (pretty sure this is pvs0)
I look forward to gathering more info as it seems there is none yet.
There are alredy some threads that talks about the binning, mine is 3.
If you are interested you can check your pvs with root.
Enviado desde mi SM-N9005 usando Tapatalk 2
How did you find your bin? Maybe it differs by model? N900T here... dmesg didn't work for me and I'm sure I checked closely. No acpuclk or pvs references in the dumped file.
m0nz said:
How did you find your bin? Maybe it differs by model? N900T here... dmesg didn't work for me and I'm sure I checked closely. No acpuclk or pvs references in the dumped file.
Click to expand...
Click to collapse
Binning info can be found at /d/acpuclk/pvs_bin
You need a explorer with root permissions.
Enviado desde mi SM-N9005 usando Tapatalk 2
m0nz said:
How did you find your bin? Maybe it differs by model? N900T here... dmesg didn't work for me and I'm sure I checked closely. No acpuclk or pvs references in the dumped file.
Click to expand...
Click to collapse
if you would have searched, you would have found this thread: http://forum.xda-developers.com/showthread.php?t=2500517
PLEASE USE THE SEARCH FUNCTION BEFORE STARTING NEW THREADS!!!
My bad, I definitely searched but nothing came up. Must've searched wrong.

Categories

Resources