'Advanced Sleep mode' - Nexus 5 Q&A, Help & Troubleshooting

Hello,
I search an advanced sleep mode for my rooted Nexus 5 (5.0.1), so theres no sound, it only turns on with long press and I can still access functions with my Moto 360. Is there something like this?
Thanks!

dav20011 said:
Hello,
I search an advanced sleep mode for my rooted Nexus 5 (5.0.1), so theres no sound, it only turns on with long press and I can still access functions with my Moto 360. Is there something like this?
Thanks!
Click to expand...
Click to collapse
Priority Interruptions?
https://support.google.com/nexus/answer/6111295?hl=en

Related

[Q] Shortcut Shutdown Screen

Hi,
I'm currently using Nova Launcher which has a settings to remap the home button when on the homescreen.
You can map it to a Nova settings, an app or a shortcut.
I currently have it mapped to a Secure Settings shortcut that lock my phone.
The issue I'm having with this settings, it's that it does not respect the delay locking option I have set on my security settings (5 min).
I'm looking for a way to map the home button to something that would shutdown the screen but respect the locking delay like the real power button does.
Any suggestions ?
Thanks.
Its because you're locking the phone in secure settings. Power button turns of the screen. So its a different action.
Which are you using by the way? Dev admin action > lock device or root actions > power button lock?
Not sure how different they are. Essentially you need to look to turn off screen not lock device
Sent from my Nexus 5 using Tapatalk
rootSU said:
Its because you're locking the phone in secure settings. Power button turns of the screen. So its a different action.
Which are you using by the way? Dev admin action > lock device or root actions > power button lock?
Not sure how different they are. Essentially you need to look to turn off screen not lock device
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Hi haven't payed for the Pro Upgrade so Power button lock is not available to me.
I know it's because I'm using the Lock Device feature, that because I cannot find another option that simply simulates the power button press.
Can someone confirm to me that "Power button lock" in Secure Settings would provide me with the right feature ?
Thanks.
I don't have pro. You're rooted though I guess? Dalvik or ART?
Can use xposed + gravitybox in nova as a shortcut to set device to sleep. This allows the delay to work
Sent from my Nexus 5 using Tapatalk
rootSU said:
I don't have pro. You're rooted though I guess? Dalvik or ART?
Can use xposed + gravitybox in nova as a shortcut to set device to sleep. This allows the delay to work
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes ! Thanks a lot !

Disable volume keys when screen locked ?

As per subject.. Android L.. Anyway to disable volume keys when the screen is locked ?
Thanks
Sent from my Nexus 7 (2013) KitKat 4.4.4
Anyone any ideas on this ?
Sent from my Nexus 7 (2013) KitKat 4.4.4
your volume keys should be disabled when the screen is off. unless you are using an app that enables them, or have an rom option enabling them.
simms22 said:
your volume keys should be disabled when the screen is off. unless you are using an app that enables them, or have an rom option enabling them.
Click to expand...
Click to collapse
I think op is asking about disabling volume keys when screen is ON, but locked. (when screen is off, yes, those are disabled)
To add to that, a locked screen should not permit anyone from enabling/disabling WiFi/BT/MobileData etc - but Android 5.0 lets them.
For me when the screen is locked the volume keys appear to work.
I'll have to test this again.
albert_htc said:
For me when the screen is locked the volume keys appear to work.
I'll have to test this again.
Click to expand...
Click to collapse
a ROM or completely stock?
Stock ROM.
Found out what the issue is. I've got a new case on my phone and it activates the smart lock when it closes..
Looks like as its new its not closing tight so the screen is still on and the volume keys work.
If I make sure its shut tight its fine.

[SOLVED] ''Theater mode'' ?

Anyone knows if there is some kind of "theater mode" Gear s2?
"theater mode" on my old Sony Smartwatch 3 that was running Android wear was option to quickly turnoff screen with button on side (by pressing ti quickly twice) and it turns on only when you press physical button, so screen doesnt light up by accident (with gesture or touching screen) when you are lets say for example in cinema.
i have many combinations of key preses but none work/activate it.
EDIT: thanks, problem solved. (its called Do not Disturb on Gear s2)
tzmx said:
Anyone knows if there is some kind of "theater mode" Gear s2?
"theater mode" on my old Sony Smartwatch 3 that was running Android wear was option to quickly turnoff screen with button on side (by pressing ti quickly twice) and it turns on only when you press physical button, so screen doesnt light up by accident (with gesture or touching screen) when you are lets say for example in cinema.
i have many combinations of key preses but none work/activate it.
Click to expand...
Click to collapse
Swipe down and hit the do not disturb button, and you're done
Sent from my SM-N920T using Tapatalk
Lancerz said:
Swipe down and hit the do not disturb button, and you're done
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
Oh, Wow... I assumed it was standart Android do not disturb option so i never tried it xD Feel so silly now. Thanks!! :good:

Screen Wake Issue

Hi All,
So I have a very odd issue. I have googled and searched the threads, but I cannot find any mention of the same issue from anyone else. Here is my problem:
When the screen is completely off (I have "Always On" turned off), sometimes when I push the power button the lock screen does not come up. Instead, I can barely make out tiny white text at the very bottom of the display that is half cut off. Obviously I cannot take a screenshot to show you. So I push the power button a couple of times and then it works.
Anybody have a clue what is going on?
Thanks in advance!
Dave
dmmoroney said:
Hi All,
So I have a very odd issue. I have googled and searched the threads, but I cannot find any mention of the same issue from anyone else. Here is my problem:
When the screen is completely off (I have "Always On" turned off), sometimes when I push the power button the lock screen does not come up. Instead, I can barely make out tiny white text at the very bottom of the display that is half cut off. Obviously I cannot take a screenshot to show you. So I push the power button a couple of times and then it works.
Anybody have a clue what is going on?
Thanks in advance!
Dave
Click to expand...
Click to collapse
Do u use greenify?
Sent from my Samsung SM-G955U using XDA Labs
I do! What setting can I change to resolve this?
dmmoroney said:
I do! What setting can I change to resolve this?
Click to expand...
Click to collapse
Auto hibernate. Just make a home screen shortcut and tap it B4 u lock your device
Sent from my Samsung SM-G955U using XDA Labs
I must be an idiot. Can you clarify? That sounds like an annoying extra step to have to tap an app prior to each time I lock my phone. Maybe I'm misunderstanding?
that text is greenify is working sign ..
when you press power button when it's working, you won't get screen wake. Need to wait until it's finished,
or press power once (to stop greenify process) then wait a little while until text disappears.
dmmoroney said:
I must be an idiot. Can you clarify? That sounds like an annoying extra step to have to tap an app prior to each time I lock my phone. Maybe I'm misunderstanding?
Click to expand...
Click to collapse
No it's a hibernate shortcut you don't actually open the app. just tap it and it'll put everything to sleep then just lock your phone. I don't use auto hide unless I have root. On nonrooted phones it takes forever to do it when you go to lock your phone and in my case it would take forever for me to be able to unlock my phone so I find it easier to just tap the shortcut then lock
Note the lil icon in the bottom right. It just puts stuff to sleep, doesn't open the app
Sent from my Samsung SM-G955U using XDA Labs
crayonyes said:
that text is greenify is working sign ..
when you press power button when it's working, you won't get screen wake. Need to wait until it's finished,
or press power once (to stop greenify process) then wait a little while until text disappears.
Click to expand...
Click to collapse
Also what he said, it's normal but slow
Sent from my Samsung SM-G955U using XDA Labs
buttsak said:
No it's a hibernate shortcut you don't actually open the app. just tap it and it'll put everything to sleep then just lock your phone. I don't use auto hide unless I have root. On nonrooted phones it takes forever to do it when you go to lock your phone and in my case it would take forever for me to be able to unlock my phone so I find it easier to just tap the shortcut then lock
Note the lil icon in the bottom right. It just puts stuff to sleep, doesn't open the app
Sent from my Samsung SM-G955U using XDA Labs
Click to expand...
Click to collapse
this!
I'm also using the hibernate&sleep shortcut widget,
and disable auto hibernate because of this long wait time.

[APP] Power Button Flashlight (No Root)

Hello, i was recently experimenting with this Project: https://github.com/epeterson320/flashlight
In android studio. Its a flashlight app with no ui you just tap the icon and the flashlight activates, however i added an intent filter to the android manifest allowing the app to be launched with the "Jump to camera" gesture, this allows you to toggle the flashlight on and off with a double tap of the power button even when the screen is locked.
Instructions
Download and install
Lock phone and double tap power button
Enter your PIN or fingerprint
Select flashlight as default app
This will only work on phones that have the "Jump to camera" gesture. For example Nexus and Pixel phones, OnePlus phones and probably more. It will also replace the camera shortcut obviously. Clear defaults to select camera again.
so yeah hope someone finds this useful
Credit to @epeterson320 for creating the original app.
Download below in attached files
Thank you!!! This is amazing.
Christ this is like the one feature that's a deal breaker for me, Xposed torch is great but not seeing Xposed for android 9 yet; and this works well enough. Great thinking and thank you!
Problem
Hello. I have got a problem. Every time the phone is turned off for a longer period, when i double tap a power button camera turns on instead of flashlight. When I turn off the camera and double tam button again, flashlight works. Have anyone got this problem too? (xz1 compact, 47.2.A.8.24)
Edit: I have found out that when i remove password protection everything works
@James_Ward01 would you be willing to share your source code? I want to see if I can get the app to activate without waking the screen.
creeve4 said:
@James_Ward01 would you be willing to share your source code? I want to see if I can get the app to activate without waking the screen.
Click to expand...
Click to collapse
Hi, I will look into getting it for you, but the source code for the original app can be found here
https://github.com/epeterson320/flashlight
James_Ward01 said:
Hi, I will look into getting it for you, but the source code for the original app can be found here
https://github.com/epeterson320/flashlight
Click to expand...
Click to collapse
Thank you! I don't know how I missed the link in the OP.
creeve4 said:
Thank you! I don't know how I missed the link in the OP.
Click to expand...
Click to collapse
No problem
creeve4 said:
@James_Ward01 would you be willing to share your source code? I want to see if I can get the app to activate without waking the screen.
Click to expand...
Click to collapse
The app I have on here for download should work with the screen off as I added both android.media.action.STILL_IMAGE_CAMERA_SECURE
And android.media.action.STILL_IMAGE_CAMERA
Intent filters, the _SECURE one meaning it should work with the screen off. At least this was the case on my Nexus 6p at the time.
James_Ward01 said:
The app I have on here for download should work with the screen off as I added both android.media.action.STILL_IMAGE_CAMERA_SECURE
And android.media.action.STILL_IMAGE_CAMERA
Intent filters, the _SECURE one meaning it should work with the screen off. At least this was the case on my Nexus 6p at the time.
Click to expand...
Click to collapse
It does work with screen off. What I want to accomplish is to keep the screen off when I launch from the lockscreen. I don't want the screen to turn on when I double-press the power button. Maybe this is impossible?
creeve4 said:
It does work with screen off. What I want to accomplish is to keep the screen off when I launch from the lockscreen. I don't want the screen to turn on when I double-press the power button. Maybe this is impossible?
Click to expand...
Click to collapse
Ah, I don't know then, I'm sure it is possible one way or another but I'm afraid getting that to work is beyond me,
Couldn't get it to work with home button on S10 but works perfectly mapped to Bixby button ????
cheffy11 said:
Couldn't get it to work with home button on S10 but works perfectly mapped to Bixby button ????
Click to expand...
Click to collapse
Yes Samsung don't allow the power button to be remapped unfortunately. Glad you found a use for it though.
This works great on the pixel 5, thanks!!
Confirmed, I was using it as well on pixel 5 until now, thanks!
However, new problem :s I couldn't resist trying out Android 12 Beta 3.1 and then no power button access to flashlight anymore.
Same deal for me : Pixel 4a, was using this app daily when I was under Android 11, did the update to Android 12, not working anymore... Sad
g0t.milkk said:
Same deal for me : Pixel 4a, was using this app daily when I was under Android 11, did the update to Android 12, not working anymore... Sad
Click to expand...
Click to collapse
You could use System Power:
https://forum.xda-developers.com/t/...-simple-and-intuitive-user-interface.4248221/
Toggle Flashlight on/off : NO Root is needed
biontx said:
You could use System Power:
https://forum.xda-developers.com/t/...-simple-and-intuitive-user-interface.4248221/
Toggle Flashlight on/off : NO Root is needed
Click to expand...
Click to collapse
Sorry but I'm not sure to understand how your app may help : We're talking about enabling the flashlight using physical button shortcut.
Maybe I missed something but for me that's not what your app is doing, is it ?
Anyway, I'm using Torchie now and it kinda work : You enable it by pressing Vol+ AND Vol- at the same time, but it ONLY work when you're on the lockscreen and the screen is on.
So : "Power" to wake the screen, "Vol+ and Vol- together" to turn the light on or off
If anybody find something better, let us know. For now, this is a little cumbersome but it's working.
The Tap Tap app on GitHub works for flashlight by double tapping the back of the phone.

Categories

Resources