[Q] Lollipop Smartlock on-body detection with Hibernate + Lock screen shortcut - Greenify

Google has rolled out the new smartlock option which features on-body detection. However, i have tried it and think it only works with the power button on the device (I am on Nexus 5 Android 5.0.1 stock and unrooted) and does not work with Greenify's hibernate now + lock screen shortcut. In other words, once I click Greenify's shortcut, the screen is locked and the on-body detection will be overridden. Can Greenify make the shortcut compatible with the on-body detection ? Thanks

Elias_grodin said:
Google has rolled out the new smartlock option which features on-body detection. However, i have tried it and think it only works with the power button on the device (I am on Nexus 5 Android 5.0.1 stock and unrooted) and does not work with Greenify's hibernate now + lock screen shortcut. In other words, once I click Greenify's shortcut, the screen is locked and the on-body detection will be overridden. Can Greenify make the shortcut compatible with the on-body detection ? Thanks
Click to expand...
Click to collapse
Sorry, it's technically limited by Android system. That's why you need Xposed framework and “Boost Mode" activated in Greenify to get it compatible with "Smart Lock".

Related

Screen off/lock gesture shortcuts for apps/functions - Possible?

Hi,
I have been seeing some recent phones that have a lot of gestures not only to unlock, but to also open apps or functions when the screen is off/locked. Things like open the camera app or turn on the flashlight (like on the oneplus one with CM).
Is this possible to do on the s3 or it requires something more on the hardware? The only thing similar i saw was a xposed module that gives the knock pattern to unlock and also some apps that lock with double tap.
Thanks

[MOD][Xposed][4.0.3+] SwipeUpToSleep

Background
I am using HTC-E8. The power button is on the top of device which is difficult to turn screen off by using its power button. So I write this mod to let me turn of screen by just swipe up from home button
Function
This mod allow you swipe up from home button to turn off your screen.
Since swipe up from home button normally will trigger Google Now. This mod default will disable this gesture for trigger Google Now. However, you can have an option to enable Google Now by long press the home button.
Notes:
1. You must reboot your device to make your preference take effect.
2. I only test it on my HTC-E8 device with HTC Sense 6.0
Changes History:
2015-04-27 v0.83
1. Fix package name issues while download from Xposed repository
2. Add a function to completely disable "Google Now"
3. Add function on turning the threshold for triggering "Google Now"
Contributors
looklookson
Xposed Package Name: looklookson.swipeuptosleep
Great work!!
Will test this module for sure~
If Dev can consider on including this swipe up gesture to run other actions or shortcuts will be even more fantastic!
Thanks for the great module!
It works but the threshold is too short, very easy to accidentally tutn off screen. Therrs no swiping up animation like woth google now but i just press on the home button a little longer than usual then the screen turns off. Please implement the now-like popup and ability to adjust threshold
"Package name is incorrect" on Xposed repository (aka can't download from xposed app)
I would also like to see the ability to change the threshold before screen turns off, and adding some kind of visual, whether it's Google's own one or a custom one, would be nice.
For me it works by swiping up on the home, menu, app drawer and back buttons on my LG G3. I like it that way since it's easier to toggle the screen off.
Nice module I believe the same thing can be achieved with greenify which lets you default "hibernate and lock" to the swipe up shortcut. You don't need xposed for that.
Diaphragma said:
Nice module I believe the same thing can be achieved with greenify which lets you default "hibernate and lock" to the swipe up shortcut. You don't need xposed for that.
Click to expand...
Click to collapse
Well I dislike that greenify always locks the phone and I only want my screen turned off. With greenify it always prompts me to enter my unlock pattern and ignores Googles smart lock and for this is an annoyance.
But with this module it works like a charm.
the_Calen said:
Well I dislike that greenify always locks the phone and I only want my screen turned off. With greenify it always prompts me to enter my unlock pattern and ignores Googles smart lock and for this is an annoyance.
But with this module it works like a charm.
Click to expand...
Click to collapse
Alright I did not know greenify disables smart unlock.
It disables only Googles smart lock but not the app smart unlock ^^
Can this be done by swiping up the 'Recents' button instead of Home button?? *Idea!
the_Calen said:
It disables only Googles smart lock but not the app smart unlock ^^
Click to expand...
Click to collapse
Are you sure? Just tested it and smart lock does still work.
Great! It's always good to have more options.
htr5 said:
Are you sure? Just tested it and smart lock does still work.
Click to expand...
Click to collapse
Yes, at least on paranoid android rom, I have an unlock pattern and trusted faces enabled and it always asks for the pattern when I use the greenify hibernate and screen lock function
Holy. Xposed installer tells me that the package sign is not correct. You should check iy.
the_Calen said:
Yes, at least on paranoid android rom, I have an unlock pattern and trusted faces enabled and it always asks for the pattern when I use the greenify hibernate and screen lock function
Click to expand...
Click to collapse
Okay well, you can't really complain to the dev here if your using a custom ROM.
htr5 said:
Okay well, you can't really complain to the dev here if your using a custom ROM.
Click to expand...
Click to collapse
I don't complain about the module, which works perfectly, it was about greenify and it's similar function.
Is this possible using hardware navigation keys? I guess it's not, since it just replaces the Google now shortcut..
PixelPatrik said:
Is this possible using hardware navigation keys? I guess it's not, since it just replaces the Google now shortcut..
Click to expand...
Click to collapse
It does work in hardware navigation keys.
And your equipment
If you're trying this package post the type of device it worked on, OS, custom ROM etc... so others will know..
HELP OTHERS WHILE OTHERS HELP YOU
Good stuff! Although swipe [down] to sleep & swipe up to wake, just make more sense to me as swipe gestures.

Non-Root Hibernating Methods

I am leaving my Mom's phone root free and I saw:
NEW: Auto-hibernation now works in non-root mode, (need to be enabled in experimental features setting, Android 4.1+ required). If you have secure key-guard enabled, try "Hibernate and Lock Screen" shortcut or "Pull up" gesture on Home soft-key.
So instead of the above method, couldn't this just be automated via Llamma or Tasker without root? Say, when Screen = Off, run shortcut Hibernate and Lock screen?
I am posting instead of just doing it because I don't have her phone yet and wanted to see if the above is in theory (or actuality) possible.

accessibility auto turning off

Hi guys,
I have looked on the internet and followed the instructions (allow apps to ignore battery optimization) . But the Navbar apps accessibility keeps turning off after a bit. Also, i have to keep re enabling the Google now from voice and input for it to work on pressing home button.
I am on MM, my variant is kiw-al10. My phone is rooted and bootloader is unlocked.
PS. i have Google assistant enabled using xposed.
anyone??????

Automatic hibernation not staying enabled

I'm on a galaxy s7 oreo in no root mode. As soon as I check the automatic hibernation option it uncheckes itself. I really want to setup greenify to auto hibernate my selected apps as soon as they start.
JTCGiants56 said:
I'm on a galaxy s7 oreo in no root mode. As soon as I check the automatic hibernation option it uncheckes itself. I really want to setup greenify to auto hibernate my selected apps as soon as they start.
Click to expand...
Click to collapse
The option you cite will not accomplish that goal. Automatic hibernation activates shortly after screen-off...not when the app becomes active.
Davey126 said:
The option you cite will not accomplish that goal. Automatic hibernation activates shortly after screen-off...not when the app becomes active.
Click to expand...
Click to collapse
Gotcha, is there an option to either stop immediately, or even prevent an app from starting all together? If not, I would at least like to get the option that is not working working so it will at least activate on screen lock. Thanks.
JTCGiants56 said:
Gotcha, is there an option to either stop immediately, or even prevent an app from starting all together? If not, I would at least like to get the option that is not working working so it will at least activate on screen lock. Thanks.
Click to expand...
Click to collapse
I don't know why automatic hibernation is not staying checked on your device. There is probably a logical explanation; I just don't know it off-the-cuff.
Greenified apps generally remain hibernated unless 'activated' by an event or another app. It either case Greenify will note the trigger and give you the option to 'cut' it off.
You can enable 'wake up tracking' and 'quick action notification' in settings for additional flexibility/control. Greenify also includes a couple widgets and other controls (eg: long press action on nav bar) for manually invoking hibernation.

Categories

Resources