[Q] How can I edit the MDNIE settings? - AT&T Samsung Galaxy S II SGH-I777

I'm running the UnNamed rom v.1.3.1. One of the reasons I'm using this rom is because it unlocks the Display settings for Screen Mode. Here you can choose between 3 modes:
Dynamic: SUPER saturated colors!!!
Standard: very saturated colors
Move: a bit oversaturated colors
I was hoping to be able to tweak these settings, but I can't find any definitive information on how to change them. I believe their settings are stored in 3 files in /system/etc
mdnie_tune_ui_dynamic_mode
mdnie_tune_ui_standard_mode
mdnie_tune_ui_movie_mode
There's a Color Saturation setting that difffers between them all. I tried to update the value the saturation in the Standard file to 0 to see if I could tone down the saturation. But edits to the file seems to have no effect. I even copied the content of the "movie" file to the "standard" file, and it doesn't change anything. Does anyone know how I can get these changes to take effect? Thanks.

Related

[Q] Is there a way to adjust display saturation?

I'm unhappy with the colour saturation offered by Samsung's four display profiles. The default is too vibrant, and the next one down is very dull.
Can this be tweaked manually? If not, is it possible to write a mod which achieves this?
Cheers.

[Q] Designing Custom Wallpaper Question

I am fairly adept with photoshop and make my own wallpapers for PC, cell, etc. I finally got around to making one for my nook tab, but now I have a question.
The colors are very bright and vibrant when on my PC, but after moving it to my nook and setting it as the wallpaper, they are very dim and dingy.
I have tried them in both .png and .jpeg formats. The files are in RBG mode and at 72 pixels/inch. I turned it up to 300 pixels/inch (print quality) and nothing changed. CMYK doesn't translate the pink hue well for my taste so I have stayed away from that one. I have also tried putting it in as a picture instead of a wallpaper with no success.
Is there something special that needs to be done? Has anyone else see or experienced this?
After copying the images unto your nook tablet memory install a photo editor and try enhancing the image until you get desired color saturation, brightness, contrast etc viewing on your tablet. Save the image with desired enhancements and than apply as wallpaper.
Any recommendations on a program? I have a unrooted stock NT. I haven't tried to do any editing on it before.
Adobe photoshop express! and associated apps in search result.

[TIP][Guide]Change Default Home Button Color

Hi Guys.. I've been searching for ways to change the default color of Home Button of our Ray. Been on decompiling/compiling framework, settings... but got nothing or don't know exactly what xml/smali that controls the color of the buttons. So, by doing some trials-and-errors...:crying: Maybe this time I hit it.
First of all I want to thank:
JJDOCTOR for giving the hint to enable the light of Home button.
boy*racer*- max echo value is 20000
and all of you GUYS here on xda..
So here it is, navigate to system/etc/pre_hw_config.sh using ROOT EXplorer and find these lines:
echo 1000 > $dev/red/max_current
echo 1000 > $dev/green/max_current
echo 1000 > $dev/blue/max_current
and change to anything you want, I made it to
echo 1000 > $dev/red/max_current
echo 2000 > $dev/green/max_current
echo 9000 > $dev/blue/max_current
THE HIGHER THE VALUE, THE BRIGHTER THE LED.
Save changes....
For color preferences calculations: Go here. Thanks to Xtremy.
The above is nearly ICS Blue... You can put any values you want til 20000(?) except ZERO (0). By putting zero, that color will not be used by the system notifications ( I think)...
THIS WOULD NOT MAKE ALL OF THE NOTIFICATIONS COLOR TO THE COLOR YOU HAVE SET, ONLY THE DEFAULT HOME BUTTON COLOR IS AFFECTED. Sorry if the first flash of notification is not the COLOR you desired, only the succeeding flashes... I'm not a developer, I don't know how to do this correctly.
I THINK THIS WOULD NOT WORK ON CM-BASED ROM, BECAUSE THE HOME BUTTON LIGHT IS DISABLED (automaticbrightness is already set to FALSE). If somebody can make it to work, just apply it.
SOME DEFAULT COLOR WOULD NOT BE THE CORRECT APPEARANCE AFTER CHANGING THOSE LINES.. example, Violet is not violet when you use it as message notifications, still ICS Blue(?). Just raise the values.
REBOOT IS A MUST... Hope it won't bootloop...
adulfo said:
......................but got nothing or don't know exactly what xml/smali that controls the color of the buttons..........................:
Click to expand...
Click to collapse
XML is used to create user interface and the components used in app and java is used to create executable codes that will make apps functionality.
XML and smali are created automatically in app development.Though notepad++ is best to type XML.Best and easiest way to create a xml file is just write code in notepad++ and save it with extension of .xml.If you are developing an application of android then xmls are created by software itself. You will just need to specify name and add it to project as xml file...
thank you! i was just looking for this:good:
This is a nice mod adulfo! :good:
I wrote a little tutorial for finding your color value:
Go to this Color Wizard website.
Choose the color of your choice in de color bars.
In the #box you find the hex value for your color.
For this tut i use a nice orange E45F13 hex value.
Split de value in three pieces E4 5F 13.
1st byte E4 xx xx is for the Red value. (#FF0000)
2nd byte xx 5F xx is for the Green value. (#00FF00)
3rd byte xx xx 13 is for the Blue value. (#0000FF)
Open windows calculator set it in Scientific Mode.
1) Hit F5 to select HEX.
2) Type in your first hex (if HEX is 00, decimal is 0)
3) Hit F6 to convert to decimal.
Do this for all three hex values and write down the numbers...
1st byte E4 xx xx E4=228
2nd byte xx 5F xx 5F=95
3rd byte xx xx 13 13=19
As we know "max echo value is 20000" or 255 so:
20000 / 255 X 228 (your 1st above number)= 17882 for the Red Value
20000 / 255 X 95 (your 2nd above number)= 7450 for the Green Value
20000 / 255 X 19 (your 3rd above number)= 1490 for the Blue Value
Change the values in system/etc/pre_hw_config.sh for red, green and blue save & exit, reboot!
---------- Post added at 12:48 AM ---------- Previous post was at 12:37 AM ----------
I use the Tron Legacy Cyan color: 00DFFC
1000 for the Red Value.
17490 for the Green Value.
19764 for the Blue Value.
also note:
I set the first byte for Red to zero
after reboot it went to 1000 value,
so I think 1000 is the lowest value.
Thanks mate.. To those also having problems converting those values, you can google HEX to RBG converter.
wow it is very great and i change it
works perfect
4.0.4 587
psp1987 said:
wow it is very great and i change it
works perfect
4.0.4 587
Click to expand...
Click to collapse
Would be nice if you will read my signature...
what does this change ? the light shown when the phone is switched on and had no notification ?
-Jesco- said:
what does this change ? the light shown when the phone is switched on and had no notification ?
Click to expand...
Click to collapse
This would only change the default color of your Home button ( if only it is enabled), hitting any of your physical keys.
i changed all the values to 10000, all the colors are the same but a lot brighter, default 1000 is too dim for me.
@adulfo thanks for the tip buddy, can happily report that it is also working on my ray
Sent from my ST18i using xda premium
This values as depicted on the lines itself maybe clear, raising it, means raising LED current, more current more power,more power so much brighter... If you want color other than WHITE, don't make the values nearly equal.
Xtremy said:
also note:
I set the first byte for Red to zero
after reboot it went to 1000 value,
so I think 1000 is the lowest value.
Click to expand...
Click to collapse
Zero doesn't work, i try 0001, it works.
for RED color, the value is 10000,0001,0001.
Try again to see the values on your pre_hw_config.sh if it did not changed after reboot. Then all of your notifications will turn to RED.. By setting the lowest value to 1000, still the GB colors has still a good current value.
Flashable zip for Holo style Blue
Not made by me but jjdoctor...
had this zip tho
lokenok said:
Flashable zip for Holo style Blue
Not made by me but jjdoctor...
had this zip tho
Click to expand...
Click to collapse
I think this will make all of your notifications to LIGHT BLUE?.. Correct me if I'm wrong... Doing that also.. Better to put those values on pre_hw_config.sh..
adulfo said:
Try again to see the values on your pre_hw_config.sh if it did not changed after reboot. Then all of your notifications will turn to RED.. By setting the lowest value to 1000, still the GB colors has still a good current value.
Click to expand...
Click to collapse
so is there any value that change the LED to RED but not affect to other notification color???
luckkonku said:
so is there any value that change the LED to RED but not affect to other notification color???
Click to expand...
Click to collapse
Just don't put those values on hw_config.sh, only on pre_hw_config.sh I think....
hi guys this is my first comment so, i've changed these values in pre_hw_config.sh and of course i've got the color i want (nearly ICS blue). BUT here is my problem: other notifications like charging (instead of red it's nearly pink, instead of orange it's nearly green...) not working properly. I'm using light flow led and its notifications also miss the right color. Is there a solution for this? I'm not a developer but i think the phone calculates the values of notifications by this three values and must be an algorithm for this somewhere in the phone, so maybe we can manipulate that. Tell me if I'm wrong. Sorry for my english it's not my native language.
bobo023 said:
hi guys this is my first comment so, i've changed these values in pre_hw_config.sh and of course i've got the color i want (nearly ICS blue). BUT here is my problem: other notifications like charging (instead of red it's nearly pink, instead of orange it's nearly green...) not working properly. I'm using light flow led and its notifications also miss the right color. Is there a solution for this? I'm not a developer but i think the phone calculates the values of notifications by this three values and must be an algorithm for this somewhere in the phone, so maybe we can manipulate that. Tell me if I'm wrong. Sorry for my english it's not my native language.
Click to expand...
Click to collapse
Try to raise the values of the other color, I stated that on my OP last part that if you make the other values extremes (1000 and 20000), the the colors will be affected.. If for instance, Blue will have 20000 value, the notifications color that contains blue (violet...) will have dominant blue and other colors will be suppressed, so VIOLET will turn out to be more on BLUE.

mDNIe

Is there anyway to bypass mDNIe on the Galaxy S4?
On the Galaxy Note II with Perseus kernel, one can use STweaks to "Enable master sequence", which will ignore Samsung's profiles and instead use a color scheme that closely calibrates the display to the sRBG color space.
My understanding is that a Note II display was measured with a colorimeter and values were obtained which allowed accurate color representation when the values were input into a mDNIe matrix.
In any case, is there any way to obtain accurate color on the GS4?
I noticed that Liquid Smooth ROM has advanced settings to set the color scheme (which didn't seem to do anything) and color temperature (didn't seem to do anything.)
xdadevnube said:
Is there anyway to bypass mDNIe on the Galaxy S4?
On the Galaxy Note II with Perseus kernel, one can use STweaks to "Enable master sequence", which will ignore Samsung's profiles and instead use a color scheme that closely calibrates the display to the sRBG color space.
My understanding is that a Note II display was measured with a colorimeter and values were obtained which allowed accurate color representation when the values were input into a mDNIe matrix.
In any case, is there any way to obtain accurate color on the GS4?
I noticed that Liquid Smooth ROM has advanced settings to set the color scheme (which didn't seem to do anything) and color temperature (didn't seem to do anything.)
Click to expand...
Click to collapse
Ive seen settings for mDNIe inside the KTweaker app that comes with the KTSGS4 Kernel. Not sure if its exactly what your looking for, but its the closest thing i could find. Might want to take a look at that kernel if you haven't already.

better way to adjust custom colors of splendid display app

I was always dissatisfied with the colour reproduction of the "splendid" settings, but custom setting is always too inaccurate. Now I have found a way to adjust them better. Maybe it will be of some use to you:
go to the splendid app and use custom.
After it use adb on a pc with USB-debugging (or use the App SetEdit)
On PC use:
adb shell
settings get system asus_splendid_custom_color
you get a value like: 0.0:1.0:1.0
The first value is red, it means e.g. 5.0 means red will be more like orange, -5.0 mor like violet
The second is saturation. Use it in small steps e.g. 0.95 for less saturation
The third value is gamma/whiteness. Use small steps, too.
Then you can change it:
settings put system asus_splendid_custom_color 2.5:0.89:1.1 (This are my actual values)
In the App SetEdit you can directly change the values.

Categories

Resources