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

Search This thread

syamsoul

Senior Member
Dec 25, 2010
746
184
Thanks so much.

Been looking for this app since first bought Samsung Galaxy S1 till now.

It really usefull when

1. Play movie to TV/Monitor and screen off like nokia device
2. gain full speed when transfering file to PC using either Wifi/bluetooth/USB cable(MTP mode)


Its a must for me.

working perfectly with my Samsung Galaxy S2 Gt-i9100G

Thanks again!
 

nkahoang

Senior Member
Jan 23, 2011
273
626
Melbourne, Victoria
www.nkahnt.com
(Oct 18 2012) 1.5 BETA 2:
No much changes from 1.5 BETA. But now you can temporarily lid the screen on a bit higher by SHAKING THE DEVICE (Experimental):D. So here it is:

- After putting the device to sleep, shaking it will turn on the screen to lowest brightness level (so you can do your stuffs). When you finish:
- Shake device again to put it to sleep.

Let's SHAKE!!!

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

P/s: Thank XDA for putting my humble app on the portal :). Would try my best to make it perfect. And thank to all users/betatesters out there who helped me a lot with this app.
 
Last edited:

Deadly

Senior Member
Jul 19, 2012
10,279
3,901
Bangalore
OnePlus 5
Shake baby shake ;)

1.5 beta 2 is working with galaxy y duos flawlessly.. thanks... now its much more easier..

hit thanks button! If above post helps you..
Sent from my GT-S6102
 

Ray_Banci

Senior Member
Jan 25, 2012
323
43
This is awesome for some reason its so much faster with the screen off this app is a miracle

Sent from my SAMSUNG-SGH-I717 using xda premium
 
  • Like
Reactions: nkahoang

mnsk

Senior Member
Aug 12, 2012
507
88
Hey!! man love the app, working good with acer a500.
It's just that after turning on the screen and closing the app it keeps running in the background and a little shake put the screen back to lowest brightness, nonetheless thanks for the app .
 

WoodroweBones

Senior Member
Jun 8, 2012
914
282
Winnipeg
Was just brainstorming here... can you have the app work with the accelerometer?

What I mean by this is that a natural function would be that when the phone is placed screen down the app would automatically turn the screen off. When its flipped back over the screen can either come back on fully or maybe at the lowest setting (not sure which would be best... or maybe give the option).

In this case the app could probably be used for more than just MHL/HDMI. It could even fix some of the bugs you need to work out as less user input is usually a good thing :p
 
  • Like
Reactions: nkahoang

Mrc527

Senior Member
Mar 28, 2011
171
94
Milan
www.kernel-xp.net
Galaxy Nexus problem

Hello,
thanks for the great idea, but....for me is not woring :(
Well, i plug the MHL cable, then turn on bluetooth and connect external mouse and keyboard, then...turn backlights off and teh screens really shuts down: cool. On the tv the image still there: cool. But....is freezed! I cannot move anything, i cannot start any movie. If I shake the device, the monitor wakes up and the HDMI output works fawlessy, but...my internal monitor still on, even if with very low backlight.

BTW, I've a Galaxy Nexus, with JB 4.1.2, maybe this update is the problem?

I've attached your application log, i hope it helps. Bye!
 

Attachments

  • screenstandby20121018-035719.txt
    471.1 KB · Views: 6
  • Like
Reactions: nkahoang

Belaar

New member
Dec 9, 2011
2
1
Sorry, doesn't work. Galaxy Nexus JB 4.1.1

Turning off backlights and it goes black. Trying to turn on the lights again by pressing the power button and nothing happens. After a minute or two the OS restarts. The logfile is attached.
 

Attachments

  • screenstandby20121018-093450.txt
    489.7 KB · Views: 8
  • Like
Reactions: nkahoang

nkahoang

Senior Member
Jan 23, 2011
273
626
Melbourne, Victoria
www.nkahnt.com
Hello,
thanks for the great idea, but....for me is not woring :(
Well, i plug the MHL cable, then turn on bluetooth and connect external mouse and keyboard, then...turn backlights off and teh screens really shuts down: cool. On the tv the image still there: cool. But....is freezed! I cannot move anything, i cannot start any movie. If I shake the device, the monitor wakes up and the HDMI output works fawlessy, but...my internal monitor still on, even if with very low backlight.

BTW, I've a Galaxy Nexus, with JB 4.1.2, maybe this update is the problem?

I've attached your application log, i hope it helps. Bye!

Galaxy Nexus user, please use version 1.31 as it is most stable to your device. Will fix the bug as soon as possible





Sorry, doesn't work. Galaxy Nexus JB 4.1.1

Turning off backlights and it goes black. Trying to turn on the lights again by pressing the power button and nothing happens. After a minute or two the OS restarts. The logfile is attached.



Beamed from an Endeavour, the chosen One
 

EvanVanVan

Senior Member
Jun 27, 2009
394
50
I like the idea of the shake, but can you add a way to disable it? lol it seems every time I touch/shake my phone the screen turns off now...

@Ty07allstar, I'd try pressing the power button, shaking it, pressing the power button again and shaking it...it seems once it's shaked off, shaking is the only way to get it back on
 

nkahoang

Senior Member
Jan 23, 2011
273
626
Melbourne, Victoria
www.nkahnt.com
Cannot get the screen to come back on on my Verizon Galaxy SIII. Here's the debug info...

https://www.dropbox.com/s/b1p9v6lze9s1skq/screenstandby20121018-062538.log
Thanks for the log. Will look into that as soon as possible.

I like the idea of the shake, but can you add a way to disable it? lol it seems every time I touch/shake my phone the screen turns off now...

@Ty07allstar, I'd try pressing the power button, shaking it, pressing the power button again and shaking it...it seems once it's shaked off, shaking is the only way to get it back on
Sure, in future release I will add a setting panel, which you may enable / disable, change the sensitivity of the sensor (since each device has different value reported from the accelerometer). In the mean time, if you don't like shaking, use version 1.5 Beta. The only difference between 1.5 Beta 2 and 1.5 Beta is the shaking feature.

---------

Everyone, please note that the latest stable version is 1.31. Beta version is expected to have bug and should be used only if you want to experience new feature and if 1.31 does not work for you (especially for Galaxy S2 / S3 owners).

To those who have problem with the GNexus, the device is weirder then I thought. Having almost identical hardware as S2 (Even the AMOLED screen as well as its native driver) but the method that works for Nexus does not work for the S2 and vice versa. Next version will fix this.
 
  • Like
Reactions: EvanVanVan

winsettr

Senior Member
Oct 26, 2010
373
66
Galaxy Nexus (CM10M2, 4.1.2): shake to wake works, but the screen never turns off again. The sensitivity of the shake is actually prefect in this device, imo. Using the power button to put the device into standby works, but it takes several (5-10) presses before the lockscreen comes up (in pitch black you can see the screen light up black only at minimal brightness).

Sent from my Galaxy Nexus using Tapatalk 2
 
  • Like
Reactions: nkahoang

chenrp

Senior Member
Oct 17, 2006
1,290
153
1.with SW acceleration, does the video output still visible?

2.if i turn off the screen (with this app) can i see the output on the TV through MHL?
 

winsettr

Senior Member
Oct 26, 2010
373
66
1. I'm not sure why that would make a difference, should work.

2. Yes, that's why this app is so great!

Sent from my Galaxy Nexus using Tapatalk 2
 
  • Like
Reactions: nkahoang

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!