yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] pbear:
I want to see if it is possible for you to make a simple widget user access or menu.

This is the case. I have 2 - 3 users on my tablet. I keep having to push the power button to change users just for a minute and go back. Can you make a widget or an app that lets me change user quickly?

This used to be in user management for me to change users but I wanted something that supports version 4.3 of my nexus.
[Android Apps and Games] Deeco7:
Any support for 4.4, I need to delete the primary user and change privileges to the second user.
[Android Apps and Games] hrishivardhan:
Good job members!!
[Android Apps and Games] Sandesh29:
Can I get a source code of this project??

sandeshlokhande29@gmail.com
[HTC One X] Mrdavidwfoster:
Hi guys,

I'm experiencing a major battery drain from my stock One X. It seemed to start when I was playing around with settings for juice defender.

Firstly JD saved good battery levels but disconnected my roaming.

I then reset JD to balanced and now my battery drains within 3 hrs.

I disabled it, changed settings, nothing worked. Now my phone is constantly on charge.

Can someone help?

This happened once before before JD a quick restart and then fine.

Btw love the forum and one X
[HTC One X] Melodycd:
I think you should remove JD from system and check again. Also check WiFi sleep policy and apps running in memory via task manager. Or install CPU spy to see which process eats your battery. What you stock battery app shows? It also should show the process which eats battery juice.
[HTC One X] Mrdavidwfoster:
Installed cpu spy like you said. There seems to be something at 1200mhz that was at 67% over 1 minute 37 secs.

I've un installed and reinstalled JD but it made no difference.

I've been using for the last 20 mibs and used about 30%

Arrrgghhh so frustrating
[HTC One X] ArmedandDangerous:
What app does your battery gauge say you're using it on? Settings, Power, Battery Use. Post a screenshot :)
[Android Apps and Games] arpruss:
Update: While GalacticNight is still available for older devices, if you have a newer device it probably won't work. But if you have Android 4.4 or higher, my new Color Changer app may work for you and will do everything GalacticNight did (but alas at a higher software level). I am therefore discontinuing work on GalacticNight.

Edited: Now in Google Play.

Galactic Night, now in the 0.99rc2 version, provides red, green or sepia (or blue if you really want!) night modes for rooted OLED Galaxy S2, S3 and Note 1 devices (not tested on Galaxy 7.7 but might work). You can invert the screen colors (so you can browse in white on black, or green on black, or red on black). There is also an Outdoor mode which washes out the colors but might improve legibility outdoors.

I like reading ebooks in green on black when in the dark.

As of my present knowledge, various pre-release versions of this have been tested on:

Galaxy S2: Gingerbread and ICS

Galaxy S3: ICS

Galaxy Note: JB

It should work on ICS on the Note as well, but I don't have any reports. GN works by adjusting the mDNIe profile. If you have some Samsung device I haven't heard of which has a Screen Mode setting in the Display settings that includes Dynamic/Normal/Movie options (and maybe others), there is a chance that this will work for you.

My benchmarking has not shown any statistically significant impact on graphics rendering speed.

Use at your own risk. If a mode screws up the screen display, you should be able to get back to normal by pressing "Standard" or rebooting, but I offer no guarantees.

Several users have asked for customizable settings. These could easily be provided, and could adjust for screen color tint and so on, but I haven't implemented them yet. I might in fact leave those for a Pro version.

You might be curious how the nightmode differs from that in ChainFire3D. ChainFire3D's nightmode works by dropping channels. E.g., in red mode, it simply drops the green and blue channels. This means that things on screen that were in pure green or pure blue get changed to black. Galactic Night uses a different color adjustment which is equivalent to this algorithm: first convert the RGB color on the screen to a luminosity, and then use the luminosity to set the night mode color. Thus, in red mode, pure white will go to maximum brightness red, but red, green and blue will go to different shades of red. This preserves a lot of the legibility.

There is also an odd "No blue" mode which converts RGB images to RG images, so white goes to yellow, blue goes to a dark yellow, etc. I've heard that blue light makes it harder to fall asleep, so it might help with falling asleep if you switch your phone to "No blue" mode for an hour before going to bed, if you can tolerate how ugly it looks.

Here is a photo of GN in action. It is not possible to take a screenshot of it in action, because the color changing is done between framebuffer and display, so the framebuffer that the screenshot accesses will not reflect the color changes.

I've already posted about this in a few device-specific forums, but now it's ready for wider dissemination.
[Android Apps and Games] arpruss:
Let me add that the green mode should nicely help save batteries. Using just the green subpixels should use about 1/3 of the power, and yet maintain a lot of visibility because our eyes are very sensitive to green light.
[Android Apps and Games] arpruss:
Users report that on ICS there is a 1/2 second flash of the regular colors when you turn the screen on. In 0.99rc3 I implemented a red-and-black logo overlay that should cover up most of that flash (it doesn't cover up the status bar, alas). I can imagine it would be really annoying to be in the dark and get a flash of white light even for half a second.

Reports would be appreciated.

If the logo annoys, you can turn it off in GN's settings.
[Android Apps and Games] b631nz:
Great app. Works well. Having no trouble with the logo for screen on.

I'm not sure how difficult this would be to implement, but it would be useful to have a tasker plugin so that red mode could be activated when you run certain apps or at specific times of day.

Keep up the good work.
[Android Apps and Games] ugumba:
The description for the app "Filter your screen" specifically says that you should avoid monochromatic filters which are not grayscale, in order to avoid some kind of burn-in, and thus a permanent tint on our (AM)OLED screens. Do you know anything about this?

I'd love to use the red or green filter, but I'm not sure I dare to, at least not for any significant amount of time.
[Android Apps and Games] arpruss:
I must say I haven't thought of that. That's an issue. But it's no more an issue than if you heavily use an app that uses a single color. Or if you heavily use an app that has a single bright display element in one place.

It's going to be more an issue if your background is all white, and then it turns, say, all green, and then the green subpixels burn out faster than the red and blue. But if you use green+invert with that, then you will have a lot fewer green pixels, most of them being black.

Moreover, I assume the issue will be mitigated to some degree if you set low screen intensity, and most of us will do that at night. Just use my ScreenDim app at night and use a combination of the two sliders to set a very low brightness. (Or use ScreenFilter or something else like that.) However, this does mean that we probably don't want to use a monochromatic screen all the time during the day, unless, well, we want to use it all the time and hence the tint will irrelevant. :)

If the burnin does a uniform tint across the screen (which may not be the case), then we can eventually correct for it with a custom color profile.

Or you can alternate between red/green/blue modes on a regular basis. :)
[Android Apps and Games] arpruss:
It would be easy to add Tasker support at the same time as I add launcher shortcuts.
[Android Apps and Games] arpruss:
I just posted 0.99rc4. New mode: Mono sepia. The standard sepia mode just changes white to sepia. Mono sepia changes white to sepia, and makes everything monochrome.

I've discovered a great use for the mono sepia and BW modes. The Kindle app screws up subpixel rendering (just as it is screwed up on the Kindle Fire), resulting in colored shadows around letters in some orientations (portrait on my S2, but this may differ). All the single-tone modes (sepia, BW, green, red and blue) will change the subpixel antialiasing to grayscale antialiasing, which to my eyes significantly improves appearance. (Subpixel antialiasing is wonderful--but mainly when done right.)
[Android Apps and Games] arpruss:
I just uploaded 1.00.
[Android Apps and Games] arpruss:
It's now in Google Play. Free, no ads (other than a link to my other apps). I am planning a pro version that will allow (a) automatic activation on boot (with some sort of safety mechanism in case you put in some bad settings like black on black--maybe if you boot with the device upside down or something like that it won't start on boot?); (b) custom modes.
[Android Apps and Games] ROB281:
just read the article on your app, and was wondering what you need to make this work on the Galaxy Nexus if it doesn't already work on it?
[Android Apps and Games] arpruss:
As far as I know, the Nexus doesn't support mdnie settings. Does it have display settings with dynamic, standard and movie modes?
[Android Apps and Games] pjsnyc:
This app is EXACTLY what I was looking for...except I have a Nexus S 4G :(

Any way it might get supported? Or is the display tech too different from the GS series?
[Android Apps and Games] punshkin:
Great App! i always found the darkes possible darkness too bright for night use.

is this only for stock roms or also AOSP built ones like Cyanogenmod?
[Android Apps and Games] mikig_mkd:
Unsupported Device

App not working on Samsung Infuse 4g ( SGH-I997 ). It says Unsupported device or not rooted(it's rooted).
[Android Apps and Games] zelipukin:
Galaxy Note(att) rooted ICS(cm9) "no root or unsupported"

pgm msg & log attached

Thank you !
[Android Apps and Games] RowanDDR:
Works on SGS1?
[Android Apps and Games] oddspec:
Doesnt work on sgs 2 running aokp must need stock software
[Android Apps and Games] Killa357:
Same here. Sending in logcat... Rooted on Sprint S3.
[Android Apps and Games] zman519:
Does Not work on SGS 1 Epic 4G with cm9
[Android Apps and Games] arpruss:
Try this version at your own risk if you want.
[Android Apps and Games] arpruss:
The app is very simple. It simply uses the kernel's color adjustment feature. So if the device doesn't have the color adjustment feature, there is nothing I can do. I don't know if the Nexus has it. Does it have the dynamic/standard/movie mode changer in the display settings? If not, you're probably out of luck.
[Android Apps and Games] arpruss:
Does the Infuse have the display mode dynamic/standard/movie setting? If yes, there is hope. If not, not.
[Android Apps and Games] arpruss:
Send me a log. There is a good chance we can get it running.
[Android Apps and Games] arpruss:
Sorry, no kernel support for this on the GS2.
[Android Apps and Games] BAD_BOY_KIEV:
Works perfect on 7.7. Thank you! A very interesting app, I wonder if it impacts on the battery consumption. Maybe someone has some theoretical or own experience info?
[Android Apps and Games] arpruss:
Which OS version are you using on the 7.7?

It definitely should impact battery consumption. Specifically, one would expect that the green, red and blue modes should each cut screen power consumption approximately by 2/3, and no blue by 1/3, except that probably most users will increase the brightness a little to compensate for this. The green mode might be most advantageous, because our eyes are most sensitive to green, and hence one can see green at lower brightness levels than one can see red.

But maybe AMOLED uses different amounts of power for different colors? Anybody know?

Alex
[Android Apps and Games] pjsnyc:
Unfortunately it looks like the dynamic/standard/movie mode is not there. There is an option for 'Custom backlight settings' where there are options for 'Light sensor filter' and 'Light levels'...but not sure what any of those values really do. Owell :/ Great idea though.
[Android Apps and Games] LordManhattan:
Works just fine on Galaxy Note (N7000) :)
[Android Apps and Games] csandman1977:
Just for kicks I tried to install it on an infuse 4g at&t running cm10 jelly bean rom. It doesn't work. Could be the rom though.
[Android Apps and Games] Marx2:
Works ok on SGS2. I miss "locale plugin" support, so I could enable it while launching e-book reader and disable when switching reader off.
[Android Apps and Games] Chainfire:
Great work !

Also, you might mention in your opening post, since you mention Chainfire3D already, that aside from multiplying colors by X (usually 0, which drops colors) the night mode in CF3D is only supported on Froyo and Gingerbread, not on Honeycomb, Ice Cream Sandwich, or Jelly Bean (like your app).
[Android Apps and Games] mikig_mkd:
There is a color tone setting:normal,warm,cold. And a outdoor visibility function only. No Display Mode anywhere.

Sent from my Infuse 4G running Aeon 1.4!
[Android Apps and Games] jerez:
switches off on lock

Hi, this app is just what I've been looking for, my only problem is that when I lock my phone, then unlock it, it is back to normal colours. Is this by design, or am I doing something wrong. I have a Note running Classic Rom V3. Thanks!
[Android Apps and Games] plotinus:
This is a really good app except for one thing that really bugs me. Don't know if it have been reported or not. I installed the app and use it. Ok nothing bad happens. But I let my phone in red mode and went to sleep. When I wake up a kind of wallpaper of stars appear after the lockscreen and I can't do nothing to remove it. I had to press power key to reboot the phone. This has happened to me twice. What do I have to press to remove that or is it stuck after a while of been turn on? I'm on ics btw

SGS2

Why u not in Alliance rom!?
[Android Apps and Games] aiguofer:
Says device not supported on Sprint Galaxy S3 running FreeGS3 ROM. Does it not work with custom ROMs or is it only working on International S3?
[Android Apps and Games] arpruss:
1. Yeah, doesn't yet run on the Sprint Galaxy S3, it looks like. If you can run from a commandline:

su
ls -l -R /sys/class > /sdcard/ls.txt

(note: -l is "dash ell", not "dash capital eye") and then email me /sdcard/ls.txt, it might help me get it running there.

2. If the Infuse has screen tone support, it might be possible to do something. See step 1: doing this might help.

3. GN should work on custom ROMs as long as the custom ROM didn't change the mdnie support in the kernel too much.

4. I looked into writing a Tasker/Locale plugin for ScreenDim once, and found it very cumbersome and gave up. In the end, I made it possible for users to pass an argument when launching ScreenDim, and that let Tasker (maybe Locale, too?) control it. I could do that, but it might not work so well with app-launch detection, since there would be a launch of GN before launching your ereader. Still, it's on my mental to-do list.

5. The stars on your lockscreen are an artefact of my "screen flash prevention". GN uses an undocumented and unsupported mDNIe mode on ICS and higher, and for some reason the system cancels that mode whenever the screen is turned back on. This means that GN has to step in and right after the screen is turned back on, it needs to force its color mode. However, the screen-on notification is received about half a second after the screen physically turns back on. This means that if I just did things the ordinary way, there would be a flash of non-nightmode screen when you turn on, and that's bad for night vision. So for that half second, GN draws its logo (which is red on black, so not bad for night vision) on the screen, and then erases it as soon as it has set its color mode. Unfortunately, it looks like this may not be compatible with some lockscreens.

You can turn off this feature in GN's settings (menu | Settings) if it's causing trouble. In fact, it's generally a good idea to look in app settings. There may be other cool stuff there. (For instance, in GN's settings there is an option to remove buttons from its screen that you don't need. For instance, I'd never use the blue mode--it would be terrible for night vision, but some user requested it--so I have the button removed. The remaining buttons re-scale, which makes them easier to tap, too.)

6. I didn't realize that ChainFire3D's night mode doesn't work on HC and up until recently. I don't really know why anybody would want to run anything later than GB, but I suppose some people with more recent devices are stuck with ICS or JB. :)
[Android Apps and Games] arpruss:
That shouldn't happen. Is this on ICS? Do you have a custom lock screen?

Try this. Install catlog. Enable GN green mode. Lock phone. Unlock phone. Immediately go to catlog and email me (arpruss at gmail dot com) your log. Please include (by separate email if there is no space to include it in the email) a note about the problem, as I've been getting a number of logs in the mail and I have trouble keeping things straight.
[Android Apps and Games] NegativeOne:
I'm running VZW Galaxy SIII, rooted, on CM10 (no kexec). Says device unsupported. Maybe I'll send you a log later.
[Android Apps and Games] BAD_BOY_KIEV:
I'm on 4.0.4 ZSLP7 + Ezynow kernel v.1.

Oh, and when this app is on it blocks the display mode switching in the standard Settings menu, but the app itself has the same Dynamic\Movie modes, so kinda no problem with that.
[Android Apps and Games] arpruss:
Right: the app overrides the mDNIe display mode control. To unlock the standard controls, go to one of the standard modes in GN (dynamic/movie/standard/natural) first.
[Android Apps and Games] arpruss:
First try this version.

Then if you want to send me a log, ideally please also include a listing of /sys/class/mdnie/mdnie:

su
cd /sys/class/mdnie/mdnie
ls -l -R > /sdcard/ls.txt

Then email ls.txt
[Android Apps and Games] NegativeOne:
I got catlog, but I can't figure out how to get a log out of this... it doesn't find any.

The vers you linked doesn't work either.

Thanks.
[Android Apps and Games] arpruss:
Is this a JB version? If so, catlog won't work as Google disabled the READ_LOGS permission for non-system apps in JB. Big nuisance.

You can instead send me the ls -l of /sys/class/mdnie/mdnie as well as the output of

cat /proc/cpuinfo

(I just need the CPU identification line, e.g., "SAMSUNG M2_VZW'.)
[Android Apps and Games] NegativeOne:
Depends on the display. AMOLED like on the Galaxy SIII uses a pentile display, so the blue subpixels are much bigger. Blue will use more power.

http://en.wikipedia.org/wiki/PenTile_matrix_family (check for pics)
[Android Apps and Games] arpruss:
But aren't there more green ones than blue ones, so it balances out?
[Android Apps and Games] NegativeOne:
I'm rusty on my physics but I believe that it's not a linear relationship between surface area, brightness and power consumption.

It's a well-known fact that the pentile displays have a slightly blue tint (if you look at reviews comparing the Galaxy SIII and the HTC One you'll see this mentioned). So logically, there's more blue light coming out, therefore more power drained by it.
[Android Apps and Games] zelipukin:
G Note(att) rooted ICS(cm9) "not rooted or unsupported"

no luck

Thank you!
[Android Apps and Games] arpruss:
Could you send me the log after running this one? Better to email it to me than posting it here, since logs can contain private information (not often in my experience).
[Android Apps and Games] arpruss:
Just an update for S3 users in the USA: I looked at the kernel source for the Sprint version (and I am guessing Verizon and T-Mobile are similar) and it has rather different video control hardware. I think I can still make it work, but will need to experiment with the help of one or two users first.
[Android Apps and Games] arpruss:
The bad news: Thanks to a user who went beyond the call of duty, and thanks to the kernel source code, it's looking to me like at least the Verizon version of the S3 does not have the fancy color adjustment hardware that was present in the international version of the S3 and all the versions of the S2. The same is probably true of the Sprint and T-Mobile versions. You can check by seeing if you have the Dynamic, Standard and Movie modes in the screen display settings and report to me. If you don't, you don't have the fancy color adjustment hardware. Kernel source indicates that the AT&T version of the Note is in the same boat as the Verizon S3, alas.

The good news: Nonetheless, one can modify the color lookup tables to some degree on these devices--the very helpful user checked this for me. In particular, one can do night-mode the way ChainFire3D does: by dropping colors. One could also do tint adjustment, inverse video and dimming by manipulating the lookup tables. . I may not have time to add this functionality at this point, but eventually I could. Of course, Galactic Night is open source, so I can guide another developer through the process. Much easier to develop if you actually own the device, while this information has made it clear to me that I do not want to move from my Sprint S2 to a Sprint S3. :(
[Android Apps and Games] arpruss:
OK, here is a version that should work on the US versions of the S3 as well as on the US AT&T version of the Note. And it should continue to work on all the devices it previously worked on.

I would be grateful if people tried it, both users for whom the old version worked (we wouldn't want to break anything) as well as users for whom the old version didn't work.

I recall an Infuse user who wanted me to see if I can get it working. I might be able to. Please email me.
[Android Apps and Games] arpruss:
Anybody have a test report?

By the way, the number of downloads has been too low to support a pro version. Consequently, there won't be a pro version. But I do plan to add some of the features I wanted to put into the pro version into the free version, such as customizable colors.

I am a bit torn on the suggestion of adding a dimmer. The reason I'm torn on it is that it would provide free competition to my paid ScreenDim app. I am thinking of doing this somewhat sneaky thing: Add a dimmer, but it only shows up if you've got one of my paid apps (ScreenDim Full/Force2SD Full/LunarMapPro) installed. Since Galactic Night is open source, anybody who is annoyed by this will be able to build their own copy from source without this restriction, though.
[Android Apps and Games] Neo3D:
Tested on Sprint Nexus S 4G, says I need to be rooted, but I am.

The original Play app says that also, on Sprint Nexus S 4G.
[Android Apps and Games] arpruss:
I expect what it actually says is that you need to be rooted OR your device is not supported. There will be more detailed information in the log. In any case, I don't think the Nexus has the color adjustment hardware support that is present on the S2, S3 and Note.
[Android Apps and Games] brunobbarcelos:
Any chance to make it work with Captivate Glide? Mine is running ICS, rooted but apk does not work.
[Android Apps and Games] arpruss:
Send me the output of ls -l /sys/class/mdnie/mdnie and cat /proc/cpuinfo, and we can go from there.
[Android Apps and Games] arpruss:
I posted the version with US Note and S3 support on Google Play and code.google.com/p/galacticnight
[Android Apps and Games] AndroidGraphix:
HI arpruss,

I just want to say THANK YOU for an amazing apk. I'm military so and when we're out in the field, we can't use anything but red light. Your apk does just that and I finally got it to work on CM10 Galaxy S3-Verizon. I tried it on stock VZW GS3 but it wouldn't work. I look forward to your future builds and will certainly buy if you decide to make a pro version. I'd also recommend an on and off time for red light/night mode. FYI. I just gave the apk five stars in the market. Cheers.