[APP/OPEN SOURCE]Screen Standby ♯ Root [2.0]-Screen off while keeping device active

Search This thread

DrigoRJ

Member
Apr 23, 2013
8
0
So, I have a Galaxy S5 and since the release of Nougat (LineAge OS 14.1) I was stuck with the idea of using it as my pocket computer (I have bluetooth mouse and keyboard) by using multiwindow (freeform, with taskbar).
So I updated itto LineAge OS 14.1 and I was very disappointed to notice that this app (Screen StandBy) did not work anymore. Without it, battery drain is huge. Since then, I was trying to figure it out a way to turn the Galaxy S5 screen off (to save battery) while connected to MHL (HDMI out).
I was thinking that it had to be made by a specific app, so I keep looking.

The solution happened to be quite simple (REALLY SIMPLE). Nougat (and LingeAge OS 14.1) has a built-in option to calibrate colors of screen (its under Settings -> Screen -> LiveDisplay). If you put red, blue and green to minimum THE SCREEN WILL BE TURNED OFF, while MHL (HDMI out) is unaffected. I believe that this trick can be used with any smartphone with AMOLED screen running Nougat.

I hope to help anyone who was in the same situation as mine. Sorry my english.

For those who do not have this option natively, the Kcal Color Control app ( https://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080 ) can do this. But from what I read, it only works on Qualcomm and with an specific option on Kernel. On my Z3 Compact, with custom rom, worked but on GPD Q9, also with custom rom, did not work
 

Asselnik

Member
Jun 29, 2010
43
1
Hello,
thanks for this perfect app!

Is it possible to set the display on and off with an simple HTTP URL?
 

Whosondephone

Senior Member
Sep 25, 2018
86
19
37
LG V20
I'm having trouble with the app on my LG V20. I downloaded the apk from GitHub. The setup wizard dosn't detect busybox pro. I tried zero brightness method and cut power method. The app fails to turn off the screen and stops responding.
 

nnthoi1994

Member
Feb 15, 2015
9
1
someone please help me, I used note 8 N950U and couldn't turn off the screen when using HDMI out, I searched everywhere but it was very bad, the Standby screen is no longer available, I'll pay for someone who can help me, please :(
 
  • Like
Reactions: rtyuakatsuki

seacamel

Member
Dec 23, 2009
32
17
I wonder if there's still anyone following this but it want hurt to try.
Just a quick question, is it possible to have the "Remote Receiving Mode" persistent?
So I don't have to go to the app and put it back in remote receiving mode every time after reboot/shutdown.
thanks

---------- Post added at 12:27 PM ---------- Previous post was at 12:26 PM ----------

I wonder if there's still anyone following this but it want hurt to try.
Just a quick question, is it possible to have the "Remote Receiving Mode" persistent?
So I don't have to go to the app and put it back in remote receiving mode every time after reboot/shutdown.
thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 238
    [APP/OPEN SOURCE]Screen Standby ♯ Root [2.0]-Screen off while keeping device active

    SCREEN STANDBY ♯ ROOT 2.0
    TURN OFF SCREEN AND AVOID OVERHEATING PROBLEM FROM PROLONGED STREAMING/GAMING OVER HDMI / MHL | DOWNLOADING DATA OVER WIFI
    SAVE YOUR SCREEN AND BATTERY WHILE PHONE IS STILL RUNNING!
    OPEN SOURCE!
    AUTO SCREEN OFF / ON WITH HDMI CONNECTION / DISCONNECTION

    Git Repo: https://github.com/nkahoang/screenstandby

    promonew_xda_zpsbfbcbdd2.png


    Remote Controller Feature - Public Review
    remoteBanner_zps56ef2600.png


    Setting Wizard
    settingwizard_zps62df3a35.png


    Search Plugin
    searchplugin_zpsc15ab8ca.png


    Selectable UI
    toggleui_zpsa8d122ab.png


    Outgoing call automator
    automator_zpse7d250b0.png


    TURN YOUR SCREEN INTO TOUCHPAD, NO NEED FOR BUYING AN EXTERNAL MOUSE!​
    REMOTE CONTROLLER FEATURE!​
    SCREEN STANDBY IS NOW LIVE ON GOOGLE PLAY STORE!
    The app is published under the name "Screen Standby ♯ Root"



    INTRODUCTION
    Hi everyone,
    This is originally for HTC One X, however, I have ported it to the Galaxy Nexus and now it could work on all devices! (Galaxy S3 / Moto Razr / etc). "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 (touch screen still works!).

    ROOT REQUIRED (Non-root method also available but not as effective & battery saving as root)

    FEATURES
    - Switch off the screen temporarily without actually putting the phone into 'sleep mode'. The phone is still running! It saves your battery, avoids heating to prolong battery life
    - Since 1.96, screen can be optionally turned into touchpad!
    - It has a nice little widget that let you quickly turn the screen off from your homescreen
    - Since version 1.5 beta 2, shaking your device will temporarily toggle between complete screen off and lowest brightness level (so that you can perform quick action without playing a blind guessing game)
    - Non-root method now available with 1.98 Beta 7
    - One two dimmer: Turn off screen automatically after an idling time (no user interaction)
    - Simple interface

    WHY?

    This little app will temporarily turn off screen backlight, however, unlike putting the phone to sleep, the phone is kept running. It is perfect for keeping the phone from heating from prolonged HDMI streaming over Medialink HD or MHL connection (the screen is off yet image/movie/games continue to be streamed) / or wifi data downloading, etc.


    HOW DOES IT WORK?

    It attempts to perform various actions (cutting screen voltage / brightness / light switch / writing a blank image to frame buffer, etc)
    (Since 1.5, the voltage method is temporarily disabled)
    For some devices, the screen may shutter a bit if Automatic Brightness is turned on. However, the app will automatically detect it and put the backlight into sleep again. So if you want to avoid the problem, set Automatic Brightness to false.. Since 1.7, enable auto brightness handling in app setting helps preventing this flickering


    HOW TO TURN ON THE SCREEN AGAIN?
    + Click on the app notification on your status bar (since version 1.3) or
    + Simply put the phone into true sleep (short press power button) then turn it on (power button again)
    + Temporarily lid the light a bit by shaking the device (since 1.5b2, enable it in Menu -> Settings)
    + If you can't turn on using any of the above methods, press emergency button (in main app interface) to turn on / or use 2 by 1 widget

    SCREENSHOTS (Updated for version v1.97)

    ss001_resized_zps6e8366ab.jpg
    ss002_resized_zps69f173f3.jpg
    ss003_resized_zpse4c7e153.jpg


    Installation
    Install as normal apk :) No big deal
    Remember, install and use as your own risk, even though I can't think of any damage this little app can cause to your phone

    Changelogs:
    ßeta 2 Changelog:
    Add toggable UI: Metro and Android Dark Holo (in Settings -> Extra)
    New feature: Outgoing call automator !

    First ßeta Changelog:
    - New! Setting Wizard to help user quickly and easily set up Screen Standby. Simply select your known-supported device (the list is expanding!
    Please help me) and your use-case (Streaming movie / Playing ingress / Playing Youtube etc) and the wizard will automatically select the optimised preset for you!
    - New! Screen Standby Search Plugin to help automate Screen Standby from Search key (long press search hardware-key or softkey) or Google Now gesture (swipe up from Home softkey on Jellybean device). The plugin can now open Screen Standby interface, activate / deactivate / toggle screen off or launch Remote Controller
    - Added better Root & BusyBox checker and helper
    - Added new Tasker intent to control screen standby:
    com.nkahoang.screenstandby.action.TOGGLE : to toggle screen on and off automatically
    com.nkahoang.screenstandby.action.REMOTE_CONTROL: to launch Remote Control from tasker
    - Added new option to broadcast an intent to Tasker when HDMI is detected (go to my app's settings -> HDMI Detection -> Enable broadcast on HDMI Connection/Disconnection. Specify intent action (case-sensitive) for each case. Go to tasker, add New System Event -> Intent Received, type exactly the action intent you provided in Screen Standby). The best part is, HDMI Intent can also be broadcast without activating Screen Standby (yeah, so you can use SS as a HDMI sensor for tasker)
    - Added ability to use Remote Controller with Wifi-Direct (if a warning message is shown, just click 'Continue Anyway')
    Optimizations:
    - Continued optimisation for Nexus 4
    - Added wake-lock to One Two Dimmer
    - Slightly tuned sensors

    From user report:
    Normally, with the same amount of time watching movie, battery drain drops from 30% down to just 2%!!!!!!!!!!!

    Please report bugs / feedbacks / suggestions.
    To help me solving your issue faster, since version 1.31, you may want to open the app, hit "Menu" key -> Print debug info. It will then generates a log file containing the required information. Please send that file over pm to me. Thank you


    Special thanks to:
    - ppmeis (helps with S2, now S3 / Transformer and lots of other stuffs)
    - winsettr (helps with Galaxy Nexus compatibility and constant reports)
    - mnsk (helps with his Sony and Iconia)
    - cocatriz (helps with S2)
    - TheDarkLux (helps with Galaxy S3)
    - evilmtv (helps with problems on GB devices)

    Coffee buyers:
    Styles Vancleave
    - agronick from AppRadio / ARLiberator forum
    - jjwatmyself (and also thanks for his mention of my app on his thread)
    - jdbaldi
    - jhanson
    - MichaelMotes
    Youtube clip:
    - Doctor.Krouch

    Tutorial: Setup app to work with tasker / Llama
    Follow the instruction of this post:
    http://xdaforums.com/showpost.php?p=33073452&postcount=92 (Tasker)
    http://xdaforums.com/showpost.php?p=33073452&postcount=565 (Llama, thank Buzzthebuzzsaw)

    DOWNLOAD
    Stable version of app can be downloaded in attachments section on through Google Play Store. In addition, this thread will receive beta / experimental build in the future.

    Archived build (1.1 to 1.96) can be downloaded from here
    9
    [Tutorial] Making Screen Standby works with Tasker

    This tutorial will help you setup tasker to automatically turn off / on screen based on your defined profiles.

    Step 1. Download and install my app (only works with version 1.5 and above), then open Tasker, of course
    Step 2. Switch to Tasks tab, click on the Add button (plus icon)
    Step 3. Type "Screen off" as Name or up to you /* creating action to enable my app to turn off the screen */
    Step 4. Click on the Add action button (plus icon)
    Step 5. Select Misc -> Send Intent
    Step 6. In the action box, type in com.nkahoang.screenstandby.action.ENABLE
    (case sensitive)
    Step 7. Click on OK (check icon button)

    Step 8. Add another task
    Step 9. Type "Screen on" as Name or up to you /* creating action to disable the app to turn the screen on again */
    Step 10. Click on the Add action button
    Step 11. Select Misc -> Send Intent
    Step 12. In the action box, type in com.nkahoang.screenstandby.action.DISABLE
    (case sensitive)
    Step 13. Click on OK (check icon button)

    Step 14 (Optional). Go to Screen Standby -> Menu -> Settings and set all the options you want the app to behave like

    Now you can add action "Screen off" and "Screen on" in your Tasker profile. Have fun!
    9
    Screen Standby is now OPEN SOURCE

    Hi everyone, sorry for the long long response. Many things happened and I'm extremely sorry for any issues and lack of my feedback.

    Today, I finally have some free time and open sourced Screen Standby to everyone under GNU GPL v2 license

    Every developer will be able to access the codebase of the app for the first time (with screen off, remoting, HDMI, everything!) and contribute directly to it. I would like to apologize for being late in open sourcing the app. I recognise my biggest problem was the ambitious of making the app compatible with all devices, which did prove that it is an impossible task. Screen Standby is too hardware specific and I, myself cannot maintain it to work on all devices.

    The app should be able to compatible with 4.4 devices (4.3 device please wait for an update to 4.4)

    Github repository is at the following URL:
    https://github.com/nkahoang/screenstandby

    If the app is not working on your devices, please ask your device developer to contribute in the app project. I, myself, will contribute in the following devices:
    - Google Nexus 4 (4.0+)
    - Google Nexus 5 (4.4+)
    - Samsung Galaxy S4 i9505 (4.4+, which is broken as I dropped it after having it for about 1 month... )

    Cheers and glory to Open Source community
    8
    promo_xda_newyear_zps97da5785.png

    New year Release: 1.99 R2
    - Add new feature: "Auto app detection". If enabled, this feature will turn off screen when the selected app is launched (Youtube, Ingress, MX Player, etc) and screen will be turned on again if none of the selected app is active. Select up to 4 apps, disabled by default.
    - Much much better One Two Dim. The handler is completely rewritten and should be more stable and battery friendly
    - Attempt to fix Nexus 10 bugs
    - Squash some small bugs

    I would like to thank you to Styles Vancleave with his very generous donation that is enough to buy me more than a year worth of daily coffee. It greatly helps further development of this app. Thanks again!
    8
    Everyone, I would like to make an announcement
    ...
    fanfare.play();

    SCREEN STANDBY IS NOW LIVE ON GOOGLE PLAY STORE!
    The app is published under the name "Screen Standby ♯ Root" with version v1.75 (also updated on this thread), which has the following changelogs:

    - New icon !!!
    - Proximity sensor (experimental, please test for me! )
    - Even better stability & faster off time
    - I also implemented an ads banner with this (don't worry guy, there is an option in Settings to turn it off :highfive:.)


    Both XDA Thread and Google Play will receive constant update from me (for those who don't use Google Service can download the app directly from this thread). Moreover, XDA Thread will receive more frequent update (like what I have been doing)

    Please spend time checking it out and give me some reviews :p It would encourage me a lot in further development of the app.

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

    One more thing, as I mentioned, my MHL adapter is broken. So can anyone with MHL adapter make a short Youtube demonstration clip for this little app so that I could add it to the Google Play page? I would be very very grateful.

    Once again, I would like to express my deepest appreciation to everyone for helping me. Without you, this app is still a lost orphan thread sinking down somewhere in XDA.

    CHEERS!