yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] camolas71:
Hi,

This app is top :laugh: thanks for sharing, i want to use the "Shortcut (allows other apps, e.g., automation tools, to switch off the backlight via this app)" but dont now how can i call the widgt, is from package name? and if it is what is the name?

Please explain me how can i do it im noob...:confused:

Thanks
[Android Apps and Games] cygery:
Actually, I don't know exactly how to call the shortcut. However, you'll have to find the configuration activity using the standard intent-filter, start it, receive and store the configuration result, and use this configuration result to start the actual shortcut activity, passing the configuration parameters.
[Android Apps and Games] camolas71:
To much for a noob:confused:

Thanks
[Android Apps and Games] Aditya Srinidhi:
Was looking for something like this when I'm using YouTube. This works really well, thanks dev!

Running on OnePlus One with CM 12 nightlies :D
[Android Apps and Games] Felix3008:
Somewhat working

Hello,

On my Samsung galaxy S3 (Int.) stock rom 4.4.2 it does turn of the screen but also turns the screen black on HDMI output.

Is there any way to fix this?

Thanks in advance.
[Android Apps and Games] Joycekyle:
:crying:why so many nice apps are root required.
[Android Apps and Games] cygery:
Change the overlay color to transparent.
[Android Apps and Games] cygery:
What's the issue? Can't you root your device?
[Android Apps and Games] SOGGYBUNZ:
Dark Background Question

I'm new at this, so folks please don't beat me up if I don't explain this properly. I'm not sure if this app is what I need, and I need help as to whether the app will be useful for me, or if what I'm trying to achieve is/isn't possible. On my rooted BLU Studio 6.0 LTE (LCD Display, KitKat) I have a black desktop background. My icons are Simple Text (white color). I realize there is a difference in the way light is emitted between LCD and LED. I would like the black background to look similar to my Galaxy S5--where the same background is as dark as the border of my cell phone screen. On my BLU, the background looks more like a very dark gray color even at the lowest brightness level. I'm assuming it has to do with transparency level and the ongoing background light. Yet when I use my keyboard (SwiftKey Keyboard App-'Pitch' Theme) the keyboard color is a true black just like the border of my cell phone and the keyboard keys are bright white letters and numbers. Is this app 'Screen Backlight OFF' what I need to achieve the background darkness I desire? :confused:
[Android Apps and Games] cygery:
No, but that should be clear from the OP or not?
[Android Apps and Games] SOGGYBUNZ:
Thanks Cygery! If this app isn't the answer, can you or anyone else tell me what I can do to achieve such?
[Android Apps and Games] cygery:
I don't know but are you sure that your background is really 100% solid black?
[Android Apps and Games] SOGGYBUNZ:
Yes it is. And is looks true black on my S5.
[Android Apps and Games] aillez:
Hi, Dev.

when I change overlay color to other color when I trigger shortcut for cut off backlight it's just fill by overlay color.

what I mean is when I set overlay color to red >>> after trigger my screen is filled by red color. (I attached screenshot for that)

when I first try your apps it's looks like it's cut off my backlight just because it's fill black overlay color right ?

so my devices (Galaxy note 3 LTE with AMOLED display) is still have backlight turn on but just filled with black color.

Am I Correct ?

from my use case I want to use Screen Backlight off to shutdown screen while I control/monitor with WeakControl (paid version)

I want to use your app to replace Screen Stand by which have some serious problem after shutdown screen for a few times. it won't turn screen on. (Only 1 option that I have is to reboot the phone)

please clarify this. Thanks again dev :D
[Android Apps and Games] cygery:
Which version of this app are you using?

Please post su logs from after you tried to switch off the screen using this app.

I don't have a device with AMOLED screen for testing. However, there are users who reported that it works. I don't know if they set another color than black. At least some AMOLED screens apparently switch off black pixels automatically. So I can't tell if the main method to switch off the backlight works there. Also, AMOLED screens don't have a backlight in that sense - the pixels emit light themselves.
[Android Apps and Games] aillez:
I'm using 1.1.4.0

i'm not sure which su log that you want but I attached screenshot of supersu app (If it's wrong please advice)

Thank you.
[Android Apps and Games] cygery:
Thanks, the logs look OK. Are you using any brightness changer or similar apps which influence the screen/brightness?
[Android Apps and Games] aillez:
Only CF. Lumen but disabled.

Not have any app other than this. (I think)
[Android Apps and Games] cygery:
If anybody else with a similar device and AMOLED screen can test this app, especially with an overlay color other than black, e.g., red, please post your results.
[Android Apps and Games] ruleh:
tested and working on samsung galaxy s2. (has amoled screen)

Other colours also work (meaning they colour the screen depending on the setting )

Transparency also works.

However certain apps are completely unaffected, such as multiling keyboard. (though its not like I m gonna use a keyboard at that time anyways)
[Android Apps and Games] whitevilla:
Interesting app. I like falling sleep by listening to TV shows. So far my solution was to rip the audio to mp3.

This app works on Samsung S3 (US).

I'm glad to report the app doesn't interfere with Screen Standby which renders the screen black when I plug an HDMI cable.

Good work!
[Android Apps and Games] gibson58:
can i use my phone untill the app run. in the dark my phone minimum brightness is too brith.now when i run the app ,i can't use my phone.touch screen doesnt work
[Android Apps and Games] cygery:
Read OP?
[Android Apps and Games] cygery:
Wow that looks fantastic, thanks a lot! I've added the link to the first post :)
[Android Apps and Games] whitevilla:
Read the description, dude.
[Android Apps and Games] gibson58:
Dudes,my English is not good at all.The"description" is too long for me and confusing me.That's why i ask a simple question!
[Android Apps and Games] cygery:
Which parts of the description exactly are confusing?
[Android Apps and Games] Aerofan81:
So I am trying to setup a touch macro on a game I'm playing to help farm items I need. I tried using this app to turn the backlight off, but for some reason it will not allow touch commands to be processed while the backlight is off. I have used another app called Screen Standby Root which does, but it is a very unreliable app and sometimes I have to hard boot to get the screen to come back on. Do you know of a setting in your app that would allow touch commands to still be processed on a running app while the screen is off?
[Android Apps and Games] cygery:
There's no such setting since this app uses touches to reenable the backlight. You might want to check my (paid) app RepetiTouch Pro, a touch input recording/replay tool which has an option to switch off the backlight during replay (should support about the same devices as this app). Anyway, please don't misuse my apps.
[Android Apps and Games] Aerofan81:
Does it turn the backlight off completely like your other app does? or just dim it to it's lowest point? Also does it provide a wake lock as well?
[Android Apps and Games] cygery:
It turns the backlight off completely where possible. There's no wake lock. However, it shouldn't be necessary since you're replaying touch input.
[Android Apps and Games] paulbearry:
This I a great app. I just wish that it could block the hardware back and home buttons on my phone. I like to use this while the phone is in my pocket and I often accidentally back out of the foreground app.
[Android Apps and Games] alphatact1cs:
Not working - Z1C / CM11 / APK V1.1.4.0

Report:

Backlight wether turn off or dim.

Overlay color works.

System:

Sony Xperia Z1C

CM 11 (amami)

Version:

com.cygery.screenbacklightoff.xda-1.1.4.0.apk

Settings:

App standard.

Tried several other settings.

Others:

Strange permissions (why this app need phone identity and number?)
[Android Apps and Games] cygery:
Are root rights granted? The phone permission is required to automatically reenable the backlight on a phone call/when the phone rings.
[Android Apps and Games] alphatact1cs:
As far as I know, yes. Root rights are granted over Superuser. But display is still active.

Toggling Gravity Screen has no impact.

Link to Screenshot ( I´m new, so no direct Link :) )

dropbox.com/s/dlvymkmdu6ljwq4/Screenshot_2015-06-14-23-52-06.png?dl=0
[Android Apps and Games] cygery:
OK, try changing the color in the app and toggle again to make sure that the overlay is shown.

If that works, please post detailed su logs. There are about 2-3 different commands this app runs over su.
[Android Apps and Games] cygery:
I've uploaded an update with small fixes and improvements (v1.1.5.0). Especially, some new devices should be supported now.

If you have a previous version installed and the backlight doesn't switch off with that old version please clear the app data after the update. Otherwise, clearing the app data isn't required.
[Android Apps and Games] alphatact1cs:
I will try as soon my Z1C will work again.

At the moment I need to rebuild CWM and CM, had some trouble with SuperSu last night (two apps at the same time is not that good).
[Android Apps and Games] alphatact1cs:
Report:

Backlight not turning off.

Overlay working.

App:

com.cygery.screenbacklightoff.xda-1.1.5.0.apk

System:

Sony Xperia Z1C

Cyanogenmod CM11 - M12 (amami)

CWM-based Recovery v6.0.5.1

---> fresh build

Permissions:

Root granted through built-in Superuser

The 3 permissions shown is for ONE time "Backlight off"

--->Dropbox Link

App Settings:

---> Dropbox link

Dropbox Link:

dropbox.com/sh/3ncnj9jmukvsfpm/AACwC3-yqKzQcc4LwAdeDL8Ca?dl=0

Did I forgot something? The Backlight should go off, but the LCD is still on. Like dimming the brightness down to 0.
[Android Apps and Games] cygery:
I'd need detailed su logs (with commands and output). However, I don't know if/how Superuser supports this.

Also, how did you check that the overlay works? Via the (red) color?
[Android Apps and Games] alphatact1cs:
Okey, I will work on the SU logs (next EDIT).

--------------------------------------------------------------------------------------------

SU Logs

dropbox.com/sh/08fw4xxecue77zc/AACZAIqNQ6N8OM2kU47ft3fAa?dl=0

--------------------------------------------------------------------------------------------

Overlay look like this (R255/Alpha150).

dropbox.com/s/xldqneud134yxsf/IMG_7581.JPG?dl=0
[Android Apps and Games] alphatact1cs:
Im sorry, but I cant get it to work.. Im trying now for 3h.

SU Logs are in previous post.
[Android Apps and Games] cygery:
OK, the logs look good. Are you using any (root) apps which have an impact on the screen (brightness)? It might be possible that a different app changes the brightness shortly after my app changes it.

Otherwise, please send me the output of the following shell command run via su (as a file via email to apps@cygery.com or upload it somewhere, it's large): ls -R /sys/devices

You can run it via a computer and ADB or with a terminal application.
[Android Apps and Games] alphatact1cs:
I used no other apps. I completely wiped my phone for this (it was not working). Now, my only "brightness" app is Gravity Screen. But it locks the phone, not adjust the brightness.

Here is the ADB Log. I had to redirect the output directly to a file (buffer overflow), so I cant doublecheck.

dropbox.com/s/yk9zu90uufpita0/adb.txt?dl=0
[Android Apps and Games] cygery:
Thanks, I've uploaded an update. Please clear the app data before trying it out.
[Android Apps and Games] alphatact1cs:
Yeah, it works (:

Now I dont know for what the overlay color ist, because I can not see it anyway.

Thanks!
[Android Apps and Games] cygery:
The initial idea was to use it for AMOLED screens where black pixels are simply powered off (I don't know about the brightness handling there). I don't think it's of much use otherwise (beside for debugging :)).
[Android Apps and Games] alphatact1cs:
I had an small OLED Screen here. You can regulate the brightness, but at the lowest point the pixel turn off and the color disappeared. Thats what happend with my screen. I think I bought it from Adafruit for fun, but I dont know anymore.

But anyway, thanks for the app, it helps me a lot (watching movies over Miracast,...) (:
[Android Apps and Games] aviwdoowks:
Works on the Droid Maxx 100%.

I need everything checked including the compatibility mode but excluding external access. It then stops the active notifications & shows the overlay color or dim screen (% dimmness is the alpha intensity with colors @ zero).

A touch of the screen brings on the brightness.

While still allowing you to toggle power to put the phone in pocket mode.

Great app. I am using the concurrently with gravity box.

Great work. Thanks to the Op.
[Android Apps and Games] PIRATA!:
Hi there.

Can you please tell if this app can manage screen brightness also as Screen Filter does?

Ok that it's completely a different app and that turn the screen off for music listening from those apps that need the screen to be on...but in the only backlight reduction (if possible)....is it different (and in case in what) or substantially the same concept as the Screen Filter app?

I've made a research and read the OP and didn't find any responses to my doubts.

Tnx.
[Android Apps and Games] cygery:
I don't know about Screen Filter. On most devices, this app sets the brightness to 0 which results in the backlight being switched off.
[Android Apps and Games] akatarmo:
Hi, I'm testing this app on multiple terminals, all Samsung. S3 I9300 (4.3), S4 I9506 (4.4.2) and Note 4 SN-N910F (5.0.1). Stocks Roms. All rooted, of course. I desperately need to turn off the phone screen but ... keep everything running to output via MHL/HDMI to the display of my car. I'm using a Samsung MHL 2.0 HDTV Adapter

Yes, the phones screen turns off, but the car screen also goes black. If I change and put transparent overlay, then I can see the image on the car screen, but the phone screen is not black (then drain battery). I have read in this thread that some users of S3 and Note 4 are using this app for screen mirroring. So what I am doing wrong?

Any help will be greatly appreciated, I have also tried Screen Standby, but does not work on my Samsung phones.

Sorry for my bad english, I hope I explained well.

Thanks
[Android Apps and Games] cygery:
When the MHL/HDMI output simply mirrors the phone screen there's nothing I can do about this. Either you set a black overlay which is mirrored via the MHL/HDMI output or you set a transparent overlay but then the phone display itself uses it, too. However, the screen *backlight* should still be off. On the other hand, as mentioned earlier in the thread, OLED/AMOLED screens don't have a separate backlight like LCD screens. Thus, there might exist no alternative to using a black overlay.
[Android Apps and Games] akatarmo:
But wilcor said, here:

http://xdaforums.com/android/apps-g...-exclusive-t3037380/post59031010#post59031010

"tested on Note 4 ( N910F ) Lollipop v5.0.1 ,works fine!

and solved one big annoyance for me ,

watching movie on tv (device via MHL3 connector + HDMI cable to tv )

backlight of device was always on .

Now i can switch device backlight off ( perfect for me ) !!

and save wasting unnecessary battery power .

Tested it also on Note 8.0 ( KitKat ) tab, works also fine".

But why work for him, I tested with the same terminal (Note 4 5.0.1) with no luck. He says he's doing just what I want to do!
[Android Apps and Games] cygery:
Maybe wilcor reads this and replies. I can't tell you if and why there are any differences between wilcor's and your results.

Anyway, you wrote that the "screen is not black". That itself is normal. Does it shine (in a dark room)?
[Android Apps and Games] akatarmo:
I have written a private message to wilcor and I have asked if they can look in this thread to clarify the issue.
[Android Apps and Games] a567765:
I was looking something like this for a long time, tnx ;)
[Android Apps and Games] willcor:
hi ,

Thank you for alerting me and

thanks again to dev @ cygery for a good functional app ..!!

I can confirm app is working fine on my devices ,

( screen turns off and double tap back on )

ok first of all i will again explain my setup .

i have a N910F Note 4 ( snapdragon ) rooted on Lollipop v 5.0.1 ,stock Rom

I use Note 4 with connected a MHL 3 adapter and a HDMI cable connected to MHL3 that is connected to tv , I then go to a movie i want to watch on my Note 4 select and play movie .No problems , screen goes black etc and double tap to on .and movie plays fine .

My problem was ,

i wanted to watch movies ,

However the screen did not turn off , thus draining battery ,

I use Screen Backlight Off , in this case to turn backlight off and save battery while watching movie .Just tested it now and works fine .!!!!!!!(The function of MHL3 adapter enable movie to play on tv)

However i briefly read above issues and have two remarks .............

firstly i do not use MHL2 adapter , but a MHL3 adapter ( Plse note ,the MHL3 adapter is correct one for Note 4 )

secondly ,i do not use this in my car but to tv ,so i cannot comment directly , on car issue ?,

Hope this helps a bit ,

good luck to all
[Android Apps and Games] cygery:
I've uploaded a new version (v1.1.7.0) which adds support for Android 6.0 and some small fixes and improvements.
[Android Apps and Games] jace26:
disable touch to relight?

Could you consider making an option to disable the touch block? I like several others I've seen querying about this am using an auto touch program and would like the backlight to be off for power consumption. I checked your other app out, repetitouch, and it doesn't quite meet my needs. I purchased this app before realizing it wouldn't allow touch inputs.

If you could allow users to disable the touch reactivation and remove the touchblock, that would rock. With the timeout options and tasker shortcuts I can get the screen on and off without requiring a touch.
[Android Apps and Games] cygery:
On my list for future features without an ETA at this time.
[Android Apps and Games] aLexzkter:
Doesn't work on my LG G2 I think...(Android 5.0.2 stock based thunder rom)

It makes the screen kind of dark gray with no visible icons or anything. It's not like when I turn off the backlight on my laptop which still lets me see everything If I look closely.
[Android Apps and Games] cygery:
Which overlay color have you set?

Does the backlight switch off?
[Android Apps and Games] KENT_RUS:
Dear cygery!

Will your program is implemented in such a possibility?

When connected by MHL, phone screen turns off and the second screen does not go out?

screen standby not work on the Samsung Galaxy Note, 3 N9005. 2 times running, and the third time does not include the screen, you must restart the phone.

I very much hope that your program will be an analogue screen standby

I want a function in your program!

(c)

"Screen Standby" will completely turn off the backlight while keeping the phone running for MHL / HDMI streaming|gaming. That means you can now watch movie / play games on big screen and can still turn off the screen
[Android Apps and Games] cygery:
What exactly happens (does/does not work) when you use my app now while using MHL?
[Android Apps and Games] KENT_RUS:
Instead of with the screen of phone also the second screen dies away (the TV, the head device in the car, etc.)
[Android Apps and Games] cygery:
Do you still use the default overlay color (black)? If yes, try changing it to transparent.
[Android Apps and Games] akatarmo:
Unfortunately, I think Screen Backlight does not work with AMOLED screens if you want to use a MHL cable for mirroring. I have tried several Samsung (S3, S4, Note 4) and the app ... does not work in any of them.

However, I'm using now Nexus 5 (IPS screen) as a car GPS with a SlimPort cable (similar to MHL) and ...

it works perfectly

. The screen of my phone is completely dark but I can see GPS maps on the screen of my car. The app works really well with this combination: IPS screen and Slimport cable. Logically, it should also work well with MHL cable.
[Android Apps and Games] KENT_RUS:
Sad ((

So there is no analogue Screen Standby for Samsung AMOLED
[Android Apps and Games] B3311:
Great app, thanks.

Confirmed working on my Samsung Galaxy S6 Edge Plus.
[Android Apps and Games] Cube8llc:
Worked for me.
[Android Apps and Games] Logopolis:
Hi cygery, thanks for this great app! I'm trying to figure out how to call it from my own app, using the shortcut. I see in the manifest file that there is a shortcut action defined, com.cygery.screenbacklightoff.RunShortcutActivity.ACTION_ENABLE. I take it that this would cause it to turn the backlight off? Then, is there a way to disable it, so that my app can later turn the backlight back on?

Thanks a lot.
[Android Apps and Games] akatarmo:
Also interested to know how to create a shortcut and call it from AutomateIt.
[Android Apps and Games] cygery:
The shortcut only allows other apps to switch the backlight off.

Generally, you'd start the ConfigureShortcutActivity, receive its result, and use the result's Intent.EXTRA_SHORTCUT_INTENT to start the RunShortcutActivity which will execute the shortcut. Please refer to StackOverflow etc. for further programming help.

I don't know about AutomateIt's support for shortcuts.
[Android Apps and Games] DestroytheNexus:
I'm using this on a Nexus 5 while outputting through slimport to my TV. Whenever I turn off backlight in the notification, it would cause the software buttons to show. So if I'm watching a full screen video, the software buttons don't go away once the backlight is off. The notification bar is visible as well and won't hide.
[Android Apps and Games] cygery:
Did you try activating the compatibility mode?
[Android Apps and Games] DestroytheNexus:
That option solved it. Didn't know how I missed that. Thanks a lot!
[Android Apps and Games] dafunkydan:
Great work! Runs without any Problems on Amazon Fire 2015 Tablet!

Question/Request: Is there a possibility to set it up that it wakes up by only one Tap? Background: Im planning to Pin the Tablet on the Wall as a kinda Homeautomation-Tool, and one tap would be really enough... :)
[Android Apps and Games] cygery:
Single tap is the default, doesn't it work?
[Android Apps and Games] dafunkydan:
Uh, I just removed + reinstalled it, now it works. To be honest its possible that i tried too many things/combinations at one time (tinkering with screen timeout, stay awake, checkmark at 'doubetap 2 wake)...

Anyway, now its running without problems. if it was my fault sorry mate! if not never mind, now its workling ;) and thanks again!
[Android Apps and Games] skribb:
Works for me on Lenovo Tab3 Essential, Lollipop 5.0.1

Works for me on Lenovo Tab3 Essential, Lollipop 5.0.1

HOWEVER!

When I activate SBO, the soft navi buttons are lit up and visible for like 3-4 seconds before the backlight completely turns off. I tried compatib mode. I'm gonna try and disable the navi bar and see if it's the navi bar in itself that is the culprit, but please do post your tips on how to help! ;)
[Android Apps and Games] cygery:
The switch-off process takes a moment. First, the overlay (default black) is displayed, then, after a short pause, the backlight is switched off. This pause is necessary to deal, e.g., with auto-brightness.