View Single Post
Old 08-02-2012, 08:12 PM   #1
pruss
Evangelist
pruss ought to be getting tired of karma fortunes by now.pruss ought to be getting tired of karma fortunes by now.pruss ought to be getting tired of karma fortunes by now.pruss ought to be getting tired of karma fortunes by now.pruss ought to be getting tired of karma fortunes by now.pruss ought to be getting tired of karma fortunes by now.pruss ought to be getting tired of karma fortunes by now.pruss ought to be getting tired of karma fortunes by now.pruss ought to be getting tired of karma fortunes by now.pruss ought to be getting tired of karma fortunes by now.pruss ought to be getting tired of karma fortunes by now.
 
Posts: 458
Karma: 819417
Join Date: Nov 2004
Global night modes for rooted Galaxy S2, maybe S3, maybe note

I've been making an app that provides global (i.e., working in all or almost all apps) night mode for rooted Galaxy S2 and maybe Note and S3 devices. For instance, one option turns the screen to red-and-black (white goes to red, black goes to black, everything else goes to shades of red; you can also reverse it so white goes to black and black goes to red); another turns the screen to green-and-black, another turns whites to sepia, another turns off blue pixels (blue light at night keeps one awake, people say, so this might make it easier to read oneself to sleep), etc.

I like to read green text on a black background at night, for instance. And for astronomy it's nice to use the red mode to help preserve dark adaptation.

Of course, some ebook apps provide a lot of color flexibility. But not all of them do, even then after you leave the ebook app, you'll get system colors. Not so with my GalacticNight app. (Though it might turn off in Camera and Gallery.)

I know that ChainFire3D does some of this already, but my app does a more sophisticated color conversion. (E.g., CF3D's red mode just drops the green and blue pixels. My red mode effectively first converts all three pixels to monochrome, and then changes monochrome to shades of red. This means that in my red mode, you can still see green and blue details on the screen, rendered in shades of red.)

There is one catch with this app. While so far it works great on my Epic 4G Touch ( = Sprint Galaxy S2) with Gingerbread, Samsung's video driver works quite differently on ICS. And I don't have an ICS device to test this on (and don't want to "upgrade" to ICS for various reasons). I tried to figure out how the video stuff works in ICS based on the ICS source code, and so I put ICS code into the app.

But I need someone to test it.

This needs to be someone with (a) a rooted Galaxy S2/Note/S3, (b) ICS and (c) guts. Why guts? Well, this is AT YOUR OWN RISK testing. While everything will probably go back to normal after a reboot, there is always a chance of screwing up your display. How big is the chance? I would like to say "small", but that's a fallible judgment. This is somewhat less risky on the S2, and somewhat more on the Note and S3. (After all, I have tested on the GB-based S2.)

So, if you have a-b-c, email (arpruss at gmail dot com) or PM me and I'll send you a link to the apk.

But perhaps I am the only person who cares about this. If so, then it may have to remain a private app for my own use.

I'd post a screenshot of this app in action, but the color processing is done at a lower level than screenshots, so the screenshots would just show normal colors. :-)
pruss is offline   Reply With Quote