FORUMS

What Are the Best Looking Apps on Android?

As more developers are updating their apps with Material Design elements, we’re … more

Cyngn Explained: Who’s Cyanogen, What’s Cyanogen OS?

While Cyanogen, Inc has been the source of many headlines lately, there … more

Verizon Moto X 2014 Receives Root On Kitkat 4.4.4

The Verizon Moto X 2014 has finally received root, albeit only on Kitkat 4.4.4 … more

Android 5.1.1 Released, Google Cell Service – XDA TV

Android Lollipop 5.1.1 has been released. That and much more news is covered … more
Post Reply Subscribe to Thread Email Thread

[GUIDE] Color correction. Loadable mDNIe color profiles.

11th September 2014, 09:20 PM |#11  
Orphee's Avatar
Senior Member
Thanks Meter: 414
 
More
Do you want me to do a titanium backup of X-rite ColorTrue to leave you try it (with it own gallery)
 
 
12th September 2014, 08:21 PM |#12  
OP Senior Member
Thanks Meter: 152
 
More
Quote:
Originally Posted by Orphee

Do you want me to do a titanium backup of X-rite ColorTrue to leave you try it (with it own gallery)

Well, thanks indeed, but what I'm saying is that I have no idea how to correlate values from ICC with mdnie values. I don't know what values in ICC profile mean, some kind of coordinates of base RGB colors on some colorspace. I don't know how to translate them into values like red-in-black, red-in-green, red-in-white.
That's what problem is.

If you know anything about ICC profile structure, if can somehow describe all that values to me, maybe then we could figure out something to do with all that.
5th December 2014, 12:23 AM |#13  
Member
Thanks Meter: 64
 
More
Quote:
Originally Posted by heyjoe66

8. PROFILE WILL RESET AFTER SCREEN OFF/ON CYCLE. For now I'm using Tasker to refresh it on screen on event. Maybe later we'll figure out some more elegant way;

You can use a init.d script for profile reloading when screen is reactivated:

Code:
#!/system/bin/sh

(while [ 1 ]
do
    AWAKE=`cat /sys/power/wait_for_fb_wake`
    if [ $AWAKE = "awake" ]; then
         echo 1 > /sys/devices/platform/s5p-mipi-dsim.1/lcd/panel/mdnie/tuning;
         echo "profile file name without path and spaces" > /sys/devices/platform/s5p-mipi-dsim.1/lcd/panel/mdnie/tuning;
    fi
    SLEEPING=`cat /sys/power/wait_for_fb_sleep`
    if [ $SLEEPING = "sleeping" ]; then
        sleep 1
    fi
done &)
It's nothing else than a modified screenstate scaling script, i use that on my S2 and it works very good.

regards,

lombartz
5th December 2014, 09:27 AM |#14  
OP Senior Member
Thanks Meter: 152
 
More
Quote:
Originally Posted by lombartz

You can use a init.d script for profile reloading when screen is reactivated:

Code:
#!/system/bin/sh

(while [ 1 ]
do
    AWAKE=`cat /sys/power/wait_for_fb_wake`
    if [ $AWAKE = "awake" ]; then
         echo 1 > /sys/devices/platform/s5p-mipi-dsim.1/lcd/panel/mdnie/tuning;
         echo "profile file name without path and spaces" > /sys/devices/platform/s5p-mipi-dsim.1/lcd/panel/mdnie/tuning;
    fi
    SLEEPING=`cat /sys/power/wait_for_fb_sleep`
    if [ $SLEEPING = "sleeping" ]; then
        sleep 1
    fi
done &)
It's nothing else than a modified screenstate scaling script, i use that on my S2 and it works very good.

regards,

lombartz

Nice. That looks really useful. Sadly, these wait_for_fb_* attributes are missing on our device, or maybe moved to some place else. Need to look for them.
Regarding the problem you're referring to, it's actually a bug in samsung's code. They are trying to read profile from /sdcard when sdcard is not ready yet. I've fixed it in my own kernel build by moving the mdnie folder to /data. So now profile is updated as it meant to.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes