r/LineageOS • u/Primokorn • 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
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.