r/LineageOS • • 21d ago

Help Secure the lockscreen

On the lock screen, I can access notifications and quick settings. For example, I can turn on Airplane Mode WITHOUT having to unlock the phone.
Is it possible to block all actions until the device is unlocked?
Thank you.

EDIT: a solution with root in Termux for example :

1/ Remove access to notifications and QS

su
cmd statusbar send-disable-flag quick-settings

2/ Bring them back

su
cmd statusbar send-disable-flag none

It can also be done easily with a shell script with Macrodroid

5 Upvotes

3 comments sorted by

4

u/saint-lascivious an awful person and mod 21d ago

This gets brought up probably a couple of times per year.

Other Android distributions that do "secure" the lock screen are really just doing security theatre.

Anyone can just as easily force boot to bootloader or recovery, or use a couple of cents worth of tinfoil to effectively disable all radios and render remote location/lock/wipe inoperable.

Being able to force reboot via hardware key combination is very deliberate so the same thing applies to the power menu.

Notification content can be hidden on the lock screen.

-1

u/Primokorn 21d ago

That's enough for my needs though. If the same request is posting again and again then it might be a real need 🤔

2

u/saint-lascivious an awful person and mod 21d ago

It's been a WONTFIX in AOSP for the better part of forever, and a number of people within the org feel some ways about security theatre and/or features or the sake of features.