RGB Display Calibration Using Savoca's Furnace & Franco Kernel r6

Search This thread

Mnt-XDA

Senior Member
Aug 6, 2013
357
405
As you all know that Furnace kernel and Franco kernel version r6 has the RGB display calibration control ability ,
now we can adjust LCD screen RGB value by changing the default value (255 255 255)
in the system file "/sys/devices/platform/kcal_ctrl.0/kcal"

One can change the RGB value in the above mentioned file manually using any good file manager with root access.

But it will again reset to default (255 255 255) when you reboot phone.

Many of us (One Plus One owner) think that the LCD screen is a bit yellowish.

Feature given in CM11S --> Settings --> Display & lights --> Screen Color --> Custom will only allow us to control

Hue
Saturation
Contrast
Intensity

But it is difficult for us to adjust screen yellow tone by this.

Here is a simple tweak that can help you to set RGB (Franco Kernel r6) on boot

I have created a simple shell script that will change RGB value on every boot

!! INSTRUCTION / DOWNLOAD !!
Create a file called "Kcal_LCD_RGB_SetOnbootScript" and put into /etc/init.d/ folder and give permission "rwxr-xr-x"
*** you can give any name ***

Only Work With Furnace-1.0.1 Kernel & Franco kernel for OnePlus One that has LCD KCAL Support
Code:
#!/system/bin/sh
echo "220 230 255" > /sys/devices/platform/kcal_ctrl.0/kcal
Suggested by @savoca
--------------------------------------
"Add that line I gave you below. The control line verifies the kcal part and makes sure it's a safe or proper value before sending it to the panel."

Code:
echo "1" > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl
You can set any RGB value as per your like..

Download Sample file here -- View attachment Kcal_LCD_RGB_SetOnbootScript.zip

Requirements
---------------------------------
1) OnePlus One Phone
2) CM11S Stock ROM (Franco) or CM11 Nightly with Furnace Kernel
3) Rooted Device
4) Franco Kernel r6 or Furnace Kernel
5) File Manager
---------------------------------


Another Easy way by TricksterMOD App as guided by @savoca
===============================================
Install TricksterMOD App --- https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
Grant root access
Open app and click on top left menu --> Select Screen --> Adjust RGB values and hit "Right" Sing on top menu to apply it.




Credit goes to @savoca for Furnace-1.0.1 Kernel for OnePlus One
@franciscofranco for Franco Kernel(r6)



Thanks :)
Give it a try and let me know you experiences in this thread.

Note: I am trying to make an app for it with color slider. it may take time since not an android/java developer.

 
Last edited:

Mnt-XDA

Senior Member
Aug 6, 2013
357
405

Thank you for this information...It was not known to me that it picked up from your kernel
(have not read all posts of kernel thread)

Anyway, Credit goes to both of you for giving such nice kernels..
 
Last edited:
  • Like
Reactions: Scann69

savoca

Inactive Recognized Developer
Oct 28, 2011
1,715
5,298
Pasadena
downloads.codefi.re
Google Pixel 7
Thank you for this information...It was not known to me
(have not read all posts of kernel thread)

Anyway Credit goes to both of you for giving such nice kernels..

Just thinking maybe you could give credit where due, if anything give it to LG. But you really plastered franco's name/kernel all over here.

Also apps like TricksterMOD already support this. And to maintain compatibility with most of the cherry-picks that will come of this, you should add this line to your script.

Code:
echo "1" > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl
 

Mnt-XDA

Senior Member
Aug 6, 2013
357
405
Just thinking maybe you could give credit where due, if anything give it to LG. But you really plastered franco's name/kernel all over here.

Also apps like TricksterMOD already support this. And to maintain compatibility with most of the cherry-picks that will come of this, you should add this line to your script.

Code:
echo "1" > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl

OP updated as suggested by you.
Thanks a lot for guiding us.
 
  • Like
Reactions: Scann69

shojus

Senior Member
Jan 9, 2008
1,338
540
GRap
Works like a charm... No more yellow on the bottom of the one...

Takes away the yellow but makes my display REALLY cold like a bluish tone. I have played quite a bit but I am yet to find any setting that makes my display look like it should from the factory... Will keep trying.
 

ak

Senior Member
Feb 19, 2011
14,848
69,619
Ak Land Valley
ak.hiddenbytes.org
Just thinking maybe you could give credit where due, if anything give it to LG. But you really plastered franco's name/kernel all over here.

Also apps like TricksterMOD already support this. And to maintain compatibility with most of the cherry-picks that will come of this, you should add this line to your script.

Code:
echo "1" > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl

Thanks man ... your ideas about kcal is fantastic ... this is a very good enhancement with the new gamma code by CM. ;)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    As you all know that Furnace kernel and Franco kernel version r6 has the RGB display calibration control ability ,
    now we can adjust LCD screen RGB value by changing the default value (255 255 255)
    in the system file "/sys/devices/platform/kcal_ctrl.0/kcal"

    One can change the RGB value in the above mentioned file manually using any good file manager with root access.

    But it will again reset to default (255 255 255) when you reboot phone.

    Many of us (One Plus One owner) think that the LCD screen is a bit yellowish.

    Feature given in CM11S --> Settings --> Display & lights --> Screen Color --> Custom will only allow us to control

    Hue
    Saturation
    Contrast
    Intensity

    But it is difficult for us to adjust screen yellow tone by this.

    Here is a simple tweak that can help you to set RGB (Franco Kernel r6) on boot

    I have created a simple shell script that will change RGB value on every boot

    !! INSTRUCTION / DOWNLOAD !!
    Create a file called "Kcal_LCD_RGB_SetOnbootScript" and put into /etc/init.d/ folder and give permission "rwxr-xr-x"
    *** you can give any name ***

    Only Work With Furnace-1.0.1 Kernel & Franco kernel for OnePlus One that has LCD KCAL Support
    Code:
    #!/system/bin/sh
    echo "220 230 255" > /sys/devices/platform/kcal_ctrl.0/kcal
    Suggested by @savoca
    --------------------------------------
    "Add that line I gave you below. The control line verifies the kcal part and makes sure it's a safe or proper value before sending it to the panel."

    Code:
    echo "1" > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl
    You can set any RGB value as per your like..

    Download Sample file here -- View attachment Kcal_LCD_RGB_SetOnbootScript.zip

    Requirements
    ---------------------------------
    1) OnePlus One Phone
    2) CM11S Stock ROM (Franco) or CM11 Nightly with Furnace Kernel
    3) Rooted Device
    4) Franco Kernel r6 or Furnace Kernel
    5) File Manager
    ---------------------------------


    Another Easy way by TricksterMOD App as guided by @savoca
    ===============================================
    Install TricksterMOD App --- https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
    Grant root access
    Open app and click on top left menu --> Select Screen --> Adjust RGB values and hit "Right" Sing on top menu to apply it.




    Credit goes to @savoca for Furnace-1.0.1 Kernel for OnePlus One
    @franciscofranco for Franco Kernel(r6)



    Thanks :)
    Give it a try and let me know you experiences in this thread.

    Note: I am trying to make an app for it with color slider. it may take time since not an android/java developer.

    3
    Thank you for this information...It was not known to me
    (have not read all posts of kernel thread)

    Anyway Credit goes to both of you for giving such nice kernels..

    Just thinking maybe you could give credit where due, if anything give it to LG. But you really plastered franco's name/kernel all over here.

    Also apps like TricksterMOD already support this. And to maintain compatibility with most of the cherry-picks that will come of this, you should add this line to your script.

    Code:
    echo "1" > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl
    3
    I try 245 244 240 with Franco kernel and seems good

    Inviato dal mio OnePlus One
    2
    Can you post image ?
    u4y7ahys.jpg


    Top: note 2, under : opo (max brightness for both)

    Inviato dal mio GT-N5110