yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Dudebowski:
Having issues with Epic 4g Touch running CM9 pre-betas. They're nearing CM main merge state right now, but I can accept it might be the ROM's issue. I remember reading there's some mdnie issues with the ROM right now, so possible.

Awesome app, but issues: Running the latest version from PlayMarket. When I change the scheme, turning screen off/on again has problems.

The red galaxy image sticks and I have to use the recent apps list to jump to another app and get my UI back (home/back buttons don't escape)

Now, that problem is gone but the screen simply wont wake up no matter how long i wait. It seems the lock sound doesn't play most of the time when this happens as well. Only way to recover is to hold power/battery pull. I tried clearing app data, all that did was bring the firstrun dialogues.

far as i can see, logcat doesn't show anything other than what happens as usual upon the state changes in the app, it just chops off after a trail of Dalvik logs when screen turns off:

08-21 02:43:35.511 E/Parcel ( 2205): Reading a NULL string not supported here.

08-21 02:43:35.521 I/AudioPolicyManager( 1797): startOutput() output 1, stream 1, session 103

08-21 02:43:35.521 D/AudioSystem( 1797): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!

08-21 02:43:35.521 D/AudioSystem( 1797): audio_stream_type_t: 1

08-21 02:43:35.521 D/AudioSystem( 1797): isSeparatedStream: false

08-21 02:43:35.561 E/NotificationService( 1923): Ignoring notification with icon==0: Notification(contentView=mobi.pruss.GalacticNight/0x1090098 vibrate=null,sound=null,defaults=0x0,flags=0x62)

---Dalvik state logs---
[Android Apps and Games] arpruss:
What if you turn off the image in Galactic Night's settings? You'll get a short flash of a non-nightmode screen, but that may be better than this problem.
[Android Apps and Games] arpruss:
You're very welcome. If you still have the stock system, I'd like to try to get it to work there if you want to help.
[Android Apps and Games] Dudebowski:
*realizes there's a softkey menu for the app*

No dice. still locked it up. seems it doesn't matter which setting i have it on besides the ones offered within the system settings (dynamic, etc.)

I'm going to ask our developer if he has any insight and report back. Seems it's working for everyone else using it so I'm guessing it's probably a beta ROM-based bug.
[Android Apps and Games] sloanyboy:
i can confirm its working like a dream on galaxy s2 running cm10/paranoid 1.991

no issues at all on my uk phone
[Android Apps and Games] sam.crowther:
Market version perfect on note with pa 1.99.1

Older RC version force closed on more. Would be nice to have a dim effect for night time reading, I'm using this and a dimmer, gnotes screen is just so bright...
[Android Apps and Games] shinyu:
Thank love it :good::good::good::good::good::good::good:
[Android Apps and Games] arpruss:
My wife got an ICS-based SII, and I noticed two bugs.

1. If you set, e.g., green, and turn off the device, and turn it back on, and then carefully look at letters, you see little tiny artifacts.

2. Sometimes it doesn't come back as green.

Anybody else have these issues? It might help with fixing if I have a feel for the range of devices where these issues come up.
[Android Apps and Games] Dudebowski:
So I came back like I said I would... how often does that happen??

CM9 for epic 4g touch has just gone into Beta state, and your app works flawlessly. The dev was working on the mdnie scenario configs, but it's since been fixed along with a lot more.

shameless plug for another great dev... chris41g updated Mali config, is using some JB code, and the graphics are BEAUTIFUL, electricsheep looks incredibly vivid. Any samsung d710 users should take a peek and flash, it's about to become officially CM supported.

Thx arpruss for a fantastic app, now back to being a nightowl in comfort.h00t!

EDIT: I regret to inform you that it appears it goes into sleep of death mode still.... back to the drawing board.

I was able to capture a logcat with an app before i turned the screen off this time, will upload tomorro. need sleep.
[Android Apps and Games] Dudebowski:
Cleaned a bunch of irrrelevant crap out of the log searching for something useful, but came up short. There could be something there, i just dont understand everything going on in it.

Removed: Audio system logs from touch sounds, Dalvik updates, betterbatterystats logging

I did notice that OPenGLRenderer flushed it's cache one last time just milliseconds before the Sleep of death:

http://tinyw.in/uuqx
[Android Apps and Games] fg:
stock ics t989 (sgs2 t-mobile us)

has this been tested on rootec stock ics t989 (sgs2 t-mobile us)? i haven't seen anything but baddie references to all sgs2 working, but get the not rooted or not supported pop up.
[Android Apps and Games] arpruss:
Send me the log with logcat as per instructions, and I can have a quick look at it.
[Android Apps and Games] fg:
done
[Android Apps and Games] ArcticFish:
Happened to me too

Sent from my SGH-T989 with Darthstalker
[Android Apps and Games] fg:
Be sure to send in your logs, would love to see this fixed.
[Android Apps and Games] arpruss:
Posted SGH-T989 version.
[Android Apps and Games] karasuhebi:
Great app man, keep up the good work. To answer your question as to which mode would save the most battery, it looks like it might be the red/night mode. I got this link from the Chainfire3D thread, actually:

http://jsharkey.org/blog/2010/07/01/android-surfaceflinger-tricks-for-fun-and-profit/

I wish someone would re-do that test with an SII or SIII, since that is an old article, where he did the tests with a Nexus One.
[Android Apps and Games] kewachan:
Any update news of this great app? such as the Pro version.:fingers-crossed:
[Android Apps and Games] Tatsuya79:
First, thanks a lot for your work!

that's an amazing app I use to calibrate my screen atm and it's even better that chainfire3D nightmode (as the mdnie are applied even on videos and well, everywhere).

I'm on SGS3 and we had this black crush problem (too low gamma in the dark greys turning them black) some developers fixed.

But in your app it's still here in ScreenControlICS4212.java:

search for the 0x0021 value and change 0x0290 to 0x1090, that's how I fixed it.

Perhaps you don't have enough downloads here but if you go in the app section of the i9300 and put a title like "SCREEN CALIBRATION" it could change this a lot.

Just some ideas for how I'd like to see this app evolve:

-an "easy mode" which will be OK for most people; 3 sliders for R/G/B which change all the values at once for each colors (the 4 "ff" of each color to be reduced, similar to chainfire3D nightmode)

-an advanced option; this could be made with the eight colors, you would have

Magenta: R[255] G[0] B[122] / White R[255] G[255] B[255] / etc, just click and input a value (in decimals, easier than hex)

-and "Apply at boot" of course!

Thanks again and if you make this app pro I will buy it for sure.
[Android Apps and Games] arpruss:
Do you think the black crush fix should be applied by default, or are some users going to object?
[Android Apps and Games] Tatsuya79:
I think it should be applied by default on I9300, that's how the kernel developers did it anyway, as it basically "burns" the details in the dark tones.

You also have this problem on the galaxy note2, I saw many people asking for a fix (Note1 as well, one thread like many others).

Then you have to know if all the phones are impacted by this misconfiguration from Samsung or if it is a problem of some particular screens.

It seems to be the first case on S3, guess it's the same on Note & Note2 (but not sure), don't know about S2, S1 was ok.

In case you're wondering how to test it, displaying an image such as this one here will help you.

If you can see the 3 lines on the bottom it's OK, if you can just see the last line and everything else is black you've got a black crush.

So you see, potentially your app could help a lot of people, it's just a matter of making it known if it evolves into a calibration tool (Galactic Night is a great name but it wouldn't help for this matter).
[Android Apps and Games] Tatsuya79:
I gave the modified app to someone with the Note1.

He's telling me this doesn't fix the black crush on his phone.

I don't know if the gamma values are different or if GalacticNight is not applying the gamma on some phones.
[Android Apps and Games] Tatsuya79:
Little follow up (if you're interested! :p )...

So it seems the Galaxy Note is showing different levels of black crush, from none to strong.

That's why some devs like hardcore (Speedmod kernel) didn't implement a fix as there isn't one unique fix.

It's not only on the 0x0021 value (darkest grey range) but also on 0x0022 (darkest + 1 range brighter), 0x0023 (darkest + 2 ranges above), etc.

Talking about this values (in case you didn't see this), it seems like:

for 0x0021, 0x1090 -> "10" adjust the brightness / "90" adjust the hue

So I don't know how this hue works exactly, when it puts more red, when more green... hard to tell with a method consisting in modifying your sources/compiling/pushing to phone. :silly:
[Android Apps and Games] Tatsuya79:
... soooo :silly:

I adjusted all the 0x0021/22/23/... on my SGS3, it's working and I gained some great details in the shadows.

But on Galaxy note, with some really high values I made for someone, it shows no change (the colors modifications work though).
[Android Apps and Games] borich:
i'm the tester for n7000 (note 1) ;)

As i reported to Tatsuya79, unfortunately the modify doesn't affect the black crush and seems like the black gamma value remain too high...

Another things i've noticed using "invert" profile and gammatest.png images is a perfect render of white (plus rgb,) so probably the problem is the gamma of black channel.

the question now is: "is it possible do this app working as gamma tuner?"
[Android Apps and Games] borich:
could you tell me which is the parameters that you change?
[Android Apps and Games] Tatsuya79:
I changed what I posted above:

for 0x0021, 0x1090 -> "10" adjust the brightness / "90" adjust the hue

I added +5 or +7 at most lower gamma values (0x0021,0x022...).

But when I look at dark grey test squares, some turned slightly green, other slightly red... especially at low brightness.

Even Samsung default value had some really blue dark greys.

That's when the "hue" right part of this code should help. Everything is there in the mdnie to allow some really great tuning. A pity Samsung just made some really crap scenarios.

I think you need to add a declaration for the Galaxy Note to be able to tweak those values, I believe the app just allows the SGS3 to do it atm.

Note ICS kernel source I looked at has the exact same mdnie table and scenarios, it should work.

But I don't know how to do this declaration! :cyclops:
[Android Apps and Games] alkspo:
I sent an email with log yesterday as soon s i open app in my s2 it says I'm not supported/rooted . Should be supported since is a s2 and i AM most definitely rooted :p btw in on stock 4.1.2 jelly bean
[Android Apps and Games] borich:
uhm i think that, in n7000, the problem is exactly the opposite. we need a lower gamma values;)

infact, if i do a bad tuning of gamma on my monitor, i can obtain the same situation...a not perfect fade to black.

however i opened the apk file with "Virtuous ten studio" but i didn't find the code strings to modify. *

could you explain to me how am I supposed to change?

I'am a noob in android development:p
[Android Apps and Games] Tatsuya79:
I mentioned it in a post before, those values are in ScreenControlICS4212.java.

And you need to increase those values, that's for sure, as it means: +brightness for this level of grey = grey more visible.

But as you're a noob just like me, I don't know if you'll manage to add the galaxy Note as a working device to tweak those values.

I've just installed ADT bundle to modify this app myself, first time I play around with it.
[Android Apps and Games] borich:
you were right:p
[Android Apps and Games] Tatsuya79:
for 0x0021, 0x1090 -> "10" adjust the brightness / "90" is part of a color correction look-up table

...and it has no relation with the gamma range on the left.

All those CC LUT are applying a red/green correction from the mid-grey to max white.

Where are the dark-grey color correction then? :crying:
[Android Apps and Games] borich:
may be for this reason that the fix does not work on n7000?
[Android Apps and Games] Tatsuya79:
Absolutely no relation at all. :eek:
[Android Apps and Games] borich:
why? if those values don't affect the dark grey...they can not solve the problem of clipping.

watching this video i had an idea:http://www.youtube.com/watch?v=aVqs70N3KeM

my device show up to 3 in red channel, up to 2 in green channel, and up to 4 in blue channel.(then black).

what if i can achieve an high value in blue channel +1, +2/3 higher in red, and +1/3 in green? or exactly the opposite, in order to reduce gamma?
[Android Apps and Games] Tatsuya79:
What I mean is those values on the right are just not related to the greys, they correct the mid-range to white part of the brightness scale.

Those on the left are adjusting the greys, but just their brightness or gamma, not the color itself.

So this last ones can fix the black crush, but they can't tweak the colors of those greys when you'll make them visible.

In the video you linked, that means you'll see the greys you don't see atm on your phone (that's already great to have), but then, like those guys phones, those greys will perhaps be too red or too green.

The values to correct this last problem must be somewhere else.
[Android Apps and Games] Tatsuya79:
Arpruss, Do you know what the values in ScreenControlICS4212 "prefix" table do?

Those between 0x0092 ~ 0x0099.

I saw you that you changed them, they are at 0000 in Samsung kernel.
[Android Apps and Games] borich:
if those values are related to gamma if you lower them you will fix black crushing. the only difficult thing is to scale the grey gamma correctly in order to achieve a correct fade to black.
[Android Apps and Games] arpruss:
I've added official Note 2 support. Should be up on Google Play within a couple of hours.

The previous versions might have worked on the Note 2, but used S3's gamma settings. This version corrects this.

By the way, a really annoying thing is the ROM developers who change the /proc/cpuinfo Hardware field to be something like "cmhercules" instead of the CPU identifier, which is what it should be. GalacticNight uses the /proc/cpuinfo Hardware field to figure out how to tweak the display, and about a lot of compatibility problems are due to /proc/cpuinfo issues. Those are easy to fix, so if you have a compatibility problem, email me the log.
[Android Apps and Games] simoncinis:
Im using a samsung GS3 (US model - Sprint) i have rooted with a custom ROM and Kernel. Rom is Chemistry v6 from Sac23 and the kernel is Anthrax 2/05 release. I love the app, but it does not stick. I only wish to have the outdoor or red effect available. I have to restart the settings after i wake up the phone. It would be nice if they stuck until changed. A toggle would be really nice. I've also notice that a few apps break the settings as well (email app for one) Any chance to fix these little bugs?
[Android Apps and Games] borich:
if i know that my phone display pitch black with rgb values 5 5 5 how i can manage the mdnie values to display dark grey instead of pitch black?

is it possible?
[Android Apps and Games] tryg:
Pro version?

You guys are heroes.

I just spent two days straight looking for a way to adjust my tinted n7000 replacement screen, going down many a dead end before ending up here.

(I now sort of know what words like kernel, rooting, flashing and odin mean, I did not two days ago..) Anyway, the forums are overrun with questions from people just like me. So if you do find it in your heart to make that Pro version, I am sure a lot of people would appreciate it.

There has to be more people out there who would rather pay a couple of bucks than start fiddling with source codes.. (I've heard it's a one way street you don't wanna go down ;) )

Love, peace and kudos.
[Android Apps and Games] Tatsuya79:
We just had a new way for screen calibration on S3 and Note2 with Perseus kernel.

Just wanted to let you know that, as the need for another solution is now a lot weaker.
[Android Apps and Games] Qnorsten:
Anyway to make it work with galaxy s2 plus gtI9105p?
[Android Apps and Games] arpruss:
Send me the log.

By the way, had anyone tried this on the S4? (At your own risk, etc.)
[Android Apps and Games] Qnorsten:
Hi sent the log to your email now(I think, hopefully its the right log, I have never used CatLog before)

I have really missed Galactic night since my Galaxy S II broke down, and the shop gave me a Galaxy S II plus in return. Galactic Night does not seems to work with it. Hopefully you can get it too work.

Thanks in Advance

///Qnorsten
[Android Apps and Games] arpruss:
I just posted 1.09 on Google Play. This restores the color mode after screen-off on some devices where that didn't work.

I am willing to try to port GN to the S4, by the way, if only I can get some volunteers to help.
[Android Apps and Games] jamus28:
I sent the log for the S4 mini.

Thank you!
[Android Apps and Games] fg:
I'll help out, you were able to get support for my s2 t989 a while back, and now have the s4 m919. It's been a while since I've played with these settings, so please let me know what you'd need

-fg
[Android Apps and Games] Sabrecat21:
I am having a problem with the app. I'm on a sprint gs3. I used it before on some older roms and it was great. I just upgraded my rom to liquidsmooth 3.0 bets (4.4) and although I am rooted with supersu and other apps work fine, galactic night keeps saying I am either not rooted or not supported. Is it a Kitkat support issue? Hopefully something is in the works? I love this app

:)
[Android Apps and Games] neonboy:
That's an amazing app, waiting for a pro version just for the ability to adjust brightness and contrast in bw mode.

Great work, keep up.
[Android Apps and Games] arpruss:
Thanks. But I can't get this working on newer devices like the S4 or the Note 3. I tried with a very helpful user, but without actually having the hardware to play with, can't do it. And without support for newer devices, it's not going to have much commercial appeal. Moreover, fewer than 1000 users are currently using GalacticNight (out of 10,000 downloads). I would guess that a pro version might capture 10% of that, or 100 users, which isn't very enticing given the amount of effort needed to add all the adjustments people want.

It's also a nightmare to support all the different custom ROMs people have installed. It seems that when someone makes a ROM, they feel the need to change the CPU identification that GalacticNight uses to figure out how to edit the display data. And some ROMs disable the MDNIE tuning system, and I end up wasting time corresponding with a user only to find that their custom ROM has removed the functionality.

That said, it is open source, so you can make whatever modifications you like (though I have to say that the source is a mess). But as for me, I think this is the end of line for the product, at least until I end up upgrading my own phone (an S2 running 2.3; I see no compelling reason to upgrade, though).
[Android Apps and Games] polobunny:
I still use Galactic Night on my d2att (american Galaxy S3) and while some options don't work with Cyanogenmod, the good ones do. It's just a shame that on screen off/screen on the colors get reset to normal AKA blindingly bright normal colors for night viewing.

Nevertheless, thanks for the software. It makes night browsing so much easier on the eyes.
[Android Apps and Games] arpruss:
You do have the latest version of GN, right?

Correct functioning on 4.x is that when you turn off the device and turn it back on, it will flash the ordinary colors and then within a second or less reset to the custom colors. That works on many devices, but I guess not on yours. After ensuring you've got the latest version, you can install catlog, set GN to red, turn off screen, turn it back on, go to catlog and email arpruss at gmail dot com a log. Then send me an email telling me that you're the guy/gal with this problem, and I *may* be able to do something about it, if you are willing to run some more test versions.

The poor functioning at screen off is yet another reason for me to stick to my S2 with Android 2.3.6. On 2.3, the operating system uses the tuning system differently, and it completely avoids the screenoff problem--not even a flash of the ordinary colors. This is important to me, as I set my screen to red for the night so that if I wake up, I can turn it on without damaging my sleep too much.

There may be another way of getting things running on 4.x, but I don't have a rooted 4.x device. (My wife has an S2 with ICS, but it's not rooted, and I don't want to root it.)
[Android Apps and Games] polobunny:
It's up to date as far as I can see. I'll try to get you a logcat, and I'm sure willing to try tests versions if you can come up with them. I'll see you around! =)
[Android Apps and Games] neonboy:
Know that feeling.. Actually on a N7000 with a stock based 4.1.2 rom , no reason to upgrade, your app is running flawlessy.

That brightnes-contrast slider would be the cerry on top.

Maybe one day you'll find the hardware to play with, if a rgb, b/c and saturation sliders come it would be a top power user app. Then you'll just need a review on xda portal and it will drop some serious earnings in the wallet. Mind that I had a really hard time to find it, with the right tags it could have a larger userbase.

Anyhow, thanks for all the fish effort, even if it is an unfinished job it's a good job, an unfinished sculpture or painting can be unforgettable like a finished one if there's genious behind it, that goes for apps too.
[Android Apps and Games] arpruss:
Thanks for the kind words. The slider would be pretty easy to add. It would be mainly a convenience, since GN works fine with the built-in brightness control, as well as things like ScreenFilter or my (paid :) ) ScreenDim that draw a dark overlay. And given hardware acceleration, there should be no noticeable CPU time loss from the overlay if the overlay is implemented right. Moreover, on OLED, a dark overlay has exactly the same effect as darkening the colors with MDNIE controls would (i.e., each RGB component gets a weighted average with zero).

The one advantage of the slider is that it would work better with the invert mode than ScreenDim does.
[Android Apps and Games] tujitsu56:
Doesn't Work for Sprint Note 3 4.4.2

This apps seems so wonderful in theory. I really wish I'd be able to run it. I currently have a Sprint Samsung Galaxy Note 3 running root KitKat (4.4.2). My root status is somewhat shaky as I cannot make nandroid or use custom recoveries which prevent too much tinkering due to my Knox status, but I really hope you find some more support with this. If it's fairly safe, I'd be willing to play around with some command line stuff, although I'm a real Noob, so it may be difficult. Once again, I wanna wish you luck with gaining more support on this for new devices.

EDIT: I wanted to add that I think there is the MDNIE (mobile Digital Natural Image engine) option available on my phone. I attempted to turn off the adaptive option and set to standard, then re-installed your application, but still no luck. Hopefully this can draw more attention as the savings in battery life would be huge.
[Android Apps and Games] quadrangle:
Seems not to work on rooted i777 Gs2

I have the i777 version of Galaxy S2 and I tried the latest version direct from the site. It didn't work. I'm not running any Google apps, so I can't easily try the other thing to figure out the issue. I might be inclined to try again if others claim that it will work on the i777 (specifically I have the latest OmniROM installed). Great concept though, thanks! And thanks so much for respecting software freedom. I submitted it as a suggestion to F-Droid.