yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] skribb:
Thanks for the reply.

I did disable the system UI and it indeed helped. Now it's just 2 seconds of dimmed screen and then the backlight goes off, instead of a glaring navi bar! :)

What do you mean with auto brightness? are you referring to a built-in android function or the fact that SBO puts the brightness to the lowest possible level before turning off the backlight? In that case would it be possible to just go straight to turning off the backlight? Because on my tablet I've already set the brightness really low and am using a black wallpaper. :cowboy:

Also I wanted to ask which "flags" are set in the Android OS when your app turns off the backlight. Because, if I use a run-of-the-mill screen dimmer, I can use "ok google" command since the screen isn't off at all. But with SBO I can't use voice commands (and I tried both turning off the screen, and using the SBO shortcut). It would be amazing if I could "wake" the screen with my voice :fingers-crossed:
[Android Apps and Games] cygery:
I checked again, the issue isn't just Android's auto-brightness but a brightness higher than the lowest one in general. Upon activation, this app first sets the brightness to the lowest (non-off) level. If the previous brightness was different, this results in a gradual brightness change which takes a moment. If this app wouldn't wait for this process to finish, it would cause the backlight to turn on again. It would be technically possible to skip this if the previous brightness was already at the lowest, however, I don't plan to add an option to disable the wait period at this time.

By default only WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN, if you use compatibility mode additionally WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE. Did you check if voice commands work when the compatibility mode is enabled? Dunno about waking the screen.
[Android Apps and Games] skribb:
Aww shucks! Oh well, I don't expect a dev to bow to my needs :D

Actually it seemed to work when compat mode is enabled! The waking screen part should be easy peasy once I hook up AutoVoice to Tasker (I'll emulate a screen tap and that'll probably wake the screen).

Thanks for a great app :D
[Android Apps and Games] Aptahar:
Hello! Thanks for this unique app. Would be great have some option, when screen is off but touchscreen not blocked. In that case your app can be used with pioneer AppRadio, where touchscreen of Pioneer Head is transferred via Bluetooth to smartphone.

It is possible?
[Android Apps and Games] cygery:
Might be added in future if I'm able to implement it. This would require additional measures to ensure that reenabling the backlight works (likely via the power button only, then) and that Android's (auto) brightness control does not interfere.
[Android Apps and Games] namaticata:
Thanks for the app! Works perfectly for my Xperia ZL (C6502) :D
[Android Apps and Games] mchung:
Samsung Note 2014 10.1

It doesn't seem to turn the backlight completely off for my Samsung Note 2014 10.1 but makes the screen black. I can see the backlight coming through. Does anyone know how this can be fixed?
[Android Apps and Games] LuckyStrike1695:
Thanks !

Seems to work perfectly on my OPO.

Was looking for something like that for quite some time now, will try it for a few day and definitely buy it if it really works as expected !
[Android Apps and Games] cygery:
The app should work without issues on Android 7.0. However, if anybody encounters issues using it after updating to Android 7.0, please report them and I'll check.
[Android Apps and Games] akatarmo:
Hi, @cygery, thanks too for share your app. I use a Mediatek chinese tablet to send the image (GPS software, usually) from his HDMI output to the screen built into my car. Since the tablet is installed hidden, I use a Rii bluetooth Keyboard+Touchpad to handle the tablet. Your app works well on the tablet, the screen is completely dark but ... while the screen is dark, the bluetooth Keyboard don't work and then I can't handle the tablet. Is there any way to fix this? I understand that the tablet touchscreen don't work, but why does not the Keyboard?

Thanks again :)
[Android Apps and Games] cygery:
Activating the compatibility mode might help with that.
[Android Apps and Games] lorez77:
Hi,

I have a first generation Motorola Moto G (x1032) running the official Cyanogenmod 13 ROM. I have two problems using this app: Ambient Display ceases working but most importantly if I run it for something like half an hour I can't make the backlight turn back on. I tried all the possible settings and the only solution is to reboot my phone. I'm using this app in conjunction with Vysor to control my Moto G from my PC (for Pocket Casts, Flamingo and Spotify) and I'd really love for it to work properly.
[Android Apps and Games] cygery:
I'm unable to test this setup myself. Thus, I suggest you to try to isolate the problem.

Does the issue also occur when you don't use Vysor?

Do you use any other app which affects the backlight (brightness)?
[Android Apps and Games] lorez77:
Thanks for replying me. I just tested the app for one hour and half without using Vysor. Same result: I can't turn the screen back on.

No, I only use the Ambient Display which comes with CM13 .
[Android Apps and Games] cygery:
OK, I can't test that. Did you try to disable Ambient Display?
[Android Apps and Games] lorez77:
Sorry, it's called adaptive brightness. My fault. Anyway, just tried it for another one hour and half, no adaptive brightness (I even rebooted the phone after turning it off), no Vysor. I can't turn the screen back on. I'm out of luck I guess :(
[Android Apps and Games] cygery:
Hm, what happens (when the issue occurs again) when you press the power button, wait a second, and press it again?
[Android Apps and Games] lorez77:
Tried as you said today (press power, wait a sec, press power again). The screen doesn't turn on. I had adaptive brightness off and no Vysor.
[Android Apps and Games] cygery:
Can you confirm that your device is still switched on when the issue occurs? The method pressing the power button twice (to switch the screen off and on again) should (and does on my test devices) work even when the app is killed/uninstalled.
[Android Apps and Games] lorez77:
Yes, the device is definitely on because I'm streaming audio from it to my PC (Spotify or Pocket Casts).
[Android Apps and Games] cygery:
Hm, I'm out of ideas for the moment then.
[Android Apps and Games] anon97:
requesting a feature

could add a feature in your app that it doesn't respond to autotouch. and keep backlight shutdown.

as I'm playing a game and enabled the autotouch. and enabled this to keep backlight shutoff. but after few seconds it automatically glows up(probably due to autotouch). so add a feature where it only respond to hardware keys not taps.??
[Android Apps and Games] Gogolo2:
Works under N too, thx! Could you implement a timer to off? Lets say 30sec no Input turns off backlight. Thx.
[Android Apps and Games] cygery:
No, this app needs to respond to touch input in order to reenable the backlight.
[Android Apps and Games] cygery:
I'm not aware of a feasible way to implement this. As a workaround, you could set the display timeout in the system settings to 30s and use this app's "On screen off" activation feature.
[Android Apps and Games] Gogolo2:
Thx very much for your answer!
[Android Apps and Games] androingo:
works well on LeEco Le 2

Hi,

just wanted to say thank you! I tried it first with my old phone (Moto G 4G / peregrine) on CM13, but it just did not work. The capacitive buttons kept being lit, so the backlight never really turned off. Initially it worked for an hour or so, but then I had the same problem with the device not turning the backlight on, only reboot helped. After that it didn't work anymore, even after reinstalling...

Now with the LeEco Le 2 it works perfectly. I want to use it for screen mirroring to my chromecast (for unsupported video formats I found no other way).

Need to test it when I am back home, but if it really runs well I will definitely buy your playstore app!

Cheers
[Android Apps and Games] Nosferatu.:
Works as advertised on HTC 10 running Nougat
[Android Apps and Games] zarlie:
Also flawless on the Nexus 9. Thx!
[Android Apps and Games] gleggie:
Works fine for me on OnePlus 3!
[Android Apps and Games] kos25k:
dear programmer i want a very big favour!lately i have a wireless mouse connected to my tablet.I connect my tablet through mhl to my tv and mirror it.Could u please add a feature for screen to still stay closed when i click with mouse? And to have option of course to activate the screen with volume or power buttons.I want this feature just for battery saving.there is a similar app on playstore but it seems abandomed.when i launch it my tablet never wakes up.thanks in advance,i will donate you!
[Android Apps and Games] Va2c:
Can we disable backlight of LCD and still able to see the screen? Like in the old days in Nokia phones, after screen timeout backlight turn off but you could see contents on the screen.

AMOLED cannot but LCD is it possible?
[Android Apps and Games] cygery:
Generally, yes, when setting the overlay color to transparent (zero alpha). Still it depends on the device/screen/light conditions how much you will be able to see of the screen content.
[Android Apps and Games] donkren:
very great app!

but, i hope add feature about deactivate and control.

i need Vysor to control android from pc, and work with backlight off (alpha 0)

it success to show screen in Vysor with backlight off.

but, if i click in Vysor to start controling, backlight turn on again in phone.

sorry bad english~

:crying:
[Android Apps and Games] cygery:
Planned to be added but no ETA yet.
[Android Apps and Games] MallowsAndGooey:
Working on Galaxy Grand Prime VE. Cheers mate. ?
[Android Apps and Games] cygery:
There's an Xmas giveaway of Google Play codes for this app (same functionality as xda version) on Reddit: https://www.reddit.com/r/androidapps/comments/7lb6mw/repetitouch_pro_root_screen_backlight_off_root/
[Android Apps and Games] Alric-Rahl:
It is working with any problems I can see on my Lenovo TAB 2 A10-70L using full_hq8752_tb_b2b_m-user 6.0 MRA58K 1477022938 release-keys
[Android Apps and Games] nickthaskater:
I've got this working to an extent on my LG V20 via USB-C to HDMI out. It works well enough when playing passive content that doesn't require interacting with on-screen elements; however, I'm not able to use any of the on-screen functions when the backlight is off, even with a Bluetooth mouse and keyboard.

Also, and it may just be a quirk of the V20, but it's not killing the entire backlight. There's still some glow in the upper right corner of the screen.

Is there any way to keep the screen interactive via Bluetooth peripherals (mouse, keyboard, controller) while the backlight is off so I can navigate the phone on the external screen? I found the nav bar function to work without issue, bringing up recent apps and going to the home screen without waking the backlight; however, that's the only portion of the display that allows any interaction.

Regardless, thank you for taking on an issue that ought to have been part of native Android in the first place.
[Android Apps and Games] cygery:
This device has an additional display at the top right corner, right? Could the glow be created by it?

Currently not. The app uses a full screen overlay (depending on your settings except the navigation bar) to detect the reactivation tap(s). Allowing touch/mouse input would require to remove this overlay and a different method to reactivate the backlight. One possible solution (which already works) is pressing the power button twice (once to really switch off the screen and once to switch it on again), a different (with limited usability) could be to use the app's notification for reactivation. However, this might have other disadvantages, e.g., the screen could be locked. What about your screen mirroring, what happens when you press the power button while mirroring the screen?

Unfortunately, I don't have the time for further development at the moment. Hopefully again in a couple of weeks.
[Android Apps and Games] nickthaskater:
Single display, two backlights. I've turned off all modes of the secondary display, so there ought not be any light still, and the light is bleeding from the corner of the primary "screen" rather than on the secondary. Like I said, probably just a quirk of LG's silly setup. 95% of the rest of the screen is entirely off so it's not a big deal to me, just wanted to mention it.

The solution you propose where reactivating the screen solely with the power button rather than tapping the screen would be ideal for my use case if it means I can continue to work on the external display while the phone is dimmed.

As for mirroring, currently when I mirror with the backlight off and push the power button, the phone display switches off entirely while the mirrored display shows the lock screen. Tapping the power button/fingerprint sensor again (which is set to automatically unlock my phone) unlocks the phone and wakes the backlight and unlocks the mirrored display.

Thank you for the reply - let me know if there's anything I can do to assist in developing the propose functionality :)
[Android Apps and Games] kos25k:
Hello and have a happy new year!yesterday I got my first smart tv and I want to connect my tablet with screen mirroring and attach my b.t mouse with otg usb adapter as usual.my question is:can I use my mouse to work with my tablet (as screen would be on) but to have her turned off with this app??Thanks a lot.
[Android Apps and Games] cygery:
Currently not, see last few posts.
[Android Apps and Games] kos25k:
ok thanks.i'll try the method of 2 taps..this would be the greatest feature and I am willy to pay for this. [emoji6]
[Android Apps and Games] kos25k:
ok after a lot of search I finally found an app for this that has many options included screen totally off.should I post it here just to help people?or is forbidden?
[Android Apps and Games] oroboros74:
Post it here please.
[Android Apps and Games] kos25k:
is called second screen.
[Android Apps and Games] StiVen.:
xperia z ultra ok, thanks
[Android Apps and Games] hendrawd:
Can it be modified that we can do anything with our phone while the screen is off? I need it because I want to access my phone from Vysor or TeamViewer, but don't want to light on the screen.
[Android Apps and Games] princereg20:
thank you all
[Android Apps and Games] Forever Alone:
Oh man you're awesome! I was looking for this all over internet.
[Android Apps and Games] henryhoover:
Created an account to say I installed this via the screenbacklightoff.xda-1.1.7.0.apk and it works great on my

Pixel 3a

(which has an OLED screen)

Thanks a lot :)
[Android Apps and Games] Speedo.thc:
Hi , just very good to ear youtube musics and keep battery, i verified that the screen is really totally Off :)

Work on redmi note 5 running Oxygen OS Q port by Speedo.

Thx you
[Android Apps and Games] ocenyx:
Bro.

Wherever you are right now, I just want to let you know that your masterpiece still works after all these years this project has been abandoned. I've been desperately looking for something like these for several months. Thanks for your great work.

Current device: Poco F1
[Android Apps and Games] awdrifter:
It doesn't turn of the notification bar on OnePlus 8 Pro.
[Android Apps and Games] whitedavidp:
Hello, this app looks to be exactly what I need when using IP Webcam which, when active, keeps the screen on (I think it has to due to Android requirements). I would like to control this via Tasker and thought I read somewhere I could do that. I have enabled external app control but I do not see any plugin within Tasker. I am sure I am doing something stupid here. Can someone tell me how to control this to start/stop? Thanks

Update: never mind, I can trigger it via Tasker by executing the shortcut. On a S6, this seems to work perfectly!
[Android Apps and Games] sosimple:
Working on galaxy s10 lite, but it just print a black screen.. I wanted to use it in android auto mirroring, to have phone screen almost 0 brightness but i don't think this will work as i will just see black in car screen also..

I need one which really makes brightness 0..
[Android Apps and Games] McLEI:
How to activate or deactivate backlight from other application using this program? What is the intent name for switching backlight off?
[Android Apps and Games] cygery:
Hi, there's only a shortcut for switching the backlight off: #Intent;action=com.cygery.screenbacklightoff.RunShortcutActivity.ACTION_ENABLE;launchFlags=0x58810000;component=com.cygery.screenbacklightoff/.RunShortcutActivity;end
[Android Apps and Games] cygery:
No, Playstore updates are only delivered to apps which are installed via the Playstore. Also, the version on the Playstore has a different package name, i.e., it's a different app.
[Android Apps and Games] Hawaiihemd:
v1.0.3.0. working flawlessly on Galaxy S III intl. (GT-i9300)

Thanks for a great app.
[Android Apps and Games] A_U:
Works perfectly well on Note 2 N7100 running CM12. Thanks a lot! Now I can listen to songs on YouTube without worrying about battery.
[Android Apps and Games] 30rasheed:
Lenovo k900 not work!
[Android Apps and Games] cygery:
What happens in detail?
[Android Apps and Games] little-vince:
I can confirm that it works on the Galaxy Note 1, running CM12. :)
[Android Apps and Games] kagwind:
With this, I think we can do "OK Google" when screen-off on unsupported devices, e.g., Nexus 5. :D (Haven't tested it yet, though.)
[Android Apps and Games] Rix70:
......and HTC?
[Android Apps and Games] Harsha Raj:
Works well with OnePlus One running SlimSaber Lollipop
[Android Apps and Games] jakobfriis:
Nexus 6

The app installs fine on Nexus 6, but the AMOLED screen goes all black :) The devices is still alive and wakes up the second the screen is touched. I guess the AMOLED design is the culprit.
[Android Apps and Games] nazfalas:
Works fine on OnePlus One using yesterday's nightly build of CM12. Thx for the app!
[Android Apps and Games] fraydz:
[MENTION=5253144]cygery[/MENTION] > You can add this to supported devices : working with Galaxy S3 LTE (GT-i9305) and lollipop based rom. Thanks !
[Android Apps and Games] cygery:
Sounds like it works as it should. Why do you think the AMOLED design is a/the culprit?
[Android Apps and Games] Kolqhoz:
Yeah same on the Moto X 2014 (XT1092), this has to be AMOLED.
[Android Apps and Games] jakobfriis:
If the screen is supposed to go completely black - then yes. It work flawlessly :) I read the description and was expecting it to a bit like the Nexus 6 feature, when it is picked up. Black display, but readable notifications

Was hoping for this feature to be activated until actively deactivated : https://www.youtube.com/watch?v=5TyhaOjME5g
[Android Apps and Games] cygery:
Yes, this app uses a black full screen window to detect the touch while it's active (you might still be able to the navigation buttons, though).
[Android Apps and Games] MasterImran1:
I'm just getting a black screen upon activating it. I can wake it just by touching the screen. Is that it or...? :confused:
[Android Apps and Games] jakobfriis:
Then it works flawlessly :)
[Android Apps and Games] cygery:
Yes, that's basically it :)

Please note that this app doesn't put the device into sleep so you didn't wake it up. It stayed awake instead.
[Android Apps and Games] till22:
Since we're on that subject already: Did you do any tests about battery consumption? I'm sure I'll report later, but I'm sure there will be quite some people using this as a "short term dt2w" app and this would help the app to get more known.

From the screenshots it looks like you can just pull down the status bar and then click the persistan notification to turn it off, so you can also use it in full screen, or am I mistaken? I'll install this today on my N5.
[Android Apps and Games] MasterImran1:
Ooohh... Okay then. It works with the Nexus 4. :)
[Android Apps and Games] TheXGX:
Works flawlessly on Samsung Galaxy S4 GT-i9500 running Euphoria OS based off of CyanogenMod 12 5.0.2. Perfect app. :good:
[Android Apps and Games] Gu$houn*:
Nexus 4 with purity rom working flawlessly here.

P.

[sntfrmnxs4]
[Android Apps and Games] Termich:
Reporting from my Galaxy S4 Mini LTE. Working fine!
[Android Apps and Games] Spere:
[MENTION=5253144]cygery[/MENTION] Working fine on Samsung Galaxy Note Pro 12.2 (SM-P905)
[Android Apps and Games] cygery:
No, I haven't done any extensive tests regarding battery consumption yet. Looking forward to your results :)

I really can't suggest using this app as a replacement for (double) touch to wake because this app is designed to be used while the device is awake and in use anyway. Keeping the device awake just to be able to switch on the screen (backlight) using this app is probably gonna waste much battery imho.

This should work on recent Android versions but as far as I know not on 2.3.
[Android Apps and Games] Vic.:
Works well on Xperia Z2 with 4.4.4. Thanks ;)
[Android Apps and Games] till22:
True, I meant "short term" really as in "short": say you are using a chat app, in stead of having to use a physical button every minute you'll just turn off the backlight for the while. Still consumes less battery than leaving screen on all the time (I'm sure lots of people do that instead) and is much less of a hassle that pressing a physcial button, at least for all phones which don't have a front button :)

Android 2.3.. Does that run on the touch screen on a dinosaur? :p
[Android Apps and Games] aayushgala:
Works perfectly on Moto G. Thanks!
[Android Apps and Games] vaib:
Does not work with Xiaomi MI3. Nothing happens when I click it.
[Android Apps and Games] cygery:
Interesting use case, indeed. Everybody who tries this: Please post your results and any feedback.

Sure :D
[Android Apps and Games] cygery:
Did you enable system popup windows for this app?
[Android Apps and Games] aseef17:
Doesn't work on moto g 2014
[Android Apps and Games] cygery:
Well, what exactly happens when you try to use it? Which ROM are you using?
[Android Apps and Games] nadejo:
Works on i9505 cm12. Can you please add the Funktion to activate the screen using the volume buttons instead of touching the screen. Because i want to play games over HDMI while keeping the screen off. Thanks

Nvm there is no HDMI Funktion. The screen on HDMI output gets black too :/
[Android Apps and Games] till22:
Another case could be THIS :)

Do you think it would make a difference in battery consumption? Because the phone does not sleep when music is playing.
[Android Apps and Games] cygery:
I guess the consumption would be comparable .
[Android Apps and Games] kalios:
works fine on xperia Z1
[Android Apps and Games] latino147:
GREAT! I listen to Ted talks in the car and hate it that I have to keep the screen on or TED stops!

I'll try it out, thanks!
[Android Apps and Games] fhreire:
It didn't work on Moto X 2014 XT1097 Stock ROM 5.0.

:rolleyes:
[Android Apps and Games] cygery:
What happened in detail?
[Android Apps and Games] fhreire:
Well, nothing happened... I mean, the screen didn't switch off the light. Rebooted the device already.
[Android Apps and Games] cygery:
How did you try to activate it? Did the screen turn black?
[Android Apps and Games] fhreire:
I configured the app as shown in your first post. The screen didn't turn black.

BTW, if you wanna translation for Portuguese, let me know & I can help you.
[Android Apps and Games] vaib:
Sorry...my bad

Forgot to do that. It is working now. :)
[Android Apps and Games] cygery:
Did you click on the notification? Is your device rooted?
[Android Apps and Games] cygery:
OK, thanks for the info :)

I'll add a note regarding this to the first post.
[Android Apps and Games] fhreire:
Yes and Yes.

The notification is doing nothing as well...