[Xposed] (Security) Disable Quick Settings Pulldown on Lock Screen

Search This thread

i5lee8bit

Senior Member
Jul 18, 2006
419
896
New Jersey
This is just a simple Xposed module that disables pulling down the notification shade / quick settings tiles while on the lock screen (but doesn't break media player controls on lock screen). Only tested on Pixel 4 and Pixel 4 XL on Android 10 (more on this later).

Background: This has always been an annoying aspect of Android for me, and it's dumb from a security standpoint. Being able to pull down the quick settings tiles on a locked phone is dumb. Why hasn't Android natively built this in yet? Using this and Gravity Box to disable power menu on lock screen makes me feel a lot better in the event my phone ever gets lost or stolen. It's dumb that anyone can steal your phone and immediately toggle your settings (turn off WiFi, Mobile Data, toggle Airplane Mode, etc) and/or turn the phone off... I've been spoiled for years by the OG HTC devs (particularly LeeDroid and Team Venom) and their ROMs with these features baked in, so it's back to using Xposed to fill that gap for me and my wife, lol. Anyway, I pair these mods along with the Lockwatch app from Play Store and it gives me more peace of mind. Hey, anything to increase the chances of recovering a lost or stolen phone, am I right?

Credits / Technical Details: This module is based off of char101's published Xposed Repo module, and all credits and thanks should go to him. This is the first app / APK I've compiled so it was a nice learning experience, but it was all based off of his source and I really just needed to remove a few lines of code to get it to work properly with our phones. His mod worked fine and disabled the quick settings pull down on the lock screen, as intended. The problem was that it would also prevent media player controls from functioning (and I would assume other possible functions as well). To fix this, I just removed DISABLE2_NOTIFICATION_SHADE references from the code, leaving DISABLE2_NONE and DISABLE2_QUICK_SETTINGS untouched. The mod still works perfectly as intended. Only tested on Pixel 4 / 4 XL on Android 10. I'm sure it would work on other devices as well.

I really just did this on a whim for me and my wife's own phones and wasn't planning on sharing it, but I figure other people may have also wanted this for their P4's as well, so enjoy. Again, all thanks go to @char101!

Installation:
- Download .APK file attached to this post.
* If you have char101's original module installed already, I would highly recommend uninstalling it first.
- It's an Xposed module. Install the APK and enable in your Xposed Manager.
- Reboot and test.

Based on: https://repo.xposed.info/module/com.github.char101.qslock

Source for modified module: https://github.com/i5lee8bit/xposed-qslock-P4mod
 

Attachments

  • NoQSInLockScreen-P4Mod_1.0-Q.apk
    9.6 KB · Views: 164
Last edited:

vdevl

Member
Apr 5, 2020
23
7
thanks for this!!! any difference between this one and the one posted on the XL forums?
 
Last edited:

i5lee8bit

Senior Member
Jul 18, 2006
419
896
New Jersey
thanks for this!!! any difference between this one and the one posted on the XL forums?

Nope, they are exactly the same. I have a 4 XL and got my wife the regular 4, and so I've been posting on both forums to share some of my findings on both devices. I just figured most 4-only owners probably won't be checking the 4 XL forums, and since this mod worked perfectly on my wife's phone I wanted to share with both communities. Glad to help though!

PS: Please try to refrain from quoting the entire OP, it makes the thread kind of cluttered. Just for future reference. =)
 
  • Like
Reactions: vdevl

plethorahil

Senior Member
Jun 12, 2013
244
200
thanks much dude! gonna try edxposed with this module for 1st time after kitkat days. Miss those easy android days.

Appreciate the effort youre putting for sharing mods and patched boot imgs. Cool guy
 

CiupaSs

Member
Apr 21, 2016
26
9
This is just a simple Xposed module that disables pulling down the notification shade / quick settings tiles while on the lock screen (but doesn't break media player controls on lock screen). Only tested on Pixel 4 and Pixel 4 XL on Android 10 (more on this later).

Background: This has always been an annoying aspect of Android for me, and it's dumb from a security standpoint. Being able to pull down the quick settings tiles on a locked phone is dumb. Why hasn't Android natively built this in yet? Using this and Gravity Box to disable power menu on lock screen makes me feel a lot better in the event my phone ever gets lost or stolen. It's dumb that anyone can steal your phone and immediately toggle your settings (turn off WiFi, Mobile Data, toggle Airplane Mode, etc) and/or turn the phone off... I've been spoiled for years by the OG HTC devs (particularly LeeDroid and Team Venom) and their ROMs with these features baked in, so it's back to using Xposed to fill that gap for me and my wife, lol. Anyway, I pair these mods along with the Lockwatch app from Play Store and it gives me more peace of mind. Hey, anything to increase the chances of recovering a lost or stolen phone, am I right?

Credits / Technical Details: This module is based off of char101's published Xposed Repo module, and all credits and thanks should go to him. This is the first app / APK I've compiled so it was a nice learning experience, but it was all based off of his source and I really just needed to remove a few lines of code to get it to work properly with our phones. His mod worked fine and disabled the quick settings pull down on the lock screen, as intended. The problem was that it would also prevent media player controls from functioning (and I would assume other possible functions as well). To fix this, I just removed DISABLE2_NOTIFICATION_SHADE references from the code, leaving DISABLE2_NONE and DISABLE2_QUICK_SETTINGS untouched. The mod still works perfectly as intended. Only tested on Pixel 4 / 4 XL on Android 10. I'm sure it would work on other devices as well.

I really just did this on a whim for me and my wife's own phones and wasn't planning on sharing it, but I figure other people may have also wanted this for their P4's as well, so enjoy. Again, all thanks go to @char101!

Installation:
- Download .APK file attached to this post.
* If you have char101's original module installed already, I would highly recommend uninstalling it first.
- It's an Xposed module. Install the APK and enable in your Xposed Manager.
- Reboot and test.

Based on: https://repo.xposed.info/module/com.github.char101.qslock

Source for modified module: https://github.com/i5lee8bit/xposed-qslock-P4mod
thanks, mate, it's working perfectly on poco f3 android 12.1 lineageOS
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    This is just a simple Xposed module that disables pulling down the notification shade / quick settings tiles while on the lock screen (but doesn't break media player controls on lock screen). Only tested on Pixel 4 and Pixel 4 XL on Android 10 (more on this later).

    Background: This has always been an annoying aspect of Android for me, and it's dumb from a security standpoint. Being able to pull down the quick settings tiles on a locked phone is dumb. Why hasn't Android natively built this in yet? Using this and Gravity Box to disable power menu on lock screen makes me feel a lot better in the event my phone ever gets lost or stolen. It's dumb that anyone can steal your phone and immediately toggle your settings (turn off WiFi, Mobile Data, toggle Airplane Mode, etc) and/or turn the phone off... I've been spoiled for years by the OG HTC devs (particularly LeeDroid and Team Venom) and their ROMs with these features baked in, so it's back to using Xposed to fill that gap for me and my wife, lol. Anyway, I pair these mods along with the Lockwatch app from Play Store and it gives me more peace of mind. Hey, anything to increase the chances of recovering a lost or stolen phone, am I right?

    Credits / Technical Details: This module is based off of char101's published Xposed Repo module, and all credits and thanks should go to him. This is the first app / APK I've compiled so it was a nice learning experience, but it was all based off of his source and I really just needed to remove a few lines of code to get it to work properly with our phones. His mod worked fine and disabled the quick settings pull down on the lock screen, as intended. The problem was that it would also prevent media player controls from functioning (and I would assume other possible functions as well). To fix this, I just removed DISABLE2_NOTIFICATION_SHADE references from the code, leaving DISABLE2_NONE and DISABLE2_QUICK_SETTINGS untouched. The mod still works perfectly as intended. Only tested on Pixel 4 / 4 XL on Android 10. I'm sure it would work on other devices as well.

    I really just did this on a whim for me and my wife's own phones and wasn't planning on sharing it, but I figure other people may have also wanted this for their P4's as well, so enjoy. Again, all thanks go to @char101!

    Installation:
    - Download .APK file attached to this post.
    * If you have char101's original module installed already, I would highly recommend uninstalling it first.
    - It's an Xposed module. Install the APK and enable in your Xposed Manager.
    - Reboot and test.

    Based on: https://repo.xposed.info/module/com.github.char101.qslock

    Source for modified module: https://github.com/i5lee8bit/xposed-qslock-P4mod
    1
    thanks for this!!! any difference between this one and the one posted on the XL forums?

    Nope, they are exactly the same. I have a 4 XL and got my wife the regular 4, and so I've been posting on both forums to share some of my findings on both devices. I just figured most 4-only owners probably won't be checking the 4 XL forums, and since this mod worked perfectly on my wife's phone I wanted to share with both communities. Glad to help though!

    PS: Please try to refrain from quoting the entire OP, it makes the thread kind of cluttered. Just for future reference. =)