Double tap on lockscreen to lock (switch off screen) - Google Pixel 2 XL Questions & Answers

Hi Folks -
Does anyone know a way to double tap the "lockscreen" to have the phone lock (or switch off screen display).
This is a very popular/common option in Custom ROMs. But I haven't been able to locate this independently.
I've tried Nova launcher for double tap to screen off, but that doesn't work on lockscreen. None of the apps on the playstore seem to work on the lockscreen.
This is a useful feature where in one can check the notifications on the lockscreen and switch off the screen without unlocking the phone.
Any suggestions would be much appreciated. Thanks in advance.

StatusbarSleep
iamjimmy said:
Hi Folks -
Does anyone know a way to double tap the "lockscreen" to have the phone lock (or switch off screen display).
This is a very popular/common option in Custom ROMs. But I haven't been able to locate this independently.
I've tried Nova launcher for double tap to screen off, but that doesn't work on lockscreen. None of the apps on the playstore seem to work on the lockscreen.
This is a useful feature where in one can check the notifications on the lockscreen and switch off the screen without unlocking the phone.
Any suggestions would be much appreciated. Thanks in advance.
Click to expand...
Click to collapse
Hi, I'm using StatusbarSleep, a Xposed module for double tapping lockscreen to turn off.

Samuel Holland said:
Hi, I'm using StatusbarSleep, a Xposed module for double tapping lockscreen to turn off.
Click to expand...
Click to collapse
Thanks so much for the reply.
Could you please provide instruction steps to install Xposed and status bar sleep module? I always get confused on whether Xposed needs to be installed through magdisk or not?
Thanks in advance.

iamjimmy said:
Thanks so much for the reply.
Could you please provide instruction steps to install Xposed and status bar sleep module? I always get confused on whether Xposed needs to be installed through magdisk or not?
Thanks in advance.
Click to expand...
Click to collapse
Before you jump into the deep end, ask yourself if your need to pass safety net out weighs your desire to double tap. If you use android pay, probably not...

iamjimmy said:
Thanks so much for the reply.
Could you please provide instruction steps to install Xposed and status bar sleep module? I always get confused on whether Xposed needs to be installed through magdisk or not?
Thanks in advance.
Click to expand...
Click to collapse
"The Flash" has an awesome guide on how to get your phone set up. It's right here on XDA under our device. After you get magisk installed, look for the systemless Xposed module under downloads in the magisk app. Click on it and there will be a link for the Xposed apk that goes with the systemless version. Just make sure you have a backup, or factory image, or a way to recover your phone in case of a booboo. Hope this could help; there is some really nice tools & guides here on XDA under our phone's forum.

CyberpodS2 said:
Before you jump into the deep end, ask yourself if your need to pass safety net out weighs your desire to double tap. If you use android pay, probably not...
Click to expand...
Click to collapse
Thanks for responding.
I was thinking of setting up a dual partition with one slot rooted and the other non-rooted. So when I need to access android pay (or any other safety net app), I can just reboot and switch to the non-rooted slot. So after flashing factory img on both slots, flash magdisk+kernel of one slot and let the other not have magdisk.
Anyway, I think I would use the double tap lockscreen feature way more than I use Android pay. It also saves a lot of battery life. I'll search here for guide to install Xposed Modules? Is there anything specific for the Pixel 2 XL?

iamjimmy said:
Thanks for responding.
I was thinking of setting up a dual partition with one slot rooted and the other non-rooted. So when I need to access android pay (or any other safety net app), I can just reboot and switch to the non-rooted slot. So after flashing factory img on both slots, flash magdisk+kernel of one slot and let the other not have magdisk.
Anyway, I think I would use the double tap lockscreen feature way more than I use Android pay. It also saves a lot of battery life. I'll search here for guide to install Xposed Modules? Is there anything specific for the Pixel 2 XL?
Click to expand...
Click to collapse
there is a magisk version of xposed that you can switch off with a reboot. just an FYI since using it is probably easier than trying to dual boot

Samuel Holland said:
"The Flash" has an awesome guide on how to get your phone set up. It's right here on XDA under our device. After you get magisk installed, look for the systemless Xposed module under downloads in the magisk app. Click on it and there will be a link for the Xposed apk that goes with the systemless version. Just make sure you have a backup, or factory image, or a way to recover your phone in case of a booboo. Hope this could help; there is some really nice tools & guides here on XDA under our phone's forum.
Click to expand...
Click to collapse
Thank you. I already have Kernel, Magdisk etc installed. I was looking for instructions for the Xposed Module specifically and did not find a guide for that.
So basically after installing the Xposed Module from within magdisk, just installed Status bar to sleep? Is it as simple as that?
And for next month, while dirty flashing to the new factory images, can this module be uninstalled so that one is close to stock before flashing away? Thanks in advance.

slothdabski said:
there is a magisk version of xposed that you can switch off with a reboot. just an FYI since using it is probably easier than trying to dual boot
Click to expand...
Click to collapse
Oh Really? That is great. Do you know how to install this version? Thanks.

iamjimmy said:
Oh Really? That is great. Do you know how to install this version? Thanks.
Click to expand...
Click to collapse
the magisk module is in the mgisk manager repo. flash it, then install this xposed apk https://forum.xda-developers.com/attachment.php?attachmentid=4337506&d=1511193653
info from this thread https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268

Or use the Nova Launcher which has an option for double tap to sleep.

slothdabski said:
the magisk module is in the mgisk manager repo. flash it, then install this xposed apk https://forum.xda-developers.com/attachment.php?attachmentid=4337506&d=1511193653
info from this thread https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
Click to expand...
Click to collapse
I was able to uncheck the module in Xposed installer and did reboot. But this does not help with Safety net. Maybe I'm doing something wrong.
I Installed XposedInstaller_3.1.4_Magisk.apk. From Magisk Manager modules installed Xposed Framework SDK 27.
Could not install StatusBarSleep from XposedInstalled since it force closed when I tried to install. So installed the module through the Xposed repository on the internet.
However if I uncheck the module in Xposed installer and uncheck Xposed framework in Magisk - and reboot. After doing this, still don't pass Safety net check.
Could you please tell me what I'm doing wrong. Thank you.

dvsk69 said:
Or use the Nova Launcher which has an option for double tap to sleep.
Click to expand...
Click to collapse
I use the Nova Launcher and double tap to sleep. But I really wanted double tap on lockscreen. This does NOT work in Nova Launcher. The double tap action only works in the launcher..

did u ever get this working or did you have to goto a custom rom?

Below two apps can help you:
https://play.google.com/store/apps/details?id=com.redmanit.lockscreen
https://play.google.com/store/apps/details?id=com.jordigordillo.dtswidget

Related

Screen off animation for HTC M9 and xposed installation

After searching high and low, i've finally found the screen off animation i wanted, this particular mod is not mine i'm just providing a find for anyone who is in the same situation.
Thanks to @zst123 for originally posting this
Requirements:
Root access
Custom recovery
Rom running android 5.0XXX
Also note functional on 5.1.XXX ROMs.
*New section for Marshmallow ROMs.
1. Go here and download this http://forum.xda-developers.com/attachment.php?attachmentid=3292041&d=1430517906
or this one if you're on android 5.1 http://forum.xda-developers.com/attachment.php?attachmentid=3313055&d=1431639027
or this one if you're on android 6.0 http://forum.xda-developers.com/attachment.php?attachmentid=3631566&d=1454436795
2. Download the Alpha build xposed framework from here http://forum.xda-developers.com/attachment.php?attachmentid=3200857&d=1425849071
or this one if you're on android 6.0 http://forum.xda-developers.com/attachment.php?attachmentid=3383776&d=1435601440
3. Reboot to recovery and install the .21 or build or the .22 build if you're on 5.1XXX or the v80 sdk23 build if you're on 6.0.XXXX then reboot *NOTE* boot can take some time, 10 minutes at times
4. Once booted, install the alpha build apk downloaded in step 2 using a file manager.
5. Open Xposed and navigate to download, search for screen off animation and download the module.
6. Navigate to modules and enable them, reboot your device.
7. Open the app and choose a screen off animation.
8. Perform a reboot, Done.
FYI, it has been known that xposed can cause bootloops on the M9 so tread carefully and back up prior to installing it.
I can confirm that this and xposed with this installation method works as expected on Leedroid, other ROM's should work but I haven't tested them.
Can also confirm that for the most part, sense 6 toolbox and XUI Mod work too, and again this is not my software.
PS: Just like to add that the screen off Vertu animation is my personal favourite, it's a classy finish to a phone that deserves it.
------------------THEMING------------------
@ineedone This is his theme.
You need to flash the theme after xposed, clearing cache and dalvic after the initial installation of Chameleon. If you don't then you can (not always) end up in a boot loop, if you didn't wipe the caches then power down and boot back to recovery.
The initial boot after wiping the caches can take a long time, 10 minutes + is not uncommon.
This can also be assumed for any other mods which affect a lot of the ROMs system files.
Confirmed with Newest Leedroid and chameleon.
http://forum.xda-developers.com/showthread.php?t=3082322
@dladz
The third link has a extra http// in it.
Here's the right one
http://forum.xda-developers.com/showthread.php?t=3034811
aooga said:
@dladz
The third link has a extra http// in it.
Here's the right one
http://forum.xda-developers.com/showthread.php?t=3034811
Click to expand...
Click to collapse
All sorted, thanks mate, oversight on my part.
Posted in error
Xposed and xuimod work on 5.1 too. Sense 6 toolbox let's you change number of app drawer icons but won't let you in the app itself. Gonna test gravity box now.
Tested , it loads and stuff but none of the features really work.
tango280581 said:
Xposed and xuimod work on 5.1 too. Sense 6 toolbox let's you change number of app drawer icons but won't let you in the app itself. Gonna test gravity box now.
Tested , it loads and stuff but none of the features really work.
Click to expand...
Click to collapse
Aye I've used gravity before but have avoided it as I get everything I need from xui and screen off animation. I don't even use sense toolbox no more. I've read that Xposed works with 5.1 and there is a framework for it but as I haven't tested it on a HTC device I've not added it to the OP that its fully functional.
Gravity needs a big update, there have been quite a few broken bits for a while, also found gravity was always very heavy on the system too, might have just been me.
tango280581 said:
Xposed and xuimod work on 5.1 too. Sense 6 toolbox let's you change number of app drawer icons but won't let you in the app itself. Gonna test gravity box now.
Tested , it loads and stuff but none of the features really work.
Click to expand...
Click to collapse
Does that include stock 5.1?
Sent from my HTC One M9 using Tapatalk
neverborn said:
Does that include stock 5.1?
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Stock as in not rooted or stock as in rooted on a stock rom, if it's the latter then it should work. That's probably the best way to use these mods. Unfortunately screen off animation as far as I know does not function as of yet. I'm away for a week now, but will be doing some testing of all the mods on my return.
Stock, rooted. Ive never had this much trouble just to get xposed.
Basically i:
1. Unlocked bl
2. Twrp
3. Backup of system image
4. Root
5. Xposed zip for arm64
6. Installed xposed apk
7. When trying to launch amplify it says xposed isn't running, even if xposed says it's active
Sent from my HTC One M9 using Tapatalk
That is literally what you are meant to do, some modules are functional, some aren't. For me the screen off animation didn't work and so strange as it might sound, I would miss it and as such I have retained 5.0.2, I really do not see any difference between the two, all modules work, nothing appears broken to me and the battery life is as good as I need it to be. To answer your question in short I get the same message with screen off animation, as if it's not installed. It's because it's not been updated. Either wait for it to be updated or downgrade like me
Updated op. Screen off animation working properly on 5.1, been using it for a while now.
neverborn said:
Stock, rooted. Ive never had this much trouble just to get xposed.
Basically i:
1. Unlocked bl
2. Twrp
3. Backup of system image
4. Root
5. Xposed zip for arm64
6. Installed xposed apk
7. When trying to launch amplify it says xposed isn't running, even if xposed says it's active
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Usually says that when either xposed isn't installed properly or the module hasn't been updated and you'll have to wait.
Follow the tutorial to install xposed, you can't miss.
dladz said:
Usually says that when either xposed isn't installed properly or the module hasn't been updated and you'll have to wait.
Follow the tutorial to install xposed, you can't miss.
Click to expand...
Click to collapse
And replace soft reboot with a regular reboot. Also had some bad experiences with particular modules. After a regular reboot they all worked fine
oemfoefoee said:
And replace soft reboot with a regular reboot. Also had some bad experiences with particular modules. After a regular reboot they all worked fine
Click to expand...
Click to collapse
Actually in that part of the tutorial, you only need a soft reboot. Regular if you need it but not necessary.
help!
Is the S-off bootloop bug fixed? M9+/S-off/5.0.1 I really want to install Xposed. Please help! :crying:
Vinncent said:
Is the S-off bootloop bug fixed? M9+/S-off/5.0.1 I really want to install Xposed. Please help! :crying:
Click to expand...
Click to collapse
Boot loops are a risk I've written how I was able to get xposed without boot loops but I've also warned that it can happen. If you follow my instructions you stand a food good chance
working great on the latest ViperOne rom... thanks man...
dladz said:
Boot loops are a risk Ive written how I was able to get xposed without boot loops but Ive also warned that it can happen. If you follow my instructions you stand a food chance
Click to expand...
Click to collapse
Food chances are the best!
Works on my m9:highfive:
Krsmqn said:
Food chances are the best!
Works on my m9:highfive:
Click to expand...
Click to collapse
Haha Bloody Auto correct.. Guess my phone is telling me to be a fatty ..
apaquette420 said:
working great on the latest ViperOne rom... thanks man...
Click to expand...
Click to collapse
No worries

Disable first Lockscreen and wake up direct to pattern screen

Since update to Lollipop we need to perform two actions (if you use any security lock) to get to your homescreen:
1. swype up
2. enter pattern or pin
In KitKat there was an option to bypass the first screen and wake up the phone direct to the pattern/pin screen.
With Lollipop this option is gone.
Does anyone found an option, a patch or exposed module to bypass the first (notification) screen or can give me a hint how to do so?
I am s-off, rooted and have exposed working with sense toolbox.
Thanks for any hint / advice.
Regards,
Umqi
Gravitybox (xposed module) can do this. It's under lockscreen tweaks, then Direct unlock.
computercarl said:
Gravitybox (xposed module) can do this. It's under lockscreen tweaks, then Direct unlock.
Click to expand...
Click to collapse
Thanks,
but Gravitybox ist only for AOSP and GPE ROMs, I forgot to say that I am on ARHD 45 which is a close to stock Sense ROM so I'm afraid to try
Reboot in TWRP, make a backup, try it, if it bootloops or breaks bad, restore the backup. I just moved to the GPE MM rom and installed Gravitybox and made all the tweaks that bl*ssr*m gave me. You might be surprised!
computercarl said:
Reboot in TWRP, make a backup, try it, if it bootloops or breaks bad, restore the backup. I just moved to the GPE MM rom and installed Gravitybox and made all the tweaks that bl*ssr*m gave me. You might be surprised!
Click to expand...
Click to collapse
Did my NAND, installed, aktivated module, rebooted and tried.
The tweaks I would need in GravityTB are not working. I can change the color of the Blutooth Icon, so I can say installation is ok.
Problem not solved jet....

[MAGISK] OnePlus 5 Google Dialer + Contacts - Fully working!

All the methods of installing the Google Dialer on the OP5 kinda worked but would not allow the user to answer/decline calls from the notification popup. Well, did some digging on this and found a solution. This is a Magisk Module, so for those that use Magisk, simple flash and restart. Be sure you select the new Phone app as default for calls. Also, need to go in and manually set the permissions for the app.
This can be done by going to "app info" for default OnePlus phone app and disabling, then by going to Google Phone "app info" and clicking on Phone App, then on the "Configure apps screen, changing the default Phone App to the only option you should have (after disabling the default one) which is the Google "Phone". Then make sure your new Phone app has all it's permissions.
Enjoy!
Update: TWRP install method added for those not using Magisk. Just flash the zip and good to go.
Magisk Module v2.1a: Update Sep 5, 2017
https://www.androidfilehost.com/?fid=817550096634797320
TWRP Install:
https://www.androidfilehost.com/?fid=889764386195918352
Thanks intall working
Thanks can you make a non magisk flash able zip? I'm decrypted and magisk only works on encrypted setup as far I know.
Sent from my OnePlus5 using XDA Labs
Great Tweak mate! Thank you so much
I'm expecting an important call today, but will test thoroughly later.
ilia1985 said:
Thanks can you make a non magisk flash able zip? I'm decrypted and magisk only works on encrypted setup as far I know.
Sent from my OnePlus5 using XDA Labs
Click to expand...
Click to collapse
This *may* work. I am new to installer scripts, so hopefully I wrote this correctly... Please let me know.
badcrow35 said:
Thanks intall working
Click to expand...
Click to collapse
I don't own a OnePlus 5, I have a 3 but I saw a Turkish text and decided to write. How did you get access to OnePlus 5? Have you imported it from abroad or are you living in abroad?
Brought with my friend from abroad UK
ilia1985 said:
Thanks can you make a non magisk flash able zip? I'm decrypted and magisk only works on encrypted setup as far I know.
Click to expand...
Click to collapse
dustintinsley said:
This *may* work. I am new to installer scripts, so hopefully I wrote this correctly... Please let me know.
Click to expand...
Click to collapse
Can anyone confirm if the zip works?
dustintinsley said:
All the methods of installing the Google Dialer on the OP5 kinda worked but would not allow the user to answer/decline calls from the notification popup. Well, did some digging on this and found a solution. This is a Magisk Module, so for those that use Magisk, simple flash and restart. Be sure you select the new Phone app as default for calls. Also, need to go in and manually set the permissions for the app.
This can be done by going to "app info" for default OnePlus phone app and disabling, then by going to Google Phone "app info" and clicking on Phone App, then on the "Configure apps screen, changing the default Phone App to the only option you should have (after disabling the default one) which is the Google "Phone". Then make sure your new Phone app has all it's permissions.
Enjoy!
https://www.androidfilehost.com/?fid=889764386195917884
Click to expand...
Click to collapse
Work like a charm wish everything went this easy
Awesome, works just fine. This has been driving me bonkers lol.
Working great! I use xxx rom with latest Magisk. Thx! :highfive:
dreams.sri said:
Can anyone confirm if the zip works?
Click to expand...
Click to collapse
I have not tested it as I use Magisk, but it should work. Worse case is that it will still not answer from notification. Should not cause any boot loop or anything like that. Have you tried the zip? There should be no issues with it, if you have issues please let me know so I can fix it...
Binary Assault said:
Awesome, works just fine. This has been driving me bonkers lol.
Click to expand...
Click to collapse
Same here man. It was driving me nuts. I'm kinda OCD so I had to figure it out. Glad others find it useful...
But OnePlus Dialer Is Better Than Google One ?
Krsambhav16 said:
But OnePlus Dialer Is Better Than Google One ?
Click to expand...
Click to collapse
Not sure that I agree, but to each his own...
Can someone explain how to flash the magisk module? Flash it via TWRP or via Magisk?
Donald Nice said:
Can someone explain how to flash the magisk module? Flash it via TWRP or via Magisk?
Click to expand...
Click to collapse
You can do it either way. I prefer doing it via Magisk, but either should work.
does it vibrate when the call connects?
dustintinsley said:
This *may* work. I am new to installer scripts, so hopefully I wrote this correctly... Please let me know.
Click to expand...
Click to collapse
Thanks for taking time to make it. Just tried and TWRP throws error 6.

No home neither back button

Hi,
I just install a new rom for ARM64 arch after update from TWRP (tried viper, pixel experience, bootleggers) but i don't can make work the home neither back button.
Someone knows how to make it work, i am stuck on settings trying to find a workaround, but sadly the phone is unuseful.
Thanks in advance
H0LiC said:
Hi,
I just install a new rom for ARM64 arch after update from TWRP (tried viper, pixel experience, bootleggers) but i don't can make work the home neither back button.
Someone knows how to make it work, i am stuck on settings trying to find a workaround, but sadly the phone is unuseful.
Thanks in advance
Click to expand...
Click to collapse
You need root. Flash Magisk and then install Magisk Manager. Then find a root file explorer and go to /system/build.prop and add a line there:
qemu.hw.mainkeys=0
Thanks JarlPenguin for your help.
I recently also found the enable navbar option in the rom settings.
H0LiC said:
Thanks JarlPenguin for your help.
I recently also found the enable navbar option in the rom settings.
Click to expand...
Click to collapse
Your welcome. The problem is that in PE there is no such option.

Is there a way to turn the "Advanced Power Menu" in MIUI (P)?

Hello,
I was wondering if there was a way to enable the Advanced Power Menu in MIUI 11 on Android P allowing you to quickly reboot to bootloader, fastboot, recovery for instance.
I know I can do that from MIUI update screen or if rooted from Magisk Manager module page, however that option is very handy to quickly reboot to what we want.
That option used to be in the developer options, but it is not there anymore. Maybe it is hidden somewhere?
Or would you know any other way to enable it?
Thanks in advance,
Regards.
Use Magisk+EdXposed+Customiuizer
kekesed97 said:
Use Magisk+EdXposed+Customiuizer
Click to expand...
Click to collapse
So no built-in solution to your knowledge not requiring to use Xposed for it?
Thanks.
Muad.Dib said:
So no built-in solution to your knowledge not requiring to use Xposed for it?
Thanks.
Click to expand...
Click to collapse
No built-in solution AFAIK. You still need a root for that.
There is a magisk module out there that do that thing, but I forget that module.
Or mod your systemui, but that will take some time.
Another alternative is use Reboot Xtream, small apps that do its job. But still, it requires root.

Categories

Resources