Reply
Thread Tools
Posts: 446 | Thanked: 207 times | Joined on Sep 2012 @ Austria/Germany
#1
Hey guys,

I was wondering if there is a way on the N9 to change the color settings of the screen

I have 2 N9 and one of them has a more reddish tint to it whereas the other is bright white

it's not that big of a deal but i thought i'd ask...


[HOWTO]

There are 3 color profiles (Neutral, Vivid and Subdued) that you can choose from the settings menu

In order to change the color profile of your screen (to remove the reddish tint or ...) you need to edit mce.ini in /etc/mce/ as root.

Best way to do this is imho to connect to your N9 using ssh and then gain root privileges.
Code:
ssh user@ip_of_your_N9 (password)
devel-su (password)
You can check your screens hardware revision (Thanks to Kallela!)

Code:
dmesg | grep -i pyrenees
pyrenees may be the codename of the screen

you have either a fe* or c1* screen

Code:
[    0.307434] panel-nokia-dsi display0: pyrenees panel revision c1.8b.96
[   11.115112] atmel_mxt 2-004b: firmware: requesting RM-696_Pyrenees_LGD_V1_1.bin

MAKE A BACKUP

Code:
cp mce.ini mce.ini_org
I use nano to edit files but you can use whatever editor you are comfortable with
Code:
cd /etc/mce/
nano mce.ini

Now at the bottom of the file there are the 2 display sections (for c1 and fe hardware revisions)

looks like this:
Code:
[Display-c1]
​
# Color phase adjustments for the c1.* display revision
# Each value consists of sets of 12 numbers, each forming a entry for certain
# brightness range, the sets contain, brightness values in lux*3.3
# (330 = 100 lux):
#  - brightness range lower limit (one of the ranges should start from 0)
#  - brightness range upper limit (one of the ranges should have -1 = unlimited)
#  - high brightness mode level
#  - 3 coefficients for output red channel (red, green, blue)
#  - 3 coefficients for output green channel (red, green, blue)
#  - 3 coefficients for output blue channel (red, green, blue)
​
Neutral=0;330;0;195;48;13;22;206;28;8;8;240;330;9900;0;195;48;13;22;206;28;8;8;240
Vivid=0;33000;0;255;0;0;0;255;0;0;0;255;33000;-1;0;275;-10;-10;-10;275;-10;-10;-10;275;33000;-1;1;295;-20;-20;-20;295;-20;-20;-20;295;33000;-10;2;315;-30;-30;-30;315;-30;-30;-30;315
Muted=0;-1;0;156;79;21;40;165;51;32;32;192
​
[Display-fe]
​
# Color phase adjustments for the fe.* display revision
# See above for details
​
Neutral=0;330;0;199;28;28;8;209;38;8;8;239;330;9900;0;199;28;28;8;209;38;8;8;239
Vivid=0;33000;0;255;0;0;0;255;0;0;0;255;33000;-1;0;275;-10;-10;-10;275;-10;-10;-10;275;33000;-1;1;295;-20;-20;-20;295;-20;-20;-20;295;33000;-10;2;315;-30;-30;-30;315;-30;-30;-30;315
Muted=0;-1;0;159;48;48;15;167;73;32;32;191
There are sets of values for the 3 color profiles i talked about earlier. You need to edit those values..

A set of values for a profile looks like this

- 3 values for brightness (lower limit, upper limit, high brightness -> I wouldn't touch those numbers as I don't know what they are doing)
-3 values for the red color channel (R;G;B)
-3 values for the green color channel (R;G;B)
-3 values for the blue color channel (R;G;B)

3 + 3 + 3 + 3 makes a set consisting of 12 values and there is more than one set in the vivid profile (why? here)

Now, in order to tone down for example the reddish tint you need to decrease the red values (R) of the red channel for the profile you are using (I'd do it for all profiles!) for your hardware revision

e.g
Neutral=0;330;0;175;48;13;22;206;28;8;8;240;330;9900;0;175;48;13;22;206;28;8;8;240

When you have changed all the numbers to your liking, save the file and reboot.
If you are not satisfied play with the values until you are.

Edit:
As thedead1440 pointed out it may not be necessary to reboot
Code:
/sbin/stop mce
/sbin/start mce
should do the trick

Be extremly careful what you edit and don't make any typos or you could end up with a brick and would need to do a full reflash of your device. I am not accountable for anything!

Have a nice day

Last edited by mcbook; 2013-04-02 at 12:47.
 

The Following 5 Users Say Thank You to mcbook For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#2
I wonder if /etc/mce/mce.ini's [Display] section towards the bottom of the file for the 3 colour profiles allow changes that may allow the redish tint to be adjusted or is it just a poor quality screen you are stuck with it...
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 446 | Thanked: 207 times | Joined on Sep 2012 @ Austria/Germany
#3
well it's a black 64 gb N9 and it's not some chinese version or somthing
but still

i will look into the file you've pointed out

any further help would be awesome
 

The Following User Says Thank You to mcbook For This Useful Post:
XiliX's Avatar
Posts: 356 | Thanked: 217 times | Joined on Aug 2010 @ Netherlands
#4
looks risky, as MCE is a entity that doesnt allow errors in its ini file..
screw up and its a re-flash for you...
 

The Following User Says Thank You to XiliX For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#5
Originally Posted by XiliX View Post
looks risky, as MCE is a entity that doesnt allow errors in its ini file..
screw up and its a re-flash for you...
If in openmode, just replace the file with the original via mounting your partitions on PC so not really a biggie but I wonder if its really that file...
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 446 | Thanked: 207 times | Joined on Sep 2012 @ Austria/Germany
#6
I've been scouring the web for the past 2 hours and found nothing!
I thought this was linux? where are the xserver settings then ?
probably hardcoded or something
 

The Following User Says Thank You to mcbook For This Useful Post:
MSameer's Avatar
Posts: 605 | Thanked: 1,778 times | Joined on Feb 2008 @ Helsinki
#7
Perhaps color profiles? Settings -> Device -> Display -> Color profile would do it.
 

The Following User Says Thank You to MSameer For This Useful Post:
Posts: 446 | Thanked: 207 times | Joined on Sep 2012 @ Austria/Germany
#8
Nop, already tried it.. still kinda reddish!
I mean it's not annoying or anything but i would like to know if it's even possible to change these settings somewhere...

edit: I looked at the last few lines of mce.ini and tried to understand what's behind all of these values.... No luck so far
If anyone has a clue how this works, let me know

Last edited by mcbook; 2013-04-01 at 12:18.
 

The Following User Says Thank You to mcbook For This Useful Post:
knobtviker's Avatar
Posts: 665 | Thanked: 2,388 times | Joined on Feb 2012 @ Zagreb, Croatia
#9
Very interesting. Maybe an app like Redshift or Flux from desktops could be made with this.
But do we edit profiles under -c1 or -fe display section?

Editing mce.ini in realtime without Inception isn't possible,no?
 

The Following User Says Thank You to knobtviker For This Useful Post:
knobtviker's Avatar
Posts: 665 | Thanked: 2,388 times | Joined on Feb 2012 @ Zagreb, Croatia
#10
Code:
[Display-c1]
​
# Color phase adjustments for the c1.* display revision
# Each value consists of sets of 12 numbers, each forming a entry for certain
# brightness range, the sets contain, brightness values in lux*3.3
# (330 = 100 lux):
#  - brightness range lower limit (one of the ranges should start from 0)
#  - brightness range upper limit (one of the ranges should have -1 = unlimited)
#  - high brightness mode level
#  - 3 coefficients for output red channel (red, green, blue)
#  - 3 coefficients for output green channel (red, green, blue)
#  - 3 coefficients for output blue channel (red, green, blue)
​
Neutral=0;330;0;195;48;13;22;206;28;8;8;240;330;9900;0;195;48;13;22;206;28;8;8;240
Vivid=0;33000;0;255;0;0;0;255;0;0;0;255;33000;-1;0;275;-10;-10;-10;275;-10;-10;-10;275;33000;-1;1;295;-20;-20;-20;295;-20;-20;-20;295;33000;-10;2;315;-30;-30;-30;315;-30;-30;-30;315
Muted=0;-1;0;156;79;21;40;165;51;32;32;192
​
[Display-fe]
​
# Color phase adjustments for the fe.* display revision
# See above for details
​
Neutral=0;330;0;199;28;28;8;209;38;8;8;239;330;9900;0;199;28;28;8;209;38;8;8;239
Vivid=0;33000;0;255;0;0;0;255;0;0;0;255;33000;-1;0;275;-10;-10;-10;275;-10;-10;-10;275;33000;-1;1;295;-20;-20;-20;295;-20;-20;-20;295;33000;-10;2;315;-30;-30;-30;315;-30;-30;-30;315
Muted=0;-1;0;159;48;48;15;167;73;32;32;191
Instructions are selfexplanatory. 3 brightness numbers in lux units, followed by RGB format color, 3 numbers. Semicolon is a delimiter.
 

The Following 4 Users Say Thank You to knobtviker For This Useful Post:
Reply

Tags
red tint, reddish display


 
Forum Jump


All times are GMT. The time now is 02:28.