Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Lock Screen Pattern (in)visibility #93

Open
baghera8 opened this issue Jan 6, 2024 · 4 comments
Open

[Feature Request] Lock Screen Pattern (in)visibility #93

baghera8 opened this issue Jan 6, 2024 · 4 comments
Labels
new setting Request for a new setting

Comments

@baghera8
Copy link

baghera8 commented Jan 6, 2024

Would be extremely useful, to address a very common complaint on some recent vendor UIs/OSs (such as the latest One Plus OxygenOS builds).
This would essentially reproduce the functionality of the AOSP "Make pattern visible" lockscreen setting.
Thank you!

Repository owner deleted a comment from Aditnugraha2 Feb 1, 2024
@zacharee
Copy link
Owner

zacharee commented Feb 1, 2024

Does adb shell settings put secure lock_pattern_visible_pattern false hide the pattern for you? It doesn't seem to apply to One UI, and I don't have a recent-enough OnePlus device to test there.

@zacharee
Copy link
Owner

zacharee commented Feb 1, 2024

Actually, it looks like the option is stored in the secure locksettings.db. The only way I can see to change this without root is to do something like:

  1. adb backup -keyvalue com.android.providers.settings.
  2. Use Android Backup Extractor to convert backup.ab to a tar.
  3. Extract the tar, find the .data file, open it as text, find lock_pattern_visible\0\01, change the 1 to a 0, and save.
  4. Repack the tar, convert back to .ab, and use adb restore.

@zacharee zacharee added the new setting Request for a new setting label Feb 1, 2024
@Hasanul1984
Copy link

Would be extremely useful, to address a very common complaint on some recent vendor UIs/OSs (such as the latest One Plus OxygenOS builds). This would essentially reproduce the functionality of the AOSP "Make pattern visible" lockscreen setting. Thank you!
Quick control

@Hasanul1984
Copy link

Quick control chanter opening

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new setting Request for a new setting
Projects
None yet
Development

No branches or pull requests

4 participants
@baghera8 @zacharee @Hasanul1984 and others